ERC-721
Overview
Max Total Supply
2,221 VGA
Holders
358
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
25 VGALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
V3GA
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-03 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/contract/MutableOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title MutableOperatorFilterer * @author shinji at shinji.xyz * @notice Allows the contract to change the registrant contract as well as the registrant address it listens to. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * * The contract will need to be registered with the registry once it is deployed in * order for the modifier to filter addresses. */ contract MutableOperatorFilterer is Ownable { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); // The contract with the filtering implementation address public OPERATOR_FILTER_REGISTRY_ADDRESS; // The agent the main contract listens to for filtering operators address public FILTER_REGISTRANT; IOperatorFilterRegistry public OPERATOR_FILTER_REGISTRY; constructor( address operatorFilterRegistryAddress, address operatorFilterRegistrant ) { OPERATOR_FILTER_REGISTRY_ADDRESS = operatorFilterRegistryAddress; OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry( OPERATOR_FILTER_REGISTRY_ADDRESS ); FILTER_REGISTRANT = operatorFilterRegistrant; } /** * @notice Allows the owner to set a new registrant contract. */ function setOperatorFilterRegistry( address registryAddress ) external onlyOwner { OPERATOR_FILTER_REGISTRY_ADDRESS = registryAddress; OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry( OPERATOR_FILTER_REGISTRY_ADDRESS ); } /** * @notice Allows the owner to set a new registrant address. */ function setFilterRegistrant(address newRegistrant) external onlyOwner { FILTER_REGISTRANT = newRegistrant; } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if ( !OPERATOR_FILTER_REGISTRY.isOperatorAllowed( FILTER_REGISTRANT, operator ) ) { revert OperatorNotAllowed(operator); } } } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // 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/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // 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: contracts/contract/V3GA.sol /** ____ ____________ ________ _____ \ \ / /\_____ \ / _____/ / _ \ \ Y / _(__ </ \ ___ / /_\ \ \ / / \ \_\ \/ | \ \___/ /______ /\______ /\____|__ / \/ \/ \/ */ pragma solidity ^0.8.18; contract V3GA is MutableOperatorFilterer, ERC721A, ERC721AQueryable, ERC2981 { string private baseURI; address public ownerAddr = 0xBc2E16F8058636334962D0C0E4e027238A09Ed82; // Total NFTs that can be minted uint256 public maxSupply = 2222; uint256 public mintPrice = 0.005 ether; bool public pausedMint = true; constructor( string memory name, string memory symbol, string memory initBaseURI, address operatorFilterRegistryAddress, address operatorFilterRegistrant ) ERC721A(name, symbol) MutableOperatorFilterer( operatorFilterRegistryAddress, operatorFilterRegistrant ) { setBaseURI(initBaseURI); } // Public mint function mint(uint256 num) external payable { uint256 supply = totalSupply(); require(!pausedMint, "Minting is paused"); require(supply + num < maxSupply, "Exceeds maximum NFTs supply"); require(msg.value == mintPrice * num, "Ether sent is not correct"); _safeMint(msg.sender, num); } function giveAway(address recipient, uint256 num) external onlyOwner { uint256 supply = totalSupply(); require(supply + num < maxSupply, "Exceeds maximum NFTs supply"); _safeMint(recipient, num); } function setMintPrice(uint256 priceInWei) external onlyOwner { mintPrice = priceInWei; } function paused(bool val) external onlyOwner { pausedMint = val; } function setMaxSupply(uint256 val) external onlyOwner { maxSupply = val; } function setWithdrawAddress(address val) external onlyOwner { ownerAddr = val; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Include trailing slash in uri function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function withdrawAll() external payable onlyOwner { uint256 all = address(this).balance; require(payable(ownerAddr).send(all)); } /******************** * OPERATOR FILTER ********************/ function setApprovalForAll( address operator, bool approved ) public override(ERC721A, IERC721A) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve( address operator, uint256 tokenId ) public payable override(ERC721A, IERC721A) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override(ERC721A, IERC721A) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(ERC721A, IERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override(ERC721A, IERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /************ * 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(ERC721A, IERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } /************* * IERC2981 *************/ /** * @notice Allows the owner to set default royalties following EIP-2981 royalty standard. * - `feeNumerator` defaults to basis points e.g. 500 is 5% */ function setDefaultRoyalty( address receiver, uint96 feeNumerator ) external onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"initBaseURI","type":"string"},{"internalType":"address","name":"operatorFilterRegistryAddress","type":"address"},{"internalType":"address","name":"operatorFilterRegistrant","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FILTER_REGISTRANT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":[],"name":"ownerAddr","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":"bool","name":"val","type":"bool"}],"name":"paused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausedMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistrant","type":"address"}],"name":"setFilterRegistrant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"registryAddress","type":"address"}],"name":"setOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"val","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052600f80546001600160a01b03191673bc2e16f8058636334962d0c0e4e027238a09ed821790556108ae6010556611c37937e080006011556012805460ff191660011790553480156200005557600080fd5b50604051620027df380380620027df8339810160408190526200007891620002aa565b848483836200008733620000fb565b600180546001600160a01b039384166001600160a01b03199182168117909255600380548216909217909155600280549290931691161790556006620000ce8382620003f0565b506007620000dd8282620003f0565b5050600060045550620000f0836200014b565b5050505050620004bc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200015562000167565b600e620001638282620003f0565b5050565b6000546001600160a01b03163314620001c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001f057600080fd5b81516001600160401b03808211156200020d576200020d620001c8565b604051601f8301601f19908116603f01168101908282118183101715620002385762000238620001c8565b816040528381526020925086838588010111156200025557600080fd5b600091505b838210156200027957858201830151818301840152908201906200025a565b600093810190920192909252949350505050565b80516001600160a01b0381168114620002a557600080fd5b919050565b600080600080600060a08688031215620002c357600080fd5b85516001600160401b0380821115620002db57600080fd5b620002e989838a01620001de565b965060208801519150808211156200030057600080fd5b6200030e89838a01620001de565b955060408801519150808211156200032557600080fd5b506200033488828901620001de565b93505062000345606087016200028d565b915062000355608087016200028d565b90509295509295909350565b600181811c908216806200037657607f821691505b6020821081036200039757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003eb57600081815260208120601f850160051c81016020861015620003c65750805b601f850160051c820191505b81811015620003e757828155600101620003d2565b5050505b505050565b81516001600160401b038111156200040c576200040c620001c8565b62000424816200041d845462000361565b846200039d565b602080601f8311600181146200045c5760008415620004435750858301515b600019600386901b1c1916600185901b178555620003e7565b600085815260208120601f198616915b828110156200048d578886015182559484019460019091019084016200046c565b5085821015620004ac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61231380620004cc6000396000f3fe60806040526004361061023b5760003560e01c8063837150cf1161012e578063a22cb465116100ab578063ccea3c841161006f578063ccea3c8414610699578063d5abeb01146106b9578063e985e9c5146106cf578063f2fde38b14610718578063f4a0a5281461073857600080fd5b8063a22cb465146105f9578063b88d4fde14610619578063c23dc68f1461062c578063c87b56dd14610659578063ca8001441461067957600080fd5b806395d89b41116100f257806395d89b411461057757806399a2557a1461058c5780639c675eaa146105ac5780639f1a3d9c146105cc578063a0712d68146105e657600080fd5b8063837150cf146104e45780638462151c14610504578063853828b61461053157806385db1453146105395780638da5cb5b1461055957600080fd5b806342842e0e116101bc5780636817c76c116101805780636817c76c146104595780636f8b44b01461046f57806370a082311461048f578063715018a6146104af57806380703cf4146104c457600080fd5b806342842e0e146103b95780634996527c146103cc57806355f804b3146103ec5780635bbb21771461040c5780636352211e1461043957600080fd5b806318160ddd1161020357806318160ddd1461030457806323b872dd146103275780632a55205a1461033a5780633ab1a4941461037957806341f434341461039957600080fd5b806301ffc9a71461024057806304634d8d1461027557806306fdde0314610297578063081812fc146102b9578063095ea7b3146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611b9c565b610758565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b50610295610290366004611bd5565b610778565b005b3480156102a357600080fd5b506102ac61078e565b60405161026c9190611c68565b3480156102c557600080fd5b506102d96102d4366004611c7b565b610820565b6040516001600160a01b03909116815260200161026c565b6102956102ff366004611c94565b610864565b34801561031057600080fd5b50600554600454035b60405190815260200161026c565b610295610335366004611cbe565b61087d565b34801561034657600080fd5b5061035a610355366004611cfa565b6108a8565b604080516001600160a01b03909316835260208301919091520161026c565b34801561038557600080fd5b50610295610394366004611d1c565b610954565b3480156103a557600080fd5b506003546102d9906001600160a01b031681565b6102956103c7366004611cbe565b61097e565b3480156103d857600080fd5b506102956103e7366004611d1c565b6109a3565b3480156103f857600080fd5b50610295610407366004611dc3565b6109d7565b34801561041857600080fd5b5061042c610427366004611e0c565b6109eb565b60405161026c9190611ebe565b34801561044557600080fd5b506102d9610454366004611c7b565b610ab7565b34801561046557600080fd5b5061031960115481565b34801561047b57600080fd5b5061029561048a366004611c7b565b610ac2565b34801561049b57600080fd5b506103196104aa366004611d1c565b610acf565b3480156104bb57600080fd5b50610295610b1e565b3480156104d057600080fd5b506102956104df366004611d1c565b610b32565b3480156104f057600080fd5b506102956104ff366004611f0e565b610b5c565b34801561051057600080fd5b5061052461051f366004611d1c565b610b77565b60405161026c9190611f2b565b610295610c80565b34801561054557600080fd5b506001546102d9906001600160a01b031681565b34801561056557600080fd5b506000546001600160a01b03166102d9565b34801561058357600080fd5b506102ac610cbd565b34801561059857600080fd5b506105246105a7366004611f63565b610ccc565b3480156105b857600080fd5b50600f546102d9906001600160a01b031681565b3480156105d857600080fd5b506012546102609060ff1681565b6102956105f4366004611c7b565b610e46565b34801561060557600080fd5b50610295610614366004611f96565b610f64565b610295610627366004611fc2565b610f78565b34801561063857600080fd5b5061064c610647366004611c7b565b610fa5565b60405161026c919061203e565b34801561066557600080fd5b506102ac610674366004611c7b565b61101d565b34801561068557600080fd5b50610295610694366004611c94565b6110a0565b3480156106a557600080fd5b506002546102d9906001600160a01b031681565b3480156106c557600080fd5b5061031960105481565b3480156106db57600080fd5b506102606106ea36600461204c565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b34801561072457600080fd5b50610295610733366004611d1c565b61111e565b34801561074457600080fd5b50610295610753366004611c7b565b611194565b6000610763826111a1565b806107725750610772826111ef565b92915050565b610780611224565b61078a828261127e565b5050565b60606006805461079d9061207f565b80601f01602080910402602001604051908101604052809291908181526020018280546107c99061207f565b80156108165780601f106107eb57610100808354040283529160200191610816565b820191906000526020600020905b8154815290600101906020018083116107f957829003601f168201915b5050505050905090565b600061082b8261137b565b610848576040516333d1c03960e21b815260040160405180910390fd5b506000908152600a60205260409020546001600160a01b031690565b8161086e816113a3565b6108788383611455565b505050565b826001600160a01b038116331461089757610897336113a3565b6108a28484846114f5565b50505050565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161091d575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061093c906001600160601b0316876120cf565b61094691906120e6565b915196919550909350505050565b61095c611224565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b038116331461099857610998336113a3565b6108a284848461168e565b6109ab611224565b600180546001600160a01b039092166001600160a01b0319928316811790915560038054909216179055565b6109df611224565b600e61078a828261214e565b60608160008167ffffffffffffffff811115610a0957610a09611d37565b604051908082528060200260200182016040528015610a5b57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a275790505b50905060005b828114610aae57610a89868683818110610a7d57610a7d61220e565b90506020020135610fa5565b828281518110610a9b57610a9b61220e565b6020908102919091010152600101610a61565b50949350505050565b6000610772826116a9565b610aca611224565b601055565b60006001600160a01b038216610af8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526009602052604090205467ffffffffffffffff1690565b610b26611224565b610b306000611710565b565b610b3a611224565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610b64611224565b6012805460ff1916911515919091179055565b60606000806000610b8785610acf565b905060008167ffffffffffffffff811115610ba457610ba4611d37565b604051908082528060200260200182016040528015610bcd578160200160208202803683370190505b509050610bfa60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610c7457610c0d81611760565b91508160400151610c6c5781516001600160a01b031615610c2d57815194505b876001600160a01b0316856001600160a01b031603610c6c5780838780600101985081518110610c5f57610c5f61220e565b6020026020010181815250505b600101610bfd565b50909695505050505050565b610c88611224565b600f5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050610cba57600080fd5b50565b60606007805461079d9061207f565b6060818310610cee57604051631960ccad60e11b815260040160405180910390fd5b600080610cfa60045490565b905080841115610d08578093505b6000610d1387610acf565b905084861015610d325785850381811015610d2c578091505b50610d36565b5060005b60008167ffffffffffffffff811115610d5157610d51611d37565b604051908082528060200260200182016040528015610d7a578160200160208202803683370190505b50905081600003610d90579350610e3f92505050565b6000610d9b88610fa5565b905060008160400151610dac575080515b885b888114158015610dbe5750848714155b15610e3357610dcc81611760565b92508260400151610e2b5782516001600160a01b031615610dec57825191505b8a6001600160a01b0316826001600160a01b031603610e2b5780848880600101995081518110610e1e57610e1e61220e565b6020026020010181815250505b600101610dae565b50505092835250909150505b9392505050565b6000610e556005546004540390565b60125490915060ff1615610ea45760405162461bcd60e51b8152602060048201526011602482015270135a5b9d1a5b99c81a5cc81c185d5cd959607a1b60448201526064015b60405180910390fd5b601054610eb18383612224565b10610efe5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d204e46547320737570706c7900000000006044820152606401610e9b565b81601154610f0c91906120cf565b3414610f5a5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610e9b565b61078a338361179c565b81610f6e816113a3565b61087883836117b6565b836001600160a01b0381163314610f9257610f92336113a3565b610f9e85858585611822565b5050505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506004548310610ff95792915050565b61100283611760565b90508060400151156110145792915050565b610e3f83611866565b60606110288261137b565b61104557604051630a14c4b560e41b815260040160405180910390fd5b600061104f61189b565b9050805160000361106f5760405180602001604052806000815250610e3f565b80611079846118aa565b60405160200161108a929190612237565b6040516020818303038152906040529392505050565b6110a8611224565b60006110b76005546004540390565b6010549091506110c78383612224565b106111145760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d204e46547320737570706c7900000000006044820152606401610e9b565b610878838361179c565b611126611224565b6001600160a01b03811661118b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e9b565b610cba81611710565b61119c611224565b601155565b60006301ffc9a760e01b6001600160e01b0319831614806111d257506380ac58cd60e01b6001600160e01b03198316145b806107725750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061077257506301ffc9a760e01b6001600160e01b0319831614610772565b6000546001600160a01b03163314610b305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e9b565b6127106001600160601b03821611156112ec5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610e9b565b6001600160a01b0382166113425760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610e9b565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b600060045482108015610772575050600090815260086020526040902054600160e01b161590565b6003546001600160a01b03163b15610cba57600354600254604051633185c44d60e21b81526001600160a01b039182166004820152838216602482015291169063c617113490604401602060405180830381865afa158015611409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142d9190612266565b610cba57604051633b79c77360e21b81526001600160a01b0382166004820152602401610e9b565b600061146082610ab7565b9050336001600160a01b038216146114995761147c81336106ea565b611499576040516367d9dca160e11b815260040160405180910390fd5b6000828152600a602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611500826116a9565b9050836001600160a01b0316816001600160a01b0316146115335760405162a1148160e81b815260040160405180910390fd5b6000828152600a602052604090208054338082146001600160a01b038816909114176115805761156386336106ea565b61158057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166115a757604051633a954ecd60e21b815260040160405180910390fd5b80156115b257600082555b6001600160a01b038681166000908152600960205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260086020526040812091909155600160e11b84169003611644576001840160008181526008602052604081205490036116425760045481146116425760008181526008602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61087883838360405180602001604052806000815250610f78565b6000816004548110156116f75760008181526008602052604081205490600160e01b821690036116f5575b80600003610e3f5750600019016000818152600860205260409020546116d4565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260086020526040902054610772906118ee565b61078a828260405180602001604052806000815250611936565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61182d84848461087d565b6001600160a01b0383163b156108a2576118498484848461199c565b6108a2576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610772611896836116a9565b6118ee565b6060600e805461079d9061207f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806118c45750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6119408383611a88565b6001600160a01b0383163b15610878576004548281035b61196a600086838060010194508661199c565b611987576040516368d2bf6b60e11b815260040160405180910390fd5b818110611957578160045414610f9e57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119d1903390899088908890600401612283565b6020604051808303816000875af1925050508015611a0c575060408051601f3d908101601f19168201909252611a09918101906122c0565b60015b611a6a573d808015611a3a576040519150601f19603f3d011682016040523d82523d6000602084013e611a3f565b606091505b508051600003611a62576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6004546000829003611aad5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526009602090815260408083208054680100000000000000018802019055848352600890915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b5c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b24565b5081600003611b7d57604051622e076360e81b815260040160405180910390fd5b60045550505050565b6001600160e01b031981168114610cba57600080fd5b600060208284031215611bae57600080fd5b8135610e3f81611b86565b80356001600160a01b0381168114611bd057600080fd5b919050565b60008060408385031215611be857600080fd5b611bf183611bb9565b915060208301356001600160601b0381168114611c0d57600080fd5b809150509250929050565b60005b83811015611c33578181015183820152602001611c1b565b50506000910152565b60008151808452611c54816020860160208601611c18565b601f01601f19169290920160200192915050565b602081526000610e3f6020830184611c3c565b600060208284031215611c8d57600080fd5b5035919050565b60008060408385031215611ca757600080fd5b611cb083611bb9565b946020939093013593505050565b600080600060608486031215611cd357600080fd5b611cdc84611bb9565b9250611cea60208501611bb9565b9150604084013590509250925092565b60008060408385031215611d0d57600080fd5b50508035926020909101359150565b600060208284031215611d2e57600080fd5b610e3f82611bb9565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d6857611d68611d37565b604051601f8501601f19908116603f01168101908282118183101715611d9057611d90611d37565b81604052809350858152868686011115611da957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611dd557600080fd5b813567ffffffffffffffff811115611dec57600080fd5b8201601f81018413611dfd57600080fd5b611a8084823560208401611d4d565b60008060208385031215611e1f57600080fd5b823567ffffffffffffffff80821115611e3757600080fd5b818501915085601f830112611e4b57600080fd5b813581811115611e5a57600080fd5b8660208260051b8501011115611e6f57600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c7457611eed838551611e81565b9284019260809290920191600101611eda565b8015158114610cba57600080fd5b600060208284031215611f2057600080fd5b8135610e3f81611f00565b6020808252825182820181905260009190848201906040850190845b81811015610c7457835183529284019291840191600101611f47565b600080600060608486031215611f7857600080fd5b611f8184611bb9565b95602085013595506040909401359392505050565b60008060408385031215611fa957600080fd5b611fb283611bb9565b91506020830135611c0d81611f00565b60008060008060808587031215611fd857600080fd5b611fe185611bb9565b9350611fef60208601611bb9565b925060408501359150606085013567ffffffffffffffff81111561201257600080fd5b8501601f8101871361202357600080fd5b61203287823560208401611d4d565b91505092959194509250565b608081016107728284611e81565b6000806040838503121561205f57600080fd5b61206883611bb9565b915061207660208401611bb9565b90509250929050565b600181811c9082168061209357607f821691505b6020821081036120b357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610772576107726120b9565b60008261210357634e487b7160e01b600052601260045260246000fd5b500490565b601f82111561087857600081815260208120601f850160051c8101602086101561212f5750805b601f850160051c820191505b818110156116865782815560010161213b565b815167ffffffffffffffff81111561216857612168611d37565b61217c81612176845461207f565b84612108565b602080601f8311600181146121b157600084156121995750858301515b600019600386901b1c1916600185901b178555611686565b600085815260208120601f198616915b828110156121e0578886015182559484019460019091019084016121c1565b50858210156121fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b80820180821115610772576107726120b9565b60008351612249818460208801611c18565b83519083019061225d818360208801611c18565b01949350505050565b60006020828403121561227857600080fd5b8151610e3f81611f00565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122b690830184611c3c565b9695505050505050565b6000602082840312156122d257600080fd5b8151610e3f81611b8656fea2646970667358221220d96b60252225516b4a3c9e6bab5ebd2777abd797f2a60835b083e6696412ddeb64736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb60000000000000000000000000000000000000000000000000000000000000004563347410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035647410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f763367612e73706163652f6170692f6e66742f0000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063837150cf1161012e578063a22cb465116100ab578063ccea3c841161006f578063ccea3c8414610699578063d5abeb01146106b9578063e985e9c5146106cf578063f2fde38b14610718578063f4a0a5281461073857600080fd5b8063a22cb465146105f9578063b88d4fde14610619578063c23dc68f1461062c578063c87b56dd14610659578063ca8001441461067957600080fd5b806395d89b41116100f257806395d89b411461057757806399a2557a1461058c5780639c675eaa146105ac5780639f1a3d9c146105cc578063a0712d68146105e657600080fd5b8063837150cf146104e45780638462151c14610504578063853828b61461053157806385db1453146105395780638da5cb5b1461055957600080fd5b806342842e0e116101bc5780636817c76c116101805780636817c76c146104595780636f8b44b01461046f57806370a082311461048f578063715018a6146104af57806380703cf4146104c457600080fd5b806342842e0e146103b95780634996527c146103cc57806355f804b3146103ec5780635bbb21771461040c5780636352211e1461043957600080fd5b806318160ddd1161020357806318160ddd1461030457806323b872dd146103275780632a55205a1461033a5780633ab1a4941461037957806341f434341461039957600080fd5b806301ffc9a71461024057806304634d8d1461027557806306fdde0314610297578063081812fc146102b9578063095ea7b3146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611b9c565b610758565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b50610295610290366004611bd5565b610778565b005b3480156102a357600080fd5b506102ac61078e565b60405161026c9190611c68565b3480156102c557600080fd5b506102d96102d4366004611c7b565b610820565b6040516001600160a01b03909116815260200161026c565b6102956102ff366004611c94565b610864565b34801561031057600080fd5b50600554600454035b60405190815260200161026c565b610295610335366004611cbe565b61087d565b34801561034657600080fd5b5061035a610355366004611cfa565b6108a8565b604080516001600160a01b03909316835260208301919091520161026c565b34801561038557600080fd5b50610295610394366004611d1c565b610954565b3480156103a557600080fd5b506003546102d9906001600160a01b031681565b6102956103c7366004611cbe565b61097e565b3480156103d857600080fd5b506102956103e7366004611d1c565b6109a3565b3480156103f857600080fd5b50610295610407366004611dc3565b6109d7565b34801561041857600080fd5b5061042c610427366004611e0c565b6109eb565b60405161026c9190611ebe565b34801561044557600080fd5b506102d9610454366004611c7b565b610ab7565b34801561046557600080fd5b5061031960115481565b34801561047b57600080fd5b5061029561048a366004611c7b565b610ac2565b34801561049b57600080fd5b506103196104aa366004611d1c565b610acf565b3480156104bb57600080fd5b50610295610b1e565b3480156104d057600080fd5b506102956104df366004611d1c565b610b32565b3480156104f057600080fd5b506102956104ff366004611f0e565b610b5c565b34801561051057600080fd5b5061052461051f366004611d1c565b610b77565b60405161026c9190611f2b565b610295610c80565b34801561054557600080fd5b506001546102d9906001600160a01b031681565b34801561056557600080fd5b506000546001600160a01b03166102d9565b34801561058357600080fd5b506102ac610cbd565b34801561059857600080fd5b506105246105a7366004611f63565b610ccc565b3480156105b857600080fd5b50600f546102d9906001600160a01b031681565b3480156105d857600080fd5b506012546102609060ff1681565b6102956105f4366004611c7b565b610e46565b34801561060557600080fd5b50610295610614366004611f96565b610f64565b610295610627366004611fc2565b610f78565b34801561063857600080fd5b5061064c610647366004611c7b565b610fa5565b60405161026c919061203e565b34801561066557600080fd5b506102ac610674366004611c7b565b61101d565b34801561068557600080fd5b50610295610694366004611c94565b6110a0565b3480156106a557600080fd5b506002546102d9906001600160a01b031681565b3480156106c557600080fd5b5061031960105481565b3480156106db57600080fd5b506102606106ea36600461204c565b6001600160a01b039182166000908152600b6020908152604080832093909416825291909152205460ff1690565b34801561072457600080fd5b50610295610733366004611d1c565b61111e565b34801561074457600080fd5b50610295610753366004611c7b565b611194565b6000610763826111a1565b806107725750610772826111ef565b92915050565b610780611224565b61078a828261127e565b5050565b60606006805461079d9061207f565b80601f01602080910402602001604051908101604052809291908181526020018280546107c99061207f565b80156108165780601f106107eb57610100808354040283529160200191610816565b820191906000526020600020905b8154815290600101906020018083116107f957829003601f168201915b5050505050905090565b600061082b8261137b565b610848576040516333d1c03960e21b815260040160405180910390fd5b506000908152600a60205260409020546001600160a01b031690565b8161086e816113a3565b6108788383611455565b505050565b826001600160a01b038116331461089757610897336113a3565b6108a28484846114f5565b50505050565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161091d575060408051808201909152600c546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061093c906001600160601b0316876120cf565b61094691906120e6565b915196919550909350505050565b61095c611224565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b038116331461099857610998336113a3565b6108a284848461168e565b6109ab611224565b600180546001600160a01b039092166001600160a01b0319928316811790915560038054909216179055565b6109df611224565b600e61078a828261214e565b60608160008167ffffffffffffffff811115610a0957610a09611d37565b604051908082528060200260200182016040528015610a5b57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a275790505b50905060005b828114610aae57610a89868683818110610a7d57610a7d61220e565b90506020020135610fa5565b828281518110610a9b57610a9b61220e565b6020908102919091010152600101610a61565b50949350505050565b6000610772826116a9565b610aca611224565b601055565b60006001600160a01b038216610af8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526009602052604090205467ffffffffffffffff1690565b610b26611224565b610b306000611710565b565b610b3a611224565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610b64611224565b6012805460ff1916911515919091179055565b60606000806000610b8785610acf565b905060008167ffffffffffffffff811115610ba457610ba4611d37565b604051908082528060200260200182016040528015610bcd578160200160208202803683370190505b509050610bfa60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610c7457610c0d81611760565b91508160400151610c6c5781516001600160a01b031615610c2d57815194505b876001600160a01b0316856001600160a01b031603610c6c5780838780600101985081518110610c5f57610c5f61220e565b6020026020010181815250505b600101610bfd565b50909695505050505050565b610c88611224565b600f5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050610cba57600080fd5b50565b60606007805461079d9061207f565b6060818310610cee57604051631960ccad60e11b815260040160405180910390fd5b600080610cfa60045490565b905080841115610d08578093505b6000610d1387610acf565b905084861015610d325785850381811015610d2c578091505b50610d36565b5060005b60008167ffffffffffffffff811115610d5157610d51611d37565b604051908082528060200260200182016040528015610d7a578160200160208202803683370190505b50905081600003610d90579350610e3f92505050565b6000610d9b88610fa5565b905060008160400151610dac575080515b885b888114158015610dbe5750848714155b15610e3357610dcc81611760565b92508260400151610e2b5782516001600160a01b031615610dec57825191505b8a6001600160a01b0316826001600160a01b031603610e2b5780848880600101995081518110610e1e57610e1e61220e565b6020026020010181815250505b600101610dae565b50505092835250909150505b9392505050565b6000610e556005546004540390565b60125490915060ff1615610ea45760405162461bcd60e51b8152602060048201526011602482015270135a5b9d1a5b99c81a5cc81c185d5cd959607a1b60448201526064015b60405180910390fd5b601054610eb18383612224565b10610efe5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d204e46547320737570706c7900000000006044820152606401610e9b565b81601154610f0c91906120cf565b3414610f5a5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610e9b565b61078a338361179c565b81610f6e816113a3565b61087883836117b6565b836001600160a01b0381163314610f9257610f92336113a3565b610f9e85858585611822565b5050505050565b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506004548310610ff95792915050565b61100283611760565b90508060400151156110145792915050565b610e3f83611866565b60606110288261137b565b61104557604051630a14c4b560e41b815260040160405180910390fd5b600061104f61189b565b9050805160000361106f5760405180602001604052806000815250610e3f565b80611079846118aa565b60405160200161108a929190612237565b6040516020818303038152906040529392505050565b6110a8611224565b60006110b76005546004540390565b6010549091506110c78383612224565b106111145760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d6178696d756d204e46547320737570706c7900000000006044820152606401610e9b565b610878838361179c565b611126611224565b6001600160a01b03811661118b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e9b565b610cba81611710565b61119c611224565b601155565b60006301ffc9a760e01b6001600160e01b0319831614806111d257506380ac58cd60e01b6001600160e01b03198316145b806107725750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061077257506301ffc9a760e01b6001600160e01b0319831614610772565b6000546001600160a01b03163314610b305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e9b565b6127106001600160601b03821611156112ec5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610e9b565b6001600160a01b0382166113425760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610e9b565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600c55565b600060045482108015610772575050600090815260086020526040902054600160e01b161590565b6003546001600160a01b03163b15610cba57600354600254604051633185c44d60e21b81526001600160a01b039182166004820152838216602482015291169063c617113490604401602060405180830381865afa158015611409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142d9190612266565b610cba57604051633b79c77360e21b81526001600160a01b0382166004820152602401610e9b565b600061146082610ab7565b9050336001600160a01b038216146114995761147c81336106ea565b611499576040516367d9dca160e11b815260040160405180910390fd5b6000828152600a602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611500826116a9565b9050836001600160a01b0316816001600160a01b0316146115335760405162a1148160e81b815260040160405180910390fd5b6000828152600a602052604090208054338082146001600160a01b038816909114176115805761156386336106ea565b61158057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166115a757604051633a954ecd60e21b815260040160405180910390fd5b80156115b257600082555b6001600160a01b038681166000908152600960205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260086020526040812091909155600160e11b84169003611644576001840160008181526008602052604081205490036116425760045481146116425760008181526008602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61087883838360405180602001604052806000815250610f78565b6000816004548110156116f75760008181526008602052604081205490600160e01b821690036116f5575b80600003610e3f5750600019016000818152600860205260409020546116d4565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260086020526040902054610772906118ee565b61078a828260405180602001604052806000815250611936565b336000818152600b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61182d84848461087d565b6001600160a01b0383163b156108a2576118498484848461199c565b6108a2576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610772611896836116a9565b6118ee565b6060600e805461079d9061207f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806118c45750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6119408383611a88565b6001600160a01b0383163b15610878576004548281035b61196a600086838060010194508661199c565b611987576040516368d2bf6b60e11b815260040160405180910390fd5b818110611957578160045414610f9e57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119d1903390899088908890600401612283565b6020604051808303816000875af1925050508015611a0c575060408051601f3d908101601f19168201909252611a09918101906122c0565b60015b611a6a573d808015611a3a576040519150601f19603f3d011682016040523d82523d6000602084013e611a3f565b606091505b508051600003611a62576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6004546000829003611aad5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526009602090815260408083208054680100000000000000018802019055848352600890915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b5c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b24565b5081600003611b7d57604051622e076360e81b815260040160405180910390fd5b60045550505050565b6001600160e01b031981168114610cba57600080fd5b600060208284031215611bae57600080fd5b8135610e3f81611b86565b80356001600160a01b0381168114611bd057600080fd5b919050565b60008060408385031215611be857600080fd5b611bf183611bb9565b915060208301356001600160601b0381168114611c0d57600080fd5b809150509250929050565b60005b83811015611c33578181015183820152602001611c1b565b50506000910152565b60008151808452611c54816020860160208601611c18565b601f01601f19169290920160200192915050565b602081526000610e3f6020830184611c3c565b600060208284031215611c8d57600080fd5b5035919050565b60008060408385031215611ca757600080fd5b611cb083611bb9565b946020939093013593505050565b600080600060608486031215611cd357600080fd5b611cdc84611bb9565b9250611cea60208501611bb9565b9150604084013590509250925092565b60008060408385031215611d0d57600080fd5b50508035926020909101359150565b600060208284031215611d2e57600080fd5b610e3f82611bb9565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d6857611d68611d37565b604051601f8501601f19908116603f01168101908282118183101715611d9057611d90611d37565b81604052809350858152868686011115611da957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611dd557600080fd5b813567ffffffffffffffff811115611dec57600080fd5b8201601f81018413611dfd57600080fd5b611a8084823560208401611d4d565b60008060208385031215611e1f57600080fd5b823567ffffffffffffffff80821115611e3757600080fd5b818501915085601f830112611e4b57600080fd5b813581811115611e5a57600080fd5b8660208260051b8501011115611e6f57600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c7457611eed838551611e81565b9284019260809290920191600101611eda565b8015158114610cba57600080fd5b600060208284031215611f2057600080fd5b8135610e3f81611f00565b6020808252825182820181905260009190848201906040850190845b81811015610c7457835183529284019291840191600101611f47565b600080600060608486031215611f7857600080fd5b611f8184611bb9565b95602085013595506040909401359392505050565b60008060408385031215611fa957600080fd5b611fb283611bb9565b91506020830135611c0d81611f00565b60008060008060808587031215611fd857600080fd5b611fe185611bb9565b9350611fef60208601611bb9565b925060408501359150606085013567ffffffffffffffff81111561201257600080fd5b8501601f8101871361202357600080fd5b61203287823560208401611d4d565b91505092959194509250565b608081016107728284611e81565b6000806040838503121561205f57600080fd5b61206883611bb9565b915061207660208401611bb9565b90509250929050565b600181811c9082168061209357607f821691505b6020821081036120b357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610772576107726120b9565b60008261210357634e487b7160e01b600052601260045260246000fd5b500490565b601f82111561087857600081815260208120601f850160051c8101602086101561212f5750805b601f850160051c820191505b818110156116865782815560010161213b565b815167ffffffffffffffff81111561216857612168611d37565b61217c81612176845461207f565b84612108565b602080601f8311600181146121b157600084156121995750858301515b600019600386901b1c1916600185901b178555611686565b600085815260208120601f198616915b828110156121e0578886015182559484019460019091019084016121c1565b50858210156121fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b80820180821115610772576107726120b9565b60008351612249818460208801611c18565b83519083019061225d818360208801611c18565b01949350505050565b60006020828403121561227857600080fd5b8151610e3f81611f00565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122b690830184611c3c565b9695505050505050565b6000602082840312156122d257600080fd5b8151610e3f81611b8656fea2646970667358221220d96b60252225516b4a3c9e6bab5ebd2777abd797f2a60835b083e6696412ddeb64736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb60000000000000000000000000000000000000000000000000000000000000004563347410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035647410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f763367612e73706163652f6170692f6e66742f0000000000
-----Decoded View---------------
Arg [0] : name (string): V3GA
Arg [1] : symbol (string): VGA
Arg [2] : initBaseURI (string): https://v3ga.space/api/nft/
Arg [3] : operatorFilterRegistryAddress (address): 0x000000000000AAeB6D7670E522A718067333cd4E
Arg [4] : operatorFilterRegistrant (address): 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e
Arg [4] : 0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb6
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 5633474100000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 5647410000000000000000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [10] : 68747470733a2f2f763367612e73706163652f6170692f6e66742f0000000000
Deployed Bytecode Sourcemap
81457:4588:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85357:267;;;;;;;;;;-1:-1:-1;85357:267:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;85357:267:0;;;;;;;;85871:171;;;;;;;;;;-1:-1:-1;85871:171:0;;;;;:::i;:::-;;:::i;:::-;;42518:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;49009:218::-;;;;;;;;;;-1:-1:-1;49009:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;49009:218:0;2082:203:1;83941:250:0;;;;;;:::i;:::-;;:::i;38269:323::-;;;;;;;;;;-1:-1:-1;38543:12:0;;38527:13;;:28;38269:323;;;2695:25:1;;;2683:2;2668:18;38269:323:0;2549:177:1;84199:224:0;;;;;;:::i;:::-;;:::i;4537:442::-;;;;;;;;;;-1:-1:-1;4537:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3509:32:1;;;3491:51;;3573:2;3558:18;;3551:34;;;;3464:18;4537:442:0;3317:274:1;83119:94:0;;;;;;;;;;-1:-1:-1;83119:94:0;;;;;:::i;:::-;;:::i;18140:55::-;;;;;;;;;;-1:-1:-1;18140:55:0;;;;-1:-1:-1;;;;;18140:55:0;;;84431:232;;;;;;:::i;:::-;;:::i;18664:283::-;;;;;;;;;;-1:-1:-1;18664:283:0;;;;;:::i;:::-;;:::i;83375:88::-;;;;;;;;;;-1:-1:-1;83375:88:0;;;;;:::i;:::-;;:::i;76315:528::-;;;;;;;;;;-1:-1:-1;76315:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43911:152::-;;;;;;;;;;-1:-1:-1;43911:152:0;;;;;:::i;:::-;;:::i;81724:38::-;;;;;;;;;;;;;;;;83023:88;;;;;;;;;;-1:-1:-1;83023:88:0;;;;;:::i;:::-;;:::i;39453:233::-;;;;;;;;;;-1:-1:-1;39453:233:0;;;;;:::i;:::-;;:::i;16196:103::-;;;;;;;;;;;;;:::i;19039:123::-;;;;;;;;;;-1:-1:-1;19039:123:0;;;;;:::i;:::-;;:::i;82935:80::-;;;;;;;;;;-1:-1:-1;82935:80:0;;;;;:::i;:::-;;:::i;80191:900::-;;;;;;;;;;-1:-1:-1;80191:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;83471:152::-;;;:::i;17972:47::-;;;;;;;;;;-1:-1:-1;17972:47:0;;;;-1:-1:-1;;;;;17972:47:0;;;15548:87;;;;;;;;;;-1:-1:-1;15594:7:0;15621:6;-1:-1:-1;;;;;15621:6:0;15548:87;;42694:104;;;;;;;;;;;;;:::i;77231:2513::-;;;;;;;;;;-1:-1:-1;77231:2513:0;;;;;:::i;:::-;;:::i;81570:69::-;;;;;;;;;;-1:-1:-1;81570:69:0;;;;-1:-1:-1;;;;;81570:69:0;;;81769:29;;;;;;;;;;-1:-1:-1;81769:29:0;;;;;;;;82246:334;;;;;;:::i;:::-;;:::i;83713:220::-;;;;;;;;;;-1:-1:-1;83713:220:0;;;;;:::i;:::-;;:::i;84671:266::-;;;;;;:::i;:::-;;:::i;75728:428::-;;;;;;;;;;-1:-1:-1;75728:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;42904:318::-;;;;;;;;;;-1:-1:-1;42904:318:0;;;;;:::i;:::-;;:::i;82588:229::-;;;;;;;;;;-1:-1:-1;82588:229:0;;;;;:::i;:::-;;:::i;18099:32::-;;;;;;;;;;-1:-1:-1;18099:32:0;;;;-1:-1:-1;;;;;18099:32:0;;;81686:31;;;;;;;;;;;;;;;;49958:164;;;;;;;;;;-1:-1:-1;49958:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50079:25:0;;;50055:4;50079:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;49958:164;16454:201;;;;;;;;;;-1:-1:-1;16454:201:0;;;;;:::i;:::-;;:::i;82825:102::-;;;;;;;;;;-1:-1:-1;82825:102:0;;;;;:::i;:::-;;:::i;85357:267::-;85486:4;85523:38;85549:11;85523:25;:38::i;:::-;:93;;;;85578:38;85604:11;85578:25;:38::i;:::-;85503:113;85357:267;-1:-1:-1;;85357:267:0:o;85871:171::-;15434:13;:11;:13::i;:::-;85992:42:::1;86011:8;86021:12;85992:18;:42::i;:::-;85871:171:::0;;:::o;42518:100::-;42572:13;42605:5;42598:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42518:100;:::o;49009:218::-;49085:7;49110:16;49118:7;49110;:16::i;:::-;49105:64;;49135:34;;-1:-1:-1;;;49135:34:0;;;;;;;;;;;49105:64;-1:-1:-1;49189:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;49189:30:0;;49009:218::o;83941:250::-;84125:8;19794:30;19815:8;19794:20;:30::i;:::-;84151:32:::1;84165:8;84175:7;84151:13;:32::i;:::-;83941:250:::0;;;:::o;84199:224::-;84361:4;-1:-1:-1;;;;;19520:18:0;;19528:10;19520:18;19516:83;;19555:32;19576:10;19555:20;:32::i;:::-;84378:37:::1;84397:4;84403:2;84407:7;84378:18;:37::i;:::-;84199:224:::0;;;;:::o;4537:442::-;4634:7;4692:27;;;:17;:27;;;;;;;;4663:56;;;;;;;;;-1:-1:-1;;;;;4663:56:0;;;;;-1:-1:-1;;;4663:56:0;;;-1:-1:-1;;;;;4663:56:0;;;;;;;;4634:7;;4732:92;;-1:-1:-1;4783:29:0;;;;;;;;;4793:19;4783:29;-1:-1:-1;;;;;4783:29:0;;;;-1:-1:-1;;;4783:29:0;;-1:-1:-1;;;;;4783:29:0;;;;;4732:92;4874:23;;;;4836:21;;5345:5;;4861:36;;-1:-1:-1;;;;;4861:36:0;:10;:36;:::i;:::-;4860:58;;;;:::i;:::-;4939:16;;;;;-1:-1:-1;4537:442:0;;-1:-1:-1;;;;4537:442:0:o;83119:94::-;15434:13;:11;:13::i;:::-;83190:9:::1;:15:::0;;-1:-1:-1;;;;;;83190:15:0::1;-1:-1:-1::0;;;;;83190:15:0;;;::::1;::::0;;;::::1;::::0;;83119:94::o;84431:232::-;84597:4;-1:-1:-1;;;;;19520:18:0;;19528:10;19520:18;19516:83;;19555:32;19576:10;19555:20;:32::i;:::-;84614:41:::1;84637:4;84643:2;84647:7;84614:22;:41::i;18664:283::-:0;15434:13;:11;:13::i;:::-;18770:32:::1;:50:::0;;-1:-1:-1;;;;;18770:50:0;;::::1;-1:-1:-1::0;;;;;;18770:50:0;;::::1;::::0;::::1;::::0;;;18831:24:::1;:108:::0;;;;::::1;;::::0;;18664:283::o;83375:88::-;15434:13;:11;:13::i;:::-;83442:7:::1;:13;83452:3:::0;83442:7;:13:::1;:::i;76315:528::-:0;76459:23;76550:8;76525:22;76550:8;76617:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76617:36:0;;-1:-1:-1;;76617:36:0;;;;;;;;;;;;76580:73;;76673:9;76668:125;76689:14;76684:1;:19;76668:125;;76745:32;76765:8;;76774:1;76765:11;;;;;;;:::i;:::-;;;;;;;76745:19;:32::i;:::-;76729:10;76740:1;76729:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;76705:3;;76668:125;;;-1:-1:-1;76814:10:0;76315:528;-1:-1:-1;;;;76315:528:0:o;43911:152::-;43983:7;44026:27;44045:7;44026:18;:27::i;83023:88::-;15434:13;:11;:13::i;:::-;83088:9:::1;:15:::0;83023:88::o;39453:233::-;39525:7;-1:-1:-1;;;;;39549:19:0;;39545:60;;39577:28;;-1:-1:-1;;;39577:28:0;;;;;;;;;;;39545:60;-1:-1:-1;;;;;;39623:25:0;;;;;:18;:25;;;;;;33612:13;39623:55;;39453:233::o;16196:103::-;15434:13;:11;:13::i;:::-;16261:30:::1;16288:1;16261:18;:30::i;:::-;16196:103::o:0;19039:123::-;15434:13;:11;:13::i;:::-;19121:17:::1;:33:::0;;-1:-1:-1;;;;;;19121:33:0::1;-1:-1:-1::0;;;;;19121:33:0;;;::::1;::::0;;;::::1;::::0;;19039:123::o;82935:80::-;15434:13;:11;:13::i;:::-;82991:10:::1;:16:::0;;-1:-1:-1;;82991:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;82935:80::o;80191:900::-;80269:16;80323:19;80357:25;80397:22;80422:16;80432:5;80422:9;:16::i;:::-;80397:41;;80453:25;80495:14;80481:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80481:29:0;;80453:57;;80525:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80525:31:0;80576:9;80571:472;80620:14;80605:11;:29;80571:472;;80672:15;80685:1;80672:12;:15::i;:::-;80660:27;;80710:9;:16;;;80751:8;80706:73;80801:14;;-1:-1:-1;;;;;80801:28:0;;80797:111;;80874:14;;;-1:-1:-1;80797:111:0;80951:5;-1:-1:-1;;;;;80930:26:0;:17;-1:-1:-1;;;;;80930:26:0;;80926:102;;81007:1;80981:8;80990:13;;;;;;80981:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;80926:102;80636:3;;80571:472;;;-1:-1:-1;81064:8:0;;80191:900;-1:-1:-1;;;;;;80191:900:0:o;83471:152::-;15434:13;:11;:13::i;:::-;83594:9:::1;::::0;83586:28:::1;::::0;83546:21:::1;::::0;-1:-1:-1;;;;;83594:9:0::1;::::0;83586:28;::::1;;;::::0;83546:21;;83532:11:::1;83586:28:::0;83532:11;83586:28;83546:21;83594:9;83586:28;::::1;;;;;;83578:37;;;::::0;::::1;;83521:102;83471:152::o:0;42694:104::-;42750:13;42783:7;42776:14;;;;;:::i;77231:2513::-;77374:16;77441:4;77432:5;:13;77428:45;;77454:19;;-1:-1:-1;;;77454:19:0;;;;;;;;;;;77428:45;77488:19;77522:17;77542:14;38038:13;;;37956:103;77542:14;77522:34;-1:-1:-1;77793:9:0;77786:4;:16;77782:73;;;77830:9;77823:16;;77782:73;77869:25;77897:16;77907:5;77897:9;:16::i;:::-;77869:44;;78091:4;78083:5;:12;78079:278;;;78138:12;;;78173:31;;;78169:111;;;78249:11;78229:31;;78169:111;78097:198;78079:278;;;-1:-1:-1;78340:1:0;78079:278;78371:25;78413:17;78399:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78399:32:0;;78371:60;;78450:17;78471:1;78450:22;78446:78;;78500:8;-1:-1:-1;78493:15:0;;-1:-1:-1;;;78493:15:0;78446:78;78668:31;78702:26;78722:5;78702:19;:26::i;:::-;78668:60;;78743:25;78988:9;:16;;;78983:92;;-1:-1:-1;79045:14:0;;78983:92;79106:5;79089:478;79118:4;79113:1;:9;;:45;;;;;79141:17;79126:11;:32;;79113:45;79089:478;;;79196:15;79209:1;79196:12;:15::i;:::-;79184:27;;79234:9;:16;;;79275:8;79230:73;79325:14;;-1:-1:-1;;;;;79325:28:0;;79321:111;;79398:14;;;-1:-1:-1;79321:111:0;79475:5;-1:-1:-1;;;;;79454:26:0;:17;-1:-1:-1;;;;;79454:26:0;;79450:102;;79531:1;79505:8;79514:13;;;;;;79505:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;79450:102;79160:3;;79089:478;;;-1:-1:-1;;;79652:29:0;;;-1:-1:-1;79659:8:0;;-1:-1:-1;;77231:2513:0;;;;;;:::o;82246:334::-;82301:14;82318:13;38543:12;;38527:13;;:28;;38269:323;82318:13;82351:10;;82301:30;;-1:-1:-1;82351:10:0;;82350:11;82342:41;;;;-1:-1:-1;;;82342:41:0;;13263:2:1;82342:41:0;;;13245:21:1;13302:2;13282:18;;;13275:30;-1:-1:-1;;;13321:18:1;;;13314:47;13378:18;;82342:41:0;;;;;;;;;82417:9;;82402:12;82411:3;82402:6;:12;:::i;:::-;:24;82394:64;;;;-1:-1:-1;;;82394:64:0;;13739:2:1;82394:64:0;;;13721:21:1;13778:2;13758:18;;;13751:30;13817:29;13797:18;;;13790:57;13864:18;;82394:64:0;13537:351:1;82394:64:0;82502:3;82490:9;;:15;;;;:::i;:::-;82477:9;:28;82469:66;;;;-1:-1:-1;;;82469:66:0;;14095:2:1;82469:66:0;;;14077:21:1;14134:2;14114:18;;;14107:30;14173:27;14153:18;;;14146:55;14218:18;;82469:66:0;13893:349:1;82469:66:0;82546:26;82556:10;82568:3;82546:9;:26::i;83713:220::-;83861:8;19794:30;19815:8;19794:20;:30::i;:::-;83882:43:::1;83906:8;83916;83882:23;:43::i;84671:266::-:0;84865:4;-1:-1:-1;;;;;19520:18:0;;19528:10;19520:18;19516:83;;19555:32;19576:10;19555:20;:32::i;:::-;84882:47:::1;84905:4;84911:2;84915:7;84924:4;84882:22;:47::i;:::-;84671:266:::0;;;;;:::o;75728:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38038:13:0;;75921:7;:25;75888:103;;75970:9;75728:428;-1:-1:-1;;75728:428:0:o;75888:103::-;76013:21;76026:7;76013:12;:21::i;:::-;76001:33;;76049:9;:16;;;76045:65;;;76089:9;75728:428;-1:-1:-1;;75728:428:0:o;76045:65::-;76127:21;76140:7;76127:12;:21::i;42904:318::-;42977:13;43008:16;43016:7;43008;:16::i;:::-;43003:59;;43033:29;;-1:-1:-1;;;43033:29:0;;;;;;;;;;;43003:59;43075:21;43099:10;:8;:10::i;:::-;43075:34;;43133:7;43127:21;43152:1;43127:26;:87;;;;;;;;;;;;;;;;;43180:7;43189:18;43199:7;43189:9;:18::i;:::-;43163:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;43120:94;42904:318;-1:-1:-1;;;42904:318:0:o;82588:229::-;15434:13;:11;:13::i;:::-;82668:14:::1;82685:13;38543:12:::0;;38527:13;;:28;;38269:323;82685:13:::1;82732:9;::::0;82668:30;;-1:-1:-1;82717:12:0::1;82726:3:::0;82668:30;82717:12:::1;:::i;:::-;:24;82709:64;;;::::0;-1:-1:-1;;;82709:64:0;;13739:2:1;82709:64:0::1;::::0;::::1;13721:21:1::0;13778:2;13758:18;;;13751:30;13817:29;13797:18;;;13790:57;13864:18;;82709:64:0::1;13537:351:1::0;82709:64:0::1;82784:25;82794:9;82805:3;82784:9;:25::i;16454:201::-:0;15434:13;:11;:13::i;:::-;-1:-1:-1;;;;;16543:22:0;::::1;16535:73;;;::::0;-1:-1:-1;;;16535:73:0;;14950:2:1;16535:73:0::1;::::0;::::1;14932:21:1::0;14989:2;14969:18;;;14962:30;15028:34;15008:18;;;15001:62;-1:-1:-1;;;15079:18:1;;;15072:36;15125:19;;16535:73:0::1;14748:402:1::0;16535:73:0::1;16619:28;16638:8;16619:18;:28::i;82825:102::-:0;15434:13;:11;:13::i;:::-;82897:9:::1;:22:::0;82825:102::o;41616:639::-;41701:4;-1:-1:-1;;;;;;;;;42025:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;42102:25:0;;;42025:102;:179;;;-1:-1:-1;;;;;;;;42179:25:0;-1:-1:-1;;;42179:25:0;;41616:639::o;4267:215::-;4369:4;-1:-1:-1;;;;;;4393:41:0;;-1:-1:-1;;;4393:41:0;;:81;;-1:-1:-1;;;;;;;;;;1928:40:0;;;4438:36;1819:157;15713:132;15594:7;15621:6;-1:-1:-1;;;;;15621:6:0;14179:10;15777:23;15769:68;;;;-1:-1:-1;;;15769:68:0;;15357:2:1;15769:68:0;;;15339:21:1;;;15376:18;;;15369:30;15435:34;15415:18;;;15408:62;15487:18;;15769:68:0;15155:356:1;5629:332:0;5345:5;-1:-1:-1;;;;;5732:33:0;;;;5724:88;;;;-1:-1:-1;;;5724:88:0;;15718:2:1;5724:88:0;;;15700:21:1;15757:2;15737:18;;;15730:30;15796:34;15776:18;;;15769:62;-1:-1:-1;;;15847:18:1;;;15840:40;15897:19;;5724:88:0;15516:406:1;5724:88:0;-1:-1:-1;;;;;5831:22:0;;5823:60;;;;-1:-1:-1;;;5823:60:0;;16129:2:1;5823:60:0;;;16111:21:1;16168:2;16148:18;;;16141:30;16207:27;16187:18;;;16180:55;16252:18;;5823:60:0;15927:349:1;5823:60:0;5918:35;;;;;;;;;-1:-1:-1;;;;;5918:35:0;;;;;;-1:-1:-1;;;;;5918:35:0;;;;;;;;;;-1:-1:-1;;;5896:57:0;;;;:19;:57;5629:332::o;50380:282::-;50445:4;50535:13;;50525:7;:23;50482:153;;;;-1:-1:-1;;50586:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;50586:44:0;:49;;50380:282::o;19937:744::-;20136:24;;-1:-1:-1;;;;;20136:24:0;20128:45;:49;20124:550;;20445:24;;20510:17;;20445:132;;-1:-1:-1;;;20445:132:0;;-1:-1:-1;;;;;20510:17:0;;;20445:132;;;16493:34:1;16563:15;;;16543:18;;;16536:43;20445:24:0;;;:42;;16428:18:1;;20445:132:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20422:241;;20619:28;;-1:-1:-1;;;20619:28:0;;-1:-1:-1;;;;;2246:32:1;;20619:28:0;;;2228:51:1;2201:18;;20619:28:0;2082:203:1;48442:408:0;48531:13;48547:16;48555:7;48547;:16::i;:::-;48531:32;-1:-1:-1;14179:10:0;-1:-1:-1;;;;;48580:28:0;;;48576:175;;48628:44;48645:5;14179:10;49958:164;:::i;48628:44::-;48623:128;;48700:35;;-1:-1:-1;;;48700:35:0;;;;;;;;;;;48623:128;48763:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;48763:35:0;-1:-1:-1;;;;;48763:35:0;;;;;;;;;48814:28;;48763:24;;48814:28;;;;;;;48520:330;48442:408;;:::o;52648:2825::-;52790:27;52820;52839:7;52820:18;:27::i;:::-;52790:57;;52905:4;-1:-1:-1;;;;;52864:45:0;52880:19;-1:-1:-1;;;;;52864:45:0;;52860:86;;52918:28;;-1:-1:-1;;;52918:28:0;;;;;;;;;;;52860:86;52960:27;51756:24;;;:15;:24;;;;;51984:26;;14179:10;51381:30;;;-1:-1:-1;;;;;51074:28:0;;51359:20;;;51356:56;53146:180;;53239:43;53256:4;14179:10;49958:164;:::i;53239:43::-;53234:92;;53291:35;;-1:-1:-1;;;53291:35:0;;;;;;;;;;;53234:92;-1:-1:-1;;;;;53343:16:0;;53339:52;;53368:23;;-1:-1:-1;;;53368:23:0;;;;;;;;;;;53339:52;53540:15;53537:160;;;53680:1;53659:19;53652:30;53537:160;-1:-1:-1;;;;;54077:24:0;;;;;;;:18;:24;;;;;;54075:26;;-1:-1:-1;;54075:26:0;;;54146:22;;;;;;;;;54144:24;;-1:-1:-1;54144:24:0;;;47300:11;47275:23;47271:41;47258:63;-1:-1:-1;;;47258:63:0;54439:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;54734:47:0;;:52;;54730:627;;54839:1;54829:11;;54807:19;54962:30;;;:17;:30;;;;;;:35;;54958:384;;55100:13;;55085:11;:28;55081:242;;55247:30;;;;:17;:30;;;;;:52;;;55081:242;54788:569;54730:627;55404:7;55400:2;-1:-1:-1;;;;;55385:27:0;55394:4;-1:-1:-1;;;;;55385:27:0;;;;;;;;;;;55423:42;52779:2694;;;52648:2825;;;:::o;55569:193::-;55715:39;55732:4;55738:2;55742:7;55715:39;;;;;;;;;;;;:16;:39::i;45066:1275::-;45133:7;45168;45270:13;;45263:4;:20;45259:1015;;;45308:14;45325:23;;;:17;:23;;;;;;;-1:-1:-1;;;45414:24:0;;:29;;45410:845;;46079:113;46086:6;46096:1;46086:11;46079:113;;-1:-1:-1;;;46157:6:0;46139:25;;;;:17;:25;;;;;;46079:113;;45410:845;45285:989;45259:1015;46302:31;;-1:-1:-1;;;46302:31:0;;;;;;;;;;;16815:191;16889:16;16908:6;;-1:-1:-1;;;;;16925:17:0;;;-1:-1:-1;;;;;;16925:17:0;;;;;;16958:40;;16908:6;;;;;;;16958:40;;16889:16;16958:40;16878:128;16815:191;:::o;44514:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44642:24:0;;;;:17;:24;;;;;;44623:44;;:18;:44::i;66520:112::-;66597:27;66607:2;66611:8;66597:27;;;;;;;;;;;;:9;:27::i;49567:234::-;14179:10;49662:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;49662:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;49662:60:0;;;;;;;;;;49738:55;;540:41:1;;;49662:49:0;;14179:10;49738:55;;513:18:1;49738:55:0;;;;;;;49567:234;;:::o;56360:407::-;56535:31;56548:4;56554:2;56558:7;56535:12;:31::i;:::-;-1:-1:-1;;;;;56581:14:0;;;:19;56577:183;;56620:56;56651:4;56657:2;56661:7;56670:5;56620:30;:56::i;:::-;56615:145;;56704:40;;-1:-1:-1;;;56704:40:0;;;;;;;;;;;44252:166;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44363:47:0;44382:27;44401:7;44382:18;:27::i;:::-;44363:18;:47::i;83221:108::-;83281:13;83314:7;83307:14;;;;;:::i;72895:1745::-;72960:17;73394:4;73387;73381:11;73377:22;73486:1;73480:4;73473:15;73561:4;73558:1;73554:12;73547:19;;;73643:1;73638:3;73631:14;73747:3;73986:5;73968:428;74034:1;74029:3;74025:11;74018:18;;74205:2;74199:4;74195:13;74191:2;74187:22;74182:3;74174:36;74299:2;74289:13;;74356:25;73968:428;74356:25;-1:-1:-1;74426:13:0;;;-1:-1:-1;;74541:14:0;;;74603:19;;;74541:14;72895:1745;-1:-1:-1;72895:1745:0:o;46440:366::-;-1:-1:-1;;;;;;;;;;;;;46550:41:0;;;;34271:3;46636:33;;;46602:68;;-1:-1:-1;;;46602:68:0;-1:-1:-1;;;46700:24:0;;:29;;-1:-1:-1;;;46681:48:0;;;;34792:3;46769:28;;;;-1:-1:-1;;;46740:58:0;-1:-1:-1;46440:366:0:o;65747:689::-;65878:19;65884:2;65888:8;65878:5;:19::i;:::-;-1:-1:-1;;;;;65939:14:0;;;:19;65935:483;;65993:13;;66041:14;;;66074:233;66105:62;66144:1;66148:2;66152:7;;;;;;66161:5;66105:30;:62::i;:::-;66100:167;;66203:40;;-1:-1:-1;;;66203:40:0;;;;;;;;;;;66100:167;66302:3;66294:5;:11;66074:233;;66389:3;66372:13;;:20;66368:34;;66394:8;;;58851:716;59035:88;;-1:-1:-1;;;59035:88:0;;59014:4;;-1:-1:-1;;;;;59035:45:0;;;;;:88;;14179:10;;59102:4;;59108:7;;59117:5;;59035:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59035:88:0;;;;;;;;-1:-1:-1;;59035:88:0;;;;;;;;;;;;:::i;:::-;;;59031:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59318:6;:13;59335:1;59318:18;59314:235;;59364:40;;-1:-1:-1;;;59364:40:0;;;;;;;;;;;59314:235;59507:6;59501:13;59492:6;59488:2;59484:15;59477:38;59031:529;-1:-1:-1;;;;;;59194:64:0;-1:-1:-1;;;59194:64:0;;-1:-1:-1;59031:529:0;58851:716;;;;;;:::o;60029:2966::-;60125:13;;60102:20;60153:13;;;60149:44;;60175:18;;-1:-1:-1;;;60175:18:0;;;;;;;;;;;60149:44;-1:-1:-1;;;;;60681:22:0;;;;;;:18;:22;;;;33750:2;60681:22;;;:71;;60719:32;60707:45;;60681:71;;;60995:31;;;:17;:31;;;;;-1:-1:-1;47731:15:0;;47705:24;47701:46;47300:11;47275:23;47271:41;47268:52;47258:63;;60995:173;;61230:23;;;;60995:31;;60681:22;;61995:25;60681:22;;61848:335;62509:1;62495:12;62491:20;62449:346;62550:3;62541:7;62538:16;62449:346;;62768:7;62758:8;62755:1;62728:25;62725:1;62722;62717:59;62603:1;62590:15;62449:346;;;62453:77;62828:8;62840:1;62828:13;62824:45;;62850:19;;-1:-1:-1;;;62850:19:0;;;;;;;;;;;62824:45;62886:13;:19;-1:-1:-1;83941:250:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:1;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:1;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:1:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:1;;1897:180;-1:-1:-1;1897:180:1:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:1:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:248::-;3132:6;3140;3193:2;3181:9;3172:7;3168:23;3164:32;3161:52;;;3209:1;3206;3199:12;3161:52;-1:-1:-1;;3232:23:1;;;3302:2;3287:18;;;3274:32;;-1:-1:-1;3064:248:1:o;3596:186::-;3655:6;3708:2;3696:9;3687:7;3683:23;3679:32;3676:52;;;3724:1;3721;3714:12;3676:52;3747:29;3766:9;3747:29;:::i;4026:127::-;4087:10;4082:3;4078:20;4075:1;4068:31;4118:4;4115:1;4108:15;4142:4;4139:1;4132:15;4158:632;4223:5;4253:18;4294:2;4286:6;4283:14;4280:40;;;4300:18;;:::i;:::-;4375:2;4369:9;4343:2;4429:15;;-1:-1:-1;;4425:24:1;;;4451:2;4421:33;4417:42;4405:55;;;4475:18;;;4495:22;;;4472:46;4469:72;;;4521:18;;:::i;:::-;4561:10;4557:2;4550:22;4590:6;4581:15;;4620:6;4612;4605:22;4660:3;4651:6;4646:3;4642:16;4639:25;4636:45;;;4677:1;4674;4667:12;4636:45;4727:6;4722:3;4715:4;4707:6;4703:17;4690:44;4782:1;4775:4;4766:6;4758;4754:19;4750:30;4743:41;;;;4158:632;;;;;:::o;4795:451::-;4864:6;4917:2;4905:9;4896:7;4892:23;4888:32;4885:52;;;4933:1;4930;4923:12;4885:52;4973:9;4960:23;5006:18;4998:6;4995:30;4992:50;;;5038:1;5035;5028:12;4992:50;5061:22;;5114:4;5106:13;;5102:27;-1:-1:-1;5092:55:1;;5143:1;5140;5133:12;5092:55;5166:74;5232:7;5227:2;5214:16;5209:2;5205;5201:11;5166:74;:::i;5251:615::-;5337:6;5345;5398:2;5386:9;5377:7;5373:23;5369:32;5366:52;;;5414:1;5411;5404:12;5366:52;5454:9;5441:23;5483:18;5524:2;5516:6;5513:14;5510:34;;;5540:1;5537;5530:12;5510:34;5578:6;5567:9;5563:22;5553:32;;5623:7;5616:4;5612:2;5608:13;5604:27;5594:55;;5645:1;5642;5635:12;5594:55;5685:2;5672:16;5711:2;5703:6;5700:14;5697:34;;;5727:1;5724;5717:12;5697:34;5780:7;5775:2;5765:6;5762:1;5758:14;5754:2;5750:23;5746:32;5743:45;5740:65;;;5801:1;5798;5791:12;5740:65;5832:2;5824:11;;;;;5854:6;;-1:-1:-1;5251:615:1;;-1:-1:-1;;;;5251:615:1:o;5871:349::-;5955:12;;-1:-1:-1;;;;;5951:38:1;5939:51;;6043:4;6032:16;;;6026:23;6051:18;6022:48;6006:14;;;5999:72;6134:4;6123:16;;;6117:23;6110:31;6103:39;6087:14;;;6080:63;6196:4;6185:16;;;6179:23;6204:8;6175:38;6159:14;;6152:62;5871:349::o;6225:722::-;6458:2;6510:21;;;6580:13;;6483:18;;;6602:22;;;6429:4;;6458:2;6681:15;;;;6655:2;6640:18;;;6429:4;6724:197;6738:6;6735:1;6732:13;6724:197;;;6787:52;6835:3;6826:6;6820:13;6787:52;:::i;:::-;6896:15;;;;6868:4;6859:14;;;;;6760:1;6753:9;6724:197;;6952:118;7038:5;7031:13;7024:21;7017:5;7014:32;7004:60;;7060:1;7057;7050:12;7075:241;7131:6;7184:2;7172:9;7163:7;7159:23;7155:32;7152:52;;;7200:1;7197;7190:12;7152:52;7239:9;7226:23;7258:28;7280:5;7258:28;:::i;7321:632::-;7492:2;7544:21;;;7614:13;;7517:18;;;7636:22;;;7463:4;;7492:2;7715:15;;;;7689:2;7674:18;;;7463:4;7758:169;7772:6;7769:1;7766:13;7758:169;;;7833:13;;7821:26;;7902:15;;;;7867:12;;;;7794:1;7787:9;7758:169;;7958:322;8035:6;8043;8051;8104:2;8092:9;8083:7;8079:23;8075:32;8072:52;;;8120:1;8117;8110:12;8072:52;8143:29;8162:9;8143:29;:::i;:::-;8133:39;8219:2;8204:18;;8191:32;;-1:-1:-1;8270:2:1;8255:18;;;8242:32;;7958:322;-1:-1:-1;;;7958:322:1:o;8285:315::-;8350:6;8358;8411:2;8399:9;8390:7;8386:23;8382:32;8379:52;;;8427:1;8424;8417:12;8379:52;8450:29;8469:9;8450:29;:::i;:::-;8440:39;;8529:2;8518:9;8514:18;8501:32;8542:28;8564:5;8542:28;:::i;8605:667::-;8700:6;8708;8716;8724;8777:3;8765:9;8756:7;8752:23;8748:33;8745:53;;;8794:1;8791;8784:12;8745:53;8817:29;8836:9;8817:29;:::i;:::-;8807:39;;8865:38;8899:2;8888:9;8884:18;8865:38;:::i;:::-;8855:48;;8950:2;8939:9;8935:18;8922:32;8912:42;;9005:2;8994:9;8990:18;8977:32;9032:18;9024:6;9021:30;9018:50;;;9064:1;9061;9054:12;9018:50;9087:22;;9140:4;9132:13;;9128:27;-1:-1:-1;9118:55:1;;9169:1;9166;9159:12;9118:55;9192:74;9258:7;9253:2;9240:16;9235:2;9231;9227:11;9192:74;:::i;:::-;9182:84;;;8605:667;;;;;;;:::o;9277:266::-;9473:3;9458:19;;9486:51;9462:9;9519:6;9486:51;:::i;9548:260::-;9616:6;9624;9677:2;9665:9;9656:7;9652:23;9648:32;9645:52;;;9693:1;9690;9683:12;9645:52;9716:29;9735:9;9716:29;:::i;:::-;9706:39;;9764:38;9798:2;9787:9;9783:18;9764:38;:::i;:::-;9754:48;;9548:260;;;;;:::o;9813:380::-;9892:1;9888:12;;;;9935;;;9956:61;;10010:4;10002:6;9998:17;9988:27;;9956:61;10063:2;10055:6;10052:14;10032:18;10029:38;10026:161;;10109:10;10104:3;10100:20;10097:1;10090:31;10144:4;10141:1;10134:15;10172:4;10169:1;10162:15;10026:161;;9813:380;;;:::o;10198:127::-;10259:10;10254:3;10250:20;10247:1;10240:31;10290:4;10287:1;10280:15;10314:4;10311:1;10304:15;10330:168;10403:9;;;10434;;10451:15;;;10445:22;;10431:37;10421:71;;10472:18;;:::i;10503:217::-;10543:1;10569;10559:132;;10613:10;10608:3;10604:20;10601:1;10594:31;10648:4;10645:1;10638:15;10676:4;10673:1;10666:15;10559:132;-1:-1:-1;10705:9:1;;10503:217::o;10851:545::-;10953:2;10948:3;10945:11;10942:448;;;10989:1;11014:5;11010:2;11003:17;11059:4;11055:2;11045:19;11129:2;11117:10;11113:19;11110:1;11106:27;11100:4;11096:38;11165:4;11153:10;11150:20;11147:47;;;-1:-1:-1;11188:4:1;11147:47;11243:2;11238:3;11234:12;11231:1;11227:20;11221:4;11217:31;11207:41;;11298:82;11316:2;11309:5;11306:13;11298:82;;;11361:17;;;11342:1;11331:13;11298:82;;11572:1352;11698:3;11692:10;11725:18;11717:6;11714:30;11711:56;;;11747:18;;:::i;:::-;11776:97;11866:6;11826:38;11858:4;11852:11;11826:38;:::i;:::-;11820:4;11776:97;:::i;:::-;11928:4;;11992:2;11981:14;;12009:1;12004:663;;;;12711:1;12728:6;12725:89;;;-1:-1:-1;12780:19:1;;;12774:26;12725:89;-1:-1:-1;;11529:1:1;11525:11;;;11521:24;11517:29;11507:40;11553:1;11549:11;;;11504:57;12827:81;;11974:944;;12004:663;10798:1;10791:14;;;10835:4;10822:18;;-1:-1:-1;;12040:20:1;;;12158:236;12172:7;12169:1;12166:14;12158:236;;;12261:19;;;12255:26;12240:42;;12353:27;;;;12321:1;12309:14;;;;12188:19;;12158:236;;;12162:3;12422:6;12413:7;12410:19;12407:201;;;12483:19;;;12477:26;-1:-1:-1;;12566:1:1;12562:14;;;12578:3;12558:24;12554:37;12550:42;12535:58;12520:74;;12407:201;-1:-1:-1;;;;;12654:1:1;12638:14;;;12634:22;12621:36;;-1:-1:-1;11572:1352:1:o;12929:127::-;12990:10;12985:3;12981:20;12978:1;12971:31;13021:4;13018:1;13011:15;13045:4;13042:1;13035:15;13407:125;13472:9;;;13493:10;;;13490:36;;;13506:18;;:::i;14247:496::-;14426:3;14464:6;14458:13;14480:66;14539:6;14534:3;14527:4;14519:6;14515:17;14480:66;:::i;:::-;14609:13;;14568:16;;;;14631:70;14609:13;14568:16;14678:4;14666:17;;14631:70;:::i;:::-;14717:20;;14247:496;-1:-1:-1;;;;14247:496:1:o;16590:245::-;16657:6;16710:2;16698:9;16689:7;16685:23;16681:32;16678:52;;;16726:1;16723;16716:12;16678:52;16758:9;16752:16;16777:28;16799:5;16777:28;:::i;16840:489::-;-1:-1:-1;;;;;17109:15:1;;;17091:34;;17161:15;;17156:2;17141:18;;17134:43;17208:2;17193:18;;17186:34;;;17256:3;17251:2;17236:18;;17229:31;;;17034:4;;17277:46;;17303:19;;17295:6;17277:46;:::i;:::-;17269:54;16840:489;-1:-1:-1;;;;;;16840:489:1:o;17334:249::-;17403:6;17456:2;17444:9;17435:7;17431:23;17427:32;17424:52;;;17472:1;17469;17462:12;17424:52;17504:9;17498:16;17523:30;17547:5;17523:30;:::i
Swarm Source
ipfs://d96b60252225516b4a3c9e6bab5ebd2777abd797f2a60835b083e6696412ddeb
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.