ERC-721
Overview
Max Total Supply
2,069 VIL
Holders
211
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 VILLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VIL
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-04 */ // SPDX-License-Identifier: MIT // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // 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.2 // 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 str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 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: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // 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/math/Math.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`. // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`. // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a // good first aproximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1; uint256 x = a; if (x >> 128 > 0) { x >>= 128; result <<= 64; } if (x >> 64 > 0) { x >>= 64; result <<= 32; } if (x >> 32 > 0) { x >>= 32; result <<= 16; } if (x >> 16 > 0) { x >>= 16; result <<= 8; } if (x >> 8 > 0) { x >>= 8; result <<= 4; } if (x >> 4 > 0) { x >>= 4; result <<= 2; } if (x >> 2 > 0) { result <<= 1; } // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { uint256 result = sqrt(a); if (rounding == Rounding.Up && result * result < a) { result += 1; } return result; } } // File: @openzeppelin/contracts/utils/Arrays.sol // OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to array types. */ library Arrays { /** * @dev Searches a sorted `array` and returns the first index that contains * a value greater or equal to `element`. If no such index exists (i.e. all * values in the array are strictly less than `element`), the array length is * returned. Time complexity O(log n). * * `array` is expected to be sorted in ascending order, and to contain no * repeated elements. */ function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) { if (array.length == 0) { return 0; } uint256 low = 0; uint256 high = array.length; while (low < high) { uint256 mid = Math.average(low, high); // Note that mid will always be strictly less than high (i.e. it will be a valid array index) // because Math.average rounds down (it does integer division with truncation). if (array[mid] > element) { high = mid; } else { low = mid + 1; } } // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound. if (low > 0 && array[low - 1] == element) { return low - 1; } else { return low; } } } // 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: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: contracts/VIL.sol pragma solidity >=0.8.13 <0.9.0; contract VIL is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; // ================== Variables Start ======================= string public uri; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public freeMintCost = 0 ether; uint256 public expensiveMintCost = 0.1 ether; uint256 public supplyLimitFreeMint = 8000; uint256 public supplyLimit = 9001; uint256 public maxMintAmountPerTxFreeMint = 2; uint256 public maxMintAmountPerTxExpensiveMint = 3; uint256 public maxLimitPerWallet = 3; bool public sale = false; bool public revealed = false; // ================== Variables End ======================= // ================== Constructor Start ======================= constructor( string memory _uri, string memory _hiddenMetadataUri ) ERC721A("Very, Imaginary Larry", "VIL") { seturi(_uri); setHiddenMetadataUri(_hiddenMetadataUri); } // ================== Mint Functions Start ======================= function UpdateCost(uint256 _mintAmount) internal view returns (uint256 _cost) { if (balanceOf(msg.sender) + _mintAmount <= maxMintAmountPerTxFreeMint && totalSupply() < supplyLimitFreeMint) { return freeMintCost; } if (balanceOf(msg.sender) + _mintAmount <= supplyLimit){ return expensiveMintCost; } } function Mint(uint256 _mintAmount) public payable { // Normal requirements require(sale, 'The Sale is paused!'); require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTxExpensiveMint, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!'); require(balanceOf(msg.sender) + _mintAmount <= maxLimitPerWallet, 'Max mint per wallet exceeded!'); require(msg.value >= UpdateCost(_mintAmount) * _mintAmount, 'Insufficient funds!'); _safeMint(_msgSender(), _mintAmount); } function Airdrop(uint256 _mintAmount, address _receiver) public onlyOwner { require(totalSupply() + _mintAmount <= supplyLimit, 'Max supply exceeded!'); _safeMint(_receiver, _mintAmount); } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function seturi(string memory _uri) public onlyOwner { uri = _uri; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setSaleStatus(bool _sale) public onlyOwner { sale = _sale; } function setMaxMintAmountPerTxFreeMint(uint256 _maxMintAmountPerTxFreeMint) public onlyOwner { maxMintAmountPerTxFreeMint = _maxMintAmountPerTxFreeMint; } function setMaxMintAmountPerTxExpensiveMint(uint256 _maxMintAmountPerTxExpensiveMint) public onlyOwner { maxMintAmountPerTxExpensiveMint = _maxMintAmountPerTxExpensiveMint; } function setmaxLimitPerWallet(uint256 _maxLimitPerWallet) public onlyOwner { maxLimitPerWallet = _maxLimitPerWallet; } function setfreeMintCost(uint256 _freeMintCost) public onlyOwner { freeMintCost = _freeMintCost; } function setexpensiveMintCost(uint256 _expensiveMintCost) public onlyOwner { expensiveMintCost = _expensiveMintCost; } function setsupplyLimit(uint256 _supplyLimit) public onlyOwner { supplyLimit = _supplyLimit; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function price(uint256 _mintAmount) public view returns (uint256){ if (balanceOf(msg.sender) + _mintAmount <= maxMintAmountPerTxFreeMint && totalSupply() <supplyLimitFreeMint) { return freeMintCost; } if (balanceOf(msg.sender) + _mintAmount <= maxMintAmountPerTxExpensiveMint && totalSupply() < supplyLimit){ return expensiveMintCost; } return expensiveMintCost; } function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256[] memory a = new uint256[](balanceOf(owner)); uint256 end = _nextTokenId(); uint256 tokenIdsIdx; address currOwnershipAddr; for (uint256 i; i < end; i++) { TokenOwnership memory ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { a[tokenIdsIdx++] = i; } } return a; } } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function _baseURI() internal view virtual override returns (string memory) { return uri; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","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":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expensiveMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimitPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTxExpensiveMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTxExpensiveMint","type":"uint256"}],"name":"setMaxMintAmountPerTxExpensiveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTxFreeMint","type":"uint256"}],"name":"setMaxMintAmountPerTxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_expensiveMintCost","type":"uint256"}],"name":"setexpensiveMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMintCost","type":"uint256"}],"name":"setfreeMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLimitPerWallet","type":"uint256"}],"name":"setmaxLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supplyLimit","type":"uint256"}],"name":"setsupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"seturi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyLimitFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052600b90620000269082620002c2565b506000600d5567016345785d8a0000600e55611f40600f556123296010556002601155600360128190556013556014805461ffff191690553480156200006b57600080fd5b506040516200258b3803806200258b8339810160408190526200008e9162000445565b6040518060400160405280601581526020017f566572792c20496d6167696e617279204c6172727900000000000000000000008152506040518060400160405280600381526020016215925360ea1b8152508160029081620000f19190620002c2565b506003620001008282620002c2565b5050600160005550620001133362000136565b6001600955620001238262000188565b6200012e81620001a4565b5050620004af565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000192620001bc565b600a620001a08282620002c2565b5050565b620001ae620001bc565b600c620001a08282620002c2565b6008546001600160a01b031633146200021b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200024857607f821691505b6020821081036200026957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002bd57600081815260208120601f850160051c81016020861015620002985750805b601f850160051c820191505b81811015620002b957828155600101620002a4565b5050505b505050565b81516001600160401b03811115620002de57620002de6200021d565b620002f681620002ef845462000233565b846200026f565b602080601f8311600181146200032e5760008415620003155750858301515b600019600386901b1c1916600185901b178555620002b9565b600085815260208120601f198616915b828110156200035f578886015182559484019460019091019084016200033e565b50858210156200037e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620003a057600080fd5b81516001600160401b0380821115620003bd57620003bd6200021d565b604051601f8301601f19908116603f01168101908282118183101715620003e857620003e86200021d565b816040528381526020925086838588010111156200040557600080fd5b600091505b838210156200042957858201830151818301840152908201906200040a565b838211156200043b5760008385830101525b9695505050505050565b600080604083850312156200045957600080fd5b82516001600160401b03808211156200047157600080fd5b6200047f868387016200038e565b935060208501519150808211156200049657600080fd5b50620004a5858286016200038e565b9150509250929050565b6120cc80620004bf6000396000f3fe6080604052600436106102705760003560e01c80636ad1fe021161014f578063af398422116100c1578063dbbdde541161007a578063dbbdde541461070d578063e0a8085314610723578063e985e9c514610743578063eac989f81461078c578063f2fde38b146107a1578063f6484980146107c157600080fd5b8063af3984221461064d578063b88d4fde1461066d578063c87b56dd1461068d578063cb6280b2146106ad578063d897833e146106cd578063d9f0a671146106ed57600080fd5b80638da5cb5b116101135780638da5cb5b146105b957806395d89b41146105d757806399be8ae4146105ec578063a22cb46514610602578063a45ba8e714610622578063a7b9b9a61461063757600080fd5b80636ad1fe021461051d57806370a0823114610537578063715018a6146105575780637871e1541461056c5780638462151c1461058c57600080fd5b806323b872dd116101e8578063480de34a116101ac578063480de34a1461047d5780634fdd43cb1461049357806351830227146104b35780635503a0e8146104d25780635a0b8b23146104e75780636352211e146104fd57600080fd5b806323b872dd146103f257806326a49e37146104125780632fd8861c146104325780633ccfd60b1461044857806342842e0e1461045d57600080fd5b8063081812fc1161023a578063081812fc14610321578063095ea7b31461035957806316ba10e01461037957806318160ddd1461039957806319d1997a146103bc578063209ec06e146103d257600080fd5b80622d9ea51461027557806275770a1461029757806301ffc9a7146102b757806306fdde03146102ec578063078837031461030e575b600080fd5b34801561028157600080fd5b506102956102903660046119fc565b6107e1565b005b3480156102a357600080fd5b506102956102b23660046119fc565b6107ee565b3480156102c357600080fd5b506102d76102d2366004611a2b565b6107fb565b60405190151581526020015b60405180910390f35b3480156102f857600080fd5b5061030161084d565b6040516102e39190611aa0565b61029561031c3660046119fc565b6108df565b34801561032d57600080fd5b5061034161033c3660046119fc565b610aa7565b6040516001600160a01b0390911681526020016102e3565b34801561036557600080fd5b50610295610374366004611aca565b610aeb565b34801561038557600080fd5b50610295610394366004611b80565b610b8b565b3480156103a557600080fd5b506103ae610ba3565b6040519081526020016102e3565b3480156103c857600080fd5b506103ae60105481565b3480156103de57600080fd5b506102956103ed3660046119fc565b610bb1565b3480156103fe57600080fd5b5061029561040d366004611bc9565b610bbe565b34801561041e57600080fd5b506103ae61042d3660046119fc565b610d57565b34801561043e57600080fd5b506103ae60125481565b34801561045457600080fd5b50610295610dd5565b34801561046957600080fd5b50610295610478366004611bc9565b610e4e565b34801561048957600080fd5b506103ae60115481565b34801561049f57600080fd5b506102956104ae366004611b80565b610e6e565b3480156104bf57600080fd5b506014546102d790610100900460ff1681565b3480156104de57600080fd5b50610301610e82565b3480156104f357600080fd5b506103ae60135481565b34801561050957600080fd5b506103416105183660046119fc565b610f10565b34801561052957600080fd5b506014546102d79060ff1681565b34801561054357600080fd5b506103ae610552366004611c05565b610f1b565b34801561056357600080fd5b50610295610f6a565b34801561057857600080fd5b50610295610587366004611c20565b610f7e565b34801561059857600080fd5b506105ac6105a7366004611c05565b610feb565b6040516102e39190611c4c565b3480156105c557600080fd5b506008546001600160a01b0316610341565b3480156105e357600080fd5b506103016110dd565b3480156105f857600080fd5b506103ae600d5481565b34801561060e57600080fd5b5061029561061d366004611ca0565b6110ec565b34801561062e57600080fd5b50610301611181565b34801561064357600080fd5b506103ae600f5481565b34801561065957600080fd5b506102956106683660046119fc565b61118e565b34801561067957600080fd5b50610295610688366004611cca565b61119b565b34801561069957600080fd5b506103016106a83660046119fc565b6111e5565b3480156106b957600080fd5b506102956106c83660046119fc565b611359565b3480156106d957600080fd5b506102956106e8366004611d46565b611366565b3480156106f957600080fd5b506102956107083660046119fc565b611381565b34801561071957600080fd5b506103ae600e5481565b34801561072f57600080fd5b5061029561073e366004611d46565b61138e565b34801561074f57600080fd5b506102d761075e366004611d61565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561079857600080fd5b506103016113b0565b3480156107ad57600080fd5b506102956107bc366004611c05565b6113bd565b3480156107cd57600080fd5b506102956107dc366004611b80565b611433565b6107e9611447565b601155565b6107f6611447565b601055565b60006301ffc9a760e01b6001600160e01b03198316148061082c57506380ac58cd60e01b6001600160e01b03198316145b806108475750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461085c90611d8b565b80601f016020809104026020016040519081016040528092919081815260200182805461088890611d8b565b80156108d55780601f106108aa576101008083540402835291602001916108d5565b820191906000526020600020905b8154815290600101906020018083116108b857829003601f168201915b5050505050905090565b60145460ff1661092c5760405162461bcd60e51b81526020600482015260136024820152725468652053616c65206973207061757365642160681b60448201526064015b60405180910390fd5b60008111801561093e57506012548111155b6109815760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610923565b6010548161098d610ba3565b6109979190611ddb565b11156109dc5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610923565b601354816109e933610f1b565b6109f39190611ddb565b1115610a415760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c6574206578636565646564210000006044820152606401610923565b80610a4b826114a1565b610a559190611df3565b341015610a9a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610923565b610aa43382611506565b50565b6000610ab282611520565b610acf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610af682610f10565b9050336001600160a01b03821614610b2f57610b12813361075e565b610b2f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b93611447565b600b610b9f8282611e58565b5050565b600154600054036000190190565b610bb9611447565b600d55565b6000610bc982611555565b9050836001600160a01b0316816001600160a01b031614610bfc5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c4957610c2c863361075e565b610c4957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c7057604051633a954ecd60e21b815260040160405180910390fd5b8015610c7b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610d0d57600184016000818152600460205260408120549003610d0b576000548114610d0b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600060115482610d6633610f1b565b610d709190611ddb565b11158015610d865750600f54610d84610ba3565b105b15610d93575050600d5490565b60125482610da033610f1b565b610daa9190611ddb565b11158015610dc05750601054610dbe610ba3565b105b15610dcd575050600e5490565b5050600e5490565b610ddd611447565b6000610df16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610e3b576040519150601f19603f3d011682016040523d82523d6000602084013e610e40565b606091505b5050905080610aa457600080fd5b610e698383836040518060200160405280600081525061119b565b505050565b610e76611447565b600c610b9f8282611e58565b600b8054610e8f90611d8b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebb90611d8b565b8015610f085780601f10610edd57610100808354040283529160200191610f08565b820191906000526020600020905b815481529060010190602001808311610eeb57829003601f168201915b505050505081565b600061084782611555565b60006001600160a01b038216610f44576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f72611447565b610f7c60006115c4565b565b610f86611447565b60105482610f92610ba3565b610f9c9190611ddb565b1115610fe15760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610923565b610b9f8183611506565b60606000610ff883610f1b565b67ffffffffffffffff81111561101057611010611af4565b604051908082528060200260200182016040528015611039578160200160208202803683370190505b509050600061104760005490565b905060008060005b838110156110d257600061106282611616565b905080604001511561107457506110ca565b80516001600160a01b03161561108957805192505b876001600160a01b0316836001600160a01b0316036110c857818685806001019650815181106110bb576110bb611f18565b6020026020010181815250505b505b60010161104f565b509295945050505050565b60606003805461085c90611d8b565b336001600160a01b038316036111155760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c8054610e8f90611d8b565b611196611447565b601255565b6111a6848484610bbe565b6001600160a01b0383163b156111df576111c284848484611695565b6111df576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606111f082611520565b6112545760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610923565b601454610100900460ff1615156000036112fa57600c805461127590611d8b565b80601f01602080910402602001604051908101604052809291908181526020018280546112a190611d8b565b80156112ee5780601f106112c3576101008083540402835291602001916112ee565b820191906000526020600020905b8154815290600101906020018083116112d157829003601f168201915b50505050509050919050565b6000611304611781565b905060008151116113245760405180602001604052806000815250611352565b8061132e84611790565b600b60405160200161134293929190611f2e565b6040516020818303038152906040525b9392505050565b611361611447565b600e55565b61136e611447565b6014805460ff1916911515919091179055565b611389611447565b601355565b611396611447565b601480549115156101000261ff0019909216919091179055565b600a8054610e8f90611d8b565b6113c5611447565b6001600160a01b03811661142a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610923565b610aa4816115c4565b61143b611447565b600a610b9f8282611e58565b6008546001600160a01b03163314610f7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610923565b6000601154826114b033610f1b565b6114ba9190611ddb565b111580156114d05750600f546114ce610ba3565b105b156114dd575050600d5490565b601054826114ea33610f1b565b6114f49190611ddb565b11611501575050600e5490565b919050565b610b9f828260405180602001604052806000815250611891565b600081600111158015611534575060005482105b8015610847575050600090815260046020526040902054600160e01b161590565b600081806001116115ab576000548110156115ab5760008181526004602052604081205490600160e01b821690036115a9575b80600003611352575060001901600081815260046020526040902054611588565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461084790604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906116ca903390899088908890600401611fce565b6020604051808303816000875af1925050508015611705575060408051601f3d908101601f191682019092526117029181019061200b565b60015b611763573d808015611733576040519150601f19603f3d011682016040523d82523d6000602084013e611738565b606091505b50805160000361175b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461085c90611d8b565b6060816000036117b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117e157806117cb81612028565b91506117da9050600a83612057565b91506117bb565b60008167ffffffffffffffff8111156117fc576117fc611af4565b6040519080825280601f01601f191660200182016040528015611826576020820181803683370190505b5090505b84156117795761183b60018361206b565b9150611848600a86612082565b611853906030611ddb565b60f81b81838151811061186857611868611f18565b60200101906001600160f81b031916908160001a90535061188a600a86612057565b945061182a565b61189b83836118fe565b6001600160a01b0383163b15610e69576000548281035b6118c56000868380600101945086611695565b6118e2576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118b25781600054146118f757600080fd5b5050505050565b60008054908290036119235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119d257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161199a565b50816000036119f357604051622e076360e81b815260040160405180910390fd5b60005550505050565b600060208284031215611a0e57600080fd5b5035919050565b6001600160e01b031981168114610aa457600080fd5b600060208284031215611a3d57600080fd5b813561135281611a15565b60005b83811015611a63578181015183820152602001611a4b565b838111156111df5750506000910152565b60008151808452611a8c816020860160208601611a48565b601f01601f19169290920160200192915050565b6020815260006113526020830184611a74565b80356001600160a01b038116811461150157600080fd5b60008060408385031215611add57600080fd5b611ae683611ab3565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b2557611b25611af4565b604051601f8501601f19908116603f01168101908282118183101715611b4d57611b4d611af4565b81604052809350858152868686011115611b6657600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b9257600080fd5b813567ffffffffffffffff811115611ba957600080fd5b8201601f81018413611bba57600080fd5b61177984823560208401611b0a565b600080600060608486031215611bde57600080fd5b611be784611ab3565b9250611bf560208501611ab3565b9150604084013590509250925092565b600060208284031215611c1757600080fd5b61135282611ab3565b60008060408385031215611c3357600080fd5b82359150611c4360208401611ab3565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611c8457835183529284019291840191600101611c68565b50909695505050505050565b8035801515811461150157600080fd5b60008060408385031215611cb357600080fd5b611cbc83611ab3565b9150611c4360208401611c90565b60008060008060808587031215611ce057600080fd5b611ce985611ab3565b9350611cf760208601611ab3565b925060408501359150606085013567ffffffffffffffff811115611d1a57600080fd5b8501601f81018713611d2b57600080fd5b611d3a87823560208401611b0a565b91505092959194509250565b600060208284031215611d5857600080fd5b61135282611c90565b60008060408385031215611d7457600080fd5b611d7d83611ab3565b9150611c4360208401611ab3565b600181811c90821680611d9f57607f821691505b602082108103611dbf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611dee57611dee611dc5565b500190565b6000816000190483118215151615611e0d57611e0d611dc5565b500290565b601f821115610e6957600081815260208120601f850160051c81016020861015611e395750805b601f850160051c820191505b81811015610d4f57828155600101611e45565b815167ffffffffffffffff811115611e7257611e72611af4565b611e8681611e808454611d8b565b84611e12565b602080601f831160018114611ebb5760008415611ea35750858301515b600019600386901b1c1916600185901b178555610d4f565b600085815260208120601f198616915b82811015611eea57888601518255948401946001909101908401611ecb565b5085821015611f085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600084516020611f418285838a01611a48565b855191840191611f548184848a01611a48565b8554920191600090611f6581611d8b565b60018281168015611f7d5760018114611f9257611fbe565b60ff1984168752821515830287019450611fbe565b896000528560002060005b84811015611fb657815489820152908301908701611f9d565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061200190830184611a74565b9695505050505050565b60006020828403121561201d57600080fd5b815161135281611a15565b60006001820161203a5761203a611dc5565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261206657612066612041565b500490565b60008282101561207d5761207d611dc5565b500390565b60008261209157612091612041565b50069056fea2646970667358221220e406109f2c5a758e93085674bf7319ab8670c78f4e82f2ccd0d49cb699121c5f64736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5146725656556e39697a425758316e764a6374386b3363396a556b464e4c653377347753395663474446656f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5146725656556e39697a425758316e764a6374386b3363396a556b464e4c653377347753395663474446656f2f00000000000000000000
Deployed Bytecode
0x6080604052600436106102705760003560e01c80636ad1fe021161014f578063af398422116100c1578063dbbdde541161007a578063dbbdde541461070d578063e0a8085314610723578063e985e9c514610743578063eac989f81461078c578063f2fde38b146107a1578063f6484980146107c157600080fd5b8063af3984221461064d578063b88d4fde1461066d578063c87b56dd1461068d578063cb6280b2146106ad578063d897833e146106cd578063d9f0a671146106ed57600080fd5b80638da5cb5b116101135780638da5cb5b146105b957806395d89b41146105d757806399be8ae4146105ec578063a22cb46514610602578063a45ba8e714610622578063a7b9b9a61461063757600080fd5b80636ad1fe021461051d57806370a0823114610537578063715018a6146105575780637871e1541461056c5780638462151c1461058c57600080fd5b806323b872dd116101e8578063480de34a116101ac578063480de34a1461047d5780634fdd43cb1461049357806351830227146104b35780635503a0e8146104d25780635a0b8b23146104e75780636352211e146104fd57600080fd5b806323b872dd146103f257806326a49e37146104125780632fd8861c146104325780633ccfd60b1461044857806342842e0e1461045d57600080fd5b8063081812fc1161023a578063081812fc14610321578063095ea7b31461035957806316ba10e01461037957806318160ddd1461039957806319d1997a146103bc578063209ec06e146103d257600080fd5b80622d9ea51461027557806275770a1461029757806301ffc9a7146102b757806306fdde03146102ec578063078837031461030e575b600080fd5b34801561028157600080fd5b506102956102903660046119fc565b6107e1565b005b3480156102a357600080fd5b506102956102b23660046119fc565b6107ee565b3480156102c357600080fd5b506102d76102d2366004611a2b565b6107fb565b60405190151581526020015b60405180910390f35b3480156102f857600080fd5b5061030161084d565b6040516102e39190611aa0565b61029561031c3660046119fc565b6108df565b34801561032d57600080fd5b5061034161033c3660046119fc565b610aa7565b6040516001600160a01b0390911681526020016102e3565b34801561036557600080fd5b50610295610374366004611aca565b610aeb565b34801561038557600080fd5b50610295610394366004611b80565b610b8b565b3480156103a557600080fd5b506103ae610ba3565b6040519081526020016102e3565b3480156103c857600080fd5b506103ae60105481565b3480156103de57600080fd5b506102956103ed3660046119fc565b610bb1565b3480156103fe57600080fd5b5061029561040d366004611bc9565b610bbe565b34801561041e57600080fd5b506103ae61042d3660046119fc565b610d57565b34801561043e57600080fd5b506103ae60125481565b34801561045457600080fd5b50610295610dd5565b34801561046957600080fd5b50610295610478366004611bc9565b610e4e565b34801561048957600080fd5b506103ae60115481565b34801561049f57600080fd5b506102956104ae366004611b80565b610e6e565b3480156104bf57600080fd5b506014546102d790610100900460ff1681565b3480156104de57600080fd5b50610301610e82565b3480156104f357600080fd5b506103ae60135481565b34801561050957600080fd5b506103416105183660046119fc565b610f10565b34801561052957600080fd5b506014546102d79060ff1681565b34801561054357600080fd5b506103ae610552366004611c05565b610f1b565b34801561056357600080fd5b50610295610f6a565b34801561057857600080fd5b50610295610587366004611c20565b610f7e565b34801561059857600080fd5b506105ac6105a7366004611c05565b610feb565b6040516102e39190611c4c565b3480156105c557600080fd5b506008546001600160a01b0316610341565b3480156105e357600080fd5b506103016110dd565b3480156105f857600080fd5b506103ae600d5481565b34801561060e57600080fd5b5061029561061d366004611ca0565b6110ec565b34801561062e57600080fd5b50610301611181565b34801561064357600080fd5b506103ae600f5481565b34801561065957600080fd5b506102956106683660046119fc565b61118e565b34801561067957600080fd5b50610295610688366004611cca565b61119b565b34801561069957600080fd5b506103016106a83660046119fc565b6111e5565b3480156106b957600080fd5b506102956106c83660046119fc565b611359565b3480156106d957600080fd5b506102956106e8366004611d46565b611366565b3480156106f957600080fd5b506102956107083660046119fc565b611381565b34801561071957600080fd5b506103ae600e5481565b34801561072f57600080fd5b5061029561073e366004611d46565b61138e565b34801561074f57600080fd5b506102d761075e366004611d61565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561079857600080fd5b506103016113b0565b3480156107ad57600080fd5b506102956107bc366004611c05565b6113bd565b3480156107cd57600080fd5b506102956107dc366004611b80565b611433565b6107e9611447565b601155565b6107f6611447565b601055565b60006301ffc9a760e01b6001600160e01b03198316148061082c57506380ac58cd60e01b6001600160e01b03198316145b806108475750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461085c90611d8b565b80601f016020809104026020016040519081016040528092919081815260200182805461088890611d8b565b80156108d55780601f106108aa576101008083540402835291602001916108d5565b820191906000526020600020905b8154815290600101906020018083116108b857829003601f168201915b5050505050905090565b60145460ff1661092c5760405162461bcd60e51b81526020600482015260136024820152725468652053616c65206973207061757365642160681b60448201526064015b60405180910390fd5b60008111801561093e57506012548111155b6109815760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610923565b6010548161098d610ba3565b6109979190611ddb565b11156109dc5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610923565b601354816109e933610f1b565b6109f39190611ddb565b1115610a415760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d696e74207065722077616c6c6574206578636565646564210000006044820152606401610923565b80610a4b826114a1565b610a559190611df3565b341015610a9a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610923565b610aa43382611506565b50565b6000610ab282611520565b610acf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610af682610f10565b9050336001600160a01b03821614610b2f57610b12813361075e565b610b2f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b93611447565b600b610b9f8282611e58565b5050565b600154600054036000190190565b610bb9611447565b600d55565b6000610bc982611555565b9050836001600160a01b0316816001600160a01b031614610bfc5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c4957610c2c863361075e565b610c4957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c7057604051633a954ecd60e21b815260040160405180910390fd5b8015610c7b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610d0d57600184016000818152600460205260408120549003610d0b576000548114610d0b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600060115482610d6633610f1b565b610d709190611ddb565b11158015610d865750600f54610d84610ba3565b105b15610d93575050600d5490565b60125482610da033610f1b565b610daa9190611ddb565b11158015610dc05750601054610dbe610ba3565b105b15610dcd575050600e5490565b5050600e5490565b610ddd611447565b6000610df16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610e3b576040519150601f19603f3d011682016040523d82523d6000602084013e610e40565b606091505b5050905080610aa457600080fd5b610e698383836040518060200160405280600081525061119b565b505050565b610e76611447565b600c610b9f8282611e58565b600b8054610e8f90611d8b565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebb90611d8b565b8015610f085780601f10610edd57610100808354040283529160200191610f08565b820191906000526020600020905b815481529060010190602001808311610eeb57829003601f168201915b505050505081565b600061084782611555565b60006001600160a01b038216610f44576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610f72611447565b610f7c60006115c4565b565b610f86611447565b60105482610f92610ba3565b610f9c9190611ddb565b1115610fe15760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610923565b610b9f8183611506565b60606000610ff883610f1b565b67ffffffffffffffff81111561101057611010611af4565b604051908082528060200260200182016040528015611039578160200160208202803683370190505b509050600061104760005490565b905060008060005b838110156110d257600061106282611616565b905080604001511561107457506110ca565b80516001600160a01b03161561108957805192505b876001600160a01b0316836001600160a01b0316036110c857818685806001019650815181106110bb576110bb611f18565b6020026020010181815250505b505b60010161104f565b509295945050505050565b60606003805461085c90611d8b565b336001600160a01b038316036111155760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c8054610e8f90611d8b565b611196611447565b601255565b6111a6848484610bbe565b6001600160a01b0383163b156111df576111c284848484611695565b6111df576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606111f082611520565b6112545760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610923565b601454610100900460ff1615156000036112fa57600c805461127590611d8b565b80601f01602080910402602001604051908101604052809291908181526020018280546112a190611d8b565b80156112ee5780601f106112c3576101008083540402835291602001916112ee565b820191906000526020600020905b8154815290600101906020018083116112d157829003601f168201915b50505050509050919050565b6000611304611781565b905060008151116113245760405180602001604052806000815250611352565b8061132e84611790565b600b60405160200161134293929190611f2e565b6040516020818303038152906040525b9392505050565b611361611447565b600e55565b61136e611447565b6014805460ff1916911515919091179055565b611389611447565b601355565b611396611447565b601480549115156101000261ff0019909216919091179055565b600a8054610e8f90611d8b565b6113c5611447565b6001600160a01b03811661142a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610923565b610aa4816115c4565b61143b611447565b600a610b9f8282611e58565b6008546001600160a01b03163314610f7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610923565b6000601154826114b033610f1b565b6114ba9190611ddb565b111580156114d05750600f546114ce610ba3565b105b156114dd575050600d5490565b601054826114ea33610f1b565b6114f49190611ddb565b11611501575050600e5490565b919050565b610b9f828260405180602001604052806000815250611891565b600081600111158015611534575060005482105b8015610847575050600090815260046020526040902054600160e01b161590565b600081806001116115ab576000548110156115ab5760008181526004602052604081205490600160e01b821690036115a9575b80600003611352575060001901600081815260046020526040902054611588565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461084790604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906116ca903390899088908890600401611fce565b6020604051808303816000875af1925050508015611705575060408051601f3d908101601f191682019092526117029181019061200b565b60015b611763573d808015611733576040519150601f19603f3d011682016040523d82523d6000602084013e611738565b606091505b50805160000361175b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461085c90611d8b565b6060816000036117b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117e157806117cb81612028565b91506117da9050600a83612057565b91506117bb565b60008167ffffffffffffffff8111156117fc576117fc611af4565b6040519080825280601f01601f191660200182016040528015611826576020820181803683370190505b5090505b84156117795761183b60018361206b565b9150611848600a86612082565b611853906030611ddb565b60f81b81838151811061186857611868611f18565b60200101906001600160f81b031916908160001a90535061188a600a86612057565b945061182a565b61189b83836118fe565b6001600160a01b0383163b15610e69576000548281035b6118c56000868380600101945086611695565b6118e2576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118b25781600054146118f757600080fd5b5050505050565b60008054908290036119235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119d257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161199a565b50816000036119f357604051622e076360e81b815260040160405180910390fd5b60005550505050565b600060208284031215611a0e57600080fd5b5035919050565b6001600160e01b031981168114610aa457600080fd5b600060208284031215611a3d57600080fd5b813561135281611a15565b60005b83811015611a63578181015183820152602001611a4b565b838111156111df5750506000910152565b60008151808452611a8c816020860160208601611a48565b601f01601f19169290920160200192915050565b6020815260006113526020830184611a74565b80356001600160a01b038116811461150157600080fd5b60008060408385031215611add57600080fd5b611ae683611ab3565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b2557611b25611af4565b604051601f8501601f19908116603f01168101908282118183101715611b4d57611b4d611af4565b81604052809350858152868686011115611b6657600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b9257600080fd5b813567ffffffffffffffff811115611ba957600080fd5b8201601f81018413611bba57600080fd5b61177984823560208401611b0a565b600080600060608486031215611bde57600080fd5b611be784611ab3565b9250611bf560208501611ab3565b9150604084013590509250925092565b600060208284031215611c1757600080fd5b61135282611ab3565b60008060408385031215611c3357600080fd5b82359150611c4360208401611ab3565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611c8457835183529284019291840191600101611c68565b50909695505050505050565b8035801515811461150157600080fd5b60008060408385031215611cb357600080fd5b611cbc83611ab3565b9150611c4360208401611c90565b60008060008060808587031215611ce057600080fd5b611ce985611ab3565b9350611cf760208601611ab3565b925060408501359150606085013567ffffffffffffffff811115611d1a57600080fd5b8501601f81018713611d2b57600080fd5b611d3a87823560208401611b0a565b91505092959194509250565b600060208284031215611d5857600080fd5b61135282611c90565b60008060408385031215611d7457600080fd5b611d7d83611ab3565b9150611c4360208401611ab3565b600181811c90821680611d9f57607f821691505b602082108103611dbf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611dee57611dee611dc5565b500190565b6000816000190483118215151615611e0d57611e0d611dc5565b500290565b601f821115610e6957600081815260208120601f850160051c81016020861015611e395750805b601f850160051c820191505b81811015610d4f57828155600101611e45565b815167ffffffffffffffff811115611e7257611e72611af4565b611e8681611e808454611d8b565b84611e12565b602080601f831160018114611ebb5760008415611ea35750858301515b600019600386901b1c1916600185901b178555610d4f565b600085815260208120601f198616915b82811015611eea57888601518255948401946001909101908401611ecb565b5085821015611f085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600084516020611f418285838a01611a48565b855191840191611f548184848a01611a48565b8554920191600090611f6581611d8b565b60018281168015611f7d5760018114611f9257611fbe565b60ff1984168752821515830287019450611fbe565b896000528560002060005b84811015611fb657815489820152908301908701611f9d565b505082870194505b50929a9950505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061200190830184611a74565b9695505050505050565b60006020828403121561201d57600080fd5b815161135281611a15565b60006001820161203a5761203a611dc5565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261206657612066612041565b500490565b60008282101561207d5761207d611dc5565b500390565b60008261209157612091612041565b50069056fea2646970667358221220e406109f2c5a758e93085674bf7319ab8670c78f4e82f2ccd0d49cb699121c5f64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5146725656556e39697a425758316e764a6374386b3363396a556b464e4c653377347753395663474446656f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5146725656556e39697a425758316e764a6374386b3363396a556b464e4c653377347753395663474446656f2f00000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmQFrVVUn9izBWX1nvJct8k3c9jUkFNLe3w4wS9VcGDFeo/
Arg [1] : _hiddenMetadataUri (string): ipfs://QmQFrVVUn9izBWX1nvJct8k3c9jUkFNLe3w4wS9VcGDFeo/
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d5146725656556e39697a425758316e764a6374386b3363
Arg [4] : 396a556b464e4c653377347753395663474446656f2f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d5146725656556e39697a425758316e764a6374386b3363
Arg [7] : 396a556b464e4c653377347753395663474446656f2f00000000000000000000
Deployed Bytecode Sourcemap
79419:5475:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82093:162;;;;;;;;;;-1:-1:-1;82093:162:0;;;;;:::i;:::-;;:::i;:::-;;82829:102;;;;;;;;;;-1:-1:-1;82829:102:0;;;;;:::i;:::-;;:::i;18468:639::-;;;;;;;;;;-1:-1:-1;18468:639:0;;;;;:::i;:::-;;:::i;:::-;;;750:14:1;;743:22;725:41;;713:2;698:18;18468:639:0;;;;;;;;19370:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;80821:560::-;;;;;;:::i;:::-;;:::i;25853:218::-;;;;;;;;;;-1:-1:-1;25853:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25853:218:0;1528:203:1;25294:400:0;;;;;;;;;;-1:-1:-1;25294:400:0;;;;;:::i;:::-;;:::i;81904:100::-;;;;;;;;;;-1:-1:-1;81904:100:0;;;;;:::i;:::-;;:::i;15121:323::-;;;;;;;;;;;;;:::i;:::-;;;3544:25:1;;;3532:2;3517:18;15121:323:0;3398:177:1;79811:33:0;;;;;;;;;;;;;;;;82581:106;;;;;;;;;;-1:-1:-1;82581:106:0;;;;;:::i;:::-;;:::i;29560:2817::-;;;;;;;;;;-1:-1:-1;29560:2817:0;;;;;:::i;:::-;;:::i;83081:438::-;;;;;;;;;;-1:-1:-1;83081:438:0;;;;;:::i;:::-;;:::i;79902:50::-;;;;;;;;;;;;;;;;82937:137;;;;;;;;;;;;;:::i;32473:185::-;;;;;;;;;;-1:-1:-1;32473:185:0;;;;;:::i;:::-;;:::i;79851:45::-;;;;;;;;;;;;;;;;81766:132;;;;;;;;;;-1:-1:-1;81766:132:0;;;;;:::i;:::-;;:::i;80031:28::-;;;;;;;;;;-1:-1:-1;80031:28:0;;;;;;;;;;;79596:33;;;;;;;;;;;;;:::i;79958:36::-;;;;;;;;;;;;;;;;20763:152;;;;;;;;;;-1:-1:-1;20763:152:0;;;;;:::i;:::-;;:::i;80000:24::-;;;;;;;;;;-1:-1:-1;80000:24:0;;;;;;;;16305:233;;;;;;;;;;-1:-1:-1;16305:233:0;;;;;:::i;:::-;;:::i;75761:103::-;;;;;;;;;;;;;:::i;81389:202::-;;;;;;;;;;-1:-1:-1;81389:202:0;;;;;:::i;:::-;;:::i;83523:712::-;;;;;;;;;;-1:-1:-1;83523:712:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;75113:87::-;;;;;;;;;;-1:-1:-1;75186:6:0;;-1:-1:-1;;;;;75186:6:0;75113:87;;19546:104;;;;;;;;;;;;;:::i;79670:37::-;;;;;;;;;;;;;;;;26411:308;;;;;;;;;;-1:-1:-1;26411:308:0;;;;;:::i;:::-;;:::i;79634:31::-;;;;;;;;;;;;;:::i;79763:41::-;;;;;;;;;;;;;;;;82261:182;;;;;;;;;;-1:-1:-1;82261:182:0;;;;;:::i;:::-;;:::i;33256:399::-;;;;;;;;;;-1:-1:-1;33256:399:0;;;;;:::i;:::-;;:::i;84342:445::-;;;;;;;;;;-1:-1:-1;84342:445:0;;;;;:::i;:::-;;:::i;82695:126::-;;;;;;;;;;-1:-1:-1;82695:126:0;;;;;:::i;:::-;;:::i;82010:77::-;;;;;;;;;;-1:-1:-1;82010:77:0;;;;;:::i;:::-;;:::i;82449:126::-;;;;;;;;;;-1:-1:-1;82449:126:0;;;;;:::i;:::-;;:::i;79713:44::-;;;;;;;;;;;;;;;;81597:81;;;;;;;;;;-1:-1:-1;81597:81:0;;;;;:::i;:::-;;:::i;26876:164::-;;;;;;;;;;-1:-1:-1;26876:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26997:25:0;;;26973:4;26997:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26876:164;79574:17;;;;;;;;;;;;;:::i;76019:201::-;;;;;;;;;;-1:-1:-1;76019:201:0;;;;;:::i;:::-;;:::i;81684:76::-;;;;;;;;;;-1:-1:-1;81684:76:0;;;;;:::i;:::-;;:::i;82093:162::-;74999:13;:11;:13::i;:::-;82193:26:::1;:56:::0;82093:162::o;82829:102::-;74999:13;:11;:13::i;:::-;82899:11:::1;:26:::0;82829:102::o;18468:639::-;18553:4;-1:-1:-1;;;;;;;;;18877:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18954:25:0;;;18877:102;:179;;;-1:-1:-1;;;;;;;;;;19031:25:0;;;18877:179;18857:199;18468:639;-1:-1:-1;;18468:639:0:o;19370:100::-;19424:13;19457:5;19450:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19370:100;:::o;80821:560::-;80915:4;;;;80907:36;;;;-1:-1:-1;;;80907:36:0;;7133:2:1;80907:36:0;;;7115:21:1;7172:2;7152:18;;;7145:30;-1:-1:-1;;;7191:18:1;;;7184:49;7250:18;;80907:36:0;;;;;;;;;80972:1;80958:11;:15;:65;;;;;80992:31;;80977:11;:46;;80958:65;80950:98;;;;-1:-1:-1;;;80950:98:0;;7481:2:1;80950:98:0;;;7463:21:1;7520:2;7500:18;;;7493:30;-1:-1:-1;;;7539:18:1;;;7532:50;7599:18;;80950:98:0;7279:344:1;80950:98:0;81094:11;;81079;81063:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;81055:75;;;;-1:-1:-1;;;81055:75:0;;8095:2:1;81055:75:0;;;8077:21:1;8134:2;8114:18;;;8107:30;-1:-1:-1;;;8153:18:1;;;8146:50;8213:18;;81055:75:0;7893:344:1;81055:75:0;81184:17;;81169:11;81145:21;81155:10;81145:9;:21::i;:::-;:35;;;;:::i;:::-;:56;;81137:98;;;;-1:-1:-1;;;81137:98:0;;8444:2:1;81137:98:0;;;8426:21:1;8483:2;8463:18;;;8456:30;8522:31;8502:18;;;8495:59;8571:18;;81137:98:0;8242:353:1;81137:98:0;81289:11;81263:23;81274:11;81263:10;:23::i;:::-;:37;;;;:::i;:::-;81250:9;:50;;81242:82;;;;-1:-1:-1;;;81242:82:0;;8975:2:1;81242:82:0;;;8957:21:1;9014:2;8994:18;;;8987:30;-1:-1:-1;;;9033:18:1;;;9026:49;9092:18;;81242:82:0;8773:343:1;81242:82:0;81339:36;73744:10;81363:11;81339:9;:36::i;:::-;80821:560;:::o;25853:218::-;25929:7;25954:16;25962:7;25954;:16::i;:::-;25949:64;;25979:34;;-1:-1:-1;;;25979:34:0;;;;;;;;;;;25949:64;-1:-1:-1;26033:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26033:30:0;;25853:218::o;25294:400::-;25375:13;25391:16;25399:7;25391;:16::i;:::-;25375:32;-1:-1:-1;73744:10:0;-1:-1:-1;;;;;25424:28:0;;;25420:175;;25472:44;25489:5;73744:10;26876:164;:::i;25472:44::-;25467:128;;25544:35;;-1:-1:-1;;;25544:35:0;;;;;;;;;;;25467:128;25607:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25607:35:0;-1:-1:-1;;;;;25607:35:0;;;;;;;;;25658:28;;25607:24;;25658:28;;;;;;;25364:330;25294:400;;:::o;81904:100::-;74999:13;:11;:13::i;:::-;81976:9:::1;:22;81988:10:::0;81976:9;:22:::1;:::i;:::-;;81904:100:::0;:::o;15121:323::-;84329:1;15395:12;15182:7;15379:13;:28;-1:-1:-1;;15379:46:0;;15121:323::o;82581:106::-;74999:13;:11;:13::i;:::-;82653:12:::1;:28:::0;82581:106::o;29560:2817::-;29694:27;29724;29743:7;29724:18;:27::i;:::-;29694:57;;29809:4;-1:-1:-1;;;;;29768:45:0;29784:19;-1:-1:-1;;;;;29768:45:0;;29764:86;;29822:28;;-1:-1:-1;;;29822:28:0;;;;;;;;;;;29764:86;29864:27;28674:24;;;:15;:24;;;;;28896:26;;73744:10;28299:30;;;-1:-1:-1;;;;;27992:28:0;;28277:20;;;28274:56;30050:180;;30143:43;30160:4;73744:10;26876:164;:::i;30143:43::-;30138:92;;30195:35;;-1:-1:-1;;;30195:35:0;;;;;;;;;;;30138:92;-1:-1:-1;;;;;30247:16:0;;30243:52;;30272:23;;-1:-1:-1;;;30272:23:0;;;;;;;;;;;30243:52;30444:15;30441:160;;;30584:1;30563:19;30556:30;30441:160;-1:-1:-1;;;;;30981:24:0;;;;;;;:18;:24;;;;;;30979:26;;-1:-1:-1;;30979:26:0;;;31050:22;;;;;;;;;31048:24;;-1:-1:-1;31048:24:0;;;24152:11;24127:23;24123:41;24110:63;-1:-1:-1;;;24110:63:0;31343:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31638:47:0;;:52;;31634:627;;31743:1;31733:11;;31711:19;31866:30;;;:17;:30;;;;;;:35;;31862:384;;32004:13;;31989:11;:28;31985:242;;32151:30;;;;:17;:30;;;;;:52;;;31985:242;31692:569;31634:627;32308:7;32304:2;-1:-1:-1;;;;;32289:27:0;32298:4;-1:-1:-1;;;;;32289:27:0;;;;;;;;;;;32327:42;29683:2694;;;29560:2817;;;:::o;83081:438::-;83138:7;83201:26;;83186:11;83162:21;83172:10;83162:9;:21::i;:::-;:35;;;;:::i;:::-;:65;;:103;;;;;83246:19;;83231:13;:11;:13::i;:::-;:34;83162:103;83158:155;;;-1:-1:-1;;83287:12:0;;;83081:438::o;83158:155::-;83367:31;;83352:11;83328:21;83338:10;83328:9;:21::i;:::-;:35;;;;:::i;:::-;:70;;:101;;;;;83418:11;;83402:13;:11;:13::i;:::-;:27;83328:101;83324:155;;;-1:-1:-1;;83450:17:0;;;83081:438::o;83324:155::-;-1:-1:-1;;83496:17:0;;;83081:438::o;82937:137::-;74999:13;:11;:13::i;:::-;82982:7:::1;83003;75186:6:::0;;-1:-1:-1;;;;;75186:6:0;;75113:87;83003:7:::1;-1:-1:-1::0;;;;;82995:21:0::1;83024;82995:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82981:69;;;83065:2;83057:11;;;::::0;::::1;32473:185:::0;32611:39;32628:4;32634:2;32638:7;32611:39;;;;;;;;;;;;:16;:39::i;:::-;32473:185;;;:::o;81766:132::-;74999:13;:11;:13::i;:::-;81854:17:::1;:38;81874:18:::0;81854:17;:38:::1;:::i;79596:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20763:152::-;20835:7;20878:27;20897:7;20878:18;:27::i;16305:233::-;16377:7;-1:-1:-1;;;;;16401:19:0;;16397:60;;16429:28;;-1:-1:-1;;;16429:28:0;;;;;;;;;;;16397:60;-1:-1:-1;;;;;;16475:25:0;;;;;:18;:25;;;;;;10464:13;16475:55;;16305:233::o;75761:103::-;74999:13;:11;:13::i;:::-;75826:30:::1;75853:1;75826:18;:30::i;:::-;75761:103::o:0;81389:202::-;74999:13;:11;:13::i;:::-;81509:11:::1;;81494;81478:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:42;;81470:75;;;::::0;-1:-1:-1;;;81470:75:0;;8095:2:1;81470:75:0::1;::::0;::::1;8077:21:1::0;8134:2;8114:18;;;8107:30;-1:-1:-1;;;8153:18:1;;;8146:50;8213:18;;81470:75:0::1;7893:344:1::0;81470:75:0::1;81552:33;81562:9;81573:11;81552:9;:33::i;83523:712::-:0;83584:16;83630:18;83665:16;83675:5;83665:9;:16::i;:::-;83651:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83651:31:0;;83630:52;;83694:11;83708:14;14863:7;14890:13;;14808:103;83708:14;83694:28;;83733:19;83763:25;83804:9;83799:403;83819:3;83815:1;:7;83799:403;;;83844:31;83878:15;83891:1;83878:12;:15::i;:::-;83844:49;;83912:9;:16;;;83908:65;;;83949:8;;;83908:65;83991:14;;-1:-1:-1;;;;;83991:28:0;;83987:103;;84060:14;;;-1:-1:-1;83987:103:0;84129:5;-1:-1:-1;;;;;84108:26:0;:17;-1:-1:-1;;;;;84108:26:0;;84104:87;;84174:1;84155;84157:13;;;;;;84155:16;;;;;;;;:::i;:::-;;;;;;:20;;;;;84104:87;83829:373;83799:403;83824:3;;83799:403;;;-1:-1:-1;84219:1:0;;83523:712;-1:-1:-1;;;;;83523:712:0:o;19546:104::-;19602:13;19635:7;19628:14;;;;;:::i;26411:308::-;73744:10;-1:-1:-1;;;;;26510:31:0;;;26506:61;;26550:17;;-1:-1:-1;;;26550:17:0;;;;;;;;;;;26506:61;73744:10;26580:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26580:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26580:60:0;;;;;;;;;;26656:55;;725:41:1;;;26580:49:0;;73744:10;26656:55;;698:18:1;26656:55:0;;;;;;;26411:308;;:::o;79634:31::-;;;;;;;:::i;82261:182::-;74999:13;:11;:13::i;:::-;82371:31:::1;:66:::0;82261:182::o;33256:399::-;33423:31;33436:4;33442:2;33446:7;33423:12;:31::i;:::-;-1:-1:-1;;;;;33469:14:0;;;:19;33465:183;;33508:56;33539:4;33545:2;33549:7;33558:5;33508:30;:56::i;:::-;33503:145;;33592:40;;-1:-1:-1;;;33592:40:0;;;;;;;;;;;33503:145;33256:399;;;;:::o;84342:445::-;84416:13;84446:17;84454:8;84446:7;:17::i;:::-;84438:77;;;;-1:-1:-1;;;84438:77:0;;11869:2:1;84438:77:0;;;11851:21:1;11908:2;11888:18;;;11881:30;11947:34;11927:18;;;11920:62;-1:-1:-1;;;11998:18:1;;;11991:45;12053:19;;84438:77:0;11667:411:1;84438:77:0;84528:8;;;;;;;:17;;84540:5;84528:17;84524:64;;84563:17;84556:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84342:445;;;:::o;84524:64::-;84596:28;84627:10;:8;:10::i;:::-;84596:41;;84682:1;84657:14;84651:28;:32;:130;;;;;;;;;;;;;;;;;84719:14;84735:19;:8;:17;:19::i;:::-;84756:9;84702:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;84651:130;84644:137;84342:445;-1:-1:-1;;;84342:445:0:o;82695:126::-;74999:13;:11;:13::i;:::-;82777:17:::1;:38:::0;82695:126::o;82010:77::-;74999:13;:11;:13::i;:::-;82069:4:::1;:12:::0;;-1:-1:-1;;82069:12:0::1;::::0;::::1;;::::0;;;::::1;::::0;;82010:77::o;82449:126::-;74999:13;:11;:13::i;:::-;82531:17:::1;:38:::0;82449:126::o;81597:81::-;74999:13;:11;:13::i;:::-;81655:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;81655:17:0;;::::1;::::0;;;::::1;::::0;;81597:81::o;79574:17::-;;;;;;;:::i;76019:201::-;74999:13;:11;:13::i;:::-;-1:-1:-1;;;;;76108:22:0;::::1;76100:73;;;::::0;-1:-1:-1;;;76100:73:0;;13520:2:1;76100:73:0::1;::::0;::::1;13502:21:1::0;13559:2;13539:18;;;13532:30;13598:34;13578:18;;;13571:62;-1:-1:-1;;;13649:18:1;;;13642:36;13695:19;;76100:73:0::1;13318:402:1::0;76100:73:0::1;76184:28;76203:8;76184:18;:28::i;81684:76::-:0;74999:13;:11;:13::i;:::-;81744:3:::1;:10;81750:4:::0;81744:3;:10:::1;:::i;75278:132::-:0;75186:6;;-1:-1:-1;;;;;75186:6:0;73744:10;75342:23;75334:68;;;;-1:-1:-1;;;75334:68:0;;13927:2:1;75334:68:0;;;13909:21:1;;;13946:18;;;13939:30;14005:34;13985:18;;;13978:62;14057:18;;75334:68:0;13725:356:1;80467:346:0;80532:13;80599:26;;80584:11;80560:21;80570:10;80560:9;:21::i;:::-;:35;;;;:::i;:::-;:65;;:104;;;;;80645:19;;80629:13;:11;:13::i;:::-;:35;80560:104;80556:148;;;-1:-1:-1;;80684:12:0;;;80467:346::o;80556:148::-;80753:11;;80738;80714:21;80724:10;80714:9;:21::i;:::-;:35;;;;:::i;:::-;:50;80710:98;;-1:-1:-1;;80783:17:0;;;80467:346::o;80710:98::-;80467:346;;;:::o;42896:112::-;42973:27;42983:2;42987:8;42973:27;;;;;;;;;;;;:9;:27::i;27298:282::-;27363:4;27419:7;84329:1;27400:26;;:66;;;;;27453:13;;27443:7;:23;27400:66;:153;;;;-1:-1:-1;;27504:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27504:44:0;:49;;27298:282::o;21918:1275::-;21985:7;22020;;84329:1;22069:23;22065:1061;;22122:13;;22115:4;:20;22111:1015;;;22160:14;22177:23;;;:17;:23;;;;;;;-1:-1:-1;;;22266:24:0;;:29;;22262:845;;22931:113;22938:6;22948:1;22938:11;22931:113;;-1:-1:-1;;;23009:6:0;22991:25;;;;:17;:25;;;;;;22931:113;;22262:845;22137:989;22111:1015;23154:31;;-1:-1:-1;;;23154:31:0;;;;;;;;;;;76380:191;76473:6;;;-1:-1:-1;;;;;76490:17:0;;;-1:-1:-1;;;;;;76490:17:0;;;;;;;76523:40;;76473:6;;;76490:17;76473:6;;76523:40;;76454:16;;76523:40;76443:128;76380:191;:::o;21366:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21494:24:0;;;;:17;:24;;;;;;21475:44;;-1:-1:-1;;;;;;;;;;;;;23402:41:0;;;;11123:3;23488:33;;;23454:68;;-1:-1:-1;;;23454:68:0;-1:-1:-1;;;23552:24:0;;:29;;-1:-1:-1;;;23533:48:0;;;;11644:3;23621:28;;;;-1:-1:-1;;;23592:58:0;-1:-1:-1;23292:366:0;35739:716;35923:88;;-1:-1:-1;;;35923:88:0;;35902:4;;-1:-1:-1;;;;;35923:45:0;;;;;:88;;73744:10;;35990:4;;35996:7;;36005:5;;35923:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35923:88:0;;;;;;;;-1:-1:-1;;35923:88:0;;;;;;;;;;;;:::i;:::-;;;35919:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36206:6;:13;36223:1;36206:18;36202:235;;36252:40;;-1:-1:-1;;;36252:40:0;;;;;;;;;;;36202:235;36395:6;36389:13;36380:6;36376:2;36372:15;36365:38;35919:529;-1:-1:-1;;;;;;36082:64:0;-1:-1:-1;;;36082:64:0;;-1:-1:-1;35919:529:0;35739:716;;;;;;:::o;84793:98::-;84853:13;84882:3;84875:10;;;;;:::i;60264:723::-;60320:13;60541:5;60550:1;60541:10;60537:53;;-1:-1:-1;;60568:10:0;;;;;;;;;;;;-1:-1:-1;;;60568:10:0;;;;;60264:723::o;60537:53::-;60615:5;60600:12;60656:78;60663:9;;60656:78;;60689:8;;;;:::i;:::-;;-1:-1:-1;60712:10:0;;-1:-1:-1;60720:2:0;60712:10;;:::i;:::-;;;60656:78;;;60744:19;60776:6;60766:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60766:17:0;;60744:39;;60794:154;60801:10;;60794:154;;60828:11;60838:1;60828:11;;:::i;:::-;;-1:-1:-1;60897:10:0;60905:2;60897:5;:10;:::i;:::-;60884:24;;:2;:24;:::i;:::-;60871:39;;60854:6;60861;60854:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;60854:56:0;;;;;;;;-1:-1:-1;60925:11:0;60934:2;60925:11;;:::i;:::-;;;60794:154;;42123:689;42254:19;42260:2;42264:8;42254:5;:19::i;:::-;-1:-1:-1;;;;;42315:14:0;;;:19;42311:483;;42355:11;42369:13;42417:14;;;42450:233;42481:62;42520:1;42524:2;42528:7;;;;;;42537:5;42481:30;:62::i;:::-;42476:167;;42579:40;;-1:-1:-1;;;42579:40:0;;;;;;;;;;;42476:167;42678:3;42670:5;:11;42450:233;;42765:3;42748:13;;:20;42744:34;;42770:8;;;42744:34;42336:458;;42123:689;;;:::o;36917:2454::-;36990:20;37013:13;;;37041;;;37037:44;;37063:18;;-1:-1:-1;;;37063:18:0;;;;;;;;;;;37037:44;-1:-1:-1;;;;;37569:22:0;;;;;;:18;:22;;;;10602:2;37569:22;;;:71;;37607:32;37595:45;;37569:71;;;37883:31;;;:17;:31;;;;;-1:-1:-1;24583:15:0;;24557:24;24553:46;24152:11;24127:23;24123:41;24120:52;24110:63;;37883:173;;38118:23;;;;37883:31;;37569:22;;38617:25;37569:22;;38470:335;38885:1;38871:12;38867:20;38825:346;38926:3;38917:7;38914:16;38825:346;;39144:7;39134:8;39131:1;39104:25;39101:1;39098;39093:59;38979:1;38966:15;38825:346;;;38829:77;39204:8;39216:1;39204:13;39200:45;;39226:19;;-1:-1:-1;;;39226:19:0;;;;;;;;;;;39200:45;39262:13;:19;-1:-1:-1;32473:185:0;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;;273:32:1;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:258::-;849:1;859:113;873:6;870:1;867:13;859:113;;;949:11;;;943:18;930:11;;;923:39;895:2;888:10;859:113;;;990:6;987:1;984:13;981:48;;;-1:-1:-1;;1025:1:1;1007:16;;1000:27;777:258::o;1040:::-;1082:3;1120:5;1114:12;1147:6;1142:3;1135:19;1163:63;1219:6;1212:4;1207:3;1203:14;1196:4;1189:5;1185:16;1163:63;:::i;:::-;1280:2;1259:15;-1:-1:-1;;1255:29:1;1246:39;;;;1287:4;1242:50;;1040:258;-1:-1:-1;;1040:258:1:o;1303:220::-;1452:2;1441:9;1434:21;1415:4;1472:45;1513:2;1502:9;1498:18;1490:6;1472:45;:::i;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;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;2173:127::-;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:632;2370:5;2400:18;2441:2;2433:6;2430:14;2427:40;;;2447:18;;:::i;:::-;2522:2;2516:9;2490:2;2576:15;;-1:-1:-1;;2572:24:1;;;2598:2;2568:33;2564:42;2552:55;;;2622:18;;;2642:22;;;2619:46;2616:72;;;2668:18;;:::i;:::-;2708:10;2704:2;2697:22;2737:6;2728:15;;2767:6;2759;2752:22;2807:3;2798:6;2793:3;2789:16;2786:25;2783:45;;;2824:1;2821;2814:12;2783:45;2874:6;2869:3;2862:4;2854:6;2850:17;2837:44;2929:1;2922:4;2913:6;2905;2901:19;2897:30;2890:41;;;;2305:632;;;;;:::o;2942:451::-;3011:6;3064:2;3052:9;3043:7;3039:23;3035:32;3032:52;;;3080:1;3077;3070:12;3032:52;3120:9;3107:23;3153:18;3145:6;3142:30;3139:50;;;3185:1;3182;3175:12;3139:50;3208:22;;3261:4;3253:13;;3249:27;-1:-1:-1;3239:55:1;;3290:1;3287;3280:12;3239:55;3313:74;3379:7;3374:2;3361:16;3356:2;3352;3348:11;3313:74;:::i;3580:328::-;3657:6;3665;3673;3726:2;3714:9;3705:7;3701:23;3697:32;3694:52;;;3742:1;3739;3732:12;3694:52;3765:29;3784:9;3765:29;:::i;:::-;3755:39;;3813:38;3847:2;3836:9;3832:18;3813:38;:::i;:::-;3803:48;;3898:2;3887:9;3883:18;3870:32;3860:42;;3580:328;;;;;:::o;3913:186::-;3972:6;4025:2;4013:9;4004:7;4000:23;3996:32;3993:52;;;4041:1;4038;4031:12;3993:52;4064:29;4083:9;4064:29;:::i;4104:254::-;4172:6;4180;4233:2;4221:9;4212:7;4208:23;4204:32;4201:52;;;4249:1;4246;4239:12;4201:52;4285:9;4272:23;4262:33;;4314:38;4348:2;4337:9;4333:18;4314:38;:::i;:::-;4304:48;;4104:254;;;;;:::o;4363:632::-;4534:2;4586:21;;;4656:13;;4559:18;;;4678:22;;;4505:4;;4534:2;4757:15;;;;4731:2;4716:18;;;4505:4;4800:169;4814:6;4811:1;4808:13;4800:169;;;4875:13;;4863:26;;4944:15;;;;4909:12;;;;4836:1;4829:9;4800:169;;;-1:-1:-1;4986:3:1;;4363:632;-1:-1:-1;;;;;;4363:632:1:o;5000:160::-;5065:20;;5121:13;;5114:21;5104:32;;5094:60;;5150:1;5147;5140:12;5165:254;5230:6;5238;5291:2;5279:9;5270:7;5266:23;5262:32;5259:52;;;5307:1;5304;5297:12;5259:52;5330:29;5349:9;5330:29;:::i;:::-;5320:39;;5378:35;5409:2;5398:9;5394:18;5378:35;:::i;5424:667::-;5519:6;5527;5535;5543;5596:3;5584:9;5575:7;5571:23;5567:33;5564:53;;;5613:1;5610;5603:12;5564:53;5636:29;5655:9;5636:29;:::i;:::-;5626:39;;5684:38;5718:2;5707:9;5703:18;5684:38;:::i;:::-;5674:48;;5769:2;5758:9;5754:18;5741:32;5731:42;;5824:2;5813:9;5809:18;5796:32;5851:18;5843:6;5840:30;5837:50;;;5883:1;5880;5873:12;5837:50;5906:22;;5959:4;5951:13;;5947:27;-1:-1:-1;5937:55:1;;5988:1;5985;5978:12;5937:55;6011:74;6077:7;6072:2;6059:16;6054:2;6050;6046:11;6011:74;:::i;:::-;6001:84;;;5424:667;;;;;;;:::o;6096:180::-;6152:6;6205:2;6193:9;6184:7;6180:23;6176:32;6173:52;;;6221:1;6218;6211:12;6173:52;6244:26;6260:9;6244:26;:::i;6281:260::-;6349:6;6357;6410:2;6398:9;6389:7;6385:23;6381:32;6378:52;;;6426:1;6423;6416:12;6378:52;6449:29;6468:9;6449:29;:::i;:::-;6439:39;;6497:38;6531:2;6520:9;6516:18;6497:38;:::i;6546:380::-;6625:1;6621:12;;;;6668;;;6689:61;;6743:4;6735:6;6731:17;6721:27;;6689:61;6796:2;6788:6;6785:14;6765:18;6762:38;6759:161;;6842:10;6837:3;6833:20;6830:1;6823:31;6877:4;6874:1;6867:15;6905:4;6902:1;6895:15;6759:161;;6546:380;;;:::o;7628:127::-;7689:10;7684:3;7680:20;7677:1;7670:31;7720:4;7717:1;7710:15;7744:4;7741:1;7734:15;7760:128;7800:3;7831:1;7827:6;7824:1;7821:13;7818:39;;;7837:18;;:::i;:::-;-1:-1:-1;7873:9:1;;7760:128::o;8600:168::-;8640:7;8706:1;8702;8698:6;8694:14;8691:1;8688:21;8683:1;8676:9;8669:17;8665:45;8662:71;;;8713:18;;:::i;:::-;-1:-1:-1;8753:9:1;;8600:168::o;9247:545::-;9349:2;9344:3;9341:11;9338:448;;;9385:1;9410:5;9406:2;9399:17;9455:4;9451:2;9441:19;9525:2;9513:10;9509:19;9506:1;9502:27;9496:4;9492:38;9561:4;9549:10;9546:20;9543:47;;;-1:-1:-1;9584:4:1;9543:47;9639:2;9634:3;9630:12;9627:1;9623:20;9617:4;9613:31;9603:41;;9694:82;9712:2;9705:5;9702:13;9694:82;;;9757:17;;;9738:1;9727:13;9694:82;;9968:1352;10094:3;10088:10;10121:18;10113:6;10110:30;10107:56;;;10143:18;;:::i;:::-;10172:97;10262:6;10222:38;10254:4;10248:11;10222:38;:::i;:::-;10216:4;10172:97;:::i;:::-;10324:4;;10388:2;10377:14;;10405:1;10400:663;;;;11107:1;11124:6;11121:89;;;-1:-1:-1;11176:19:1;;;11170:26;11121:89;-1:-1:-1;;9925:1:1;9921:11;;;9917:24;9913:29;9903:40;9949:1;9945:11;;;9900:57;11223:81;;10370:944;;10400:663;9194:1;9187:14;;;9231:4;9218:18;;-1:-1:-1;;10436:20:1;;;10554:236;10568:7;10565:1;10562:14;10554:236;;;10657:19;;;10651:26;10636:42;;10749:27;;;;10717:1;10705:14;;;;10584:19;;10554:236;;;10558:3;10818:6;10809:7;10806:19;10803:201;;;10879:19;;;10873:26;-1:-1:-1;;10962:1:1;10958:14;;;10974:3;10954:24;10950:37;10946:42;10931:58;10916:74;;10803:201;-1:-1:-1;;;;;11050:1:1;11034:14;;;11030:22;11017:36;;-1:-1:-1;9968:1352:1:o;11535:127::-;11596:10;11591:3;11587:20;11584:1;11577:31;11627:4;11624:1;11617:15;11651:4;11648:1;11641:15;12083:1230;12307:3;12345:6;12339:13;12371:4;12384:51;12428:6;12423:3;12418:2;12410:6;12406:15;12384:51;:::i;:::-;12498:13;;12457:16;;;;12520:55;12498:13;12457:16;12542:15;;;12520:55;:::i;:::-;12664:13;;12597:20;;;12637:1;;12702:36;12664:13;12702:36;:::i;:::-;12757:1;12774:18;;;12801:141;;;;12956:1;12951:337;;;;12767:521;;12801:141;-1:-1:-1;;12836:24:1;;12822:39;;12913:16;;12906:24;12892:39;;12881:51;;;-1:-1:-1;12801:141:1;;12951:337;12982:6;12979:1;12972:17;13030:2;13027:1;13017:16;13055:1;13069:169;13083:8;13080:1;13077:15;13069:169;;;13165:14;;13150:13;;;13143:37;13208:16;;;;13100:10;;13069:169;;;13073:3;;13269:8;13262:5;13258:20;13251:27;;12767:521;-1:-1:-1;13304:3:1;;12083:1230;-1:-1:-1;;;;;;;;;;12083:1230:1:o;14086:489::-;-1:-1:-1;;;;;14355:15:1;;;14337:34;;14407:15;;14402:2;14387:18;;14380:43;14454:2;14439:18;;14432:34;;;14502:3;14497:2;14482:18;;14475:31;;;14280:4;;14523:46;;14549:19;;14541:6;14523:46;:::i;:::-;14515:54;14086:489;-1:-1:-1;;;;;;14086:489:1:o;14580:249::-;14649:6;14702:2;14690:9;14681:7;14677:23;14673:32;14670:52;;;14718:1;14715;14708:12;14670:52;14750:9;14744:16;14769:30;14793:5;14769:30;:::i;14834:135::-;14873:3;14894:17;;;14891:43;;14914:18;;:::i;:::-;-1:-1:-1;14961:1:1;14950:13;;14834:135::o;14974:127::-;15035:10;15030:3;15026:20;15023:1;15016:31;15066:4;15063:1;15056:15;15090:4;15087:1;15080:15;15106:120;15146:1;15172;15162:35;;15177:18;;:::i;:::-;-1:-1:-1;15211:9:1;;15106:120::o;15231:125::-;15271:4;15299:1;15296;15293:8;15290:34;;;15304:18;;:::i;:::-;-1:-1:-1;15341:9:1;;15231:125::o;15361:112::-;15393:1;15419;15409:35;;15424:18;;:::i;:::-;-1:-1:-1;15458:9:1;;15361:112::o
Swarm Source
ipfs://e406109f2c5a758e93085674bf7319ab8670c78f4e82f2ccd0d49cb699121c5f
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.