Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
66 FRTT
Holders
35
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 FRTTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
FreeTate
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-30 */ // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/Exolienz.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.4; contract FreeTate is Ownable, ERC721A { uint256 constant public MAX_SUPPLY = 999; uint256 public publicPrice = 0.004 ether; uint256 constant public PUBLIC_MINT_LIMIT_TXN = 3; string public revealedURI; bool public paused = false; bool public revealed = false; bool public publicSale = false; address constant internal Dev = 0x8B87aee77AD1E957260B5560732d6b4dCdd411b8; mapping(address => uint256) public numUserMints; constructor(string memory _name, string memory _symbol, string memory _baseUri) ERC721A("Free Tate", "FRTT") { } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function refundOverpay(uint256 price) private { if (msg.value > price) { (bool succ, ) = payable(msg.sender).call{ value: (msg.value - price) }(""); require(succ, "Transfer failed"); } else if (msg.value < price) { revert("Not enough ETH sent"); } } function publicMint(uint256 quantity) external payable mintCompliance(quantity) { require(publicSale, "Public sale inactive"); require(quantity <= PUBLIC_MINT_LIMIT_TXN, "Quantity too high"); uint256 price = publicPrice; uint256 currMints = numUserMints[msg.sender]; refundOverpay(price * quantity); numUserMints[msg.sender] = (currMints + quantity); _safeMint(msg.sender, quantity); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed) { return string(abi.encodePacked(revealedURI, Strings.toString(_tokenId), ".json")); } else { return revealedURI; } } function setPublicPrice(uint256 _publicPrice) public onlyOwner { publicPrice = _publicPrice; } function setBaseURI(string memory _baseUri) public onlyOwner { revealedURI = _baseUri; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setPublicEnabled(bool _state) public onlyOwner { publicSale = _state; } function withdraw() external payable onlyOwner { uint256 currBalance = address(this).balance; (bool succ, ) = payable(Dev).call{ value: (currBalance * 10000) / 10000 }("0x8B87aee77AD1E957260B5560732d6b4dCdd411b8"); require(succ, "Dev transfer failed"); } function mintToUser(uint256 quantity, address receiver) public onlyOwner mintCompliance(quantity) { _safeMint(receiver, quantity); } modifier mintCompliance(uint256 quantity) { require(!paused, "Contract is paused"); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough mints left"); require(tx.origin == msg.sender, "No contract minting"); _; } }
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"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052660e35fa931a0000600955600b805462ffffff191690553480156200002857600080fd5b5060405162002272380380620022728339810160408190526200004b9162000291565b6040518060400160405280600981526020016846726565205461746560b81b815250604051806040016040528060048152602001631194951560e21b815250620000a46200009e620000e060201b60201c565b620000e4565b8151620000b990600390602085019062000134565b508051620000cf90600490602084019062000134565b506001805550620003759350505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001429062000322565b90600052602060002090601f016020900481019282620001665760008555620001b1565b82601f106200018157805160ff1916838001178555620001b1565b82800160010185558215620001b1579182015b82811115620001b157825182559160200191906001019062000194565b50620001bf929150620001c3565b5090565b5b80821115620001bf5760008155600101620001c4565b600082601f830112620001ec57600080fd5b81516001600160401b03808211156200020957620002096200035f565b604051601f8301601f19908116603f011681019082821181831017156200023457620002346200035f565b816040528381526020925086838588010111156200025157600080fd5b600091505b8382101562000275578582018301518183018401529082019062000256565b83821115620002875760008385830101525b9695505050505050565b600080600060608486031215620002a757600080fd5b83516001600160401b0380821115620002bf57600080fd5b620002cd87838801620001da565b94506020860151915080821115620002e457600080fd5b620002f287838801620001da565b935060408601519150808211156200030957600080fd5b506200031886828701620001da565b9150509250925092565b600181811c908216806200033757607f821691505b602082108114156200035957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611eed80620003856000396000f3fe6080604052600436106101f95760003560e01c80636352211e1161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610559578063e0a8085314610579578063e985e9c514610599578063f2fde38b146105e2578063f7e8d6ea1461060257600080fd5b8063a22cb465146104f0578063a945bf8014610510578063b88d4fde14610526578063c62752551461053957600080fd5b80637af3a1af116100dc5780637af3a1af1461047d5780638da5cb5b1461049d5780639007bd72146104bb57806395d89b41146104db57600080fd5b80636352211e146103fb57806370a082311461041b578063715018a61461043b5780637aeb72421461045057600080fd5b80632fecf20b1161019057806342842e0e1161015f57806342842e0e14610362578063438b63001461037557806351830227146103a257806355f804b3146103c15780635c975abb146103e157600080fd5b80632fecf20b1461030f57806332cb6b0c1461032457806333bc1c5c1461033a5780633ccfd60b1461035a57600080fd5b806316c38b3c116101cc57806316c38b3c146102a257806318160ddd146102c257806323b872dd146102e95780632db11544146102fc57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b17565b610617565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610669565b60405161022a9190611d5a565b34801561026157600080fd5b50610275610270366004611b9a565b6106fb565b6040516001600160a01b03909116815260200161022a565b6102a061029b366004611ad2565b61073f565b005b3480156102ae57600080fd5b506102a06102bd366004611afc565b6107df565b3480156102ce57600080fd5b5060025460015403600019015b60405190815260200161022a565b6102a06102f73660046119f0565b6107fa565b6102a061030a366004611b9a565b61098b565b34801561031b57600080fd5b506102db600381565b34801561033057600080fd5b506102db6103e781565b34801561034657600080fd5b50600b5461021e9062010000900460ff1681565b6102a0610b66565b6102a06103703660046119f0565b610c66565b34801561038157600080fd5b506103956103903660046119a2565b610c86565b60405161022a9190611d16565b3480156103ae57600080fd5b50600b5461021e90610100900460ff1681565b3480156103cd57600080fd5b506102a06103dc366004611b51565b610d67565b3480156103ed57600080fd5b50600b5461021e9060ff1681565b34801561040757600080fd5b50610275610416366004611b9a565b610d82565b34801561042757600080fd5b506102db6104363660046119a2565b610d8d565b34801561044757600080fd5b506102a0610ddc565b34801561045c57600080fd5b506102db61046b3660046119a2565b600c6020526000908152604090205481565b34801561048957600080fd5b506102a0610498366004611afc565b610df0565b3480156104a957600080fd5b506000546001600160a01b0316610275565b3480156104c757600080fd5b506102a06104d6366004611bb3565b610e14565b3480156104e757600080fd5b50610248610f16565b3480156104fc57600080fd5b506102a061050b366004611aa8565b610f25565b34801561051c57600080fd5b506102db60095481565b6102a0610534366004611a2c565b610f91565b34801561054557600080fd5b506102a0610554366004611b9a565b610fd5565b34801561056557600080fd5b50610248610574366004611b9a565b610fe2565b34801561058557600080fd5b506102a0610594366004611afc565b61112a565b3480156105a557600080fd5b5061021e6105b43660046119bd565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105ee57600080fd5b506102a06105fd3660046119a2565b61114c565b34801561060e57600080fd5b506102486111c5565b60006301ffc9a760e01b6001600160e01b03198316148061064857506380ac58cd60e01b6001600160e01b03198316145b806106635750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461067890611e09565b80601f01602080910402602001604051908101604052809291908181526020018280546106a490611e09565b80156106f15780601f106106c6576101008083540402835291602001916106f1565b820191906000526020600020905b8154815290600101906020018083116106d457829003601f168201915b5050505050905090565b600061070682611253565b610723576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061074a82610d82565b9050336001600160a01b038216146107835761076681336105b4565b610783576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107e7611288565b600b805460ff1916911515919091179055565b6000610805826112e2565b9050836001600160a01b0316816001600160a01b0316146108385760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108855761086886336105b4565b61088557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108ac57604051633a954ecd60e21b815260040160405180910390fd5b80156108b757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661094257600184016000818152600560205260409020546109405760015481146109405760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff16156109da5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b6002546001546103e791839103600019016109f59190611d6d565b1115610a3b5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109d1565b323314610a805760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109d1565b600b5462010000900460ff16610acf5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b60448201526064016109d1565b6003821115610b145760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b60448201526064016109d1565b600954336000908152600c6020526040902054610b39610b348584611da7565b611352565b610b438482611d6d565b336000818152600c6020526040902091909155610b609085611431565b50505050565b610b6e611288565b476000738b87aee77ad1e957260b5560732d6b4dcdd411b8612710610b938482611da7565b610b9d9190611d85565b6040517f3078384238376165653737414431453935373236304235353630373332643662815269068c886c8c8686262c4760b31b6020820152602a0160006040518083038185875af1925050503d8060008114610c16576040519150601f19603f3d011682016040523d82523d6000602084013e610c1b565b606091505b5050905080610c625760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109d1565b5050565b610c8183838360405180602001604052806000815250610f91565b505050565b60606000610c9383610d8d565b905060008167ffffffffffffffff811115610cb057610cb0611e8b565b604051908082528060200260200182016040528015610cd9578160200160208202803683370190505b509050600160005b8381108015610cf257506103e78211155b15610d5d576000610d0283610d82565b9050866001600160a01b0316816001600160a01b03161415610d4a5782848381518110610d3157610d31611e75565b602090810291909101015281610d4681611e44565b9250505b82610d5481611e44565b93505050610ce1565b5090949350505050565b610d6f611288565b8051610c6290600a90602084019061186c565b6000610663826112e2565b60006001600160a01b038216610db6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610de4611288565b610dee600061144b565b565b610df8611288565b600b8054911515620100000262ff000019909216919091179055565b610e1c611288565b600b54829060ff1615610e665760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109d1565b6002546001546103e79183910360001901610e819190611d6d565b1115610ec75760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109d1565b323314610f0c5760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109d1565b610c818284611431565b60606004805461067890611e09565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f9c8484846107fa565b6001600160a01b0383163b15610b6057610fb88484848461149b565b610b60576040516368d2bf6b60e11b815260040160405180910390fd5b610fdd611288565b600955565b6060610fed82611253565b6110515760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109d1565b600b54610100900460ff161561109357600a61106c83611593565b60405160200161107d929190611c1e565b6040516020818303038152906040529050919050565b600a80546110a090611e09565b80601f01602080910402602001604051908101604052809291908181526020018280546110cc90611e09565b80156111195780601f106110ee57610100808354040283529160200191611119565b820191906000526020600020905b8154815290600101906020018083116110fc57829003601f168201915b50505050509050919050565b919050565b611132611288565b600b80549115156101000261ff0019909216919091179055565b611154611288565b6001600160a01b0381166111b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d1565b6111c28161144b565b50565b600a80546111d290611e09565b80601f01602080910402602001604051908101604052809291908181526020018280546111fe90611e09565b801561124b5780601f106112205761010080835404028352916020019161124b565b820191906000526020600020905b81548152906001019060200180831161122e57829003601f168201915b505050505081565b600081600111158015611267575060015482105b8015610663575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610dee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d1565b600081806001116113395760015481101561133957600081815260056020526040902054600160e01b8116611337575b80611330575060001901600081815260056020526040902054611312565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b803411156113eb576000336113678334611dc6565b604051600081818185875af1925050503d80600081146113a3576040519150601f19603f3d011682016040523d82523d6000602084013e6113a8565b606091505b5050905080610c625760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016109d1565b803410156111c25760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b60448201526064016109d1565b610c62828260405180602001604052806000815250611630565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114d0903390899088908890600401611cd9565b602060405180830381600087803b1580156114ea57600080fd5b505af192505050801561151a575060408051601f3d908101601f1916820190925261151791810190611b34565b60015b611575573d808015611548576040519150601f19603f3d011682016040523d82523d6000602084013e61154d565b606091505b50805161156d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006115a08361169d565b600101905060008167ffffffffffffffff8111156115c0576115c0611e8b565b6040519080825280601f01601f1916602001820160405280156115ea576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461162357611628565b6115f4565b509392505050565b61163a8383611775565b6001600160a01b0383163b15610c81576001548281035b611664600086838060010194508661149b565b611681576040516368d2bf6b60e11b815260040160405180910390fd5b81811061165157816001541461169657600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116dc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611708576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061172657662386f26fc10000830492506010015b6305f5e100831061173e576305f5e100830492506008015b612710831061175257612710830492506004015b60648310611764576064830492506002015b600a83106106635760010192915050565b600154816117965760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461184557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161180d565b508161186357604051622e076360e81b815260040160405180910390fd5b60015550505050565b82805461187890611e09565b90600052602060002090601f01602090048101928261189a57600085556118e0565b82601f106118b357805160ff19168380011785556118e0565b828001600101855582156118e0579182015b828111156118e05782518255916020019190600101906118c5565b506118ec9291506118f0565b5090565b5b808211156118ec57600081556001016118f1565b600067ffffffffffffffff8084111561192057611920611e8b565b604051601f8501601f19908116603f0116810190828211818310171561194857611948611e8b565b8160405280935085815286868601111561196157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461112557600080fd5b8035801515811461112557600080fd5b6000602082840312156119b457600080fd5b6113308261197b565b600080604083850312156119d057600080fd5b6119d98361197b565b91506119e76020840161197b565b90509250929050565b600080600060608486031215611a0557600080fd5b611a0e8461197b565b9250611a1c6020850161197b565b9150604084013590509250925092565b60008060008060808587031215611a4257600080fd5b611a4b8561197b565b9350611a596020860161197b565b925060408501359150606085013567ffffffffffffffff811115611a7c57600080fd5b8501601f81018713611a8d57600080fd5b611a9c87823560208401611905565b91505092959194509250565b60008060408385031215611abb57600080fd5b611ac48361197b565b91506119e760208401611992565b60008060408385031215611ae557600080fd5b611aee8361197b565b946020939093013593505050565b600060208284031215611b0e57600080fd5b61133082611992565b600060208284031215611b2957600080fd5b813561133081611ea1565b600060208284031215611b4657600080fd5b815161133081611ea1565b600060208284031215611b6357600080fd5b813567ffffffffffffffff811115611b7a57600080fd5b8201601f81018413611b8b57600080fd5b61158b84823560208401611905565b600060208284031215611bac57600080fd5b5035919050565b60008060408385031215611bc657600080fd5b823591506119e76020840161197b565b60008151808452611bee816020860160208601611ddd565b601f01601f19169290920160200192915050565b60008151611c14818560208601611ddd565b9290920192915050565b600080845481600182811c915080831680611c3a57607f831692505b6020808410821415611c5a57634e487b7160e01b86526022600452602486fd5b818015611c6e5760018114611c7f57611cac565b60ff19861689528489019650611cac565b60008b81526020902060005b86811015611ca45781548b820152908501908301611c8b565b505084890196505b505050505050611cd0611cbf8286611c02565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d0c90830184611bd6565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611d4e57835183529284019291840191600101611d32565b50909695505050505050565b6020815260006113306020830184611bd6565b60008219821115611d8057611d80611e5f565b500190565b600082611da257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611dc157611dc1611e5f565b500290565b600082821015611dd857611dd8611e5f565b500390565b60005b83811015611df8578181015183820152602001611de0565b83811115610b605750506000910152565b600181811c90821680611e1d57607f821691505b60208210811415611e3e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e5857611e58611e5f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111c257600080fdfea2646970667358221220609db5e8591f1f620db3c384d008cfd8e19f136bbc0b690f1361b1778d81e07964736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084672656554617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000446525454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80636352211e1161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610559578063e0a8085314610579578063e985e9c514610599578063f2fde38b146105e2578063f7e8d6ea1461060257600080fd5b8063a22cb465146104f0578063a945bf8014610510578063b88d4fde14610526578063c62752551461053957600080fd5b80637af3a1af116100dc5780637af3a1af1461047d5780638da5cb5b1461049d5780639007bd72146104bb57806395d89b41146104db57600080fd5b80636352211e146103fb57806370a082311461041b578063715018a61461043b5780637aeb72421461045057600080fd5b80632fecf20b1161019057806342842e0e1161015f57806342842e0e14610362578063438b63001461037557806351830227146103a257806355f804b3146103c15780635c975abb146103e157600080fd5b80632fecf20b1461030f57806332cb6b0c1461032457806333bc1c5c1461033a5780633ccfd60b1461035a57600080fd5b806316c38b3c116101cc57806316c38b3c146102a257806318160ddd146102c257806323b872dd146102e95780632db11544146102fc57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b17565b610617565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610669565b60405161022a9190611d5a565b34801561026157600080fd5b50610275610270366004611b9a565b6106fb565b6040516001600160a01b03909116815260200161022a565b6102a061029b366004611ad2565b61073f565b005b3480156102ae57600080fd5b506102a06102bd366004611afc565b6107df565b3480156102ce57600080fd5b5060025460015403600019015b60405190815260200161022a565b6102a06102f73660046119f0565b6107fa565b6102a061030a366004611b9a565b61098b565b34801561031b57600080fd5b506102db600381565b34801561033057600080fd5b506102db6103e781565b34801561034657600080fd5b50600b5461021e9062010000900460ff1681565b6102a0610b66565b6102a06103703660046119f0565b610c66565b34801561038157600080fd5b506103956103903660046119a2565b610c86565b60405161022a9190611d16565b3480156103ae57600080fd5b50600b5461021e90610100900460ff1681565b3480156103cd57600080fd5b506102a06103dc366004611b51565b610d67565b3480156103ed57600080fd5b50600b5461021e9060ff1681565b34801561040757600080fd5b50610275610416366004611b9a565b610d82565b34801561042757600080fd5b506102db6104363660046119a2565b610d8d565b34801561044757600080fd5b506102a0610ddc565b34801561045c57600080fd5b506102db61046b3660046119a2565b600c6020526000908152604090205481565b34801561048957600080fd5b506102a0610498366004611afc565b610df0565b3480156104a957600080fd5b506000546001600160a01b0316610275565b3480156104c757600080fd5b506102a06104d6366004611bb3565b610e14565b3480156104e757600080fd5b50610248610f16565b3480156104fc57600080fd5b506102a061050b366004611aa8565b610f25565b34801561051c57600080fd5b506102db60095481565b6102a0610534366004611a2c565b610f91565b34801561054557600080fd5b506102a0610554366004611b9a565b610fd5565b34801561056557600080fd5b50610248610574366004611b9a565b610fe2565b34801561058557600080fd5b506102a0610594366004611afc565b61112a565b3480156105a557600080fd5b5061021e6105b43660046119bd565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105ee57600080fd5b506102a06105fd3660046119a2565b61114c565b34801561060e57600080fd5b506102486111c5565b60006301ffc9a760e01b6001600160e01b03198316148061064857506380ac58cd60e01b6001600160e01b03198316145b806106635750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461067890611e09565b80601f01602080910402602001604051908101604052809291908181526020018280546106a490611e09565b80156106f15780601f106106c6576101008083540402835291602001916106f1565b820191906000526020600020905b8154815290600101906020018083116106d457829003601f168201915b5050505050905090565b600061070682611253565b610723576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061074a82610d82565b9050336001600160a01b038216146107835761076681336105b4565b610783576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107e7611288565b600b805460ff1916911515919091179055565b6000610805826112e2565b9050836001600160a01b0316816001600160a01b0316146108385760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108855761086886336105b4565b61088557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108ac57604051633a954ecd60e21b815260040160405180910390fd5b80156108b757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661094257600184016000818152600560205260409020546109405760015481146109405760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff16156109da5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b6002546001546103e791839103600019016109f59190611d6d565b1115610a3b5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109d1565b323314610a805760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109d1565b600b5462010000900460ff16610acf5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b60448201526064016109d1565b6003821115610b145760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b60448201526064016109d1565b600954336000908152600c6020526040902054610b39610b348584611da7565b611352565b610b438482611d6d565b336000818152600c6020526040902091909155610b609085611431565b50505050565b610b6e611288565b476000738b87aee77ad1e957260b5560732d6b4dcdd411b8612710610b938482611da7565b610b9d9190611d85565b6040517f3078384238376165653737414431453935373236304235353630373332643662815269068c886c8c8686262c4760b31b6020820152602a0160006040518083038185875af1925050503d8060008114610c16576040519150601f19603f3d011682016040523d82523d6000602084013e610c1b565b606091505b5050905080610c625760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109d1565b5050565b610c8183838360405180602001604052806000815250610f91565b505050565b60606000610c9383610d8d565b905060008167ffffffffffffffff811115610cb057610cb0611e8b565b604051908082528060200260200182016040528015610cd9578160200160208202803683370190505b509050600160005b8381108015610cf257506103e78211155b15610d5d576000610d0283610d82565b9050866001600160a01b0316816001600160a01b03161415610d4a5782848381518110610d3157610d31611e75565b602090810291909101015281610d4681611e44565b9250505b82610d5481611e44565b93505050610ce1565b5090949350505050565b610d6f611288565b8051610c6290600a90602084019061186c565b6000610663826112e2565b60006001600160a01b038216610db6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610de4611288565b610dee600061144b565b565b610df8611288565b600b8054911515620100000262ff000019909216919091179055565b610e1c611288565b600b54829060ff1615610e665760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109d1565b6002546001546103e79183910360001901610e819190611d6d565b1115610ec75760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109d1565b323314610f0c5760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109d1565b610c818284611431565b60606004805461067890611e09565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f9c8484846107fa565b6001600160a01b0383163b15610b6057610fb88484848461149b565b610b60576040516368d2bf6b60e11b815260040160405180910390fd5b610fdd611288565b600955565b6060610fed82611253565b6110515760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109d1565b600b54610100900460ff161561109357600a61106c83611593565b60405160200161107d929190611c1e565b6040516020818303038152906040529050919050565b600a80546110a090611e09565b80601f01602080910402602001604051908101604052809291908181526020018280546110cc90611e09565b80156111195780601f106110ee57610100808354040283529160200191611119565b820191906000526020600020905b8154815290600101906020018083116110fc57829003601f168201915b50505050509050919050565b919050565b611132611288565b600b80549115156101000261ff0019909216919091179055565b611154611288565b6001600160a01b0381166111b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d1565b6111c28161144b565b50565b600a80546111d290611e09565b80601f01602080910402602001604051908101604052809291908181526020018280546111fe90611e09565b801561124b5780601f106112205761010080835404028352916020019161124b565b820191906000526020600020905b81548152906001019060200180831161122e57829003601f168201915b505050505081565b600081600111158015611267575060015482105b8015610663575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610dee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d1565b600081806001116113395760015481101561133957600081815260056020526040902054600160e01b8116611337575b80611330575060001901600081815260056020526040902054611312565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b803411156113eb576000336113678334611dc6565b604051600081818185875af1925050503d80600081146113a3576040519150601f19603f3d011682016040523d82523d6000602084013e6113a8565b606091505b5050905080610c625760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016109d1565b803410156111c25760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b60448201526064016109d1565b610c62828260405180602001604052806000815250611630565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114d0903390899088908890600401611cd9565b602060405180830381600087803b1580156114ea57600080fd5b505af192505050801561151a575060408051601f3d908101601f1916820190925261151791810190611b34565b60015b611575573d808015611548576040519150601f19603f3d011682016040523d82523d6000602084013e61154d565b606091505b50805161156d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006115a08361169d565b600101905060008167ffffffffffffffff8111156115c0576115c0611e8b565b6040519080825280601f01601f1916602001820160405280156115ea576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461162357611628565b6115f4565b509392505050565b61163a8383611775565b6001600160a01b0383163b15610c81576001548281035b611664600086838060010194508661149b565b611681576040516368d2bf6b60e11b815260040160405180910390fd5b81811061165157816001541461169657600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116dc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611708576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061172657662386f26fc10000830492506010015b6305f5e100831061173e576305f5e100830492506008015b612710831061175257612710830492506004015b60648310611764576064830492506002015b600a83106106635760010192915050565b600154816117965760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461184557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161180d565b508161186357604051622e076360e81b815260040160405180910390fd5b60015550505050565b82805461187890611e09565b90600052602060002090601f01602090048101928261189a57600085556118e0565b82601f106118b357805160ff19168380011785556118e0565b828001600101855582156118e0579182015b828111156118e05782518255916020019190600101906118c5565b506118ec9291506118f0565b5090565b5b808211156118ec57600081556001016118f1565b600067ffffffffffffffff8084111561192057611920611e8b565b604051601f8501601f19908116603f0116810190828211818310171561194857611948611e8b565b8160405280935085815286868601111561196157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461112557600080fd5b8035801515811461112557600080fd5b6000602082840312156119b457600080fd5b6113308261197b565b600080604083850312156119d057600080fd5b6119d98361197b565b91506119e76020840161197b565b90509250929050565b600080600060608486031215611a0557600080fd5b611a0e8461197b565b9250611a1c6020850161197b565b9150604084013590509250925092565b60008060008060808587031215611a4257600080fd5b611a4b8561197b565b9350611a596020860161197b565b925060408501359150606085013567ffffffffffffffff811115611a7c57600080fd5b8501601f81018713611a8d57600080fd5b611a9c87823560208401611905565b91505092959194509250565b60008060408385031215611abb57600080fd5b611ac48361197b565b91506119e760208401611992565b60008060408385031215611ae557600080fd5b611aee8361197b565b946020939093013593505050565b600060208284031215611b0e57600080fd5b61133082611992565b600060208284031215611b2957600080fd5b813561133081611ea1565b600060208284031215611b4657600080fd5b815161133081611ea1565b600060208284031215611b6357600080fd5b813567ffffffffffffffff811115611b7a57600080fd5b8201601f81018413611b8b57600080fd5b61158b84823560208401611905565b600060208284031215611bac57600080fd5b5035919050565b60008060408385031215611bc657600080fd5b823591506119e76020840161197b565b60008151808452611bee816020860160208601611ddd565b601f01601f19169290920160200192915050565b60008151611c14818560208601611ddd565b9290920192915050565b600080845481600182811c915080831680611c3a57607f831692505b6020808410821415611c5a57634e487b7160e01b86526022600452602486fd5b818015611c6e5760018114611c7f57611cac565b60ff19861689528489019650611cac565b60008b81526020902060005b86811015611ca45781548b820152908501908301611c8b565b505084890196505b505050505050611cd0611cbf8286611c02565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d0c90830184611bd6565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611d4e57835183529284019291840191600101611d32565b50909695505050505050565b6020815260006113306020830184611bd6565b60008219821115611d8057611d80611e5f565b500190565b600082611da257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611dc157611dc1611e5f565b500290565b600082821015611dd857611dd8611e5f565b500390565b60005b83811015611df8578181015183820152602001611de0565b83811115610b605750506000910152565b600181811c90821680611e1d57607f821691505b60208210811415611e3e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e5857611e58611e5f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111c257600080fdfea2646970667358221220609db5e8591f1f620db3c384d008cfd8e19f136bbc0b690f1361b1778d81e07964736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084672656554617465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000446525454000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): FreeTate
Arg [1] : _symbol (string): FRTT
Arg [2] : _baseUri (string):
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 4672656554617465000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4652545400000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
70347:3998:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37206:639;;;;;;;;;;-1:-1:-1;37206:639:0;;;;;:::i;:::-;;:::i;:::-;;;8478:14:1;;8471:22;8453:41;;8441:2;8426:18;37206:639:0;;;;;;;;38108:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44599:218::-;;;;;;;;;;-1:-1:-1;44599:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7139:32:1;;;7121:51;;7109:2;7094:18;44599:218:0;6975:203:1;44032:408:0;;;;;;:::i;:::-;;:::i;:::-;;73293:83;;;;;;;;;;-1:-1:-1;73293:83:0;;;;;:::i;:::-;;:::i;33859:323::-;;;;;;;;;;-1:-1:-1;34133:12:0;;71090:1;34117:13;:28;-1:-1:-1;;34117:46:0;33859:323;;;12839:25:1;;;12827:2;12812:18;33859:323:0;12693:177:1;48238:2825:0;;;;;;:::i;:::-;;:::i;71488:469::-;;;;;;:::i;:::-;;:::i;70496:49::-;;;;;;;;;;;;70544:1;70496:49;;70392:40;;;;;;;;;;;;70429:3;70392:40;;70670:30;;;;;;;;;;-1:-1:-1;70670:30:0;;;;;;;;;;;73585:322;;;:::i;51159:193::-;;;;;;:::i;:::-;;:::i;71971:689::-;;;;;;;;;;-1:-1:-1;71971:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70635:28::-;;;;;;;;;;-1:-1:-1;70635:28:0;;;;;;;;;;;73181:102;;;;;;;;;;-1:-1:-1;73181:102:0;;;;;:::i;:::-;;:::i;70602:26::-;;;;;;;;;;-1:-1:-1;70602:26:0;;;;;;;;39501:152;;;;;;;;;;-1:-1:-1;39501:152:0;;;;;:::i;:::-;;:::i;35043:233::-;;;;;;;;;;-1:-1:-1;35043:233:0;;;;;:::i;:::-;;:::i;17985:103::-;;;;;;;;;;;;;:::i;70816:47::-;;;;;;;;;;-1:-1:-1;70816:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;73479:94;;;;;;;;;;-1:-1:-1;73479:94:0;;;;;:::i;:::-;;:::i;17337:87::-;;;;;;;;;;-1:-1:-1;17383:7:0;17410:6;-1:-1:-1;;;;;17410:6:0;17337:87;;73921:146;;;;;;;;;;-1:-1:-1;73921:146:0;;;;;:::i;:::-;;:::i;38284:104::-;;;;;;;;;;;;;:::i;45157:234::-;;;;;;;;;;-1:-1:-1;45157:234:0;;;;;:::i;:::-;;:::i;70447:40::-;;;;;;;;;;;;;;;;51950:407;;;;;;:::i;:::-;;:::i;73065:108::-;;;;;;;;;;-1:-1:-1;73065:108:0;;;;;:::i;:::-;;:::i;72668:389::-;;;;;;;;;;-1:-1:-1;72668:389:0;;;;;:::i;:::-;;:::i;73384:87::-;;;;;;;;;;-1:-1:-1;73384:87:0;;;;;:::i;:::-;;:::i;45548:164::-;;;;;;;;;;-1:-1:-1;45548:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45669:25:0;;;45645:4;45669:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45548:164;18243:201;;;;;;;;;;-1:-1:-1;18243:201:0;;;;;:::i;:::-;;:::i;70560:25::-;;;;;;;;;;;;;:::i;37206:639::-;37291:4;-1:-1:-1;;;;;;;;;37615:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37692:25:0;;;37615:102;:179;;;-1:-1:-1;;;;;;;;;;37769:25:0;;;37615:179;37595:199;37206:639;-1:-1:-1;;37206:639:0:o;38108:100::-;38162:13;38195:5;38188:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38108:100;:::o;44599:218::-;44675:7;44700:16;44708:7;44700;:16::i;:::-;44695:64;;44725:34;;-1:-1:-1;;;44725:34:0;;;;;;;;;;;44695:64;-1:-1:-1;44779:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;44779:30:0;;44599:218::o;44032:408::-;44121:13;44137:16;44145:7;44137;:16::i;:::-;44121:32;-1:-1:-1;68365:10:0;-1:-1:-1;;;;;44170:28:0;;;44166:175;;44218:44;44235:5;68365:10;45548:164;:::i;44218:44::-;44213:128;;44290:35;;-1:-1:-1;;;44290:35:0;;;;;;;;;;;44213:128;44353:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;44353:35:0;-1:-1:-1;;;;;44353:35:0;;;;;;;;;44404:28;;44353:24;;44404:28;;;;;;;44110:330;44032:408;;:::o;73293:83::-;17223:13;:11;:13::i;:::-;73353:6:::1;:15:::0;;-1:-1:-1;;73353:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;73293:83::o;48238:2825::-;48380:27;48410;48429:7;48410:18;:27::i;:::-;48380:57;;48495:4;-1:-1:-1;;;;;48454:45:0;48470:19;-1:-1:-1;;;;;48454:45:0;;48450:86;;48508:28;;-1:-1:-1;;;48508:28:0;;;;;;;;;;;48450:86;48550:27;47346:24;;;:15;:24;;;;;47574:26;;68365:10;46971:30;;;-1:-1:-1;;;;;46664:28:0;;46949:20;;;46946:56;48736:180;;48829:43;48846:4;68365:10;45548:164;:::i;48829:43::-;48824:92;;48881:35;;-1:-1:-1;;;48881:35:0;;;;;;;;;;;48824:92;-1:-1:-1;;;;;48933:16:0;;48929:52;;48958:23;;-1:-1:-1;;;48958:23:0;;;;;;;;;;;48929:52;49130:15;49127:160;;;49270:1;49249:19;49242:30;49127:160;-1:-1:-1;;;;;49667:24:0;;;;;;;:18;:24;;;;;;49665:26;;-1:-1:-1;;49665:26:0;;;49736:22;;;;;;;;;49734:24;;-1:-1:-1;49734:24:0;;;42890:11;42865:23;42861:41;42848:63;-1:-1:-1;;;42848:63:0;50029:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;50324:47:0;;50320:627;;50429:1;50419:11;;50397:19;50552:30;;;:17;:30;;;;;;50548:384;;50690:13;;50675:11;:28;50671:242;;50837:30;;;;:17;:30;;;;;:52;;;50671:242;50378:569;50320:627;50994:7;50990:2;-1:-1:-1;;;;;50975:27:0;50984:4;-1:-1:-1;;;;;50975:27:0;;;;;;;;;;;48369:2694;;;48238:2825;;;:::o;71488:469::-;74144:6;;71558:8;;74144:6;;74143:7;74135:38;;;;-1:-1:-1;;;74135:38:0;;12198:2:1;74135:38:0;;;12180:21:1;12237:2;12217:18;;;12210:30;-1:-1:-1;;;12256:18:1;;;12249:48;12314:18;;74135:38:0;;;;;;;;;34133:12;;71090:1;34117:13;70429:3;;74208:8;;34117:28;-1:-1:-1;;34117:46:0;74192:24;;;;:::i;:::-;:38;;74184:72;;;;-1:-1:-1;;;74184:72:0;;12545:2:1;74184:72:0;;;12527:21:1;12584:2;12564:18;;;12557:30;-1:-1:-1;;;12603:18:1;;;12596:51;12664:18;;74184:72:0;12343:345:1;74184:72:0;74275:9;74288:10;74275:23;74267:55;;;;-1:-1:-1;;;74267:55:0;;9682:2:1;74267:55:0;;;9664:21:1;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9740:18:1;;;9733:49;9799:18;;74267:55:0;9480:343:1;74267:55:0;71587:10:::1;::::0;;;::::1;;;71579:43;;;::::0;-1:-1:-1;;;71579:43:0;;11155:2:1;71579:43:0::1;::::0;::::1;11137:21:1::0;11194:2;11174:18;;;11167:30;-1:-1:-1;;;11213:18:1;;;11206:50;11273:18;;71579:43:0::1;10953:344:1::0;71579:43:0::1;70544:1;71641:8;:33;;71633:63;;;::::0;-1:-1:-1;;;71633:63:0;;11504:2:1;71633:63:0::1;::::0;::::1;11486:21:1::0;11543:2;11523:18;;;11516:30;-1:-1:-1;;;11562:18:1;;;11555:47;11619:18;;71633:63:0::1;11302:341:1::0;71633:63:0::1;71725:11;::::0;71780:10:::1;71709:13;71767:24:::0;;;:12:::1;:24;::::0;;;;;71812:31:::1;71826:16;71834:8:::0;71725:11;71826:16:::1;:::i;:::-;71812:13;:31::i;:::-;71884:20;71896:8:::0;71884:9;:20:::1;:::i;:::-;71869:10;71856:24;::::0;;;:12:::1;:24;::::0;;;;:49;;;;71918:31:::1;::::0;71940:8;71918:9:::1;:31::i;:::-;71568:389;;71488:469:::0;;:::o;73585:322::-;17223:13;:11;:13::i;:::-;73675:21:::1;73653:19;70747:42;73788:5;73765:19;73675:21:::0;73788:5;73765:19:::1;:::i;:::-;73764:29;;;;:::i;:::-;73725:125;::::0;6648:34:1;6636:47;;-1:-1:-1;;;6708:2:1;6699:12;;6692:34;6751:2;6742:12;73725:125:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73709:141;;;73869:4;73861:36;;;::::0;-1:-1:-1;;;73861:36:0;;11850:2:1;73861:36:0::1;::::0;::::1;11832:21:1::0;11889:2;11869:18;;;11862:30;-1:-1:-1;;;11908:18:1;;;11901:49;11967:18;;73861:36:0::1;11648:343:1::0;73861:36:0::1;73632:275;;73585:322::o:0;51159:193::-;51305:39;51322:4;51328:2;51332:7;51305:39;;;;;;;;;;;;:16;:39::i;:::-;51159:193;;;:::o;71971:689::-;72031:16;72065:23;72091:17;72101:6;72091:9;:17::i;:::-;72065:43;;72119:30;72166:15;72152:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72152:30:0;-1:-1:-1;72119:63:0;-1:-1:-1;72218:1:0;72193:22;72270:350;72295:15;72277;:33;:65;;;;;70429:3;72314:14;:28;;72277:65;72270:350;;;72359:25;72387:23;72395:14;72387:7;:23::i;:::-;72359:51;;72452:6;-1:-1:-1;;;;;72431:27:0;:17;-1:-1:-1;;;;;72431:27:0;;72427:153;;;72512:14;72479:13;72493:15;72479:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;72547:17;;;;:::i;:::-;;;;72427:153;72592:16;;;;:::i;:::-;;;;72344:276;72270:350;;;-1:-1:-1;72639:13:0;;71971:689;-1:-1:-1;;;;71971:689:0:o;73181:102::-;17223:13;:11;:13::i;:::-;73253:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;39501:152::-:0;39573:7;39616:27;39635:7;39616:18;:27::i;35043:233::-;35115:7;-1:-1:-1;;;;;35139:19:0;;35135:60;;35167:28;;-1:-1:-1;;;35167:28:0;;;;;;;;;;;35135:60;-1:-1:-1;;;;;;35213:25:0;;;;;:18;:25;;;;;;29202:13;35213:55;;35043:233::o;17985:103::-;17223:13;:11;:13::i;:::-;18050:30:::1;18077:1;18050:18;:30::i;:::-;17985:103::o:0;73479:94::-;17223:13;:11;:13::i;:::-;73546:10:::1;:19:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;73546:19:0;;::::1;::::0;;;::::1;::::0;;73479:94::o;73921:146::-;17223:13;:11;:13::i;:::-;74144:6:::1;::::0;74009:8;;74144:6:::1;;74143:7;74135:38;;;::::0;-1:-1:-1;;;74135:38:0;;12198:2:1;74135:38:0::1;::::0;::::1;12180:21:1::0;12237:2;12217:18;;;12210:30;-1:-1:-1;;;12256:18:1;;;12249:48;12314:18;;74135:38:0::1;11996:342:1::0;74135:38:0::1;34133:12:::0;;71090:1;34117:13;70429:3:::1;::::0;74208:8;;34117:28;-1:-1:-1;;34117:46:0;74192:24:::1;;;;:::i;:::-;:38;;74184:72;;;::::0;-1:-1:-1;;;74184:72:0;;12545:2:1;74184:72:0::1;::::0;::::1;12527:21:1::0;12584:2;12564:18;;;12557:30;-1:-1:-1;;;12603:18:1;;;12596:51;12664:18;;74184:72:0::1;12343:345:1::0;74184:72:0::1;74275:9;74288:10;74275:23;74267:55;;;::::0;-1:-1:-1;;;74267:55:0;;9682:2:1;74267:55:0::1;::::0;::::1;9664:21:1::0;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9740:18:1;;;9733:49;9799:18;;74267:55:0::1;9480:343:1::0;74267:55:0::1;74030:29:::2;74040:8;74050;74030:9;:29::i;38284:104::-:0;38340:13;38373:7;38366:14;;;;;:::i;45157:234::-;68365:10;45252:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;45252:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;45252:60:0;;;;;;;;;;45328:55;;8453:41:1;;;45252:49:0;;68365:10;45328:55;;8426:18:1;45328:55:0;;;;;;;45157:234;;:::o;51950:407::-;52125:31;52138:4;52144:2;52148:7;52125:12;:31::i;:::-;-1:-1:-1;;;;;52171:14:0;;;:19;52167:183;;52210:56;52241:4;52247:2;52251:7;52260:5;52210:30;:56::i;:::-;52205:145;;52294:40;;-1:-1:-1;;;52294:40:0;;;;;;;;;;;73065:108;17223:13;:11;:13::i;:::-;73139:11:::1;:26:::0;73065:108::o;72668:389::-;72734:13;72778:17;72786:8;72778:7;:17::i;:::-;72770:77;;;;-1:-1:-1;;;72770:77:0;;10391:2:1;72770:77:0;;;10373:21:1;10430:2;10410:18;;;10403:30;10469:34;10449:18;;;10442:62;-1:-1:-1;;;10520:18:1;;;10513:45;10575:19;;72770:77:0;10189:411:1;72770:77:0;72872:8;;;;;;;72868:182;;;72928:11;72941:26;72958:8;72941:16;:26::i;:::-;72911:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72897:81;;72668:389;;;:::o;72868:182::-;73027:11;73020:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72668:389;;;:::o;72868:182::-;72668:389;;;:::o;73384:87::-;17223:13;:11;:13::i;:::-;73446:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;73446:17:0;;::::1;::::0;;;::::1;::::0;;73384:87::o;18243:201::-;17223:13;:11;:13::i;:::-;-1:-1:-1;;;;;18332:22:0;::::1;18324:73;;;::::0;-1:-1:-1;;;18324:73:0;;8931:2:1;18324:73:0::1;::::0;::::1;8913:21:1::0;8970:2;8950:18;;;8943:30;9009:34;8989:18;;;8982:62;-1:-1:-1;;;9060:18:1;;;9053:36;9106:19;;18324:73:0::1;8729:402:1::0;18324:73:0::1;18408:28;18427:8;18408:18;:28::i;:::-;18243:201:::0;:::o;70560:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45970:282::-;46035:4;46091:7;71090:1;46072:26;;:66;;;;;46125:13;;46115:7;:23;46072:66;:153;;;;-1:-1:-1;;46176:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;46176:44:0;:49;;45970:282::o;17502:132::-;17383:7;17410:6;-1:-1:-1;;;;;17410:6:0;68365:10;17566:23;17558:68;;;;-1:-1:-1;;;17558:68:0;;10030:2:1;17558:68:0;;;10012:21:1;;;10049:18;;;10042:30;10108:34;10088:18;;;10081:62;10160:18;;17558:68:0;9828:356:1;40656:1275:0;40723:7;40758;;71090:1;40807:23;40803:1061;;40860:13;;40853:4;:20;40849:1015;;;40898:14;40915:23;;;:17;:23;;;;;;-1:-1:-1;;;41004:24:0;;41000:845;;41669:113;41676:11;41669:113;;-1:-1:-1;;;41747:6:0;41729:25;;;;:17;:25;;;;;;41669:113;;;41815:6;40656:1275;-1:-1:-1;;;40656:1275:0:o;41000:845::-;40875:989;40849:1015;41892:31;;-1:-1:-1;;;41892:31:0;;;;;;;;;;;71107:359;71180:5;71168:9;:17;71164:295;;;71203:9;71226:10;71269:17;71281:5;71269:9;:17;:::i;:::-;71218:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71202:104;;;71329:4;71321:32;;;;-1:-1:-1;;;71321:32:0;;9338:2:1;71321:32:0;;;9320:21:1;9377:2;9357:18;;;9350:30;-1:-1:-1;;;9396:18:1;;;9389:45;9451:18;;71321:32:0;9136:339:1;71164:295:0;71396:5;71384:9;:17;71380:79;;;71418:29;;-1:-1:-1;;;71418:29:0;;10807:2:1;71418:29:0;;;10789:21:1;10846:2;10826:18;;;10819:30;-1:-1:-1;;;10865:18:1;;;10858:49;10924:18;;71418:29:0;10605:343:1;62110:112:0;62187:27;62197:2;62201:8;62187:27;;;;;;;;;;;;:9;:27::i;18604:191::-;18678:16;18697:6;;-1:-1:-1;;;;;18714:17:0;;;-1:-1:-1;;;;;;18714:17:0;;;;;;18747:40;;18697:6;;;;;;;18747:40;;18678:16;18747:40;18667:128;18604:191;:::o;54441:716::-;54625:88;;-1:-1:-1;;;54625:88:0;;54604:4;;-1:-1:-1;;;;;54625:45:0;;;;;:88;;68365:10;;54692:4;;54698:7;;54707:5;;54625:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54625:88:0;;;;;;;;-1:-1:-1;;54625:88:0;;;;;;;;;;;;:::i;:::-;;;54621:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54908:13:0;;54904:235;;54954:40;;-1:-1:-1;;;54954:40:0;;;;;;;;;;;54904:235;55097:6;55091:13;55082:6;55078:2;55074:15;55067:38;54621:529;-1:-1:-1;;;;;;54784:64:0;-1:-1:-1;;;54784:64:0;;-1:-1:-1;54621:529:0;54441:716;;;;;;:::o;13315:::-;13371:13;13422:14;13439:17;13450:5;13439:10;:17::i;:::-;13459:1;13439:21;13422:38;;13475:20;13509:6;13498:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13498:18:0;-1:-1:-1;13475:41:0;-1:-1:-1;13640:28:0;;;13656:2;13640:28;13697:288;-1:-1:-1;;13729:5:0;-1:-1:-1;;;13866:2:0;13855:14;;13850:30;13729:5;13837:44;13927:2;13918:11;;;-1:-1:-1;13952:10:0;13948:21;;13964:5;;13948:21;13697:288;;;-1:-1:-1;14006:6:0;13315:716;-1:-1:-1;;;13315:716:0:o;61337:689::-;61468:19;61474:2;61478:8;61468:5;:19::i;:::-;-1:-1:-1;;;;;61529:14:0;;;:19;61525:483;;61583:13;;61631:14;;;61664:233;61695:62;61734:1;61738:2;61742:7;;;;;;61751:5;61695:30;:62::i;:::-;61690:167;;61793:40;;-1:-1:-1;;;61793:40:0;;;;;;;;;;;61690:167;61892:3;61884:5;:11;61664:233;;61979:3;61962:13;;:20;61958:34;;61984:8;;;61958:34;61550:458;;61337:689;;;:::o;10176:922::-;10229:7;;-1:-1:-1;;;10307:15:0;;10303:102;;-1:-1:-1;;;10343:15:0;;;-1:-1:-1;10387:2:0;10377:12;10303:102;10432:6;10423:5;:15;10419:102;;10468:6;10459:15;;;-1:-1:-1;10503:2:0;10493:12;10419:102;10548:6;10539:5;:15;10535:102;;10584:6;10575:15;;;-1:-1:-1;10619:2:0;10609:12;10535:102;10664:5;10655;:14;10651:99;;10699:5;10690:14;;;-1:-1:-1;10733:1:0;10723:11;10651:99;10777:5;10768;:14;10764:99;;10812:5;10803:14;;;-1:-1:-1;10846:1:0;10836:11;10764:99;10890:5;10881;:14;10877:99;;10925:5;10916:14;;;-1:-1:-1;10959:1:0;10949:11;10877:99;11003:5;10994;:14;10990:66;;11039:1;11029:11;11084:6;10176:922;-1:-1:-1;;10176:922:0:o;55619:2966::-;55715:13;;55743;55739:44;;55765:18;;-1:-1:-1;;;55765:18:0;;;;;;;;;;;55739:44;-1:-1:-1;;;;;56271:22:0;;;;;;:18;:22;;;;29340:2;56271:22;;;:71;;56309:32;56297:45;;56271:71;;;56585:31;;;:17;:31;;;;;-1:-1:-1;43321:15:0;;43295:24;43291:46;42890:11;42865:23;42861:41;42858:52;42848:63;;56585:173;;56820:23;;;;56585:31;;56271:22;;57585:25;56271:22;;57438:335;58099:1;58085:12;58081:20;58039:346;58140:3;58131:7;58128:16;58039:346;;58358:7;58348:8;58345:1;58318:25;58315:1;58312;58307:59;58193:1;58180:15;58039:346;;;-1:-1:-1;58418:13:0;58414:45;;58440:19;;-1:-1:-1;;;58440:19:0;;;;;;;;;;;58414:45;58476:13;:19;-1:-1:-1;51159:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;12948:1;12941:14;;;12985:4;12972:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;7183:488::-;-1:-1:-1;;;;;7452:15:1;;;7434:34;;7504:15;;7499:2;7484:18;;7477:43;7551:2;7536:18;;7529:34;;;7599:3;7594:2;7579:18;;7572:31;;;7377:4;;7620:45;;7645:19;;7637:6;7620:45;:::i;:::-;7612:53;7183:488;-1:-1:-1;;;;;;7183:488:1:o;7676:632::-;7847:2;7899:21;;;7969:13;;7872:18;;;7991:22;;;7818:4;;7847:2;8070:15;;;;8044:2;8029:18;;;7818:4;8113:169;8127:6;8124:1;8121:13;8113:169;;;8188:13;;8176:26;;8257:15;;;;8222:12;;;;8149:1;8142:9;8113:169;;;-1:-1:-1;8299:3:1;;7676:632;-1:-1:-1;;;;;;7676:632:1:o;8505:219::-;8654:2;8643:9;8636:21;8617:4;8674:44;8714:2;8703:9;8699:18;8691:6;8674:44;:::i;13001:128::-;13041:3;13072:1;13068:6;13065:1;13062:13;13059:39;;;13078:18;;:::i;:::-;-1:-1:-1;13114:9:1;;13001:128::o;13134:217::-;13174:1;13200;13190:132;;13244:10;13239:3;13235:20;13232:1;13225:31;13279:4;13276:1;13269:15;13307:4;13304:1;13297:15;13190:132;-1:-1:-1;13336:9:1;;13134:217::o;13356:168::-;13396:7;13462:1;13458;13454:6;13450:14;13447:1;13444:21;13439:1;13432:9;13425:17;13421:45;13418:71;;;13469:18;;:::i;:::-;-1:-1:-1;13509:9:1;;13356:168::o;13529:125::-;13569:4;13597:1;13594;13591:8;13588:34;;;13602:18;;:::i;:::-;-1:-1:-1;13639:9:1;;13529:125::o;13659:258::-;13731:1;13741:113;13755:6;13752:1;13749:13;13741:113;;;13831:11;;;13825:18;13812:11;;;13805:39;13777:2;13770:10;13741:113;;;13872:6;13869:1;13866:13;13863:48;;;-1:-1:-1;;13907:1:1;13889:16;;13882:27;13659:258::o;13922:380::-;14001:1;13997:12;;;;14044;;;14065:61;;14119:4;14111:6;14107:17;14097:27;;14065:61;14172:2;14164:6;14161:14;14141:18;14138:38;14135:161;;;14218:10;14213:3;14209:20;14206:1;14199:31;14253:4;14250:1;14243:15;14281:4;14278:1;14271:15;14135:161;;13922:380;;;:::o;14307:135::-;14346:3;-1:-1:-1;;14367:17:1;;14364:43;;;14387:18;;:::i;:::-;-1:-1:-1;14434:1:1;14423:13;;14307:135::o;14447:127::-;14508:10;14503:3;14499:20;14496:1;14489:31;14539:4;14536:1;14529:15;14563:4;14560:1;14553:15;14711:127;14772:10;14767:3;14763:20;14760:1;14753:31;14803:4;14800:1;14793:15;14827:4;14824:1;14817:15;14843:127;14904:10;14899:3;14895:20;14892:1;14885:31;14935:4;14932:1;14925:15;14959:4;14956:1;14949:15;14975:131;-1:-1:-1;;;;;;15049:32:1;;15039:43;;15029:71;;15096:1;15093;15086:12
Swarm Source
ipfs://609db5e8591f1f620db3c384d008cfd8e19f136bbc0b690f1361b1778d81e079
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.