ERC-721
Overview
Max Total Supply
1,000 PPP3
Holders
165
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 PPP3Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
DailyArtCollection
Compiler Version
v0.8.25+commit.b61c2a91
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Copyright (c) 2024 daily.xyz pragma solidity ^0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; /// @title Token Base /// @notice Shared logic for token contracts contract DailyArtCollection is ERC721, Ownable { uint256 private immutable MAX_SUPPLY; address public royaltyReceiver; address public minter; address public metadataContract; uint256 public royaltyFraction; uint256 public royaltyDenominator = 100; /// @notice Count of valid NFTs tracked by this contract uint256 public totalSupply; /// @notice Return the baseURI used for computing `tokenURI` values string public baseURI; error OnlyMinter(); /// @dev This event emits when the metadata of a token is changed. Anyone aware of ERC-4906 can update cached /// attributes related to a given `tokenId`. event MetadataUpdate(uint256 tokenId); /// @dev This event emits when the metadata of a range of tokens is changed. Anyone aware of ERC-4906 can update /// cached attributes for tokens in the designated range. event BatchMetadataUpdate(uint256 fromTokenId, uint256 toTokenId); constructor( string memory name, string memory symbol, string memory baseURI_, uint256 maxSupply, address royaltyReceiver_, uint256 royaltyPercent ) ERC721(name, symbol) Ownable(msg.sender) { // CHECKS inputs require(maxSupply > 0, "Max supply must not be zero"); require(royaltyReceiver_ != address(0), "Royalty receiver must not be the zero address"); require(royaltyPercent <= 100, "Royalty fraction must not be greater than 100%"); // EFFECTS MAX_SUPPLY = maxSupply; baseURI = baseURI_; royaltyReceiver = royaltyReceiver_; royaltyFraction = royaltyPercent; } modifier onlyMinter() { if (msg.sender != minter) revert OnlyMinter(); _; } /// @inheritdoc Ownable function owner() public view virtual override(Ownable) returns (address) { return Ownable.owner(); } // MINTER FUNCTIONS /// @notice Mint an unclaimed token to the given address /// @dev Can only be called by the `minter` address /// @param to The new token owner that will receive the minted token /// @param tokenId The token being claimed. Reverts if invalid or already claimed. function mint(address to, uint256 tokenId) public onlyMinter { // CHECKS inputs require(tokenId > 0 && tokenId <= MAX_SUPPLY, "Invalid token ID"); // CHECKS + EFFECTS (not _safeMint, so no interactions) _mint(to, tokenId); // More EFFECTS unchecked { totalSupply++; } } function mintRange(address to, uint256 idStart, uint256 idEnd) external onlyMinter { require(idStart > 0 && idEnd <= MAX_SUPPLY, "Invalid token range"); require(idStart <= idEnd, "Start ID must be less than or equal to end ID"); for (uint256 tokenId = idStart; tokenId <= idEnd; tokenId++) { mint(to, tokenId); } } // OWNER FUNCTIONS /// @notice Set the `minter` address /// @dev Can only be called by the contract `owner` function setMinter(address minter_) external onlyOwner { minter = minter_; } /// @notice Set the `royaltyReceiver` address /// @dev Can only be called by the contract `owner` function setRoyaltyReceiver(address royaltyReceiver_) external onlyOwner { // CHECKS inputs require(royaltyReceiver_ != address(0), "Royalty receiver must not be the zero address"); // EFFECTS royaltyReceiver = royaltyReceiver_; } /// @notice Update the royalty fraction /// @dev Can only be called by the contract `owner` function setRoyaltyFraction(uint256 royaltyFraction_, uint256 royaltyDenominator_) external onlyOwner { // CHECKS inputss require(royaltyDenominator_ != 0, "Royalty denominator must not be zero"); require(royaltyFraction_ <= royaltyDenominator_, "Royalty fraction must not be greater than 100%"); // EFFECTS royaltyFraction = royaltyFraction_; royaltyDenominator = royaltyDenominator_; } /// @notice Update the baseURI for all metadata /// @dev Can only be called by the contract `owner`. Emits an ERC-4906 event. /// @param baseURI_ The new URI base. When specified, token URIs are created by concatenating the baseURI, /// token ID, and ".json". function updateBaseURI(string calldata baseURI_) external onlyOwner { // CHECKS inputs require(bytes(baseURI_).length > 0, "New base URI must be provided"); // EFFECTS baseURI = baseURI_; metadataContract = address(0); emit BatchMetadataUpdate(1, MAX_SUPPLY); } /// @notice Delegate all `tokenURI` calls to another contract /// @dev Can only be called by the contract `owner`. Emits an ERC-4906 event. /// @param delegate The contract that will handle `tokenURI` responses function delegateTokenURIs(address delegate) external onlyOwner { // CHECKS inputs require(delegate != address(0), "New metadata delegate must not be the zero address"); require(delegate.code.length > 0, "New metadata delegate must be a contract"); // EFFECTS baseURI = ""; metadataContract = delegate; emit BatchMetadataUpdate(1, MAX_SUPPLY); } // VIEW FUNCTIONS /// @notice The URI for the given token /// @dev Throws if `tokenId` is not valid or has not been minted function tokenURI(uint256 tokenId) public view override returns (string memory) { _requireOwned(tokenId); if (bytes(baseURI).length > 0) { return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json")); } if (address(metadataContract) != address(0)) { return IERC721Metadata(metadataContract).tokenURI(tokenId); } revert("tokenURI not configured"); } /// @notice Calculate how much royalty is owed and to whom /// @param salePrice - the sale price of the NFT asset /// @return receiver - address of where the royalty payment should be sent /// @return royaltyAmount - the royalty payment amount for salePrice function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { receiver = royaltyReceiver; // Use OpenZeppelin math utils for full precision multiply and divide without overflow royaltyAmount = Math.mulDiv(salePrice, royaltyFraction, royaltyDenominator, Math.Rounding.Ceil); } /// @notice Query if a contract implements an interface /// @dev Interface identification is specified in ERC-165. This function uses less than 30,000 gas. /// @param interfaceId The interface identifier, as specified in ERC-165 /// @return `true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise function supportsInterface(bytes4 interfaceId) public pure virtual override returns (bool) { return interfaceId == 0x80ac58cd || // ERC-721 Non-Fungible Token Standard interfaceId == 0x5b5e139f || // ERC-721 Non-Fungible Token Standard - metadata extension interfaceId == 0x2a55205a || // ERC-2981 NFT Royalty Standard interfaceId == 0x49064906 || // ERC-4906 Metadata Update Extension interfaceId == 0x7f5828d0 || // ERC-173 Contract Ownership Standard interfaceId == 0x01ffc9a7; // ERC-165 Standard Interface Detection } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; import {IERC721} from "./IERC721.sol"; import {IERC721Receiver} from "./IERC721Receiver.sol"; import {IERC721Metadata} from "./extensions/IERC721Metadata.sol"; import {Context} from "../../utils/Context.sol"; import {Strings} from "../../utils/Strings.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; import {IERC721Errors} from "../../interfaces/draft-IERC6093.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 virtual returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets * the `spender` for the specific `tokenId`. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); _checkOnERC721Received(address(0), to, tokenId, data); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC721 standard to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the * recipient doesn't accept the token transfer. The call is not executed if the target address is not a 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 */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { revert ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { revert ERC721InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; import {Math} from "./math/Math.sol"; import {SignedMath} from "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; import {IERC721} from "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; import {IERC165} from "../../utils/introspection/IERC165.sol"; /** * @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 address zero. * * 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"royaltyReceiver_","type":"address"},{"internalType":"uint256","name":"royaltyPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"OnlyMinter","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"}],"name":"delegateTokenURIs","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":[{"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":"metadataContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"idStart","type":"uint256"},{"internalType":"uint256","name":"idEnd","type":"uint256"}],"name":"mintRange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"royaltyDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyFraction_","type":"uint256"},{"internalType":"uint256","name":"royaltyDenominator_","type":"uint256"}],"name":"setRoyaltyFraction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver_","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526064600b55348015610014575f80fd5b5060405161239c38038061239c833981016040819052610033916102d9565b3386865f6100418382610411565b50600161004e8282610411565b5050506001600160a01b03811661007f57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610088816101ec565b505f83116100d85760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c79206d757374206e6f74206265207a65726f00000000006044820152606401610076565b6001600160a01b0382166101445760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b6064820152608401610076565b60648111156101ac5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b6064820152608401610076565b6080839052600d6101bd8582610411565b50600780546001600160a01b0319166001600160a01b039390931692909217909155600a55506104d092505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610260575f80fd5b81516001600160401b038082111561027a5761027a61023d565b604051601f8301601f19908116603f011681019082821181831017156102a2576102a261023d565b816040528381528660208588010111156102ba575f80fd5b8360208701602083015e5f602085830101528094505050505092915050565b5f805f805f8060c087890312156102ee575f80fd5b86516001600160401b0380821115610304575f80fd5b6103108a838b01610251565b97506020890151915080821115610325575f80fd5b6103318a838b01610251565b96506040890151915080821115610346575f80fd5b5061035389828a01610251565b606089015160808a0151919650945090506001600160a01b0381168114610378575f80fd5b8092505060a087015190509295509295509295565b600181811c908216806103a157607f821691505b6020821081036103bf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561040c57805f5260205f20601f840160051c810160208510156103ea5750805b601f840160051c820191505b81811015610409575f81556001016103f6565b50505b505050565b81516001600160401b0381111561042a5761042a61023d565b61043e81610438845461038d565b846103c5565b602080601f831160018114610471575f841561045a5750858301515b5f19600386901b1c1916600185901b1785556104c8565b5f85815260208120601f198616915b8281101561049f57888601518255948401946001909101908401610480565b50858210156104bc57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b608051611e9f6104fd5f395f81816106d10152818161081101528181610ac20152610cc40152611e9f5ff3fe608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063715018a611610109578063c87b56dd1161009e578063ecededad1161006e578063ecededad146103ff578063f2fde38b14610412578063fca3b5aa14610425578063fd8d7ed314610438575f80fd5b8063c87b56dd146103bd578063e7dee99f146103d0578063e985e9c5146103d9578063ea8876fa146103ec575f80fd5b806395d89b41116100d957806395d89b411461037c5780639fbc871314610384578063a22cb46514610397578063b88d4fde146103aa575f80fd5b8063715018a6146103465780638da5cb5b1461034e5780638dc251e314610356578063931688cb14610369575f80fd5b806323b872dd1161017f57806342842e0e1161014f57806342842e0e146103055780636352211e146103185780636c0360eb1461032b57806370a0823114610333575f80fd5b806323b872dd1461029a5780632a55205a146102ad57806335209821146102df57806340c10f19146102f2575f80fd5b8063081812fc116101ba578063081812fc14610248578063095ea7b31461025b578063113b98e01461027057806318160ddd14610283575f80fd5b806301ffc9a7146101e057806306fdde0314610208578063075461721461021d575b5f80fd5b6101f36101ee366004611753565b610441565b60405190151581526020015b60405180910390f35b6102106104e3565b6040516101ff919061179c565b600854610230906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102306102563660046117ae565b610572565b61026e6102693660046117e0565b610599565b005b61026e61027e366004611808565b6105a8565b61028c600c5481565b6040519081526020016101ff565b61026e6102a8366004611821565b610723565b6102c06102bb36600461185a565b6107ac565b604080516001600160a01b0390931683526020830191909152016101ff565b600954610230906001600160a01b031681565b61026e6103003660046117e0565b6107da565b61026e610313366004611821565b61088a565b6102306103263660046117ae565b6108a9565b6102106108b3565b61028c610341366004611808565b61093f565b61026e610984565b610230610997565b61026e610364366004611808565b6109af565b61026e61037736600461187a565b610a45565b610210610b15565b600754610230906001600160a01b031681565b61026e6103a53660046118e6565b610b24565b61026e6103b836600461198b565b610b2f565b6102106103cb3660046117ae565b610b46565b61028c600a5481565b6101f36103e7366004611a2f565b610c60565b61026e6103fa366004611a57565b610c8d565b61026e61040d36600461185a565b610db4565b61026e610420366004611808565b610e89565b61026e610433366004611808565b610ec6565b61028c600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104715750635b5e139f60e01b6001600160e01b03198316145b8061048c575063152a902d60e11b6001600160e01b03198316145b806104a75750632483248360e11b6001600160e01b03198316145b806104c257506307f5828d60e41b6001600160e01b03198316145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104f190611a87565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611a87565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f61057c82610ef0565b505f828152600460205260409020546001600160a01b03166104dd565b6105a4828233610f28565b5050565b6105b0610f35565b6001600160a01b0381166106265760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106905760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b606482015260840161061d565b60408051602081019091525f8152600d906106ab9082611b03565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661074c57604051633250574960e11b81525f600482015260240161061d565b5f610758838333610f67565b9050836001600160a01b0316816001600160a01b0316146107a6576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161061d565b50505050565b600754600a54600b546001600160a01b03909216915f916107d191859190600161105b565b90509250929050565b6008546001600160a01b0316331461080557604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561083457507f00000000000000000000000000000000000000000000000000000000000000008111155b6108735760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b604482015260640161061d565b61087d82826110aa565b5050600c80546001019055565b6108a483838360405180602001604052805f815250610b2f565b505050565b5f6104dd82610ef0565b600d80546108c090611a87565b80601f01602080910402602001604051908101604052809291908181526020018280546108ec90611a87565b80156109375780601f1061090e57610100808354040283529160200191610937565b820191905f5260205f20905b81548152906001019060200180831161091a57829003601f168201915b505050505081565b5f6001600160a01b038216610969576040516322718ad960e21b81525f600482015260240161061d565b506001600160a01b03165f9081526003602052604090205490565b61098c610f35565b6109955f61110b565b565b5f6109aa6006546001600160a01b031690565b905090565b6109b7610f35565b6001600160a01b038116610a235760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840161061d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d610f35565b80610a9a5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f7669646564000000604482015260640161061d565b600d610aa7828483611bc3565b50600980546001600160a01b031916905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104f190611a87565b6105a433838361115c565b610b3a848484610723565b6107a6848484846111fa565b6060610b5182610ef0565b505f600d8054610b6090611a87565b90501115610b9a57600d610b7383611320565b604051602001610b84929190611c7d565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610c185760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bf1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104dd9190810190611d09565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e66696775726564000000000000000000604482015260640161061d565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610cb857604051639cdc2ed560e01b815260040160405180910390fd5b5f82118015610ce757507f00000000000000000000000000000000000000000000000000000000000000008111155b610d295760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420746f6b656e2072616e676560681b604482015260640161061d565b80821115610d8f5760405162461bcd60e51b815260206004820152602d60248201527f5374617274204944206d757374206265206c657373207468616e206f7220657160448201526c1d585b081d1bc8195b99081251609a1b606482015260840161061d565b815b8181116107a657610da284826107da565b80610dac81611d92565b915050610d91565b610dbc610f35565b805f03610e175760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b606482015260840161061d565b80821115610e7e5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840161061d565b600a91909155600b55565b610e91610f35565b6001600160a01b038116610eba57604051631e4fbdf760e01b81525f600482015260240161061d565b610ec38161110b565b50565b610ece610f35565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104dd57604051637e27328960e01b81526004810184905260240161061d565b6108a483838360016113b0565b33610f3e610997565b6001600160a01b0316146109955760405163118cdaa760e01b815233600482015260240161061d565b5f828152600260205260408120546001600160a01b0390811690831615610f9357610f938184866114b4565b6001600160a01b03811615610fcd57610fae5f855f806113b0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610ffb576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f80611068868686611518565b9050611073836115d7565b801561108e57505f848061108957611089611daa565b868809115b156110a15761109e600182611dbe565b90505b95945050505050565b6001600160a01b0382166110d357604051633250574960e11b81525f600482015260240161061d565b5f6110df83835f610f67565b90506001600160a01b038116156108a4576040516339e3563760e11b81525f600482015260240161061d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661118e57604051630b61174360e31b81526001600160a01b038316600482015260240161061d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156107a657604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061123c903390889087908790600401611dd1565b6020604051808303815f875af1925050508015611276575060408051601f3d908101601f1916820190925261127391810190611e0d565b60015b6112dd573d8080156112a3576040519150601f19603f3d011682016040523d82523d5f602084013e6112a8565b606091505b5080515f036112d557604051633250574960e11b81526001600160a01b038516600482015260240161061d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461131957604051633250574960e11b81526001600160a01b038516600482015260240161061d565b5050505050565b60605f61132c83611603565b60010190505f8167ffffffffffffffff81111561134b5761134b61191f565b6040519080825280601f01601f191660200182016040528015611375576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137f57509392505050565b80806113c457506001600160a01b03821615155b15611485575f6113d384610ef0565b90506001600160a01b038316158015906113ff5750826001600160a01b0316816001600160a01b031614155b801561141257506114108184610c60565b155b1561143b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161061d565b81156114835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6114bf8383836116da565b6108a4576001600160a01b0383166114ed57604051637e27328960e01b81526004810182905260240161061d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161061d565b5f838302815f1985870982811083820303915050805f0361154c5783828161154257611542611daa565b0492505050611054565b80841161156c5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156115ec576115ec611e28565b6115f69190611e3c565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061166d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061168b57662386f26fc10000830492506010015b6305f5e10083106116a3576305f5e100830492506008015b61271083106116b757612710830492506004015b606483106116c9576064830492506002015b600a83106104dd5760010192915050565b5f6001600160a01b038316158015906117365750826001600160a01b0316846001600160a01b0316148061171357506117138484610c60565b8061173657505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610ec3575f80fd5b5f60208284031215611763575f80fd5b81356110548161173e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611054602083018461176e565b5f602082840312156117be575f80fd5b5035919050565b80356001600160a01b03811681146117db575f80fd5b919050565b5f80604083850312156117f1575f80fd5b6117fa836117c5565b946020939093013593505050565b5f60208284031215611818575f80fd5b611054826117c5565b5f805f60608486031215611833575f80fd5b61183c846117c5565b925061184a602085016117c5565b9150604084013590509250925092565b5f806040838503121561186b575f80fd5b50508035926020909101359150565b5f806020838503121561188b575f80fd5b823567ffffffffffffffff808211156118a2575f80fd5b818501915085601f8301126118b5575f80fd5b8135818111156118c3575f80fd5b8660208285010111156118d4575f80fd5b60209290920196919550909350505050565b5f80604083850312156118f7575f80fd5b611900836117c5565b915060208301358015158114611914575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561195c5761195c61191f565b604052919050565b5f67ffffffffffffffff82111561197d5761197d61191f565b50601f01601f191660200190565b5f805f806080858703121561199e575f80fd5b6119a7856117c5565b93506119b5602086016117c5565b925060408501359150606085013567ffffffffffffffff8111156119d7575f80fd5b8501601f810187136119e7575f80fd5b80356119fa6119f582611964565b611933565b818152886020838501011115611a0e575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f8060408385031215611a40575f80fd5b611a49836117c5565b91506107d1602084016117c5565b5f805f60608486031215611a69575f80fd5b611a72846117c5565b95602085013595506040909401359392505050565b600181811c90821680611a9b57607f821691505b602082108103611ab957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156108a457805f5260205f20601f840160051c81016020851015611ae45750805b601f840160051c820191505b81811015611319575f8155600101611af0565b815167ffffffffffffffff811115611b1d57611b1d61191f565b611b3181611b2b8454611a87565b84611abf565b602080601f831160018114611b64575f8415611b4d5750858301515b5f19600386901b1c1916600185901b178555611bbb565b5f85815260208120601f198616915b82811015611b9257888601518255948401946001909101908401611b73565b5085821015611baf57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b67ffffffffffffffff831115611bdb57611bdb61191f565b611bef83611be98354611a87565b83611abf565b5f601f841160018114611c20575f8515611c095750838201355b5f19600387901b1c1916600186901b178355611319565b5f83815260208120601f198716915b82811015611c4f5786850135825560209485019460019092019101611c2f565b5086821015611c6b575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454611c8a81611a87565b60018281168015611ca25760018114611cb757611ce3565b60ff1984168752821515830287019450611ce3565b885f526020805f205f5b85811015611cda5781548a820152908401908201611cc1565b50505082870194505b5050505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d19575f80fd5b815167ffffffffffffffff811115611d2f575f80fd5b8201601f81018413611d3f575f80fd5b8051611d4d6119f582611964565b818152856020838501011115611d61575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611da357611da3611d7e565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104dd576104dd611d7e565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e039083018461176e565b9695505050505050565b5f60208284031215611e1d575f80fd5b81516110548161173e565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611e5a57634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea26469706673582212206eb2d89e93bb7193ba8e4413c2ebb596f48c635e38b0d7304da8b2094e381c4f64736f6c6343000819003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000dffcf2162fd04005cde705d02e0acf98000d582500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000036506f73742050686f746f6772617068696320506572737065637469766573204949493a2054616d696e6720546865204d616368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000450505033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d51534e4b585a4c45554a4669576d7a485633357674694c64756b656a3446424e465577427a697978337064752f00000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106101dc575f3560e01c8063715018a611610109578063c87b56dd1161009e578063ecededad1161006e578063ecededad146103ff578063f2fde38b14610412578063fca3b5aa14610425578063fd8d7ed314610438575f80fd5b8063c87b56dd146103bd578063e7dee99f146103d0578063e985e9c5146103d9578063ea8876fa146103ec575f80fd5b806395d89b41116100d957806395d89b411461037c5780639fbc871314610384578063a22cb46514610397578063b88d4fde146103aa575f80fd5b8063715018a6146103465780638da5cb5b1461034e5780638dc251e314610356578063931688cb14610369575f80fd5b806323b872dd1161017f57806342842e0e1161014f57806342842e0e146103055780636352211e146103185780636c0360eb1461032b57806370a0823114610333575f80fd5b806323b872dd1461029a5780632a55205a146102ad57806335209821146102df57806340c10f19146102f2575f80fd5b8063081812fc116101ba578063081812fc14610248578063095ea7b31461025b578063113b98e01461027057806318160ddd14610283575f80fd5b806301ffc9a7146101e057806306fdde0314610208578063075461721461021d575b5f80fd5b6101f36101ee366004611753565b610441565b60405190151581526020015b60405180910390f35b6102106104e3565b6040516101ff919061179c565b600854610230906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102306102563660046117ae565b610572565b61026e6102693660046117e0565b610599565b005b61026e61027e366004611808565b6105a8565b61028c600c5481565b6040519081526020016101ff565b61026e6102a8366004611821565b610723565b6102c06102bb36600461185a565b6107ac565b604080516001600160a01b0390931683526020830191909152016101ff565b600954610230906001600160a01b031681565b61026e6103003660046117e0565b6107da565b61026e610313366004611821565b61088a565b6102306103263660046117ae565b6108a9565b6102106108b3565b61028c610341366004611808565b61093f565b61026e610984565b610230610997565b61026e610364366004611808565b6109af565b61026e61037736600461187a565b610a45565b610210610b15565b600754610230906001600160a01b031681565b61026e6103a53660046118e6565b610b24565b61026e6103b836600461198b565b610b2f565b6102106103cb3660046117ae565b610b46565b61028c600a5481565b6101f36103e7366004611a2f565b610c60565b61026e6103fa366004611a57565b610c8d565b61026e61040d36600461185a565b610db4565b61026e610420366004611808565b610e89565b61026e610433366004611808565b610ec6565b61028c600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104715750635b5e139f60e01b6001600160e01b03198316145b8061048c575063152a902d60e11b6001600160e01b03198316145b806104a75750632483248360e11b6001600160e01b03198316145b806104c257506307f5828d60e41b6001600160e01b03198316145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104f190611a87565b80601f016020809104026020016040519081016040528092919081815260200182805461051d90611a87565b80156105685780601f1061053f57610100808354040283529160200191610568565b820191905f5260205f20905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b5f61057c82610ef0565b505f828152600460205260409020546001600160a01b03166104dd565b6105a4828233610f28565b5050565b6105b0610f35565b6001600160a01b0381166106265760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106905760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b606482015260840161061d565b60408051602081019091525f8152600d906106ab9082611b03565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f00000000000000000000000000000000000000000000000000000000000003e860208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661074c57604051633250574960e11b81525f600482015260240161061d565b5f610758838333610f67565b9050836001600160a01b0316816001600160a01b0316146107a6576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161061d565b50505050565b600754600a54600b546001600160a01b03909216915f916107d191859190600161105b565b90509250929050565b6008546001600160a01b0316331461080557604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561083457507f00000000000000000000000000000000000000000000000000000000000003e88111155b6108735760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b604482015260640161061d565b61087d82826110aa565b5050600c80546001019055565b6108a483838360405180602001604052805f815250610b2f565b505050565b5f6104dd82610ef0565b600d80546108c090611a87565b80601f01602080910402602001604051908101604052809291908181526020018280546108ec90611a87565b80156109375780601f1061090e57610100808354040283529160200191610937565b820191905f5260205f20905b81548152906001019060200180831161091a57829003601f168201915b505050505081565b5f6001600160a01b038216610969576040516322718ad960e21b81525f600482015260240161061d565b506001600160a01b03165f9081526003602052604090205490565b61098c610f35565b6109955f61110b565b565b5f6109aa6006546001600160a01b031690565b905090565b6109b7610f35565b6001600160a01b038116610a235760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840161061d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d610f35565b80610a9a5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f7669646564000000604482015260640161061d565b600d610aa7828483611bc3565b50600980546001600160a01b031916905560408051600181527f00000000000000000000000000000000000000000000000000000000000003e860208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104f190611a87565b6105a433838361115c565b610b3a848484610723565b6107a6848484846111fa565b6060610b5182610ef0565b505f600d8054610b6090611a87565b90501115610b9a57600d610b7383611320565b604051602001610b84929190611c7d565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610c185760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bf1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104dd9190810190611d09565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e66696775726564000000000000000000604482015260640161061d565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610cb857604051639cdc2ed560e01b815260040160405180910390fd5b5f82118015610ce757507f00000000000000000000000000000000000000000000000000000000000003e88111155b610d295760405162461bcd60e51b8152602060048201526013602482015272496e76616c696420746f6b656e2072616e676560681b604482015260640161061d565b80821115610d8f5760405162461bcd60e51b815260206004820152602d60248201527f5374617274204944206d757374206265206c657373207468616e206f7220657160448201526c1d585b081d1bc8195b99081251609a1b606482015260840161061d565b815b8181116107a657610da284826107da565b80610dac81611d92565b915050610d91565b610dbc610f35565b805f03610e175760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b606482015260840161061d565b80821115610e7e5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840161061d565b600a91909155600b55565b610e91610f35565b6001600160a01b038116610eba57604051631e4fbdf760e01b81525f600482015260240161061d565b610ec38161110b565b50565b610ece610f35565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104dd57604051637e27328960e01b81526004810184905260240161061d565b6108a483838360016113b0565b33610f3e610997565b6001600160a01b0316146109955760405163118cdaa760e01b815233600482015260240161061d565b5f828152600260205260408120546001600160a01b0390811690831615610f9357610f938184866114b4565b6001600160a01b03811615610fcd57610fae5f855f806113b0565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610ffb576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f80611068868686611518565b9050611073836115d7565b801561108e57505f848061108957611089611daa565b868809115b156110a15761109e600182611dbe565b90505b95945050505050565b6001600160a01b0382166110d357604051633250574960e11b81525f600482015260240161061d565b5f6110df83835f610f67565b90506001600160a01b038116156108a4576040516339e3563760e11b81525f600482015260240161061d565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661118e57604051630b61174360e31b81526001600160a01b038316600482015260240161061d565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156107a657604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061123c903390889087908790600401611dd1565b6020604051808303815f875af1925050508015611276575060408051601f3d908101601f1916820190925261127391810190611e0d565b60015b6112dd573d8080156112a3576040519150601f19603f3d011682016040523d82523d5f602084013e6112a8565b606091505b5080515f036112d557604051633250574960e11b81526001600160a01b038516600482015260240161061d565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461131957604051633250574960e11b81526001600160a01b038516600482015260240161061d565b5050505050565b60605f61132c83611603565b60010190505f8167ffffffffffffffff81111561134b5761134b61191f565b6040519080825280601f01601f191660200182016040528015611375576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137f57509392505050565b80806113c457506001600160a01b03821615155b15611485575f6113d384610ef0565b90506001600160a01b038316158015906113ff5750826001600160a01b0316816001600160a01b031614155b801561141257506114108184610c60565b155b1561143b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161061d565b81156114835783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6114bf8383836116da565b6108a4576001600160a01b0383166114ed57604051637e27328960e01b81526004810182905260240161061d565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161061d565b5f838302815f1985870982811083820303915050805f0361154c5783828161154257611542611daa565b0492505050611054565b80841161156c5760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156115ec576115ec611e28565b6115f69190611e3c565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061166d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061168b57662386f26fc10000830492506010015b6305f5e10083106116a3576305f5e100830492506008015b61271083106116b757612710830492506004015b606483106116c9576064830492506002015b600a83106104dd5760010192915050565b5f6001600160a01b038316158015906117365750826001600160a01b0316846001600160a01b0316148061171357506117138484610c60565b8061173657505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610ec3575f80fd5b5f60208284031215611763575f80fd5b81356110548161173e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f611054602083018461176e565b5f602082840312156117be575f80fd5b5035919050565b80356001600160a01b03811681146117db575f80fd5b919050565b5f80604083850312156117f1575f80fd5b6117fa836117c5565b946020939093013593505050565b5f60208284031215611818575f80fd5b611054826117c5565b5f805f60608486031215611833575f80fd5b61183c846117c5565b925061184a602085016117c5565b9150604084013590509250925092565b5f806040838503121561186b575f80fd5b50508035926020909101359150565b5f806020838503121561188b575f80fd5b823567ffffffffffffffff808211156118a2575f80fd5b818501915085601f8301126118b5575f80fd5b8135818111156118c3575f80fd5b8660208285010111156118d4575f80fd5b60209290920196919550909350505050565b5f80604083850312156118f7575f80fd5b611900836117c5565b915060208301358015158114611914575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561195c5761195c61191f565b604052919050565b5f67ffffffffffffffff82111561197d5761197d61191f565b50601f01601f191660200190565b5f805f806080858703121561199e575f80fd5b6119a7856117c5565b93506119b5602086016117c5565b925060408501359150606085013567ffffffffffffffff8111156119d7575f80fd5b8501601f810187136119e7575f80fd5b80356119fa6119f582611964565b611933565b818152886020838501011115611a0e575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f8060408385031215611a40575f80fd5b611a49836117c5565b91506107d1602084016117c5565b5f805f60608486031215611a69575f80fd5b611a72846117c5565b95602085013595506040909401359392505050565b600181811c90821680611a9b57607f821691505b602082108103611ab957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156108a457805f5260205f20601f840160051c81016020851015611ae45750805b601f840160051c820191505b81811015611319575f8155600101611af0565b815167ffffffffffffffff811115611b1d57611b1d61191f565b611b3181611b2b8454611a87565b84611abf565b602080601f831160018114611b64575f8415611b4d5750858301515b5f19600386901b1c1916600185901b178555611bbb565b5f85815260208120601f198616915b82811015611b9257888601518255948401946001909101908401611b73565b5085821015611baf57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b67ffffffffffffffff831115611bdb57611bdb61191f565b611bef83611be98354611a87565b83611abf565b5f601f841160018114611c20575f8515611c095750838201355b5f19600387901b1c1916600186901b178355611319565b5f83815260208120601f198716915b82811015611c4f5786850135825560209485019460019092019101611c2f565b5086821015611c6b575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454611c8a81611a87565b60018281168015611ca25760018114611cb757611ce3565b60ff1984168752821515830287019450611ce3565b885f526020805f205f5b85811015611cda5781548a820152908401908201611cc1565b50505082870194505b5050505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611d19575f80fd5b815167ffffffffffffffff811115611d2f575f80fd5b8201601f81018413611d3f575f80fd5b8051611d4d6119f582611964565b818152856020838501011115611d61575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b634e487b7160e01b5f52601160045260245ffd5b5f60018201611da357611da3611d7e565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104dd576104dd611d7e565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611e039083018461176e565b9695505050505050565b5f60208284031215611e1d575f80fd5b81516110548161173e565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611e5a57634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea26469706673582212206eb2d89e93bb7193ba8e4413c2ebb596f48c635e38b0d7304da8b2094e381c4f64736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000dffcf2162fd04005cde705d02e0acf98000d582500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000036506f73742050686f746f6772617068696320506572737065637469766573204949493a2054616d696e6720546865204d616368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000450505033000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d51534e4b585a4c45554a4669576d7a485633357674694c64756b656a3446424e465577427a697978337064752f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Post Photographic Perspectives III: Taming The Machine
Arg [1] : symbol (string): PPP3
Arg [2] : baseURI_ (string): ipfs://QmQSNKXZLEUJFiWmzHV35vtiLdukej4FBNFUwBziyx3pdu/
Arg [3] : maxSupply (uint256): 1000
Arg [4] : royaltyReceiver_ (address): 0xdffCF2162fd04005Cde705d02e0ACF98000D5825
Arg [5] : royaltyPercent (uint256): 5
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 000000000000000000000000dffcf2162fd04005cde705d02e0acf98000d5825
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [7] : 506f73742050686f746f67726170686963205065727370656374697665732049
Arg [8] : 49493a2054616d696e6720546865204d616368696e6500000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 5050503300000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d51534e4b585a4c45554a4669576d7a485633357674694c
Arg [13] : 64756b656a3446424e465577427a697978337064752f00000000000000000000
Deployed Bytecode Sourcemap
325:7490:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7207:606;;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;7207:606:12;;;;;;;;2365:89:2;;;:::i;:::-;;;;;;;:::i;457:21:12:-;;;;;-1:-1:-1;;;;;457:21:12;;;;;;-1:-1:-1;;;;;1275:32:13;;;1257:51;;1245:2;1230:18;457:21:12;1111:203:13;3497:154:2;;;;;;:::i;:::-;;:::i;3323:113::-;;;;;;:::i;:::-;;:::i;:::-;;5209:407:12;;;;;;:::i;:::-;;:::i;664:26::-;;;;;;;;;2278:25:13;;;2266:2;2251:18;664:26:12;2132:177:13;4143:578:2;;;;;;:::i;:::-;;:::i;6485:356:12:-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3092:32:13;;;3074:51;;3156:2;3141:18;;3134:34;;;;3047:18;6485:356:12;2900:274:13;484:31:12;;;;;-1:-1:-1;;;;;484:31:12;;;2531:341;;;;;;:::i;:::-;;:::i;4787:132:2:-;;;;;;:::i;:::-;;:::i;2185:118::-;;;;;;:::i;:::-;;:::i;769:21:12:-;;;:::i;1920:208:2:-;;;;;;:::i;:::-;;:::i;2293:101:0:-;;;:::i;2111:112:12:-;;;:::i;3571:266::-;;;;;;:::i;:::-;;:::i;4665:315::-;;;;;;:::i;:::-;;:::i;2518:93:2:-;;;:::i;421:30:12:-;;;;;-1:-1:-1;;;;;421:30:12;;;3718:144:2;;;;;;:::i;:::-;;:::i;4985:208::-;;;;;;:::i;:::-;;:::i;5758:443:12:-;;;;;;:::i;:::-;;:::i;522:30::-;;;;;;3928:153:2;;;;;;:::i;:::-;;:::i;2882:363:12:-;;;;;;:::i;:::-;;:::i;3943:439::-;;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;:::i;:::-;;:::i;3371:88:12:-;;;;;;:::i;:::-;;:::i;558:39::-;;;;;;7207:606;7292:4;-1:-1:-1;;;;;;;;;7327:25:12;;;;:105;;-1:-1:-1;;;;;;;;;;7407:25:12;;;7327:105;:206;;;-1:-1:-1;;;;;;;;;;7508:25:12;;;7327:206;:280;;;-1:-1:-1;;;;;;;;;;7582:25:12;;;7327:280;:359;;;-1:-1:-1;;;;;;;;;;7661:25:12;;;7327:359;:439;;;-1:-1:-1;;;;;;;;;;7741:25:12;;;7327:439;7308:458;7207:606;-1:-1:-1;;7207:606:12:o;2365:89:2:-;2410:13;2442:5;2435:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2365:89;:::o;3497:154::-;3564:7;3583:22;3597:7;3583:13;:22::i;:::-;-1:-1:-1;6008:7:2;6034:24;;;:15;:24;;;;;;-1:-1:-1;;;;;6034:24:2;3623:21;5938:127;3323:113;3394:35;3403:2;3407:7;735:10:6;3394:8:2;:35::i;:::-;3323:113;;:::o;5209:407:12:-;1531:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;5316:22:12;::::1;5308:85;;;::::0;-1:-1:-1;;;5308:85:12;;6803:2:13;5308:85:12::1;::::0;::::1;6785:21:13::0;6842:2;6822:18;;;6815:30;6881:34;6861:18;;;6854:62;-1:-1:-1;;;6932:18:13;;;6925:48;6990:19;;5308:85:12::1;;;;;;;;;5434:1;5411:8;-1:-1:-1::0;;;;;5411:20:12::1;;:24;5403:77;;;::::0;-1:-1:-1;;;5403:77:12;;7222:2:13;5403:77:12::1;::::0;::::1;7204:21:13::0;7261:2;7241:18;;;7234:30;7300:34;7280:18;;;7273:62;-1:-1:-1;;;7351:18:13;;;7344:38;7399:19;;5403:77:12::1;7020:404:13::0;5403:77:12::1;5510:12;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;5510:12:12;;:7:::1;::::0;:12:::1;::::0;:7;:12:::1;:::i;:::-;-1:-1:-1::0;5532:16:12::1;:27:::0;;-1:-1:-1;;;;;;5532:27:12::1;-1:-1:-1::0;;;;;5532:27:12;::::1;;::::0;;5575:34:::1;::::0;;-1:-1:-1;9781:25:13;;5598:10:12::1;9837:2:13::0;9822:18;;9815:34;5575::12::1;::::0;9754:18:13;5575:34:12::1;;;;;;;5209:407:::0;:::o;4143:578:2:-;-1:-1:-1;;;;;4237:16:2;;4233:87;;4276:33;;-1:-1:-1;;;4276:33:2;;4306:1;4276:33;;;1257:51:13;1230:18;;4276:33:2;1111:203:13;4233:87:2;4538:21;4562:34;4570:2;4574:7;735:10:6;4562:7:2;:34::i;:::-;4538:58;;4627:4;-1:-1:-1;;;;;4610:21:2;:13;-1:-1:-1;;;;;4610:21:2;;4606:109;;4654:50;;-1:-1:-1;;;4654:50:2;;-1:-1:-1;;;;;10118:15:13;;;4654:50:2;;;10100:34:13;10150:18;;;10143:34;;;10213:15;;10193:18;;;10186:43;10035:18;;4654:50:2;9860:375:13;4606:109:2;4223:498;4143:578;;;:::o;6485:356:12:-;6619:15;;6778;;6795:18;;-1:-1:-1;;;;;6619:15:12;;;;6557:16;;6755:79;;6767:9;;6778:15;6619;6755:11;:79::i;:::-;6739:95;;6485:356;;;;;:::o;2531:341::-;2032:6;;-1:-1:-1;;;;;2032:6:12;2018:10;:20;2014:45;;2047:12;;-1:-1:-1;;;2047:12:12;;;;;;;;;;;2014:45;2645:1:::1;2635:7;:11;:36;;;;;2661:10;2650:7;:21;;2635:36;2627:65;;;::::0;-1:-1:-1;;;2627:65:12;;10442:2:13;2627:65:12::1;::::0;::::1;10424:21:13::0;10481:2;10461:18;;;10454:30;-1:-1:-1;;;10500:18:13;;;10493:46;10556:18;;2627:65:12::1;10240:340:13::0;2627:65:12::1;2766:18;2772:2;2776:7;2766:5;:18::i;:::-;-1:-1:-1::0;;2842:11:12::1;:13:::0;;::::1;;::::0;;2531:341::o;4787:132:2:-;4873:39;4890:4;4896:2;4900:7;4873:39;;;;;;;;;;;;:16;:39::i;:::-;4787:132;;;:::o;2185:118::-;2248:7;2274:22;2288:7;2274:13;:22::i;769:21:12:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1920:208:2:-;1983:7;-1:-1:-1;;;;;2006:19:2;;2002:87;;2048:30;;-1:-1:-1;;;2048:30:2;;2075:1;2048:30;;;1257:51:13;1230:18;;2048:30:2;1111:203:13;2002:87:2;-1:-1:-1;;;;;;2105:16:2;;;;;:9;:16;;;;;;;1920:208::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;2111:112:12:-;2175:7;2201:15;1710:6:0;;-1:-1:-1;;;;;1710:6:0;;1638:85;2201:15:12;2194:22;;2111:112;:::o;3571:266::-;1531:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;3687:30:12;::::1;3679:88;;;::::0;-1:-1:-1;;;3679:88:12;;10787:2:13;3679:88:12::1;::::0;::::1;10769:21:13::0;10826:2;10806:18;;;10799:30;10865:34;10845:18;;;10838:62;-1:-1:-1;;;10916:18:13;;;10909:43;10969:19;;3679:88:12::1;10585:409:13::0;3679:88:12::1;3796:15;:34:::0;;-1:-1:-1;;;;;;3796:34:12::1;-1:-1:-1::0;;;;;3796:34:12;;;::::1;::::0;;;::::1;::::0;;3571:266::o;4665:315::-;1531:13:0;:11;:13::i;:::-;4776:26:12;4768:68:::1;;;::::0;-1:-1:-1;;;4768:68:12;;11201:2:13;4768:68:12::1;::::0;::::1;11183:21:13::0;11240:2;11220:18;;;11213:30;11279:31;11259:18;;;11252:59;11328:18;;4768:68:12::1;10999:353:13::0;4768:68:12::1;4866:7;:18;4876:8:::0;;4866:7;:18:::1;:::i;:::-;-1:-1:-1::0;4894:16:12::1;:29:::0;;-1:-1:-1;;;;;;4894:29:12::1;::::0;;4939:34:::1;::::0;;-1:-1:-1;9781:25:13;;4962:10:12::1;9837:2:13::0;9822:18;;9815:34;4939::12::1;::::0;9754:18:13;4939:34:12::1;;;;;;;4665:315:::0;;:::o;2518:93:2:-;2565:13;2597:7;2590:14;;;;;:::i;3718:144::-;3803:52;735:10:6;3836:8:2;3846;3803:18;:52::i;4985:208::-;5098:31;5111:4;5117:2;5121:7;5098:12;:31::i;:::-;5139:47;5162:4;5168:2;5172:7;5181:4;5139:22;:47::i;5758:443:12:-;5823:13;5848:22;5862:7;5848:13;:22::i;:::-;;5909:1;5891:7;5885:21;;;;;:::i;:::-;;;:25;5881:132;;;5957:7;5966:25;5983:7;5966:16;:25::i;:::-;5940:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5926:76;;5758:443;;;:::o;5881:132::-;6035:16;;-1:-1:-1;;;;;6035:16:12;6027:39;6023:128;;6105:16;;6089:51;;-1:-1:-1;;;6089:51:12;;;;;2278:25:13;;;-1:-1:-1;;;;;6105:16:12;;;;6089:42;;2251:18:13;;6089:51:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6089:51:12;;;;;;;;;;;;:::i;6023:128::-;6161:33;;-1:-1:-1;;;6161:33:12;;14584:2:13;6161:33:12;;;14566:21:13;14623:2;14603:18;;;14596:30;14662:25;14642:18;;;14635:53;14705:18;;6161:33:12;14382:347:13;3928:153:2;-1:-1:-1;;;;;4039:25:2;;;4016:4;4039:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;3928:153::o;2882:363:12:-;2032:6;;-1:-1:-1;;;;;2032:6:12;2018:10;:20;2014:45;;2047:12;;-1:-1:-1;;;2047:12:12;;;;;;;;;;;2014:45;2993:1:::1;2983:7;:11;:34;;;;;3007:10;2998:5;:19;;2983:34;2975:66;;;::::0;-1:-1:-1;;;2975:66:12;;14936:2:13;2975:66:12::1;::::0;::::1;14918:21:13::0;14975:2;14955:18;;;14948:30;-1:-1:-1;;;14994:18:13;;;14987:49;15053:18;;2975:66:12::1;14734:343:13::0;2975:66:12::1;3070:5;3059:7;:16;;3051:74;;;::::0;-1:-1:-1;;;3051:74:12;;15284:2:13;3051:74:12::1;::::0;::::1;15266:21:13::0;15323:2;15303:18;;;15296:30;15362:34;15342:18;;;15335:62;-1:-1:-1;;;15413:18:13;;;15406:43;15466:19;;3051:74:12::1;15082:409:13::0;3051:74:12::1;3159:7:::0;3136:103:::1;3179:5;3168:7;:16;3136:103;;3211:17;3216:2;3220:7;3211:4;:17::i;:::-;3186:9:::0;::::1;::::0;::::1;:::i;:::-;;;;3136:103;;3943:439:::0;1531:13:0;:11;:13::i;:::-;4089:19:12::1;4112:1;4089:24:::0;4081:73:::1;;;::::0;-1:-1:-1;;;4081:73:12;;15970:2:13;4081:73:12::1;::::0;::::1;15952:21:13::0;16009:2;15989:18;;;15982:30;16048:34;16028:18;;;16021:62;-1:-1:-1;;;16099:18:13;;;16092:34;16143:19;;4081:73:12::1;15768:400:13::0;4081:73:12::1;4192:19;4172:16;:39;;4164:98;;;::::0;-1:-1:-1;;;4164:98:12;;16375:2:13;4164:98:12::1;::::0;::::1;16357:21:13::0;16414:2;16394:18;;;16387:30;16453:34;16433:18;;;16426:62;-1:-1:-1;;;16504:18:13;;;16497:44;16558:19;;4164:98:12::1;16173:410:13::0;4164:98:12::1;4291:15;:34:::0;;;;4335:18:::1;:40:::0;3943:439::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;1257:51:13::0;1230:18;;2672:31:0::1;1111:203:13::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;3371:88:12:-;1531:13:0;:11;:13::i;:::-;3436:6:12::1;:16:::0;;-1:-1:-1;;;;;;3436:16:12::1;-1:-1:-1::0;;;;;3436:16:12;;;::::1;::::0;;;::::1;::::0;;3371:88::o;16138:241:2:-;16201:7;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;16263:88;;16309:31;;-1:-1:-1;;;16309:31:2;;;;;2278:25:13;;;2251:18;;16309:31:2;2132:177:13;14418:120:2;14498:33;14507:2;14511:7;14520:4;14526;14498:8;:33::i;1796:162:0:-;735:10:6;1855:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1855:23:0;;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:6;1901:40:0;;;1257:51:13;1230:18;;1901:40:0;1111:203:13;8838:795:2;8924:7;5799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;5799:16:2;;;;9035:18;;;9031:86;;9069:37;9086:4;9092;9098:7;9069:16;:37::i;:::-;-1:-1:-1;;;;;9161:18:2;;;9157:256;;9277:48;9294:1;9298:7;9315:1;9319:5;9277:8;:48::i;:::-;-1:-1:-1;;;;;9368:15:2;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;9368:20:2;;;9157:256;-1:-1:-1;;;;;9427:16:2;;;9423:107;;-1:-1:-1;;;;;9487:13:2;;;;;;:9;:13;;;;;:18;;9504:1;9487:18;;;9423:107;9540:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9540:21:2;-1:-1:-1;;;;;9540:21:2;;;;;;;;;9577:27;;9540:16;;9577:27;;;;;;;9622:4;-1:-1:-1;8838:795:2;;;;;;:::o;8051:302:10:-;8152:7;8171:14;8188:25;8195:1;8198;8201:11;8188:6;:25::i;:::-;8171:42;;8227:26;8244:8;8227:16;:26::i;:::-;:59;;;;;8285:1;8270:11;8257:25;;;;;:::i;:::-;8267:1;8264;8257:25;:29;8227:59;8223:101;;;8302:11;8312:1;8302:11;;:::i;:::-;;;8223:101;8340:6;8051:302;-1:-1:-1;;;;;8051:302:10:o;9955:327:2:-;-1:-1:-1;;;;;10022:16:2;;10018:87;;10061:33;;-1:-1:-1;;;10061:33:2;;10091:1;10061:33;;;1257:51:13;1230:18;;10061:33:2;1111:203:13;10018:87:2;10114:21;10138:32;10146:2;10150:7;10167:1;10138:7;:32::i;:::-;10114:56;-1:-1:-1;;;;;;10184:27:2;;;10180:96;;10234:31;;-1:-1:-1;;;10234:31:2;;10262:1;10234:31;;;1257:51:13;1230:18;;10234:31:2;1111:203:13;2912:187:0;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;15591:312:2:-;-1:-1:-1;;;;;15698:22:2;;15694:91;;15743:31;;-1:-1:-1;;;15743:31:2;;-1:-1:-1;;;;;1275:32:13;;15743:31:2;;;1257:51:13;1230:18;;15743:31:2;1111:203:13;15694:91:2;-1:-1:-1;;;;;15794:25:2;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;15794:46:2;;;;;;;;;;15855:41;;540::13;;;15855::2;;513:18:13;15855:41:2;;;;;;;15591:312;;;:::o;16918:782::-;-1:-1:-1;;;;;17034:14:2;;;:18;17030:664;;17072:71;;-1:-1:-1;;;17072:71:2;;-1:-1:-1;;;;;17072:36:2;;;;;:71;;735:10:6;;17123:4:2;;17129:7;;17138:4;;17072:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17072:71:2;;;;;;;;-1:-1:-1;;17072:71:2;;;;;;;;;;;;:::i;:::-;;;17068:616;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17381:6;:13;17398:1;17381:18;17377:293;;17430:25;;-1:-1:-1;;;17430:25:2;;-1:-1:-1;;;;;1275:32:13;;17430:25:2;;;1257:51:13;1230:18;;17430:25:2;1111:203:13;17377:293:2;17622:6;17616:13;17607:6;17603:2;17599:15;17592:38;17068:616;-1:-1:-1;;;;;;17190:51:2;;-1:-1:-1;;;17190:51:2;17186:130;;17272:25;;-1:-1:-1;;;17272:25:2;;-1:-1:-1;;;;;1275:32:13;;17272:25:2;;;1257:51:13;1230:18;;17272:25:2;1111:203:13;17186:130:2;17144:186;16918:782;;;;:::o;637:698:7:-;693:13;742:14;759:17;770:5;759:10;:17::i;:::-;779:1;759:21;742:38;;794:20;828:6;817:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:18:7;-1:-1:-1;794:41:7;-1:-1:-1;955:28:7;;;971:2;955:28;1010:282;-1:-1:-1;;1041:5:7;-1:-1:-1;;;1175:2:7;1164:14;;1159:32;1041:5;1146:46;1236:2;1227:11;;;-1:-1:-1;1256:21:7;1010:282;1256:21;-1:-1:-1;1312:6:7;637:698;-1:-1:-1;;;637:698:7:o;14720:662:2:-;14880:9;:31;;;-1:-1:-1;;;;;;14893:18:2;;;;14880:31;14876:460;;;14927:13;14943:22;14957:7;14943:13;:22::i;:::-;14927:38;-1:-1:-1;;;;;;15093:18:2;;;;;;:35;;;15124:4;-1:-1:-1;;;;;15115:13:2;:5;-1:-1:-1;;;;;15115:13:2;;;15093:35;:69;;;;;15133:29;15150:5;15157:4;15133:16;:29::i;:::-;15132:30;15093:69;15089:142;;;15189:27;;-1:-1:-1;;;15189:27:2;;-1:-1:-1;;;;;1275:32:13;;15189:27:2;;;1257:51:13;1230:18;;15189:27:2;1111:203:13;15089:142:2;15249:9;15245:81;;;15303:7;15299:2;-1:-1:-1;;;;;15283:28:2;15292:5;-1:-1:-1;;;;;15283:28:2;;;;;;;;;;;15245:81;14913:423;14876:460;-1:-1:-1;;15346:24:2;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15346:29:2;-1:-1:-1;;;;;15346:29:2;;;;;;;;;;14720:662::o;7082:368::-;7194:38;7208:5;7215:7;7224;7194:13;:38::i;:::-;7189:255;;-1:-1:-1;;;;;7252:19:2;;7248:186;;7298:31;;-1:-1:-1;;;7298:31:2;;;;;2278:25:13;;;2251:18;;7298:31:2;2132:177:13;7248:186:2;7375:44;;-1:-1:-1;;;7375:44:2;;-1:-1:-1;;;;;3092:32:13;;7375:44:2;;;3074:51:13;3141:18;;;3134:34;;;3047:18;;7375:44:2;2900:274:13;3803:4116:10;3885:14;4248:5;;;3885:14;-1:-1:-1;;4252:1:10;4248;4420:20;4493:5;4489:2;4486:13;4478:5;4474:2;4470:14;4466:34;4457:43;;;4595:5;4604:1;4595:10;4591:368;;4933:11;4925:5;:19;;;;;:::i;:::-;;4918:26;;;;;;4591:368;5080:5;5065:11;:20;5061:88;;5112:22;;-1:-1:-1;;;5112:22:10;;;;;;;;;;;5061:88;5404:17;5539:11;5536:1;5533;5526:25;5939:12;5969:15;;;5954:31;;6088:22;;;;;6813:1;6794;:15;;6793:21;;7046;;;7042:25;;7031:36;7115:21;;;7111:25;;7100:36;7185:21;;;7181:25;;7170:36;7255:21;;;7251:25;;7240:36;7325:21;;;7321:25;;7310:36;7396:21;;;7392:25;;;7381:36;6333:12;;;;6329:23;;;6354:1;6325:31;5653:20;;;5642:32;;;6445:12;;;;5700:21;;;;6186:16;;;;6436:21;;;;7860:15;;;;;-1:-1:-1;;3803:4116:10;;;;;:::o;14993:122::-;15061:4;15102:1;15090:8;15084:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;15107:1;15084:24;15077:31;;14993:122;;;:::o;12214:916::-;12267:7;;-1:-1:-1;;;12342:17:10;;12338:103;;-1:-1:-1;;;12379:17:10;;;-1:-1:-1;12424:2:10;12414:12;12338:103;12467:8;12458:5;:17;12454:103;;12504:8;12495:17;;;-1:-1:-1;12540:2:10;12530:12;12454:103;12583:8;12574:5;:17;12570:103;;12620:8;12611:17;;;-1:-1:-1;12656:2:10;12646:12;12570:103;12699:7;12690:5;:16;12686:100;;12735:7;12726:16;;;-1:-1:-1;12770:1:10;12760:11;12686:100;12812:7;12803:5;:16;12799:100;;12848:7;12839:16;;;-1:-1:-1;12883:1:10;12873:11;12799:100;12925:7;12916:5;:16;12912:100;;12961:7;12952:16;;;-1:-1:-1;12996:1:10;12986:11;12912:100;13038:7;13029:5;:16;13025:66;;13075:1;13065:11;13117:6;12214:916;-1:-1:-1;;12214:916:10:o;6376:272:2:-;6479:4;-1:-1:-1;;;;;6514:21:2;;;;;;:127;;;6561:7;-1:-1:-1;;;;;6552:16:2;:5;-1:-1:-1;;;;;6552:16:2;;:52;;;;6572:32;6589:5;6596:7;6572:16;:32::i;:::-;6552:88;;;-1:-1:-1;6008:7:2;6034:24;;;:15;:24;;;;;;-1:-1:-1;;;;;6608:32:2;;;6034:24;;6608:32;6552:88;6495:146;6376:272;-1:-1:-1;;;;6376:272:2:o;14:131:13:-;-1:-1:-1;;;;;;88:32:13;;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;592:289::-;634:3;672:5;666:12;699:6;694:3;687:19;755:6;748:4;741:5;737:16;730:4;725:3;721:14;715:47;807:1;800:4;791:6;786:3;782:16;778:27;771:38;870:4;863:2;859:7;854:2;846:6;842:15;838:29;833:3;829:39;825:50;818:57;;;592:289;;;;:::o;886:220::-;1035:2;1024:9;1017:21;998:4;1055:45;1096:2;1085:9;1081:18;1073:6;1055:45;:::i;1319:180::-;1378:6;1431:2;1419:9;1410:7;1406:23;1402:32;1399:52;;;1447:1;1444;1437:12;1399:52;-1:-1:-1;1470:23:13;;1319:180;-1:-1:-1;1319:180:13:o;1504:173::-;1572:20;;-1:-1:-1;;;;;1621:31:13;;1611:42;;1601:70;;1667:1;1664;1657:12;1601:70;1504:173;;;:::o;1682:254::-;1750:6;1758;1811:2;1799:9;1790:7;1786:23;1782:32;1779:52;;;1827:1;1824;1817:12;1779:52;1850:29;1869:9;1850:29;:::i;:::-;1840:39;1926:2;1911:18;;;;1898:32;;-1:-1:-1;;;1682:254:13:o;1941:186::-;2000:6;2053:2;2041:9;2032:7;2028:23;2024:32;2021:52;;;2069:1;2066;2059:12;2021:52;2092:29;2111:9;2092:29;:::i;2314:328::-;2391:6;2399;2407;2460:2;2448:9;2439:7;2435:23;2431:32;2428:52;;;2476:1;2473;2466:12;2428:52;2499:29;2518:9;2499:29;:::i;:::-;2489:39;;2547:38;2581:2;2570:9;2566:18;2547:38;:::i;:::-;2537:48;;2632:2;2621:9;2617:18;2604:32;2594:42;;2314:328;;;;;:::o;2647:248::-;2715:6;2723;2776:2;2764:9;2755:7;2751:23;2747:32;2744:52;;;2792:1;2789;2782:12;2744:52;-1:-1:-1;;2815:23:13;;;2885:2;2870:18;;;2857:32;;-1:-1:-1;2647:248:13:o;3179:592::-;3250:6;3258;3311:2;3299:9;3290:7;3286:23;3282:32;3279:52;;;3327:1;3324;3317:12;3279:52;3367:9;3354:23;3396:18;3437:2;3429:6;3426:14;3423:34;;;3453:1;3450;3443:12;3423:34;3491:6;3480:9;3476:22;3466:32;;3536:7;3529:4;3525:2;3521:13;3517:27;3507:55;;3558:1;3555;3548:12;3507:55;3598:2;3585:16;3624:2;3616:6;3613:14;3610:34;;;3640:1;3637;3630:12;3610:34;3685:7;3680:2;3671:6;3667:2;3663:15;3659:24;3656:37;3653:57;;;3706:1;3703;3696:12;3653:57;3737:2;3729:11;;;;;3759:6;;-1:-1:-1;3179:592:13;;-1:-1:-1;;;;3179:592:13:o;3776:347::-;3841:6;3849;3902:2;3890:9;3881:7;3877:23;3873:32;3870:52;;;3918:1;3915;3908:12;3870:52;3941:29;3960:9;3941:29;:::i;:::-;3931:39;;4020:2;4009:9;4005:18;3992:32;4067:5;4060:13;4053:21;4046:5;4043:32;4033:60;;4089:1;4086;4079:12;4033:60;4112:5;4102:15;;;3776:347;;;;;:::o;4128:127::-;4189:10;4184:3;4180:20;4177:1;4170:31;4220:4;4217:1;4210:15;4244:4;4241:1;4234:15;4260:275;4331:2;4325:9;4396:2;4377:13;;-1:-1:-1;;4373:27:13;4361:40;;4431:18;4416:34;;4452:22;;;4413:62;4410:88;;;4478:18;;:::i;:::-;4514:2;4507:22;4260:275;;-1:-1:-1;4260:275:13:o;4540:186::-;4588:4;4621:18;4613:6;4610:30;4607:56;;;4643:18;;:::i;:::-;-1:-1:-1;4709:2:13;4688:15;-1:-1:-1;;4684:29:13;4715:4;4680:40;;4540:186::o;4731:888::-;4826:6;4834;4842;4850;4903:3;4891:9;4882:7;4878:23;4874:33;4871:53;;;4920:1;4917;4910:12;4871:53;4943:29;4962:9;4943:29;:::i;:::-;4933:39;;4991:38;5025:2;5014:9;5010:18;4991:38;:::i;:::-;4981:48;;5076:2;5065:9;5061:18;5048:32;5038:42;;5131:2;5120:9;5116:18;5103:32;5158:18;5150:6;5147:30;5144:50;;;5190:1;5187;5180:12;5144:50;5213:22;;5266:4;5258:13;;5254:27;-1:-1:-1;5244:55:13;;5295:1;5292;5285:12;5244:55;5331:2;5318:16;5356:48;5372:31;5400:2;5372:31;:::i;:::-;5356:48;:::i;:::-;5427:2;5420:5;5413:17;5467:7;5462:2;5457;5453;5449:11;5445:20;5442:33;5439:53;;;5488:1;5485;5478:12;5439:53;5543:2;5538;5534;5530:11;5525:2;5518:5;5514:14;5501:45;5587:1;5582:2;5577;5570:5;5566:14;5562:23;5555:34;5608:5;5598:15;;;;;4731:888;;;;;;;:::o;5624:260::-;5692:6;5700;5753:2;5741:9;5732:7;5728:23;5724:32;5721:52;;;5769:1;5766;5759:12;5721:52;5792:29;5811:9;5792:29;:::i;:::-;5782:39;;5840:38;5874:2;5863:9;5859:18;5840:38;:::i;5889:322::-;5966:6;5974;5982;6035:2;6023:9;6014:7;6010:23;6006:32;6003:52;;;6051:1;6048;6041:12;6003:52;6074:29;6093:9;6074:29;:::i;:::-;6064:39;6150:2;6135:18;;6122:32;;-1:-1:-1;6201:2:13;6186:18;;;6173:32;;5889:322;-1:-1:-1;;;5889:322:13:o;6216:380::-;6295:1;6291:12;;;;6338;;;6359:61;;6413:4;6405:6;6401:17;6391:27;;6359:61;6466:2;6458:6;6455:14;6435:18;6432:38;6429:161;;6512:10;6507:3;6503:20;6500:1;6493:31;6547:4;6544:1;6537:15;6575:4;6572:1;6565:15;6429:161;;6216:380;;;:::o;7555:518::-;7657:2;7652:3;7649:11;7646:421;;;7693:5;7690:1;7683:16;7737:4;7734:1;7724:18;7807:2;7795:10;7791:19;7788:1;7784:27;7778:4;7774:38;7843:4;7831:10;7828:20;7825:47;;;-1:-1:-1;7866:4:13;7825:47;7921:2;7916:3;7912:12;7909:1;7905:20;7899:4;7895:31;7885:41;;7976:81;7994:2;7987:5;7984:13;7976:81;;;8053:1;8039:16;;8020:1;8009:13;7976:81;;8249:1345;8375:3;8369:10;8402:18;8394:6;8391:30;8388:56;;;8424:18;;:::i;:::-;8453:97;8543:6;8503:38;8535:4;8529:11;8503:38;:::i;:::-;8497:4;8453:97;:::i;:::-;8605:4;;8662:2;8651:14;;8679:1;8674:663;;;;9381:1;9398:6;9395:89;;;-1:-1:-1;9450:19:13;;;9444:26;9395:89;-1:-1:-1;;8206:1:13;8202:11;;;8198:24;8194:29;8184:40;8230:1;8226:11;;;8181:57;9497:81;;8644:944;;8674:663;7502:1;7495:14;;;7539:4;7526:18;;-1:-1:-1;;8710:20:13;;;8828:236;8842:7;8839:1;8836:14;8828:236;;;8931:19;;;8925:26;8910:42;;9023:27;;;;8991:1;8979:14;;;;8858:19;;8828:236;;;8832:3;9092:6;9083:7;9080:19;9077:201;;;9153:19;;;9147:26;-1:-1:-1;;9236:1:13;9232:14;;;9248:3;9228:24;9224:37;9220:42;9205:58;9190:74;;9077:201;;;9324:1;9315:6;9312:1;9308:14;9304:22;9298:4;9291:36;8644:944;;;;;8249:1345;;:::o;11357:1198::-;11481:18;11476:3;11473:27;11470:53;;;11503:18;;:::i;:::-;11532:94;11622:3;11582:38;11614:4;11608:11;11582:38;:::i;:::-;11576:4;11532:94;:::i;:::-;11652:1;11677:2;11672:3;11669:11;11694:1;11689:608;;;;12341:1;12358:3;12355:93;;;-1:-1:-1;12414:19:13;;;12401:33;12355:93;-1:-1:-1;;8206:1:13;8202:11;;;8198:24;8194:29;8184:40;8230:1;8226:11;;;8181:57;12461:78;;11662:887;;11689:608;7502:1;7495:14;;;7539:4;7526:18;;-1:-1:-1;;11725:17:13;;;11840:229;11854:7;11851:1;11848:14;11840:229;;;11943:19;;;11930:33;11915:49;;12050:4;12035:20;;;;12003:1;11991:14;;;;11870:12;11840:229;;;11844:3;12097;12088:7;12085:16;12082:159;;;12221:1;12217:6;12211:3;12205;12202:1;12198:11;12194:21;12190:34;12186:39;12173:9;12168:3;12164:19;12151:33;12147:79;12139:6;12132:95;12082:159;;;12284:1;12278:3;12275:1;12271:11;12267:19;12261:4;12254:33;11662:887;;11357:1198;;;:::o;12560:1150::-;12837:3;12866:1;12899:6;12893:13;12929:36;12955:9;12929:36;:::i;:::-;12984:1;13001:17;;;13027:133;;;;13174:1;13169:358;;;;12994:533;;13027:133;-1:-1:-1;;13060:24:13;;13048:37;;13133:14;;13126:22;13114:35;;13105:45;;;-1:-1:-1;13027:133:13;;13169:358;13200:6;13197:1;13190:17;13230:4;13275;13272:1;13262:18;13302:1;13316:165;13330:6;13327:1;13324:13;13316:165;;;13408:14;;13395:11;;;13388:35;13451:16;;;;13345:10;;13316:165;;;13320:3;;;13510:6;13505:3;13501:16;13494:23;;12994:533;;;;;13558:6;13552:13;13604:8;13597:4;13589:6;13585:17;13580:3;13574:39;-1:-1:-1;;;13632:18:13;;13659:19;;;13702:1;13694:10;;12560:1150;-1:-1:-1;;;;12560:1150:13:o;13715:662::-;13795:6;13848:2;13836:9;13827:7;13823:23;13819:32;13816:52;;;13864:1;13861;13854:12;13816:52;13897:9;13891:16;13930:18;13922:6;13919:30;13916:50;;;13962:1;13959;13952:12;13916:50;13985:22;;14038:4;14030:13;;14026:27;-1:-1:-1;14016:55:13;;14067:1;14064;14057:12;14016:55;14096:2;14090:9;14121:48;14137:31;14165:2;14137:31;:::i;14121:48::-;14192:2;14185:5;14178:17;14232:7;14227:2;14222;14218;14214:11;14210:20;14207:33;14204:53;;;14253:1;14250;14243:12;14204:53;14301:2;14296;14292;14288:11;14283:2;14276:5;14272:14;14266:38;14345:1;14324:14;;;14340:2;14320:23;14313:34;;;;14328:5;13715:662;-1:-1:-1;;;;13715:662:13:o;15496:127::-;15557:10;15552:3;15548:20;15545:1;15538:31;15588:4;15585:1;15578:15;15612:4;15609:1;15602:15;15628:135;15667:3;15688:17;;;15685:43;;15708:18;;:::i;:::-;-1:-1:-1;15755:1:13;15744:13;;15628:135::o;16588:127::-;16649:10;16644:3;16640:20;16637:1;16630:31;16680:4;16677:1;16670:15;16704:4;16701:1;16694:15;16720:125;16785:9;;;16806:10;;;16803:36;;;16819:18;;:::i;16850:489::-;-1:-1:-1;;;;;17119:15:13;;;17101:34;;17171:15;;17166:2;17151:18;;17144:43;17218:2;17203:18;;17196:34;;;17266:3;17261:2;17246:18;;17239:31;;;17044:4;;17287:46;;17313:19;;17305:6;17287:46;:::i;:::-;17279:54;16850:489;-1:-1:-1;;;;;;16850:489:13:o;17344:249::-;17413:6;17466:2;17454:9;17445:7;17441:23;17437:32;17434:52;;;17482:1;17479;17472:12;17434:52;17514:9;17508:16;17533:30;17557:5;17533:30;:::i;17598:127::-;17659:10;17654:3;17650:20;17647:1;17640:31;17690:4;17687:1;17680:15;17714:4;17711:1;17704:15;17730:254;17760:1;17794:4;17791:1;17787:12;17818:3;17808:134;;17864:10;17859:3;17855:20;17852:1;17845:31;17899:4;17896:1;17889:15;17927:4;17924:1;17917:15;17808:134;17974:3;17967:4;17964:1;17960:12;17956:22;17951:27;;;17730:254;;;;:::o
Swarm Source
ipfs://6eb2d89e93bb7193ba8e4413c2ebb596f48c635e38b0d7304da8b2094e381c4f
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.