ERC-721
Overview
Max Total Supply
16 PARROTS
Holders
11
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PARROTSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ParrotsNFT
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-22 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.0 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // 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.0 // 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 { // Reference type for token approval. 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 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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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]`. 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 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 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 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. 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`. ) 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 ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_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: contracts/ParrotsNFT.sol /** ██████╗░░█████╗░██████╗░██████╗░░█████╗░████████╗░██████╗ ██╔══██╗██╔══██╗██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝ ██████╔╝███████║██████╔╝██████╔╝██║░░██║░░░██║░░░╚█████╗░ ██╔═══╝░██╔══██║██╔══██╗██╔══██╗██║░░██║░░░██║░░░░╚═══██╗ ██║░░░░░██║░░██║██║░░██║██║░░██║╚█████╔╝░░░██║░░░██████╔╝ ╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░╚═════╝░ **/ pragma solidity ^0.8.15; //@author Laugh //@title Parrots NFT contract ParrotsNFT is Ownable, ERC721A { using Strings for uint; enum Step { Before, PublicSale, SoldOut, Reveal } //URI of the NFTs when revealed string public baseURI; Step public sellingStep; uint private constant MAX_SUPPLY = 3333; uint private constant MAX_PUBLIC = 3283; uint private constant MAX_GIFT = 50; uint public publicSalePrice = 0.04 ether; //The extension of the file containing the Metadatas of the NFTs string public baseExtension = ".json"; constructor( string memory _theBaseURI) ERC721A("Parrots NFT", "PARROTS") { baseURI = _theBaseURI; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function publicSaleMint(address _account, uint _quantity) external payable callerIsUser { uint price = publicSalePrice; require(price != 0, "Price is 0"); require(sellingStep == Step.PublicSale, "Public sale is not activated"); require(totalSupply() + _quantity <= MAX_PUBLIC, "Max supply exceeded"); require(msg.value >= price * _quantity, "Not enought funds"); _safeMint(_account, _quantity); } function gift(address _to, uint _quantity) external onlyOwner { require(sellingStep > Step.PublicSale, "Gift is after the public sale"); require(totalSupply() + _quantity <= MAX_SUPPLY, "Reached max Supply"); _safeMint(_to, _quantity); } /** * @notice Change the base URI * * @param _newBaseURI The new base URI **/ function setBaseUri(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function withdraw() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } function mintGiveAwayWithAddresses(address[] calldata supporters) external onlyOwner { // Reserved for people who helped this project and giveaways for (uint256 index; index < supporters.length; index++) { _safeMint(supporters[index], 1); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_theBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"address[]","name":"supporters","type":"address[]"}],"name":"mintGiveAwayWithAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum ParrotsNFT.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
668e1bc9bf040000600b5560c06040526005608090815264173539b7b760d91b60a052600c90620000319082620001f4565b503480156200003f57600080fd5b5060405162001e3e38038062001e3e8339810160408190526200006291620002c0565b6040518060400160405280600b81526020016a14185c9c9bdd1cc813919560aa1b81525060405180604001604052806007815260200166504152524f545360c81b815250620000c0620000ba620000fb60201b60201c565b620000ff565b6003620000ce8382620001f4565b506004620000dd8282620001f4565b50506000600155506009620000f38282620001f4565b50506200039c565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017a57607f821691505b6020821081036200019b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ef57600081815260208120601f850160051c81016020861015620001ca5750805b601f850160051c820191505b81811015620001eb57828155600101620001d6565b5050505b505050565b81516001600160401b038111156200021057620002106200014f565b620002288162000221845462000165565b84620001a1565b602080601f831160018114620002605760008415620002475750858301515b600019600386901b1c1916600185901b178555620001eb565b600085815260208120601f198616915b82811015620002915788860151825594840194600190910190840162000270565b5085821015620002b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020808385031215620002d457600080fd5b82516001600160401b0380821115620002ec57600080fd5b818501915085601f8301126200030157600080fd5b8151818111156200031657620003166200014f565b604051601f8201601f19908116603f011681019083821181831017156200034157620003416200014f565b8160405282815288868487010111156200035a57600080fd5b600093505b828410156200037e57848401860151818501870152928501926200035f565b82841115620003905760008684830101525b98975050505050505050565b611a9280620003ac6000396000f3fe60806040526004361061019c5760003560e01c80638da5cb5b116100ec578063c66828621161008a578063cbce4c9711610064578063cbce4c971461045f578063e985e9c51461047f578063f2fde38b146104c8578063f8dcbddb146104e857600080fd5b8063c668286214610403578063c87b56dd14610418578063cbccefb21461043857600080fd5b8063a0bcfc7f116100c6578063a0bcfc7f14610390578063a22cb465146103b0578063ac5ae11b146103d0578063b88d4fde146103e357600080fd5b80638da5cb5b1461034757806395d89b41146103655780639b6860c81461037a57600080fd5b80632897a260116101595780636352211e116101335780636352211e146102dd5780636c0360eb146102fd57806370a0823114610312578063715018a61461033257600080fd5b80632897a260146102955780633ccfd60b146102b557806342842e0e146102bd57600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461025257806323b872dd14610275575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046113a9565b610508565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61055a565b6040516101cd919061141e565b34801561020457600080fd5b50610218610213366004611431565b6105ec565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611466565b610630565b005b34801561025e57600080fd5b50600254600154035b6040519081526020016101cd565b34801561028157600080fd5b50610250610290366004611490565b6106d0565b3480156102a157600080fd5b506102506102b03660046114cc565b610869565b6102506108c4565b3480156102c957600080fd5b506102506102d8366004611490565b6108f2565b3480156102e957600080fd5b506102186102f8366004611431565b61090d565b34801561030957600080fd5b506101eb610918565b34801561031e57600080fd5b5061026761032d366004611541565b6109a6565b34801561033e57600080fd5b506102506109f5565b34801561035357600080fd5b506000546001600160a01b0316610218565b34801561037157600080fd5b506101eb610a07565b34801561038657600080fd5b50610267600b5481565b34801561039c57600080fd5b506102506103ab3660046115e8565b610a16565b3480156103bc57600080fd5b506102506103cb366004611631565b610a2e565b6102506103de366004611466565b610ac3565b3480156103ef57600080fd5b506102506103fe36600461166d565b610c74565b34801561040f57600080fd5b506101eb610cbe565b34801561042457600080fd5b506101eb610433366004611431565b610ccb565b34801561044457600080fd5b50600a546104529060ff1681565b6040516101cd91906116ff565b34801561046b57600080fd5b5061025061047a366004611466565b610d54565b34801561048b57600080fd5b506101c161049a366004611727565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156104d457600080fd5b506102506104e3366004611541565b610e2a565b3480156104f457600080fd5b50610250610503366004611431565b610ea3565b60006301ffc9a760e01b6001600160e01b03198316148061053957506380ac58cd60e01b6001600160e01b03198316145b806105545750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546105699061175a565b80601f01602080910402602001604051908101604052809291908181526020018280546105959061175a565b80156105e25780601f106105b7576101008083540402835291602001916105e2565b820191906000526020600020905b8154815290600101906020018083116105c557829003601f168201915b5050505050905090565b60006105f782610ee1565b610614576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061063b8261090d565b9050336001600160a01b0382161461067457610657813361049a565b610674576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106db82610f09565b9050836001600160a01b0316816001600160a01b03161461070e5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b0388169091141761075b5761073e863361049a565b61075b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661078257604051633a954ecd60e21b815260040160405180910390fd5b801561078d57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b8416900361081f5760018401600081815260056020526040812054900361081d57600154811461081d5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610871610f77565b60005b818110156108bf576108ad83838381811061089157610891611794565b90506020020160208101906108a69190611541565b6001610fd1565b806108b7816117c0565b915050610874565b505050565b6108cc610f77565b60405133904780156108fc02916000818181858888f193505050506108f057600080fd5b565b6108bf83838360405180602001604052806000815250610c74565b600061055482610f09565b600980546109259061175a565b80601f01602080910402602001604051908101604052809291908181526020018280546109519061175a565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b505050505081565b60006001600160a01b0382166109cf576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6109fd610f77565b6108f06000610feb565b6060600480546105699061175a565b610a1e610f77565b6009610a2a828261181f565b5050565b336001600160a01b03831603610a575760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610b175760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064015b60405180910390fd5b600b546000819003610b585760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610b0e565b6001600a5460ff166003811115610b7157610b716116e9565b14610bbe5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f7420616374697661746564000000006044820152606401610b0e565b610cd382610bcf6002546001540390565b610bd991906118df565b1115610c1d5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b0e565b610c2782826118f7565b341015610c6a5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610b0e565b6108bf8383610fd1565b610c7f8484846106d0565b6001600160a01b0383163b15610cb857610c9b8484848461103b565b610cb8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c80546109259061175a565b6060610cd682610ee1565b610d225760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b0e565b6009610d2d83611127565b604051602001610d3e929190611916565b6040516020818303038152906040529050919050565b610d5c610f77565b6001600a5460ff166003811115610d7557610d756116e9565b11610dc25760405162461bcd60e51b815260206004820152601d60248201527f4769667420697320616674657220746865207075626c69632073616c650000006044820152606401610b0e565b610d0581610dd36002546001540390565b610ddd91906118df565b1115610e205760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b6044820152606401610b0e565b610a2a8282610fd1565b610e32610f77565b6001600160a01b038116610e975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b0e565b610ea081610feb565b50565b610eab610f77565b806003811115610ebd57610ebd6116e9565b600a805460ff19166001836003811115610ed957610ed96116e9565b021790555050565b600060015482108015610554575050600090815260056020526040902054600160e01b161590565b600081600154811015610f5e5760008181526005602052604081205490600160e01b82169003610f5c575b80600003610f55575060001901600081815260056020526040902054610f34565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b031633146108f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b0e565b610a2a828260405180602001604052806000815250611228565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110709033908990889088906004016119ad565b6020604051808303816000875af19250505080156110ab575060408051601f3d908101601f191682019092526110a8918101906119ea565b60015b611109573d8080156110d9576040519150601f19603f3d011682016040523d82523d6000602084013e6110de565b606091505b508051600003611101576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361114e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111785780611162816117c0565b91506111719050600a83611a1d565b9150611152565b60008167ffffffffffffffff8111156111935761119361155c565b6040519080825280601f01601f1916602001820160405280156111bd576020820181803683370190505b5090505b841561111f576111d2600183611a31565b91506111df600a86611a48565b6111ea9060306118df565b60f81b8183815181106111ff576111ff611794565b60200101906001600160f81b031916908160001a905350611221600a86611a1d565b94506111c1565b6112328383611295565b6001600160a01b0383163b156108bf576001548281035b61125c600086838060010194508661103b565b611279576040516368d2bf6b60e11b815260040160405180910390fd5b81811061124957816001541461128e57600080fd5b5050505050565b60015460008290036112ba5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461136957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611331565b508160000361138a57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b031981168114610ea057600080fd5b6000602082840312156113bb57600080fd5b8135610f5581611393565b60005b838110156113e15781810151838201526020016113c9565b83811115610cb85750506000910152565b6000815180845261140a8160208601602086016113c6565b601f01601f19169290920160200192915050565b602081526000610f5560208301846113f2565b60006020828403121561144357600080fd5b5035919050565b80356001600160a01b038116811461146157600080fd5b919050565b6000806040838503121561147957600080fd5b6114828361144a565b946020939093013593505050565b6000806000606084860312156114a557600080fd5b6114ae8461144a565b92506114bc6020850161144a565b9150604084013590509250925092565b600080602083850312156114df57600080fd5b823567ffffffffffffffff808211156114f757600080fd5b818501915085601f83011261150b57600080fd5b81358181111561151a57600080fd5b8660208260051b850101111561152f57600080fd5b60209290920196919550909350505050565b60006020828403121561155357600080fd5b610f558261144a565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561158d5761158d61155c565b604051601f8501601f19908116603f011681019082821181831017156115b5576115b561155c565b816040528093508581528686860111156115ce57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115fa57600080fd5b813567ffffffffffffffff81111561161157600080fd5b8201601f8101841361162257600080fd5b61111f84823560208401611572565b6000806040838503121561164457600080fd5b61164d8361144a565b91506020830135801515811461166257600080fd5b809150509250929050565b6000806000806080858703121561168357600080fd5b61168c8561144a565b935061169a6020860161144a565b925060408501359150606085013567ffffffffffffffff8111156116bd57600080fd5b8501601f810187136116ce57600080fd5b6116dd87823560208401611572565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016004831061172157634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561173a57600080fd5b6117438361144a565b91506117516020840161144a565b90509250929050565b600181811c9082168061176e57607f821691505b60208210810361178e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016117d2576117d26117aa565b5060010190565b601f8211156108bf57600081815260208120601f850160051c810160208610156118005750805b601f850160051c820191505b818110156108615782815560010161180c565b815167ffffffffffffffff8111156118395761183961155c565b61184d81611847845461175a565b846117d9565b602080601f831160018114611882576000841561186a5750858301515b600019600386901b1c1916600185901b178555610861565b600085815260208120601f198616915b828110156118b157888601518255948401946001909101908401611892565b50858210156118cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156118f2576118f26117aa565b500190565b6000816000190483118215151615611911576119116117aa565b500290565b60008084546119248161175a565b6001828116801561193c576001811461195157611980565b60ff1984168752821515830287019450611980565b8860005260208060002060005b858110156119775781548a82015290840190820161195e565b50505082870194505b5050505083516119948183602088016113c6565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119e0908301846113f2565b9695505050505050565b6000602082840312156119fc57600080fd5b8151610f5581611393565b634e487b7160e01b600052601260045260246000fd5b600082611a2c57611a2c611a07565b500490565b600082821015611a4357611a436117aa565b500390565b600082611a5757611a57611a07565b50069056fea2646970667358221220f17113f2f2353b810918d5617353dd59592f13e2bcc7934f94f605a2b66af5e464736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55377353516f67646e6b577338367051694253734b52706e4d67366f36636842744b766665524e356e7376622f00000000000000000000
Deployed Bytecode
0x60806040526004361061019c5760003560e01c80638da5cb5b116100ec578063c66828621161008a578063cbce4c9711610064578063cbce4c971461045f578063e985e9c51461047f578063f2fde38b146104c8578063f8dcbddb146104e857600080fd5b8063c668286214610403578063c87b56dd14610418578063cbccefb21461043857600080fd5b8063a0bcfc7f116100c6578063a0bcfc7f14610390578063a22cb465146103b0578063ac5ae11b146103d0578063b88d4fde146103e357600080fd5b80638da5cb5b1461034757806395d89b41146103655780639b6860c81461037a57600080fd5b80632897a260116101595780636352211e116101335780636352211e146102dd5780636c0360eb146102fd57806370a0823114610312578063715018a61461033257600080fd5b80632897a260146102955780633ccfd60b146102b557806342842e0e146102bd57600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b31461023057806318160ddd1461025257806323b872dd14610275575b600080fd5b3480156101ad57600080fd5b506101c16101bc3660046113a9565b610508565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb61055a565b6040516101cd919061141e565b34801561020457600080fd5b50610218610213366004611431565b6105ec565b6040516001600160a01b0390911681526020016101cd565b34801561023c57600080fd5b5061025061024b366004611466565b610630565b005b34801561025e57600080fd5b50600254600154035b6040519081526020016101cd565b34801561028157600080fd5b50610250610290366004611490565b6106d0565b3480156102a157600080fd5b506102506102b03660046114cc565b610869565b6102506108c4565b3480156102c957600080fd5b506102506102d8366004611490565b6108f2565b3480156102e957600080fd5b506102186102f8366004611431565b61090d565b34801561030957600080fd5b506101eb610918565b34801561031e57600080fd5b5061026761032d366004611541565b6109a6565b34801561033e57600080fd5b506102506109f5565b34801561035357600080fd5b506000546001600160a01b0316610218565b34801561037157600080fd5b506101eb610a07565b34801561038657600080fd5b50610267600b5481565b34801561039c57600080fd5b506102506103ab3660046115e8565b610a16565b3480156103bc57600080fd5b506102506103cb366004611631565b610a2e565b6102506103de366004611466565b610ac3565b3480156103ef57600080fd5b506102506103fe36600461166d565b610c74565b34801561040f57600080fd5b506101eb610cbe565b34801561042457600080fd5b506101eb610433366004611431565b610ccb565b34801561044457600080fd5b50600a546104529060ff1681565b6040516101cd91906116ff565b34801561046b57600080fd5b5061025061047a366004611466565b610d54565b34801561048b57600080fd5b506101c161049a366004611727565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156104d457600080fd5b506102506104e3366004611541565b610e2a565b3480156104f457600080fd5b50610250610503366004611431565b610ea3565b60006301ffc9a760e01b6001600160e01b03198316148061053957506380ac58cd60e01b6001600160e01b03198316145b806105545750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546105699061175a565b80601f01602080910402602001604051908101604052809291908181526020018280546105959061175a565b80156105e25780601f106105b7576101008083540402835291602001916105e2565b820191906000526020600020905b8154815290600101906020018083116105c557829003601f168201915b5050505050905090565b60006105f782610ee1565b610614576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061063b8261090d565b9050336001600160a01b0382161461067457610657813361049a565b610674576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106db82610f09565b9050836001600160a01b0316816001600160a01b03161461070e5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b0388169091141761075b5761073e863361049a565b61075b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661078257604051633a954ecd60e21b815260040160405180910390fd5b801561078d57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b8416900361081f5760018401600081815260056020526040812054900361081d57600154811461081d5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610871610f77565b60005b818110156108bf576108ad83838381811061089157610891611794565b90506020020160208101906108a69190611541565b6001610fd1565b806108b7816117c0565b915050610874565b505050565b6108cc610f77565b60405133904780156108fc02916000818181858888f193505050506108f057600080fd5b565b6108bf83838360405180602001604052806000815250610c74565b600061055482610f09565b600980546109259061175a565b80601f01602080910402602001604051908101604052809291908181526020018280546109519061175a565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b505050505081565b60006001600160a01b0382166109cf576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6109fd610f77565b6108f06000610feb565b6060600480546105699061175a565b610a1e610f77565b6009610a2a828261181f565b5050565b336001600160a01b03831603610a575760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610b175760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064015b60405180910390fd5b600b546000819003610b585760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610b0e565b6001600a5460ff166003811115610b7157610b716116e9565b14610bbe5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f7420616374697661746564000000006044820152606401610b0e565b610cd382610bcf6002546001540390565b610bd991906118df565b1115610c1d5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610b0e565b610c2782826118f7565b341015610c6a5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610b0e565b6108bf8383610fd1565b610c7f8484846106d0565b6001600160a01b0383163b15610cb857610c9b8484848461103b565b610cb8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c80546109259061175a565b6060610cd682610ee1565b610d225760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b0e565b6009610d2d83611127565b604051602001610d3e929190611916565b6040516020818303038152906040529050919050565b610d5c610f77565b6001600a5460ff166003811115610d7557610d756116e9565b11610dc25760405162461bcd60e51b815260206004820152601d60248201527f4769667420697320616674657220746865207075626c69632073616c650000006044820152606401610b0e565b610d0581610dd36002546001540390565b610ddd91906118df565b1115610e205760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b6044820152606401610b0e565b610a2a8282610fd1565b610e32610f77565b6001600160a01b038116610e975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b0e565b610ea081610feb565b50565b610eab610f77565b806003811115610ebd57610ebd6116e9565b600a805460ff19166001836003811115610ed957610ed96116e9565b021790555050565b600060015482108015610554575050600090815260056020526040902054600160e01b161590565b600081600154811015610f5e5760008181526005602052604081205490600160e01b82169003610f5c575b80600003610f55575060001901600081815260056020526040902054610f34565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b031633146108f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b0e565b610a2a828260405180602001604052806000815250611228565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110709033908990889088906004016119ad565b6020604051808303816000875af19250505080156110ab575060408051601f3d908101601f191682019092526110a8918101906119ea565b60015b611109573d8080156110d9576040519150601f19603f3d011682016040523d82523d6000602084013e6110de565b606091505b508051600003611101576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361114e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156111785780611162816117c0565b91506111719050600a83611a1d565b9150611152565b60008167ffffffffffffffff8111156111935761119361155c565b6040519080825280601f01601f1916602001820160405280156111bd576020820181803683370190505b5090505b841561111f576111d2600183611a31565b91506111df600a86611a48565b6111ea9060306118df565b60f81b8183815181106111ff576111ff611794565b60200101906001600160f81b031916908160001a905350611221600a86611a1d565b94506111c1565b6112328383611295565b6001600160a01b0383163b156108bf576001548281035b61125c600086838060010194508661103b565b611279576040516368d2bf6b60e11b815260040160405180910390fd5b81811061124957816001541461128e57600080fd5b5050505050565b60015460008290036112ba5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461136957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611331565b508160000361138a57604051622e076360e81b815260040160405180910390fd5b60015550505050565b6001600160e01b031981168114610ea057600080fd5b6000602082840312156113bb57600080fd5b8135610f5581611393565b60005b838110156113e15781810151838201526020016113c9565b83811115610cb85750506000910152565b6000815180845261140a8160208601602086016113c6565b601f01601f19169290920160200192915050565b602081526000610f5560208301846113f2565b60006020828403121561144357600080fd5b5035919050565b80356001600160a01b038116811461146157600080fd5b919050565b6000806040838503121561147957600080fd5b6114828361144a565b946020939093013593505050565b6000806000606084860312156114a557600080fd5b6114ae8461144a565b92506114bc6020850161144a565b9150604084013590509250925092565b600080602083850312156114df57600080fd5b823567ffffffffffffffff808211156114f757600080fd5b818501915085601f83011261150b57600080fd5b81358181111561151a57600080fd5b8660208260051b850101111561152f57600080fd5b60209290920196919550909350505050565b60006020828403121561155357600080fd5b610f558261144a565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561158d5761158d61155c565b604051601f8501601f19908116603f011681019082821181831017156115b5576115b561155c565b816040528093508581528686860111156115ce57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156115fa57600080fd5b813567ffffffffffffffff81111561161157600080fd5b8201601f8101841361162257600080fd5b61111f84823560208401611572565b6000806040838503121561164457600080fd5b61164d8361144a565b91506020830135801515811461166257600080fd5b809150509250929050565b6000806000806080858703121561168357600080fd5b61168c8561144a565b935061169a6020860161144a565b925060408501359150606085013567ffffffffffffffff8111156116bd57600080fd5b8501601f810187136116ce57600080fd5b6116dd87823560208401611572565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016004831061172157634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561173a57600080fd5b6117438361144a565b91506117516020840161144a565b90509250929050565b600181811c9082168061176e57607f821691505b60208210810361178e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016117d2576117d26117aa565b5060010190565b601f8211156108bf57600081815260208120601f850160051c810160208610156118005750805b601f850160051c820191505b818110156108615782815560010161180c565b815167ffffffffffffffff8111156118395761183961155c565b61184d81611847845461175a565b846117d9565b602080601f831160018114611882576000841561186a5750858301515b600019600386901b1c1916600185901b178555610861565b600085815260208120601f198616915b828110156118b157888601518255948401946001909101908401611892565b50858210156118cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082198211156118f2576118f26117aa565b500190565b6000816000190483118215151615611911576119116117aa565b500290565b60008084546119248161175a565b6001828116801561193c576001811461195157611980565b60ff1984168752821515830287019450611980565b8860005260208060002060005b858110156119775781548a82015290840190820161195e565b50505082870194505b5050505083516119948183602088016113c6565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119e0908301846113f2565b9695505050505050565b6000602082840312156119fc57600080fd5b8151610f5581611393565b634e487b7160e01b600052601260045260246000fd5b600082611a2c57611a2c611a07565b500490565b600082821015611a4357611a436117aa565b500390565b600082611a5757611a57611a07565b50069056fea2646970667358221220f17113f2f2353b810918d5617353dd59592f13e2bcc7934f94f605a2b66af5e464736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d55377353516f67646e6b577338367051694253734b52706e4d67366f36636842744b766665524e356e7376622f00000000000000000000
-----Decoded View---------------
Arg [0] : _theBaseURI (string): ipfs://QmU7sSQogdnkWs86pQiBSsKRpnMg6o6chBtKvfeRN5nsvb/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d55377353516f67646e6b577338367051694253734b5270
Arg [3] : 6e4d67366f36636842744b766665524e356e7376622f00000000000000000000
Deployed Bytecode Sourcemap
59968:2569:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18435:639;;;;;;;;;;-1:-1:-1;18435:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18435:639:0;;;;;;;;19337:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25820:218::-;;;;;;;;;;-1:-1:-1;25820:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25820:218:0;1528:203:1;25261:400:0;;;;;;;;;;-1:-1:-1;25261:400:0;;;;;:::i;:::-;;:::i;:::-;;15088:323;;;;;;;;;;-1:-1:-1;15362:12:0;;15346:13;;:28;15088:323;;;2319:25:1;;;2307:2;2292:18;15088:323:0;2173:177:1;29527:2817:0;;;;;;;;;;-1:-1:-1;29527:2817:0;;;;;:::i;:::-;;:::i;62247:287::-;;;;;;;;;;-1:-1:-1;62247:287:0;;;;;:::i;:::-;;:::i;61861:118::-;;;:::i;32440:185::-;;;;;;;;;;-1:-1:-1;32440:185:0;;;;;:::i;:::-;;:::i;20730:152::-;;;;;;;;;;-1:-1:-1;20730:152:0;;;;;:::i;:::-;;:::i;60183:21::-;;;;;;;;;;;;;:::i;16272:233::-;;;;;;;;;;-1:-1:-1;16272:233:0;;;;;:::i;:::-;;:::i;57985:103::-;;;;;;;;;;;;;:::i;57337:87::-;;;;;;;;;;-1:-1:-1;57383:7:0;57410:6;-1:-1:-1;;;;;57410:6:0;57337:87;;19513:104;;;;;;;;;;;;;:::i;60381:40::-;;;;;;;;;;;;;;;;61647:106;;;;;;;;;;-1:-1:-1;61647:106:0;;;;;:::i;:::-;;:::i;26378:308::-;;;;;;;;;;-1:-1:-1;26378:308:0;;;;;:::i;:::-;;:::i;60804:455::-;;;;;;:::i;:::-;;:::i;33223:399::-;;;;;;;;;;-1:-1:-1;33223:399:0;;;;;:::i;:::-;;:::i;60500:37::-;;;;;;;;;;;;;:::i;61987:250::-;;;;;;;;;;-1:-1:-1;61987:250:0;;;;;:::i;:::-;;:::i;60213:23::-;;;;;;;;;;-1:-1:-1;60213:23:0;;;;;;;;;;;;;;;:::i;61267:269::-;;;;;;;;;;-1:-1:-1;61267:269:0;;;;;:::i;:::-;;:::i;26843:164::-;;;;;;;;;;-1:-1:-1;26843:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26964:25:0;;;26940:4;26964:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26843:164;58243:201;;;;;;;;;;-1:-1:-1;58243:201:0;;;;;:::i;:::-;;:::i;61761:92::-;;;;;;;;;;-1:-1:-1;61761:92:0;;;;;:::i;:::-;;:::i;18435:639::-;18520:4;-1:-1:-1;;;;;;;;;18844:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18921:25:0;;;18844:102;:179;;;-1:-1:-1;;;;;;;;;;18998:25:0;;;18844:179;18824:199;18435:639;-1:-1:-1;;18435:639:0:o;19337:100::-;19391:13;19424:5;19417:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19337:100;:::o;25820:218::-;25896:7;25921:16;25929:7;25921;:16::i;:::-;25916:64;;25946:34;;-1:-1:-1;;;25946:34:0;;;;;;;;;;;25916:64;-1:-1:-1;26000:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26000:30:0;;25820:218::o;25261:400::-;25342:13;25358:16;25366:7;25358;:16::i;:::-;25342:32;-1:-1:-1;49118:10:0;-1:-1:-1;;;;;25391:28:0;;;25387:175;;25439:44;25456:5;49118:10;26843:164;:::i;25439:44::-;25434:128;;25511:35;;-1:-1:-1;;;25511:35:0;;;;;;;;;;;25434:128;25574:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25574:35:0;-1:-1:-1;;;;;25574:35:0;;;;;;;;;25625:28;;25574:24;;25625:28;;;;;;;25331:330;25261:400;;:::o;29527:2817::-;29661:27;29691;29710:7;29691:18;:27::i;:::-;29661:57;;29776:4;-1:-1:-1;;;;;29735:45:0;29751:19;-1:-1:-1;;;;;29735:45:0;;29731:86;;29789:28;;-1:-1:-1;;;29789:28:0;;;;;;;;;;;29731:86;29831:27;28641:24;;;:15;:24;;;;;28863:26;;49118:10;28266:30;;;-1:-1:-1;;;;;27959:28:0;;28244:20;;;28241:56;30017:180;;30110:43;30127:4;49118:10;26843:164;:::i;30110:43::-;30105:92;;30162:35;;-1:-1:-1;;;30162:35:0;;;;;;;;;;;30105:92;-1:-1:-1;;;;;30214:16:0;;30210:52;;30239:23;;-1:-1:-1;;;30239:23:0;;;;;;;;;;;30210:52;30411:15;30408:160;;;30551:1;30530:19;30523:30;30408:160;-1:-1:-1;;;;;30948:24:0;;;;;;;:18;:24;;;;;;30946:26;;-1:-1:-1;;30946:26:0;;;31017:22;;;;;;;;;31015:24;;-1:-1:-1;31015:24:0;;;24119:11;24094:23;24090:41;24077:63;-1:-1:-1;;;24077:63:0;31310:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31605:47:0;;:52;;31601:627;;31710:1;31700:11;;31678:19;31833:30;;;:17;:30;;;;;;:35;;31829:384;;31971:13;;31956:11;:28;31952:242;;32118:30;;;;:17;:30;;;;;:52;;;31952:242;31659:569;31601:627;32275:7;32271:2;-1:-1:-1;;;;;32256:27:0;32265:4;-1:-1:-1;;;;;32256:27:0;;;;;;;;;;;32294:42;29650:2694;;;29527:2817;;;:::o;62247:287::-;57223:13;:11;:13::i;:::-;62418::::1;62413:114;62433:25:::0;;::::1;62413:114;;;62484:31;62494:10;;62505:5;62494:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;62513:1;62484:9;:31::i;:::-;62460:7:::0;::::1;::::0;::::1;:::i;:::-;;;;62413:114;;;;62247:287:::0;;:::o;61861:118::-;57223:13;:11;:13::i;:::-;61923:47:::1;::::0;61931:10:::1;::::0;61948:21:::1;61923:47:::0;::::1;;;::::0;::::1;::::0;;;61948:21;61931:10;61923:47;::::1;;;;;;61915:56;;;::::0;::::1;;61861:118::o:0;32440:185::-;32578:39;32595:4;32601:2;32605:7;32578:39;;;;;;;;;;;;:16;:39::i;20730:152::-;20802:7;20845:27;20864:7;20845:18;:27::i;60183:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16272:233::-;16344:7;-1:-1:-1;;;;;16368:19:0;;16364:60;;16396:28;;-1:-1:-1;;;16396:28:0;;;;;;;;;;;16364:60;-1:-1:-1;;;;;;16442:25:0;;;;;:18;:25;;;;;;10431:13;16442:55;;16272:233::o;57985:103::-;57223:13;:11;:13::i;:::-;58050:30:::1;58077:1;58050:18;:30::i;19513:104::-:0;19569:13;19602:7;19595:14;;;;;:::i;61647:106::-;57223:13;:11;:13::i;:::-;61724:7:::1;:21;61734:11:::0;61724:7;:21:::1;:::i;:::-;;61647:106:::0;:::o;26378:308::-;49118:10;-1:-1:-1;;;;;26477:31:0;;;26473:61;;26517:17;;-1:-1:-1;;;26517:17:0;;;;;;;;;;;26473:61;49118:10;26547:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26547:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26547:60:0;;;;;;;;;;26623:55;;540:41:1;;;26547:49:0;;49118:10;26623:55;;513:18:1;26623:55:0;;;;;;;26378:308;;:::o;60804:455::-;60718:9;60731:10;60718:23;60710:66;;;;-1:-1:-1;;;60710:66:0;;9682:2:1;60710:66:0;;;9664:21:1;9721:2;9701:18;;;9694:30;9760:32;9740:18;;;9733:60;9810:18;;60710:66:0;;;;;;;;;60916:15:::1;::::0;60903:10:::1;60950::::0;;;60942:33:::1;;;::::0;-1:-1:-1;;;60942:33:0;;10041:2:1;60942:33:0::1;::::0;::::1;10023:21:1::0;10080:2;10060:18;;;10053:30;-1:-1:-1;;;10099:18:1;;;10092:40;10149:18;;60942:33:0::1;9839:334:1::0;60942:33:0::1;61009:15;60994:11;::::0;::::1;;:30;::::0;::::1;;;;;;:::i;:::-;;60986:71;;;::::0;-1:-1:-1;;;60986:71:0;;10380:2:1;60986:71:0::1;::::0;::::1;10362:21:1::0;10419:2;10399:18;;;10392:30;10458;10438:18;;;10431:58;10506:18;;60986:71:0::1;10178:352:1::0;60986:71:0::1;60326:4;61092:9;61076:13;15362:12:::0;;15346:13;;:28;;15088:323;61076:13:::1;:25;;;;:::i;:::-;:39;;61068:71;;;::::0;-1:-1:-1;;;61068:71:0;;10870:2:1;61068:71:0::1;::::0;::::1;10852:21:1::0;10909:2;10889:18;;;10882:30;-1:-1:-1;;;10928:18:1;;;10921:49;10987:18;;61068:71:0::1;10668:343:1::0;61068:71:0::1;61171:17;61179:9:::0;61171:5;:17:::1;:::i;:::-;61158:9;:30;;61150:60;;;::::0;-1:-1:-1;;;61150:60:0;;11391:2:1;61150:60:0::1;::::0;::::1;11373:21:1::0;11430:2;11410:18;;;11403:30;-1:-1:-1;;;11449:18:1;;;11442:47;11506:18;;61150:60:0::1;11189:341:1::0;61150:60:0::1;61221:30;61231:8;61241:9;61221;:30::i;33223:399::-:0;33390:31;33403:4;33409:2;33413:7;33390:12;:31::i;:::-;-1:-1:-1;;;;;33436:14:0;;;:19;33432:183;;33475:56;33506:4;33512:2;33516:7;33525:5;33475:30;:56::i;:::-;33470:145;;33559:40;;-1:-1:-1;;;33559:40:0;;;;;;;;;;;33470:145;33223:399;;;;:::o;60500:37::-;;;;;;;:::i;61987:250::-;62061:13;62095:17;62103:8;62095:7;:17::i;:::-;62087:61;;;;-1:-1:-1;;;62087:61:0;;11737:2:1;62087:61:0;;;11719:21:1;11776:2;11756:18;;;11749:30;11815:33;11795:18;;;11788:61;11866:18;;62087:61:0;11535:355:1;62087:61:0;62190:7;62199:19;:8;:17;:19::i;:::-;62173:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62159:70;;61987:250;;;:::o;61267:269::-;57223:13;:11;:13::i;:::-;61362:15:::1;61348:11;::::0;::::1;;:29;::::0;::::1;;;;;;:::i;:::-;;61340:71;;;::::0;-1:-1:-1;;;61340:71:0;;13276:2:1;61340:71:0::1;::::0;::::1;13258:21:1::0;13315:2;13295:18;;;13288:30;13354:31;13334:18;;;13327:59;13403:18;;61340:71:0::1;13074:353:1::0;61340:71:0::1;60280:4;61446:9;61430:13;15362:12:::0;;15346:13;;:28;;15088:323;61430:13:::1;:25;;;;:::i;:::-;:39;;61422:70;;;::::0;-1:-1:-1;;;61422:70:0;;13634:2:1;61422:70:0::1;::::0;::::1;13616:21:1::0;13673:2;13653:18;;;13646:30;-1:-1:-1;;;13692:18:1;;;13685:48;13750:18;;61422:70:0::1;13432:342:1::0;61422:70:0::1;61503:25;61513:3;61518:9;61503;:25::i;58243:201::-:0;57223:13;:11;:13::i;:::-;-1:-1:-1;;;;;58332:22:0;::::1;58324:73;;;::::0;-1:-1:-1;;;58324:73:0;;13981:2:1;58324:73:0::1;::::0;::::1;13963:21:1::0;14020:2;14000:18;;;13993:30;14059:34;14039:18;;;14032:62;-1:-1:-1;;;14110:18:1;;;14103:36;14156:19;;58324:73:0::1;13779:402:1::0;58324:73:0::1;58408:28;58427:8;58408:18;:28::i;:::-;58243:201:::0;:::o;61761:92::-;57223:13;:11;:13::i;:::-;61839:5:::1;61834:11;;;;;;;;:::i;:::-;61820;:25:::0;;-1:-1:-1;;61820:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;61761:92:::0;:::o;27265:282::-;27330:4;27420:13;;27410:7;:23;27367:153;;;;-1:-1:-1;;27471:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27471:44:0;:49;;27265:282::o;21885:1275::-;21952:7;21987;22089:13;;22082:4;:20;22078:1015;;;22127:14;22144:23;;;:17;:23;;;;;;;-1:-1:-1;;;22233:24:0;;:29;;22229:845;;22898:113;22905:6;22915:1;22905:11;22898:113;;-1:-1:-1;;;22976:6:0;22958:25;;;;:17;:25;;;;;;22898:113;;;23044:6;21885:1275;-1:-1:-1;;;21885:1275:0:o;22229:845::-;22104:989;22078:1015;23121:31;;-1:-1:-1;;;23121:31:0;;;;;;;;;;;57502:132;57383:7;57410:6;-1:-1:-1;;;;;57410:6:0;49118:10;57566:23;57558:68;;;;-1:-1:-1;;;57558:68:0;;14388:2:1;57558:68:0;;;14370:21:1;;;14407:18;;;14400:30;14466:34;14446:18;;;14439:62;14518:18;;57558:68:0;14186:356:1;42863:112:0;42940:27;42950:2;42954:8;42940:27;;;;;;;;;;;;:9;:27::i;58604:191::-;58678:16;58697:6;;-1:-1:-1;;;;;58714:17:0;;;-1:-1:-1;;;;;;58714:17:0;;;;;;58747:40;;58697:6;;;;;;;58747:40;;58678:16;58747:40;58667:128;58604:191;:::o;35706:716::-;35890:88;;-1:-1:-1;;;35890:88:0;;35869:4;;-1:-1:-1;;;;;35890:45:0;;;;;:88;;49118:10;;35957:4;;35963:7;;35972:5;;35890:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35890:88:0;;;;;;;;-1:-1:-1;;35890:88:0;;;;;;;;;;;;:::i;:::-;;;35886:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36173:6;:13;36190:1;36173:18;36169:235;;36219:40;;-1:-1:-1;;;36219:40:0;;;;;;;;;;;36169:235;36362:6;36356:13;36347:6;36343:2;36339:15;36332:38;35886:529;-1:-1:-1;;;;;;36049:64:0;-1:-1:-1;;;36049:64:0;;-1:-1:-1;35886:529:0;35706:716;;;;;;:::o;53142:723::-;53198:13;53419:5;53428:1;53419:10;53415:53;;-1:-1:-1;;53446:10:0;;;;;;;;;;;;-1:-1:-1;;;53446:10:0;;;;;53142:723::o;53415:53::-;53493:5;53478:12;53534:78;53541:9;;53534:78;;53567:8;;;;:::i;:::-;;-1:-1:-1;53590:10:0;;-1:-1:-1;53598:2:0;53590:10;;:::i;:::-;;;53534:78;;;53622:19;53654:6;53644:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53644:17:0;;53622:39;;53672:154;53679:10;;53672:154;;53706:11;53716:1;53706:11;;:::i;:::-;;-1:-1:-1;53775:10:0;53783:2;53775:5;:10;:::i;:::-;53762:24;;:2;:24;:::i;:::-;53749:39;;53732:6;53739;53732:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;53732:56:0;;;;;;;;-1:-1:-1;53803:11:0;53812:2;53803:11;;:::i;:::-;;;53672:154;;42090:689;42221:19;42227:2;42231:8;42221:5;:19::i;:::-;-1:-1:-1;;;;;42282:14:0;;;:19;42278:483;;42336:13;;42384:14;;;42417:233;42448:62;42487:1;42491:2;42495:7;;;;;;42504:5;42448:30;:62::i;:::-;42443:167;;42546:40;;-1:-1:-1;;;42546:40:0;;;;;;;;;;;42443:167;42645:3;42637:5;:11;42417:233;;42732:3;42715:13;;:20;42711:34;;42737:8;;;42711:34;42303:458;;42090:689;;;:::o;36884:2454::-;36980:13;;36957:20;37008:13;;;37004:44;;37030:18;;-1:-1:-1;;;37030:18:0;;;;;;;;;;;37004:44;-1:-1:-1;;;;;37536:22:0;;;;;;:18;:22;;;;10569:2;37536:22;;;:71;;37574:32;37562:45;;37536:71;;;37850:31;;;:17;:31;;;;;-1:-1:-1;24550:15:0;;24524:24;24520:46;24119:11;24094:23;24090:41;24087:52;24077:63;;37850:173;;38085:23;;;;37850:31;;37536:22;;38584:25;37536:22;;38437:335;38852:1;38838:12;38834:20;38792:346;38893:3;38884:7;38881:16;38792:346;;39111:7;39101:8;39098:1;39071:25;39068:1;39065;39060:59;38946:1;38933:15;38792:346;;;38796:77;39171:8;39183:1;39171:13;39167:45;;39193:19;;-1:-1:-1;;;39193:19:0;;;;;;;;;;;39167:45;39229:13;:19;-1:-1:-1;62413:114:0::1;62247:287:::0;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:615::-;2774:6;2782;2835:2;2823:9;2814:7;2810:23;2806:32;2803:52;;;2851:1;2848;2841:12;2803:52;2891:9;2878:23;2920:18;2961:2;2953:6;2950:14;2947:34;;;2977:1;2974;2967:12;2947:34;3015:6;3004:9;3000:22;2990:32;;3060:7;3053:4;3049:2;3045:13;3041:27;3031:55;;3082:1;3079;3072:12;3031:55;3122:2;3109:16;3148:2;3140:6;3137:14;3134:34;;;3164:1;3161;3154:12;3134:34;3217:7;3212:2;3202:6;3199:1;3195:14;3191:2;3187:23;3183:32;3180:45;3177:65;;;3238:1;3235;3228:12;3177:65;3269:2;3261:11;;;;;3291:6;;-1:-1:-1;2688:615:1;;-1:-1:-1;;;;2688:615:1:o;3308:186::-;3367:6;3420:2;3408:9;3399:7;3395:23;3391:32;3388:52;;;3436:1;3433;3426:12;3388:52;3459:29;3478:9;3459:29;:::i;3499:127::-;3560:10;3555:3;3551:20;3548:1;3541:31;3591:4;3588:1;3581:15;3615:4;3612:1;3605:15;3631:632;3696:5;3726:18;3767:2;3759:6;3756:14;3753:40;;;3773:18;;:::i;:::-;3848:2;3842:9;3816:2;3902:15;;-1:-1:-1;;3898:24:1;;;3924:2;3894:33;3890:42;3878:55;;;3948:18;;;3968:22;;;3945:46;3942:72;;;3994:18;;:::i;:::-;4034:10;4030:2;4023:22;4063:6;4054:15;;4093:6;4085;4078:22;4133:3;4124:6;4119:3;4115:16;4112:25;4109:45;;;4150:1;4147;4140:12;4109:45;4200:6;4195:3;4188:4;4180:6;4176:17;4163:44;4255:1;4248:4;4239:6;4231;4227:19;4223:30;4216:41;;;;3631:632;;;;;:::o;4268:451::-;4337:6;4390:2;4378:9;4369:7;4365:23;4361:32;4358:52;;;4406:1;4403;4396:12;4358:52;4446:9;4433:23;4479:18;4471:6;4468:30;4465:50;;;4511:1;4508;4501:12;4465:50;4534:22;;4587:4;4579:13;;4575:27;-1:-1:-1;4565:55:1;;4616:1;4613;4606:12;4565:55;4639:74;4705:7;4700:2;4687:16;4682:2;4678;4674:11;4639:74;:::i;4724:347::-;4789:6;4797;4850:2;4838:9;4829:7;4825:23;4821:32;4818:52;;;4866:1;4863;4856:12;4818:52;4889:29;4908:9;4889:29;:::i;:::-;4879:39;;4968:2;4957:9;4953:18;4940:32;5015:5;5008:13;5001:21;4994:5;4991:32;4981:60;;5037:1;5034;5027:12;4981:60;5060:5;5050:15;;;4724:347;;;;;:::o;5076:667::-;5171:6;5179;5187;5195;5248:3;5236:9;5227:7;5223:23;5219:33;5216:53;;;5265:1;5262;5255:12;5216:53;5288:29;5307:9;5288:29;:::i;:::-;5278:39;;5336:38;5370:2;5359:9;5355:18;5336:38;:::i;:::-;5326:48;;5421:2;5410:9;5406:18;5393:32;5383:42;;5476:2;5465:9;5461:18;5448:32;5503:18;5495:6;5492:30;5489:50;;;5535:1;5532;5525:12;5489:50;5558:22;;5611:4;5603:13;;5599:27;-1:-1:-1;5589:55:1;;5640:1;5637;5630:12;5589:55;5663:74;5729:7;5724:2;5711:16;5706:2;5702;5698:11;5663:74;:::i;:::-;5653:84;;;5076:667;;;;;;;:::o;5748:127::-;5809:10;5804:3;5800:20;5797:1;5790:31;5840:4;5837:1;5830:15;5864:4;5861:1;5854:15;5880:337;6021:2;6006:18;;6054:1;6043:13;;6033:144;;6099:10;6094:3;6090:20;6087:1;6080:31;6134:4;6131:1;6124:15;6162:4;6159:1;6152:15;6033:144;6186:25;;;5880:337;:::o;6222:260::-;6290:6;6298;6351:2;6339:9;6330:7;6326:23;6322:32;6319:52;;;6367:1;6364;6357:12;6319:52;6390:29;6409:9;6390:29;:::i;:::-;6380:39;;6438:38;6472:2;6461:9;6457:18;6438:38;:::i;:::-;6428:48;;6222:260;;;;;:::o;6487:380::-;6566:1;6562:12;;;;6609;;;6630:61;;6684:4;6676:6;6672:17;6662:27;;6630:61;6737:2;6729:6;6726:14;6706:18;6703:38;6700:161;;6783:10;6778:3;6774:20;6771:1;6764:31;6818:4;6815:1;6808:15;6846:4;6843:1;6836:15;6700:161;;6487:380;;;:::o;6872:127::-;6933:10;6928:3;6924:20;6921:1;6914:31;6964:4;6961:1;6954:15;6988:4;6985:1;6978:15;7004:127;7065:10;7060:3;7056:20;7053:1;7046:31;7096:4;7093:1;7086:15;7120:4;7117:1;7110:15;7136:135;7175:3;7196:17;;;7193:43;;7216:18;;:::i;:::-;-1:-1:-1;7263:1:1;7252:13;;7136:135::o;7402:545::-;7504:2;7499:3;7496:11;7493:448;;;7540:1;7565:5;7561:2;7554:17;7610:4;7606:2;7596:19;7680:2;7668:10;7664:19;7661:1;7657:27;7651:4;7647:38;7716:4;7704:10;7701:20;7698:47;;;-1:-1:-1;7739:4:1;7698:47;7794:2;7789:3;7785:12;7782:1;7778:20;7772:4;7768:31;7758:41;;7849:82;7867:2;7860:5;7857:13;7849:82;;;7912:17;;;7893:1;7882:13;7849:82;;8123:1352;8249:3;8243:10;8276:18;8268:6;8265:30;8262:56;;;8298:18;;:::i;:::-;8327:97;8417:6;8377:38;8409:4;8403:11;8377:38;:::i;:::-;8371:4;8327:97;:::i;:::-;8479:4;;8543:2;8532:14;;8560:1;8555:663;;;;9262:1;9279:6;9276:89;;;-1:-1:-1;9331:19:1;;;9325:26;9276:89;-1:-1:-1;;8080:1:1;8076:11;;;8072:24;8068:29;8058:40;8104:1;8100:11;;;8055:57;9378:81;;8525:944;;8555:663;7349:1;7342:14;;;7386:4;7373:18;;-1:-1:-1;;8591:20:1;;;8709:236;8723:7;8720:1;8717:14;8709:236;;;8812:19;;;8806:26;8791:42;;8904:27;;;;8872:1;8860:14;;;;8739:19;;8709:236;;;8713:3;8973:6;8964:7;8961:19;8958:201;;;9034:19;;;9028:26;-1:-1:-1;;9117:1:1;9113:14;;;9129:3;9109:24;9105:37;9101:42;9086:58;9071:74;;8958:201;-1:-1:-1;;;;;9205:1:1;9189:14;;;9185:22;9172:36;;-1:-1:-1;8123:1352:1:o;10535:128::-;10575:3;10606:1;10602:6;10599:1;10596:13;10593:39;;;10612:18;;:::i;:::-;-1:-1:-1;10648:9:1;;10535:128::o;11016:168::-;11056:7;11122:1;11118;11114:6;11110:14;11107:1;11104:21;11099:1;11092:9;11085:17;11081:45;11078:71;;;11129:18;;:::i;:::-;-1:-1:-1;11169:9:1;;11016:168::o;11895:1174::-;12172:3;12201:1;12234:6;12228:13;12264:36;12290:9;12264:36;:::i;:::-;12319:1;12336:18;;;12363:133;;;;12510:1;12505:356;;;;12329:532;;12363:133;-1:-1:-1;;12396:24:1;;12384:37;;12469:14;;12462:22;12450:35;;12441:45;;;-1:-1:-1;12363:133:1;;12505:356;12536:6;12533:1;12526:17;12566:4;12611:2;12608:1;12598:16;12636:1;12650:165;12664:6;12661:1;12658:13;12650:165;;;12742:14;;12729:11;;;12722:35;12785:16;;;;12679:10;;12650:165;;;12654:3;;;12844:6;12839:3;12835:16;12828:23;;12329:532;;;;;12892:6;12886:13;12908:55;12954:8;12949:3;12942:4;12934:6;12930:17;12908:55;:::i;:::-;-1:-1:-1;;;12985:18:1;;13012:22;;;13061:1;13050:13;;11895:1174;-1:-1:-1;;;;11895:1174:1:o;14547:489::-;-1:-1:-1;;;;;14816:15:1;;;14798:34;;14868:15;;14863:2;14848:18;;14841:43;14915:2;14900:18;;14893:34;;;14963:3;14958:2;14943:18;;14936:31;;;14741:4;;14984:46;;15010:19;;15002:6;14984:46;:::i;:::-;14976:54;14547:489;-1:-1:-1;;;;;;14547:489:1:o;15041:249::-;15110:6;15163:2;15151:9;15142:7;15138:23;15134:32;15131:52;;;15179:1;15176;15169:12;15131:52;15211:9;15205:16;15230:30;15254:5;15230:30;:::i;15295:127::-;15356:10;15351:3;15347:20;15344:1;15337:31;15387:4;15384:1;15377:15;15411:4;15408:1;15401:15;15427:120;15467:1;15493;15483:35;;15498:18;;:::i;:::-;-1:-1:-1;15532:9:1;;15427:120::o;15552:125::-;15592:4;15620:1;15617;15614:8;15611:34;;;15625:18;;:::i;:::-;-1:-1:-1;15662:9:1;;15552:125::o;15682:112::-;15714:1;15740;15730:35;;15745:18;;:::i;:::-;-1:-1:-1;15779:9:1;;15682:112::o
Swarm Source
ipfs://f17113f2f2353b810918d5617353dd59592f13e2bcc7934f94f605a2b66af5e4
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.