ERC-721
Overview
Max Total Supply
5,555 ATTPASS
Holders
2,097
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ATTPASSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFTPass
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-25 */ // Dependency file: erc721a/contracts/IERC721A.sol // SPDX-License-Identifier: MIT // 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); } // Dependency file: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs // pragma solidity ^0.8.4; // import '/Users/rico/workspace/blockchain/attic/node_modules/erc721a/contracts/IERC721A.sol'; /** * @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) } } } // Dependency 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); } // Dependency file: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // Dependency file: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) // pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // Dependency file: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // Dependency file: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) // pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // Dependency 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; } } // Dependency file: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) // pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // Dependency file: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * 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; } } // Dependency file: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; // import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; // import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; // import "@openzeppelin/contracts/utils/Address.sol"; // import "@openzeppelin/contracts/utils/Context.sol"; // import "@openzeppelin/contracts/utils/Strings.sol"; // import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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 (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // Dependency file: @openzeppelin/contracts/token/ERC1155/IERC1155.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * 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); } } // Root file: contracts/core/token/NFTPass.sol pragma solidity ^0.8.9; // import "erc721a/contracts/ERC721A.sol"; // import "erc721a/contracts/IERC721A.sol"; // import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; // import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; // import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; // import "@openzeppelin/contracts/access/Ownable.sol"; error NotWhiteListed(); error InvalidPrice(); error InvalidQuantity(); error InvalidPassType(); error FreeMintUsed(); error WithdrawFailed(); error MintingNotStarted(); error MintingFinished(); error OnlyOneFreeMintAllowed(); contract NFTPass is ERC721A, Ownable { uint256 public constant MINT_START = 1666530000; event NFTWhiteListed(address indexed nft); event NFTPassPurchased(address indexed buyer, uint256 indexed quantity, uint256 price); event OwnerWithdrawn(uint256 amount); event OwnerMinting(uint256 quantity); enum NFTPassType { ERC721, ERC1155, ERC721A } // baseURI for the token metadata string public metadataURI; // whitelist for early adopter passes mapping(address => bool) public eapWhitelist ; uint256 public price = 0.03 ether; // for any whitelist wallet address, max number of passes they can mint is 1 mapping(address => bool) public whitelistMinted; constructor(string memory name_, string memory symbol_, string memory baseUrl_) ERC721A(name_, symbol_) { metadataURI = baseUrl_; // Genesis Critterz eapWhitelist[0x8ffb9b504d497e4000967391e70D542b8cC6748A] = true; // Staked Critterz eapWhitelist[0x47f75E8dD28dF8d6E7c39ccda47026b0DCa99043] = true; // Critterz Plots eapWhitelist[0x3D7F0F28e1d42082e3de70ec4c9d1D59a07AFFb9] = true; // Staked Plot eapWhitelist[0xB81Cf242671eDAE57754B1a061F62Af08B32926A] = true; // CryptoMaids eapWhitelist[0x5703A3245FF6FAD37fa2a2500F0739d4F6a234E7] = true; // Mimic Shhans - THE SHHAN eapWhitelist[0xF75FD01D2262b07D92dcA7f19bD6A3457060d7db] = true; // Astro Baby Club eapWhitelist[0x6D5213b085d472273b625857ae0a11ecf2ce7f37] = true; } function contractURI() public pure returns (string memory) { return "https://metadata.atticc.xyz/my-metadata"; } /** * @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 override returns (string memory) { return metadataURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function checkNFTWhitelist(address nftAddress) public view returns (bool) { return eapWhitelist[nftAddress]; } function checkUserMinted(address wallet) public view returns (bool) { return whitelistMinted[wallet]; } function _checkHolder721(address nftAddress, address wallet) private view returns (bool) { return IERC721(nftAddress).balanceOf(wallet) > 0; } function _checkHolder1155(address nftAddress, uint256 tokenId, address wallet) private view returns (bool) { return IERC1155(nftAddress).balanceOf(wallet, tokenId) > 0; } function _checkHolder721A(address nftAddress, address wallet) private view returns (bool) { return IERC721A(nftAddress).balanceOf(wallet) > 0; } function _mintingStarted() private view returns (bool) { return block.timestamp >= MINT_START; } function checkWhitelist(address nftPass, uint256 tokenId, NFTPassType passType) public view returns (bool) { if (!checkNFTWhitelist(nftPass)) { return false; } if (passType == NFTPassType.ERC721) { return _checkHolder721(nftPass, msg.sender); } else if (passType == NFTPassType.ERC1155) { return _checkHolder1155(nftPass, tokenId, msg.sender); } else if (passType == NFTPassType.ERC721A) { return _checkHolder721A(nftPass, msg.sender); } revert InvalidPassType(); } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function inviteCommunity(address communityAddr) external onlyOwner { eapWhitelist[communityAddr] = true; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = owner().call{value: balance}(""); if (!success) revert WithdrawFailed(); emit OwnerWithdrawn(balance); } /** * @dev Mints NFTPasses for the given wallet address and transfer to the sender * * Requirements: * * - `quantity is required if it mints multiple tokens`. * * Emits a {Transfer} event. */ function mint(address nftPass, uint256 tokenId, NFTPassType passType, uint256 quantity) external payable { if (totalSupply() + quantity > 5555) { revert MintingFinished(); } // `_mint`'s second argument now takes in a `quantity`, not a `tokenId`. // if (!_mintingStarted()) revert MintingNotStarted(); bool isWhitelisted; if (msg.sender == owner()) { emit OwnerMinting(quantity); } else if ( price > 0 ether && msg.value >= price * quantity) { // this is a purchase of a pass emit NFTPassPurchased(msg.sender, quantity, msg.value); } else { // // every whitelisted user can only do one free mint if (quantity > 1) { revert InvalidQuantity(); } // check if the user has already minted a pass for free if (checkUserMinted(msg.sender)) { revert OnlyOneFreeMintAllowed(); } // check the nft that user holds is whitelisted if (!checkWhitelist(nftPass, tokenId, passType)) { revert NotWhiteListed(); } isWhitelisted = true; } _mint(msg.sender, quantity); if (isWhitelisted) { whitelistMinted[msg.sender] = true; } } }
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":"baseUrl_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidPassType","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintingFinished","type":"error"},{"inputs":[],"name":"NotWhiteListed","type":"error"},{"inputs":[],"name":"OnlyOneFreeMintAllowed","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"},{"inputs":[],"name":"WithdrawFailed","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":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"NFTPassPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nft","type":"address"}],"name":"NFTWhiteListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"OwnerMinting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerWithdrawn","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":"MINT_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftAddress","type":"address"}],"name":"checkNFTWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"checkUserMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftPass","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"enum NFTPass.NFTPassType","name":"passType","type":"uint8"}],"name":"checkWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"eapWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"communityAddr","type":"address"}],"name":"inviteCommunity","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":"metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftPass","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"enum NFTPass.NFTPassType","name":"passType","type":"uint8"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052666a94d74f430000600b553480156200001c57600080fd5b5060405162003571380380620035718339818101604052810190620000429190620006e8565b828281600290805190602001906200005c9291906200049b565b508060039080519060200190620000759291906200049b565b5062000086620003c460201b60201c565b6000819055505050620000ae620000a2620003cd60201b60201c565b620003d560201b60201c565b8060099080519060200190620000c69291906200049b565b506001600a6000738ffb9b504d497e4000967391e70d542b8cc6748a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60007347f75e8dd28df8d6e7c39ccda47026b0dca9904373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000733d7f0f28e1d42082e3de70ec4c9d1d59a07affb973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a600073b81cf242671edae57754b1a061f62af08b32926a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000735703a3245ff6fad37fa2a2500f0739d4f6a234e773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a600073f75fd01d2262b07d92dca7f19bd6a3457060d7db73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a6000736d5213b085d472273b625857ae0a11ecf2ce7f3773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505062000806565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620004a990620007d0565b90600052602060002090601f016020900481019282620004cd576000855562000519565b82601f10620004e857805160ff191683800117855562000519565b8280016001018555821562000519579182015b8281111562000518578251825591602001919060010190620004fb565b5b5090506200052891906200052c565b5090565b5b80821115620005475760008160009055506001016200052d565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005b48262000569565b810181811067ffffffffffffffff82111715620005d657620005d56200057a565b5b80604052505050565b6000620005eb6200054b565b9050620005f98282620005a9565b919050565b600067ffffffffffffffff8211156200061c576200061b6200057a565b5b620006278262000569565b9050602081019050919050565b60005b838110156200065457808201518184015260208101905062000637565b8381111562000664576000848401525b50505050565b6000620006816200067b84620005fe565b620005df565b905082815260208101848484011115620006a0576200069f62000564565b5b620006ad84828562000634565b509392505050565b600082601f830112620006cd57620006cc6200055f565b5b8151620006df8482602086016200066a565b91505092915050565b60008060006060848603121562000704576200070362000555565b5b600084015167ffffffffffffffff8111156200072557620007246200055a565b5b6200073386828701620006b5565b935050602084015167ffffffffffffffff8111156200075757620007566200055a565b5b6200076586828701620006b5565b925050604084015167ffffffffffffffff8111156200078957620007886200055a565b5b6200079786828701620006b5565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007e957607f821691505b602082108114156200080057620007ff620007a1565b5b50919050565b612d5b80620008166000396000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063b4b881fc11610095578063e1096eec11610064578063e1096eec14610659578063e8a3d48514610696578063e985e9c5146106c1578063f2fde38b146106fe576101cd565b8063b4b881fc146105ac578063b88d4fde146105d5578063c6374d0c146105f1578063c87b56dd1461061c576101cd565b806398a8cffe116100d157806398a8cffe146104ff578063a035b1fe1461053c578063a22cb46514610567578063a7a6be9614610590576101cd565b80638da5cb5b1461048057806391b7f5ed146104ab57806395d89b41146104d4576101cd565b8063243206711161016f57806370a082311161013e57806370a08231146103b25780637108a6b2146103ef578063715018a61461042c5780637512452c14610443576101cd565b806324320671146103055780633ccfd60b1461034257806342842e0e146103595780636352211e14610375576101cd565b8063081812fc116101ab578063081812fc14610265578063095ea7b3146102a257806318160ddd146102be57806323b872dd146102e9576101cd565b806301ffc9a7146101d257806303ee438c1461020f57806306fdde031461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612267565b610727565b60405161020691906122af565b60405180910390f35b34801561021b57600080fd5b506102246107b9565b6040516102319190612363565b60405180910390f35b34801561024657600080fd5b5061024f610847565b60405161025c9190612363565b60405180910390f35b34801561027157600080fd5b5061028c600480360381019061028791906123bb565b6108d9565b6040516102999190612429565b60405180910390f35b6102bc60048036038101906102b79190612470565b610958565b005b3480156102ca57600080fd5b506102d3610a9c565b6040516102e091906124bf565b60405180910390f35b61030360048036038101906102fe91906124da565b610ab3565b005b34801561031157600080fd5b5061032c60048036038101906103279190612552565b610dd8565b60405161033991906122af565b60405180910390f35b34801561034e57600080fd5b50610357610ee3565b005b610373600480360381019061036e91906124da565b610fd5565b005b34801561038157600080fd5b5061039c600480360381019061039791906123bb565b610ff5565b6040516103a99190612429565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906125a5565b611007565b6040516103e691906124bf565b60405180910390f35b3480156103fb57600080fd5b50610416600480360381019061041191906125a5565b6110c0565b60405161042391906122af565b60405180910390f35b34801561043857600080fd5b50610441611116565b005b34801561044f57600080fd5b5061046a600480360381019061046591906125a5565b61112a565b60405161047791906122af565b60405180910390f35b34801561048c57600080fd5b5061049561114a565b6040516104a29190612429565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd91906123bb565b611174565b005b3480156104e057600080fd5b506104e9611186565b6040516104f69190612363565b60405180910390f35b34801561050b57600080fd5b50610526600480360381019061052191906125a5565b611218565b60405161053391906122af565b60405180910390f35b34801561054857600080fd5b50610551611238565b60405161055e91906124bf565b60405180910390f35b34801561057357600080fd5b5061058e600480360381019061058991906125fe565b61123e565b005b6105aa60048036038101906105a5919061263e565b611349565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906125a5565b6115ba565b005b6105ef60048036038101906105ea91906127da565b61161d565b005b3480156105fd57600080fd5b50610606611690565b60405161061391906124bf565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e91906123bb565b611698565b6040516106509190612363565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906125a5565b611737565b60405161068d91906122af565b60405180910390f35b3480156106a257600080fd5b506106ab61178d565b6040516106b89190612363565b60405180910390f35b3480156106cd57600080fd5b506106e860048036038101906106e3919061285d565b6117ad565b6040516106f591906122af565b60405180910390f35b34801561070a57600080fd5b50610725600480360381019061072091906125a5565b611841565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107b25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600980546107c6906128cc565b80601f01602080910402602001604051908101604052809291908181526020018280546107f2906128cc565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b505050505081565b606060028054610856906128cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610882906128cc565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e4826118c5565b61091a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096382610ff5565b90508073ffffffffffffffffffffffffffffffffffffffff16610984611924565b73ffffffffffffffffffffffffffffffffffffffff16146109e7576109b0816109ab611924565b6117ad565b6109e6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610aa661192c565b6001546000540303905090565b6000610abe82611935565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b25576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610b3184611a03565b91509150610b478187610b42611924565b611a2a565b610b9357610b5c86610b57611924565b6117ad565b610b92576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610bfa576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c078686866001611a6e565b8015610c1257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ce085610cbc888887611a74565b7c020000000000000000000000000000000000000000000000000000000017611a9c565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610d68576000600185019050600060046000838152602001908152602001600020541415610d66576000548114610d65578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610dd08686866001611ac7565b505050505050565b6000610de3846110c0565b610df05760009050610edc565b60006002811115610e0457610e036128fe565b5b826002811115610e1757610e166128fe565b5b1415610e2e57610e278433611acd565b9050610edc565b60016002811115610e4257610e416128fe565b5b826002811115610e5557610e546128fe565b5b1415610e6d57610e66848433611b62565b9050610edc565b600280811115610e8057610e7f6128fe565b5b826002811115610e9357610e926128fe565b5b1415610eaa57610ea38433611bf9565b9050610edc565b6040517f99e1731f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b610eeb611c8e565b60004790506000610efa61114a565b73ffffffffffffffffffffffffffffffffffffffff1682604051610f1d9061295e565b60006040518083038185875af1925050503d8060008114610f5a576040519150601f19603f3d011682016040523d82523d6000602084013e610f5f565b606091505b5050905080610f9a576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fe1ba612886c314bab269521f17316b07e06593a8fbe87c52802306c8c6f7786582604051610fc991906124bf565b60405180910390a15050565b610ff08383836040518060200160405280600081525061161d565b505050565b600061100082611935565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561106f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61111e611c8e565b6111286000611d0c565b565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61117c611c8e565b80600b8190555050565b606060038054611195906128cc565b80601f01602080910402602001604051908101604052809291908181526020018280546111c1906128cc565b801561120e5780601f106111e35761010080835404028352916020019161120e565b820191906000526020600020905b8154815290600101906020018083116111f157829003601f168201915b5050505050905090565b600c6020528060005260406000206000915054906101000a900460ff1681565b600b5481565b806007600061124b611924565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112f8611924565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161133d91906122af565b60405180910390a35050565b6115b381611355610a9c565b61135f91906129a2565b1115611397576040517fb828d9b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006113a161114a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611410577f0b0a46fad2cbefc6501ec190d5dd4db8f0e63c9ed546ebbaa29cfff149cad7928260405161140391906124bf565b60405180910390a161154a565b6000600b5411801561142f575081600b5461142b91906129f8565b3410155b1561148857813373ffffffffffffffffffffffffffffffffffffffff167f492ce4504264d62f020be176696744a40dc173612bee89c189c9012454fdf6483460405161147b91906124bf565b60405180910390a3611549565b60018211156114c3576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114cc33611737565b15611503576040517f79c164ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61150e858585610dd8565b611544576040517f6a9a57a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600190505b5b6115543383611dd2565b80156115b3576001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b5050505050565b6115c2611c8e565b6001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611628848484610ab3565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461168a5761165384848484611f8f565b611689576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6363553ad081565b60606116a3826118c5565b6116d9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116e36120ef565b9050600081511415611704576040518060200160405280600081525061172f565b8061170e84612181565b60405160200161171f929190612a8e565b6040516020818303038152906040525b915050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6060604051806060016040528060278152602001612cff60279139905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611849611c8e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090612b24565b60405180910390fd5b6118c281611d0c565b50565b6000816118d061192c565b111580156118df575060005482105b801561191d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061194461192c565b116119cc576000548110156119cb5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156119c9575b60008114156119bf576004600083600190039350838152602001908152602001600020549050611994565b80925050506119fe565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a8b8686846121da565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000808373ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611b099190612429565b60206040518083038186803b158015611b2157600080fd5b505afa158015611b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b599190612b59565b11905092915050565b6000808473ffffffffffffffffffffffffffffffffffffffff1662fdd58e84866040518363ffffffff1660e01b8152600401611b9f929190612b86565b60206040518083038186803b158015611bb757600080fd5b505afa158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef9190612b59565b1190509392505050565b6000808373ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611c359190612429565b60206040518083038186803b158015611c4d57600080fd5b505afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c859190612b59565b11905092915050565b611c966121e3565b73ffffffffffffffffffffffffffffffffffffffff16611cb461114a565b73ffffffffffffffffffffffffffffffffffffffff1614611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0190612bfb565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000805490506000821415611e13576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e206000848385611a6e565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611e9783611e886000866000611a74565b611e91856121eb565b17611a9c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611f3857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611efd565b506000821415611f74576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611f8a6000848385611ac7565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fb5611924565b8786866040518563ffffffff1660e01b8152600401611fd79493929190612c70565b602060405180830381600087803b158015611ff157600080fd5b505af192505050801561202257506040513d601f19601f8201168201806040525081019061201f9190612cd1565b60015b61209c573d8060008114612052576040519150601f19603f3d011682016040523d82523d6000602084013e612057565b606091505b50600081511415612094576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600980546120fe906128cc565b80601f016020809104026020016040519081016040528092919081815260200182805461212a906128cc565b80156121775780601f1061214c57610100808354040283529160200191612177565b820191906000526020600020905b81548152906001019060200180831161215a57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156121c557600184039350600a81066030018453600a81049050806121c0576121c5565b61219a565b50828103602084039350808452505050919050565b60009392505050565b600033905090565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122448161220f565b811461224f57600080fd5b50565b6000813590506122618161223b565b92915050565b60006020828403121561227d5761227c612205565b5b600061228b84828501612252565b91505092915050565b60008115159050919050565b6122a981612294565b82525050565b60006020820190506122c460008301846122a0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123045780820151818401526020810190506122e9565b83811115612313576000848401525b50505050565b6000601f19601f8301169050919050565b6000612335826122ca565b61233f81856122d5565b935061234f8185602086016122e6565b61235881612319565b840191505092915050565b6000602082019050818103600083015261237d818461232a565b905092915050565b6000819050919050565b61239881612385565b81146123a357600080fd5b50565b6000813590506123b58161238f565b92915050565b6000602082840312156123d1576123d0612205565b5b60006123df848285016123a6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612413826123e8565b9050919050565b61242381612408565b82525050565b600060208201905061243e600083018461241a565b92915050565b61244d81612408565b811461245857600080fd5b50565b60008135905061246a81612444565b92915050565b6000806040838503121561248757612486612205565b5b60006124958582860161245b565b92505060206124a6858286016123a6565b9150509250929050565b6124b981612385565b82525050565b60006020820190506124d460008301846124b0565b92915050565b6000806000606084860312156124f3576124f2612205565b5b60006125018682870161245b565b93505060206125128682870161245b565b9250506040612523868287016123a6565b9150509250925092565b6003811061253a57600080fd5b50565b60008135905061254c8161252d565b92915050565b60008060006060848603121561256b5761256a612205565b5b60006125798682870161245b565b935050602061258a868287016123a6565b925050604061259b8682870161253d565b9150509250925092565b6000602082840312156125bb576125ba612205565b5b60006125c98482850161245b565b91505092915050565b6125db81612294565b81146125e657600080fd5b50565b6000813590506125f8816125d2565b92915050565b6000806040838503121561261557612614612205565b5b60006126238582860161245b565b9250506020612634858286016125e9565b9150509250929050565b6000806000806080858703121561265857612657612205565b5b60006126668782880161245b565b9450506020612677878288016123a6565b93505060406126888782880161253d565b9250506060612699878288016123a6565b91505092959194509250565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6126e782612319565b810181811067ffffffffffffffff82111715612706576127056126af565b5b80604052505050565b60006127196121fb565b905061272582826126de565b919050565b600067ffffffffffffffff821115612745576127446126af565b5b61274e82612319565b9050602081019050919050565b82818337600083830152505050565b600061277d6127788461272a565b61270f565b905082815260208101848484011115612799576127986126aa565b5b6127a484828561275b565b509392505050565b600082601f8301126127c1576127c06126a5565b5b81356127d184826020860161276a565b91505092915050565b600080600080608085870312156127f4576127f3612205565b5b60006128028782880161245b565b94505060206128138782880161245b565b9350506040612824878288016123a6565b925050606085013567ffffffffffffffff8111156128455761284461220a565b5b612851878288016127ac565b91505092959194509250565b6000806040838503121561287457612873612205565b5b60006128828582860161245b565b92505060206128938582860161245b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806128e457607f821691505b602082108114156128f8576128f761289d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081905092915050565b50565b600061294860008361292d565b915061295382612938565b600082019050919050565b60006129698261293b565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006129ad82612385565b91506129b883612385565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129ed576129ec612973565b5b828201905092915050565b6000612a0382612385565b9150612a0e83612385565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a4757612a46612973565b5b828202905092915050565b600081905092915050565b6000612a68826122ca565b612a728185612a52565b9350612a828185602086016122e6565b80840191505092915050565b6000612a9a8285612a5d565b9150612aa68284612a5d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612b0e6026836122d5565b9150612b1982612ab2565b604082019050919050565b60006020820190508181036000830152612b3d81612b01565b9050919050565b600081519050612b538161238f565b92915050565b600060208284031215612b6f57612b6e612205565b5b6000612b7d84828501612b44565b91505092915050565b6000604082019050612b9b600083018561241a565b612ba860208301846124b0565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612be56020836122d5565b9150612bf082612baf565b602082019050919050565b60006020820190508181036000830152612c1481612bd8565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612c4282612c1b565b612c4c8185612c26565b9350612c5c8185602086016122e6565b612c6581612319565b840191505092915050565b6000608082019050612c85600083018761241a565b612c92602083018661241a565b612c9f60408301856124b0565b8181036060830152612cb18184612c37565b905095945050505050565b600081519050612ccb8161223b565b92915050565b600060208284031215612ce757612ce6612205565b5b6000612cf584828501612cbc565b9150509291505056fe68747470733a2f2f6d657461646174612e6174746963632e78797a2f6d792d6d65746164617461a2646970667358221220fa7efe10f11c69a7c035f96359951676e68ad41afb294a7243c7dbbe4c38e4b864736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074e4654506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074154545041535300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d657461646174612e6174746963632e78797a2f00000000
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063b4b881fc11610095578063e1096eec11610064578063e1096eec14610659578063e8a3d48514610696578063e985e9c5146106c1578063f2fde38b146106fe576101cd565b8063b4b881fc146105ac578063b88d4fde146105d5578063c6374d0c146105f1578063c87b56dd1461061c576101cd565b806398a8cffe116100d157806398a8cffe146104ff578063a035b1fe1461053c578063a22cb46514610567578063a7a6be9614610590576101cd565b80638da5cb5b1461048057806391b7f5ed146104ab57806395d89b41146104d4576101cd565b8063243206711161016f57806370a082311161013e57806370a08231146103b25780637108a6b2146103ef578063715018a61461042c5780637512452c14610443576101cd565b806324320671146103055780633ccfd60b1461034257806342842e0e146103595780636352211e14610375576101cd565b8063081812fc116101ab578063081812fc14610265578063095ea7b3146102a257806318160ddd146102be57806323b872dd146102e9576101cd565b806301ffc9a7146101d257806303ee438c1461020f57806306fdde031461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612267565b610727565b60405161020691906122af565b60405180910390f35b34801561021b57600080fd5b506102246107b9565b6040516102319190612363565b60405180910390f35b34801561024657600080fd5b5061024f610847565b60405161025c9190612363565b60405180910390f35b34801561027157600080fd5b5061028c600480360381019061028791906123bb565b6108d9565b6040516102999190612429565b60405180910390f35b6102bc60048036038101906102b79190612470565b610958565b005b3480156102ca57600080fd5b506102d3610a9c565b6040516102e091906124bf565b60405180910390f35b61030360048036038101906102fe91906124da565b610ab3565b005b34801561031157600080fd5b5061032c60048036038101906103279190612552565b610dd8565b60405161033991906122af565b60405180910390f35b34801561034e57600080fd5b50610357610ee3565b005b610373600480360381019061036e91906124da565b610fd5565b005b34801561038157600080fd5b5061039c600480360381019061039791906123bb565b610ff5565b6040516103a99190612429565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906125a5565b611007565b6040516103e691906124bf565b60405180910390f35b3480156103fb57600080fd5b50610416600480360381019061041191906125a5565b6110c0565b60405161042391906122af565b60405180910390f35b34801561043857600080fd5b50610441611116565b005b34801561044f57600080fd5b5061046a600480360381019061046591906125a5565b61112a565b60405161047791906122af565b60405180910390f35b34801561048c57600080fd5b5061049561114a565b6040516104a29190612429565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd91906123bb565b611174565b005b3480156104e057600080fd5b506104e9611186565b6040516104f69190612363565b60405180910390f35b34801561050b57600080fd5b50610526600480360381019061052191906125a5565b611218565b60405161053391906122af565b60405180910390f35b34801561054857600080fd5b50610551611238565b60405161055e91906124bf565b60405180910390f35b34801561057357600080fd5b5061058e600480360381019061058991906125fe565b61123e565b005b6105aa60048036038101906105a5919061263e565b611349565b005b3480156105b857600080fd5b506105d360048036038101906105ce91906125a5565b6115ba565b005b6105ef60048036038101906105ea91906127da565b61161d565b005b3480156105fd57600080fd5b50610606611690565b60405161061391906124bf565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e91906123bb565b611698565b6040516106509190612363565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906125a5565b611737565b60405161068d91906122af565b60405180910390f35b3480156106a257600080fd5b506106ab61178d565b6040516106b89190612363565b60405180910390f35b3480156106cd57600080fd5b506106e860048036038101906106e3919061285d565b6117ad565b6040516106f591906122af565b60405180910390f35b34801561070a57600080fd5b50610725600480360381019061072091906125a5565b611841565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107b25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600980546107c6906128cc565b80601f01602080910402602001604051908101604052809291908181526020018280546107f2906128cc565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b505050505081565b606060028054610856906128cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610882906128cc565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e4826118c5565b61091a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061096382610ff5565b90508073ffffffffffffffffffffffffffffffffffffffff16610984611924565b73ffffffffffffffffffffffffffffffffffffffff16146109e7576109b0816109ab611924565b6117ad565b6109e6576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610aa661192c565b6001546000540303905090565b6000610abe82611935565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b25576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610b3184611a03565b91509150610b478187610b42611924565b611a2a565b610b9357610b5c86610b57611924565b6117ad565b610b92576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610bfa576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c078686866001611a6e565b8015610c1257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ce085610cbc888887611a74565b7c020000000000000000000000000000000000000000000000000000000017611a9c565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610d68576000600185019050600060046000838152602001908152602001600020541415610d66576000548114610d65578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610dd08686866001611ac7565b505050505050565b6000610de3846110c0565b610df05760009050610edc565b60006002811115610e0457610e036128fe565b5b826002811115610e1757610e166128fe565b5b1415610e2e57610e278433611acd565b9050610edc565b60016002811115610e4257610e416128fe565b5b826002811115610e5557610e546128fe565b5b1415610e6d57610e66848433611b62565b9050610edc565b600280811115610e8057610e7f6128fe565b5b826002811115610e9357610e926128fe565b5b1415610eaa57610ea38433611bf9565b9050610edc565b6040517f99e1731f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9392505050565b610eeb611c8e565b60004790506000610efa61114a565b73ffffffffffffffffffffffffffffffffffffffff1682604051610f1d9061295e565b60006040518083038185875af1925050503d8060008114610f5a576040519150601f19603f3d011682016040523d82523d6000602084013e610f5f565b606091505b5050905080610f9a576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fe1ba612886c314bab269521f17316b07e06593a8fbe87c52802306c8c6f7786582604051610fc991906124bf565b60405180910390a15050565b610ff08383836040518060200160405280600081525061161d565b505050565b600061100082611935565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561106f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61111e611c8e565b6111286000611d0c565b565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61117c611c8e565b80600b8190555050565b606060038054611195906128cc565b80601f01602080910402602001604051908101604052809291908181526020018280546111c1906128cc565b801561120e5780601f106111e35761010080835404028352916020019161120e565b820191906000526020600020905b8154815290600101906020018083116111f157829003601f168201915b5050505050905090565b600c6020528060005260406000206000915054906101000a900460ff1681565b600b5481565b806007600061124b611924565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112f8611924565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161133d91906122af565b60405180910390a35050565b6115b381611355610a9c565b61135f91906129a2565b1115611397576040517fb828d9b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006113a161114a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611410577f0b0a46fad2cbefc6501ec190d5dd4db8f0e63c9ed546ebbaa29cfff149cad7928260405161140391906124bf565b60405180910390a161154a565b6000600b5411801561142f575081600b5461142b91906129f8565b3410155b1561148857813373ffffffffffffffffffffffffffffffffffffffff167f492ce4504264d62f020be176696744a40dc173612bee89c189c9012454fdf6483460405161147b91906124bf565b60405180910390a3611549565b60018211156114c3576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114cc33611737565b15611503576040517f79c164ed00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61150e858585610dd8565b611544576040517f6a9a57a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600190505b5b6115543383611dd2565b80156115b3576001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b5050505050565b6115c2611c8e565b6001600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611628848484610ab3565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461168a5761165384848484611f8f565b611689576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6363553ad081565b60606116a3826118c5565b6116d9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116e36120ef565b9050600081511415611704576040518060200160405280600081525061172f565b8061170e84612181565b60405160200161171f929190612a8e565b6040516020818303038152906040525b915050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6060604051806060016040528060278152602001612cff60279139905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611849611c8e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b090612b24565b60405180910390fd5b6118c281611d0c565b50565b6000816118d061192c565b111580156118df575060005482105b801561191d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061194461192c565b116119cc576000548110156119cb5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156119c9575b60008114156119bf576004600083600190039350838152602001908152602001600020549050611994565b80925050506119fe565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611a8b8686846121da565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000808373ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611b099190612429565b60206040518083038186803b158015611b2157600080fd5b505afa158015611b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b599190612b59565b11905092915050565b6000808473ffffffffffffffffffffffffffffffffffffffff1662fdd58e84866040518363ffffffff1660e01b8152600401611b9f929190612b86565b60206040518083038186803b158015611bb757600080fd5b505afa158015611bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bef9190612b59565b1190509392505050565b6000808373ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401611c359190612429565b60206040518083038186803b158015611c4d57600080fd5b505afa158015611c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c859190612b59565b11905092915050565b611c966121e3565b73ffffffffffffffffffffffffffffffffffffffff16611cb461114a565b73ffffffffffffffffffffffffffffffffffffffff1614611d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0190612bfb565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000805490506000821415611e13576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e206000848385611a6e565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611e9783611e886000866000611a74565b611e91856121eb565b17611a9c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611f3857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611efd565b506000821415611f74576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050611f8a6000848385611ac7565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fb5611924565b8786866040518563ffffffff1660e01b8152600401611fd79493929190612c70565b602060405180830381600087803b158015611ff157600080fd5b505af192505050801561202257506040513d601f19601f8201168201806040525081019061201f9190612cd1565b60015b61209c573d8060008114612052576040519150601f19603f3d011682016040523d82523d6000602084013e612057565b606091505b50600081511415612094576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600980546120fe906128cc565b80601f016020809104026020016040519081016040528092919081815260200182805461212a906128cc565b80156121775780601f1061214c57610100808354040283529160200191612177565b820191906000526020600020905b81548152906001019060200180831161215a57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156121c557600184039350600a81066030018453600a81049050806121c0576121c5565b61219a565b50828103602084039350808452505050919050565b60009392505050565b600033905090565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122448161220f565b811461224f57600080fd5b50565b6000813590506122618161223b565b92915050565b60006020828403121561227d5761227c612205565b5b600061228b84828501612252565b91505092915050565b60008115159050919050565b6122a981612294565b82525050565b60006020820190506122c460008301846122a0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123045780820151818401526020810190506122e9565b83811115612313576000848401525b50505050565b6000601f19601f8301169050919050565b6000612335826122ca565b61233f81856122d5565b935061234f8185602086016122e6565b61235881612319565b840191505092915050565b6000602082019050818103600083015261237d818461232a565b905092915050565b6000819050919050565b61239881612385565b81146123a357600080fd5b50565b6000813590506123b58161238f565b92915050565b6000602082840312156123d1576123d0612205565b5b60006123df848285016123a6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612413826123e8565b9050919050565b61242381612408565b82525050565b600060208201905061243e600083018461241a565b92915050565b61244d81612408565b811461245857600080fd5b50565b60008135905061246a81612444565b92915050565b6000806040838503121561248757612486612205565b5b60006124958582860161245b565b92505060206124a6858286016123a6565b9150509250929050565b6124b981612385565b82525050565b60006020820190506124d460008301846124b0565b92915050565b6000806000606084860312156124f3576124f2612205565b5b60006125018682870161245b565b93505060206125128682870161245b565b9250506040612523868287016123a6565b9150509250925092565b6003811061253a57600080fd5b50565b60008135905061254c8161252d565b92915050565b60008060006060848603121561256b5761256a612205565b5b60006125798682870161245b565b935050602061258a868287016123a6565b925050604061259b8682870161253d565b9150509250925092565b6000602082840312156125bb576125ba612205565b5b60006125c98482850161245b565b91505092915050565b6125db81612294565b81146125e657600080fd5b50565b6000813590506125f8816125d2565b92915050565b6000806040838503121561261557612614612205565b5b60006126238582860161245b565b9250506020612634858286016125e9565b9150509250929050565b6000806000806080858703121561265857612657612205565b5b60006126668782880161245b565b9450506020612677878288016123a6565b93505060406126888782880161253d565b9250506060612699878288016123a6565b91505092959194509250565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6126e782612319565b810181811067ffffffffffffffff82111715612706576127056126af565b5b80604052505050565b60006127196121fb565b905061272582826126de565b919050565b600067ffffffffffffffff821115612745576127446126af565b5b61274e82612319565b9050602081019050919050565b82818337600083830152505050565b600061277d6127788461272a565b61270f565b905082815260208101848484011115612799576127986126aa565b5b6127a484828561275b565b509392505050565b600082601f8301126127c1576127c06126a5565b5b81356127d184826020860161276a565b91505092915050565b600080600080608085870312156127f4576127f3612205565b5b60006128028782880161245b565b94505060206128138782880161245b565b9350506040612824878288016123a6565b925050606085013567ffffffffffffffff8111156128455761284461220a565b5b612851878288016127ac565b91505092959194509250565b6000806040838503121561287457612873612205565b5b60006128828582860161245b565b92505060206128938582860161245b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806128e457607f821691505b602082108114156128f8576128f761289d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081905092915050565b50565b600061294860008361292d565b915061295382612938565b600082019050919050565b60006129698261293b565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006129ad82612385565b91506129b883612385565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129ed576129ec612973565b5b828201905092915050565b6000612a0382612385565b9150612a0e83612385565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a4757612a46612973565b5b828202905092915050565b600081905092915050565b6000612a68826122ca565b612a728185612a52565b9350612a828185602086016122e6565b80840191505092915050565b6000612a9a8285612a5d565b9150612aa68284612a5d565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612b0e6026836122d5565b9150612b1982612ab2565b604082019050919050565b60006020820190508181036000830152612b3d81612b01565b9050919050565b600081519050612b538161238f565b92915050565b600060208284031215612b6f57612b6e612205565b5b6000612b7d84828501612b44565b91505092915050565b6000604082019050612b9b600083018561241a565b612ba860208301846124b0565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612be56020836122d5565b9150612bf082612baf565b602082019050919050565b60006020820190508181036000830152612c1481612bd8565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612c4282612c1b565b612c4c8185612c26565b9350612c5c8185602086016122e6565b612c6581612319565b840191505092915050565b6000608082019050612c85600083018761241a565b612c92602083018661241a565b612c9f60408301856124b0565b8181036060830152612cb18184612c37565b905095945050505050565b600081519050612ccb8161223b565b92915050565b600060208284031215612ce757612ce6612205565b5b6000612cf584828501612cbc565b9150509291505056fe68747470733a2f2f6d657461646174612e6174746963632e78797a2f6d792d6d65746164617461a2646970667358221220fa7efe10f11c69a7c035f96359951676e68ad41afb294a7243c7dbbe4c38e4b864736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000074e4654506173730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074154545041535300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d657461646174612e6174746963632e78797a2f00000000
-----Decoded View---------------
Arg [0] : name_ (string): NFTPass
Arg [1] : symbol_ (string): ATTPASS
Arg [2] : baseUrl_ (string): https://metadata.atticc.xyz/
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4e46545061737300000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 4154545041535300000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [8] : 68747470733a2f2f6d657461646174612e6174746963632e78797a2f00000000
Deployed Bytecode Sourcemap
95272:5790:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18560:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95691:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19462:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25953:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25386:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;15213:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29592:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;98373:586;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;99192:246;;;;;;;;;;;;;:::i;:::-;;32513:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20855:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16397:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;97473:124;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93801:103;;;;;;;;;;;;;:::i;:::-;;95766:44;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93153:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98967:90;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;19638:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95942:47;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95818:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26511:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;99691:1368;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;99065:119;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;33304:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;95318:47;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19848:318;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;97605:117;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;96866:126;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26902:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94059:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;18560:639;18645:4;18984:10;18969:25;;:11;:25;;;;:102;;;;19061:10;19046:25;;:11;:25;;;;18969:102;:179;;;;19138:10;19123:25;;:11;:25;;;;18969:179;18949:199;;18560:639;;;:::o;95691:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19462:100::-;19516:13;19549:5;19542:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19462:100;:::o;25953:218::-;26029:7;26054:16;26062:7;26054;:16::i;:::-;26049:64;;26079:34;;;;;;;;;;;;;;26049:64;26133:15;:24;26149:7;26133:24;;;;;;;;;;;:30;;;;;;;;;;;;26126:37;;25953:218;;;:::o;25386:408::-;25475:13;25491:16;25499:7;25491;:16::i;:::-;25475:32;;25547:5;25524:28;;:19;:17;:19::i;:::-;:28;;;25520:175;;25572:44;25589:5;25596:19;:17;:19::i;:::-;25572:16;:44::i;:::-;25567:128;;25644:35;;;;;;;;;;;;;;25567:128;25520:175;25740:2;25707:15;:24;25723:7;25707:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;25778:7;25774:2;25758:28;;25767:5;25758:28;;;;;;;;;;;;25464:330;25386:408;;:::o;15213:323::-;15274:7;15502:15;:13;:15::i;:::-;15487:12;;15471:13;;:28;:46;15464:53;;15213:323;:::o;29592:2825::-;29734:27;29764;29783:7;29764:18;:27::i;:::-;29734:57;;29849:4;29808:45;;29824:19;29808:45;;;29804:86;;29862:28;;;;;;;;;;;;;;29804:86;29904:27;29933:23;29960:35;29987:7;29960:26;:35::i;:::-;29903:92;;;;30095:68;30120:15;30137:4;30143:19;:17;:19::i;:::-;30095:24;:68::i;:::-;30090:180;;30183:43;30200:4;30206:19;:17;:19::i;:::-;30183:16;:43::i;:::-;30178:92;;30235:35;;;;;;;;;;;;;;30178:92;30090:180;30301:1;30287:16;;:2;:16;;;30283:52;;;30312:23;;;;;;;;;;;;;;30283:52;30348:43;30370:4;30376:2;30380:7;30389:1;30348:21;:43::i;:::-;30484:15;30481:160;;;30624:1;30603:19;30596:30;30481:160;31021:18;:24;31040:4;31021:24;;;;;;;;;;;;;;;;31019:26;;;;;;;;;;;;31090:18;:22;31109:2;31090:22;;;;;;;;;;;;;;;;31088:24;;;;;;;;;;;31412:146;31449:2;31498:45;31513:4;31519:2;31523:19;31498:14;:45::i;:::-;11612:8;31470:73;31412:18;:146::i;:::-;31383:17;:26;31401:7;31383:26;;;;;;;;;;;:175;;;;31729:1;11612:8;31678:19;:47;:52;31674:627;;;31751:19;31783:1;31773:7;:11;31751:33;;31940:1;31906:17;:30;31924:11;31906:30;;;;;;;;;;;;:35;31902:384;;;32044:13;;32029:11;:28;32025:242;;32224:19;32191:17;:30;32209:11;32191:30;;;;;;;;;;;:52;;;;32025:242;31902:384;31732:569;31674:627;32348:7;32344:2;32329:27;;32338:4;32329:27;;;;;;;;;;;;32367:42;32388:4;32394:2;32398:7;32407:1;32367:20;:42::i;:::-;29723:2694;;;29592:2825;;;:::o;98373:586::-;98474:4;98496:26;98514:7;98496:17;:26::i;:::-;98491:72;;98546:5;98539:12;;;;98491:72;98589:18;98577:30;;;;;;;;:::i;:::-;;:8;:30;;;;;;;;:::i;:::-;;;98573:343;;;98631:36;98647:7;98656:10;98631:15;:36::i;:::-;98624:43;;;;98573:343;98701:19;98689:31;;;;;;;;:::i;:::-;;:8;:31;;;;;;;;:::i;:::-;;;98685:231;;;98744:46;98761:7;98770;98779:10;98744:16;:46::i;:::-;98737:53;;;;98685:231;98824:19;98812:31;;;;;;;;:::i;:::-;;:8;:31;;;;;;;;:::i;:::-;;;98808:108;;;98867:37;98884:7;98893:10;98867:16;:37::i;:::-;98860:44;;;;98808:108;98934:17;;;;;;;;;;;;;;98373:586;;;;;;:::o;99192:246::-;93039:13;:11;:13::i;:::-;99242:15:::1;99260:21;99242:39;;99293:12;99311:7;:5;:7::i;:::-;:12;;99331:7;99311:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99292:51;;;99359:7;99354:37;;99375:16;;;;;;;;;;;;;;99354:37;99407:23;99422:7;99407:23;;;;;;:::i;:::-;;;;;;;;99231:207;;99192:246::o:0;32513:193::-;32659:39;32676:4;32682:2;32686:7;32659:39;;;;;;;;;;;;:16;:39::i;:::-;32513:193;;;:::o;20855:152::-;20927:7;20970:27;20989:7;20970:18;:27::i;:::-;20947:52;;20855:152;;;:::o;16397:233::-;16469:7;16510:1;16493:19;;:5;:19;;;16489:60;;;16521:28;;;;;;;;;;;;;;16489:60;10556:13;16567:18;:25;16586:5;16567:25;;;;;;;;;;;;;;;;:55;16560:62;;16397:233;;;:::o;97473:124::-;97541:4;97565:12;:24;97578:10;97565:24;;;;;;;;;;;;;;;;;;;;;;;;;97558:31;;97473:124;;;:::o;93801:103::-;93039:13;:11;:13::i;:::-;93866:30:::1;93893:1;93866:18;:30::i;:::-;93801:103::o:0;95766:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;93153:87::-;93199:7;93226:6;;;;;;;;;;;93219:13;;93153:87;:::o;98967:90::-;93039:13;:11;:13::i;:::-;99041:8:::1;99033:5;:16;;;;98967:90:::0;:::o;19638:104::-;19694:13;19727:7;19720:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19638:104;:::o;95942:47::-;;;;;;;;;;;;;;;;;;;;;;:::o;95818:33::-;;;;:::o;26511:234::-;26658:8;26606:18;:39;26625:19;:17;:19::i;:::-;26606:39;;;;;;;;;;;;;;;:49;26646:8;26606:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;26718:8;26682:55;;26697:19;:17;:19::i;:::-;26682:55;;;26728:8;26682:55;;;;;;:::i;:::-;;;;;;;;26511:234;;:::o;99691:1368::-;99838:4;99827:8;99811:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:31;99807:88;;;99866:17;;;;;;;;;;;;;;99807:88;100051:18;100098:7;:5;:7::i;:::-;100084:21;;:10;:21;;;100080:844;;;100127:22;100140:8;100127:22;;;;;;:::i;:::-;;;;;;;;100080:844;;;100180:7;100172:5;;:15;:48;;;;;100212:8;100204:5;;:16;;;;:::i;:::-;100191:9;:29;;100172:48;100167:757;;;100316:8;100304:10;100287:49;;;100326:9;100287:49;;;;;;:::i;:::-;;;;;;;;100167:757;;;100452:1;100441:8;:12;100437:77;;;100481:17;;;;;;;;;;;;;;100437:77;100601:27;100617:10;100601:15;:27::i;:::-;100597:99;;;100656:24;;;;;;;;;;;;;;100597:99;100776:42;100791:7;100800;100809:8;100776:14;:42::i;:::-;100771:107;;100846:16;;;;;;;;;;;;;;100771:107;100908:4;100892:20;;100167:757;100080:844;100934:27;100940:10;100952:8;100934:5;:27::i;:::-;100976:13;100972:80;;;101036:4;101006:15;:27;101022:10;101006:27;;;;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;100972:80;99796:1263;99691:1368;;;;:::o;99065:119::-;93039:13;:11;:13::i;:::-;99172:4:::1;99142:12;:27;99155:13;99142:27;;;;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;99065:119:::0;:::o;33304:407::-;33479:31;33492:4;33498:2;33502:7;33479:12;:31::i;:::-;33543:1;33525:2;:14;;;:19;33521:183;;33564:56;33595:4;33601:2;33605:7;33614:5;33564:30;:56::i;:::-;33559:145;;33648:40;;;;;;;;;;;;;;33559:145;33521:183;33304:407;;;;:::o;95318:47::-;95355:10;95318:47;:::o;19848:318::-;19921:13;19952:16;19960:7;19952;:16::i;:::-;19947:59;;19977:29;;;;;;;;;;;;;;19947:59;20019:21;20043:10;:8;:10::i;:::-;20019:34;;20096:1;20077:7;20071:21;:26;;:87;;;;;;;;;;;;;;;;;20124:7;20133:18;20143:7;20133:9;:18::i;:::-;20107:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20071:87;20064:94;;;19848:318;;;:::o;97605:117::-;97667:4;97691:15;:23;97707:6;97691:23;;;;;;;;;;;;;;;;;;;;;;;;;97684:30;;97605:117;;;:::o;96866:126::-;96910:13;96936:48;;;;;;;;;;;;;;;;;;;96866:126;:::o;26902:164::-;26999:4;27023:18;:25;27042:5;27023:25;;;;;;;;;;;;;;;:35;27049:8;27023:35;;;;;;;;;;;;;;;;;;;;;;;;;27016:42;;26902:164;;;;:::o;94059:201::-;93039:13;:11;:13::i;:::-;94168:1:::1;94148:22;;:8;:22;;;;94140:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;94224:28;94243:8;94224:18;:28::i;:::-;94059:201:::0;:::o;27324:282::-;27389:4;27445:7;27426:15;:13;:15::i;:::-;:26;;:66;;;;;27479:13;;27469:7;:23;27426:66;:153;;;;;27578:1;11332:8;27530:17;:26;27548:7;27530:26;;;;;;;;;;;;:44;:49;27426:153;27406:173;;27324:282;;;:::o;49632:105::-;49692:7;49719:10;49712:17;;49632:105;:::o;97364:101::-;97429:7;97456:1;97449:8;;97364:101;:::o;22010:1275::-;22077:7;22097:12;22112:7;22097:22;;22180:4;22161:15;:13;:15::i;:::-;:23;22157:1061;;22214:13;;22207:4;:20;22203:1015;;;22252:14;22269:17;:23;22287:4;22269:23;;;;;;;;;;;;22252:40;;22386:1;11332:8;22358:6;:24;:29;22354:845;;;23023:113;23040:1;23030:6;:11;23023:113;;;23083:17;:25;23101:6;;;;;;;23083:25;;;;;;;;;;;;23074:34;;23023:113;;;23169:6;23162:13;;;;;;22354:845;22229:989;22203:1015;22157:1061;23246:31;;;;;;;;;;;;;;22010:1275;;;;:::o;28487:485::-;28589:27;28618:23;28659:38;28700:15;:24;28716:7;28700:24;;;;;;;;;;;28659:65;;28877:18;28854:41;;28934:19;28928:26;28909:45;;28839:126;28487:485;;;:::o;27715:659::-;27864:11;28029:16;28022:5;28018:28;28009:37;;28189:16;28178:9;28174:32;28161:45;;28339:15;28328:9;28325:30;28317:5;28306:9;28303:20;28300:56;28290:66;;27715:659;;;;;:::o;34373:159::-;;;;;:::o;48941:311::-;49076:7;49096:16;11736:3;49122:19;:41;;49096:68;;11736:3;49190:31;49201:4;49207:2;49211:9;49190:10;:31::i;:::-;49182:40;;:62;;49175:69;;;48941:311;;;;;:::o;23833:450::-;23913:14;24081:16;24074:5;24070:28;24061:37;;24258:5;24244:11;24219:23;24215:41;24212:52;24205:5;24202:63;24192:73;;23833:450;;;;:::o;35197:158::-;;;;;:::o;97730:157::-;97813:4;97878:1;97846:10;97838:29;;;97868:6;97838:37;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;97831:48;;97730:157;;;;:::o;97895:185::-;97996:4;98071:1;98030:10;98021:30;;;98052:6;98060:7;98021:47;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;98014:58;;97895:185;;;;;:::o;98088:159::-;98172:4;98238:1;98206:10;98197:30;;;98228:6;98197:38;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;98190:49;;98088:159;;;;:::o;93318:132::-;93393:12;:10;:12::i;:::-;93382:23;;:7;:5;:7::i;:::-;:23;;;93374:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;93318:132::o;94420:191::-;94494:16;94513:6;;;;;;;;;;;94494:25;;94539:8;94530:6;;:17;;;;;;;;;;;;;;;;;;94594:8;94563:40;;94584:8;94563:40;;;;;;;;;;;;94483:128;94420:191;:::o;36973:2966::-;37046:20;37069:13;;37046:36;;37109:1;37097:8;:13;37093:44;;;37119:18;;;;;;;;;;;;;;37093:44;37150:61;37180:1;37184:2;37188:12;37202:8;37150:21;:61::i;:::-;37694:1;10694:2;37664:1;:26;;37663:32;37651:8;:45;37625:18;:22;37644:2;37625:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;37973:139;38010:2;38064:33;38087:1;38091:2;38095:1;38064:14;:33::i;:::-;38031:30;38052:8;38031:20;:30::i;:::-;:66;37973:18;:139::i;:::-;37939:17;:31;37957:12;37939:31;;;;;;;;;;;:173;;;;38129:16;38160:11;38189:8;38174:12;:23;38160:37;;38710:16;38706:2;38702:25;38690:37;;39082:12;39042:8;39001:1;38939:25;38880:1;38819;38792:335;39453:1;39439:12;39435:20;39393:346;39494:3;39485:7;39482:16;39393:346;;39712:7;39702:8;39699:1;39672:25;39669:1;39666;39661:59;39547:1;39538:7;39534:15;39523:26;;39393:346;;;39397:77;39784:1;39772:8;:13;39768:45;;;39794:19;;;;;;;;;;;;;;39768:45;39846:3;39830:13;:19;;;;37399:2462;;39871:60;39900:1;39904:2;39908:12;39922:8;39871:20;:60::i;:::-;37035:2904;36973:2966;;:::o;35795:716::-;35958:4;36004:2;35979:45;;;36025:19;:17;:19::i;:::-;36046:4;36052:7;36061:5;35979:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;35975:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36279:1;36262:6;:13;:18;36258:235;;;36308:40;;;;;;;;;;;;;;36258:235;36451:6;36445:13;36436:6;36432:2;36428:15;36421:38;35975:529;36148:54;;;36138:64;;;:6;:64;;;;36131:71;;;35795:716;;;;;;:::o;97244:112::-;97304:13;97337:11;97330:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97244:112;:::o;49839:1745::-;49904:17;50338:4;50331;50325:11;50321:22;50430:1;50424:4;50417:15;50505:4;50502:1;50498:12;50491:19;;50587:1;50582:3;50575:14;50691:3;50930:5;50912:428;50938:1;50912:428;;;50978:1;50973:3;50969:11;50962:18;;51149:2;51143:4;51139:13;51135:2;51131:22;51126:3;51118:36;51243:2;51237:4;51233:13;51225:21;;51310:4;51300:25;;51318:5;;51300:25;50912:428;;;50916:21;51379:3;51374;51370:13;51494:4;51489:3;51485:14;51478:21;;51559:6;51554:3;51547:19;49943:1634;;;49839:1745;;;:::o;48642:147::-;48779:6;48642:147;;;;;:::o;68698:98::-;68751:7;68778:10;68771:17;;68698:98;:::o;24385:324::-;24455:14;24688:1;24678:8;24675:15;24649:24;24645:46;24635:56;;24385:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:118::-;5025:24;5043:5;5025:24;:::i;:::-;5020:3;5013:37;4938:118;;:::o;5062:222::-;5155:4;5193:2;5182:9;5178:18;5170:26;;5206:71;5274:1;5263:9;5259:17;5250:6;5206:71;:::i;:::-;5062:222;;;;:::o;5290:619::-;5367:6;5375;5383;5432:2;5420:9;5411:7;5407:23;5403:32;5400:119;;;5438:79;;:::i;:::-;5400:119;5558:1;5583:53;5628:7;5619:6;5608:9;5604:22;5583:53;:::i;:::-;5573:63;;5529:117;5685:2;5711:53;5756:7;5747:6;5736:9;5732:22;5711:53;:::i;:::-;5701:63;;5656:118;5813:2;5839:53;5884:7;5875:6;5864:9;5860:22;5839:53;:::i;:::-;5829:63;;5784:118;5290:619;;;;;:::o;5915:115::-;6004:1;5997:5;5994:12;5984:40;;6020:1;6017;6010:12;5984:40;5915:115;:::o;6036:171::-;6098:5;6136:6;6123:20;6114:29;;6152:49;6195:5;6152:49;:::i;:::-;6036:171;;;;:::o;6213:651::-;6306:6;6314;6322;6371:2;6359:9;6350:7;6346:23;6342:32;6339:119;;;6377:79;;:::i;:::-;6339:119;6497:1;6522:53;6567:7;6558:6;6547:9;6543:22;6522:53;:::i;:::-;6512:63;;6468:117;6624:2;6650:53;6695:7;6686:6;6675:9;6671:22;6650:53;:::i;:::-;6640:63;;6595:118;6752:2;6778:69;6839:7;6830:6;6819:9;6815:22;6778:69;:::i;:::-;6768:79;;6723:134;6213:651;;;;;:::o;6870:329::-;6929:6;6978:2;6966:9;6957:7;6953:23;6949:32;6946:119;;;6984:79;;:::i;:::-;6946:119;7104:1;7129:53;7174:7;7165:6;7154:9;7150:22;7129:53;:::i;:::-;7119:63;;7075:117;6870:329;;;;:::o;7205:116::-;7275:21;7290:5;7275:21;:::i;:::-;7268:5;7265:32;7255:60;;7311:1;7308;7301:12;7255:60;7205:116;:::o;7327:133::-;7370:5;7408:6;7395:20;7386:29;;7424:30;7448:5;7424:30;:::i;:::-;7327:133;;;;:::o;7466:468::-;7531:6;7539;7588:2;7576:9;7567:7;7563:23;7559:32;7556:119;;;7594:79;;:::i;:::-;7556:119;7714:1;7739:53;7784:7;7775:6;7764:9;7760:22;7739:53;:::i;:::-;7729:63;;7685:117;7841:2;7867:50;7909:7;7900:6;7889:9;7885:22;7867:50;:::i;:::-;7857:60;;7812:115;7466:468;;;;;:::o;7940:797::-;8042:6;8050;8058;8066;8115:3;8103:9;8094:7;8090:23;8086:33;8083:120;;;8122:79;;:::i;:::-;8083:120;8242:1;8267:53;8312:7;8303:6;8292:9;8288:22;8267:53;:::i;:::-;8257:63;;8213:117;8369:2;8395:53;8440:7;8431:6;8420:9;8416:22;8395:53;:::i;:::-;8385:63;;8340:118;8497:2;8523:69;8584:7;8575:6;8564:9;8560:22;8523:69;:::i;:::-;8513:79;;8468:134;8641:2;8667:53;8712:7;8703:6;8692:9;8688:22;8667:53;:::i;:::-;8657:63;;8612:118;7940:797;;;;;;;:::o;8743:117::-;8852:1;8849;8842:12;8866:117;8975:1;8972;8965:12;8989:180;9037:77;9034:1;9027:88;9134:4;9131:1;9124:15;9158:4;9155:1;9148:15;9175:281;9258:27;9280:4;9258:27;:::i;:::-;9250:6;9246:40;9388:6;9376:10;9373:22;9352:18;9340:10;9337:34;9334:62;9331:88;;;9399:18;;:::i;:::-;9331:88;9439:10;9435:2;9428:22;9218:238;9175:281;;:::o;9462:129::-;9496:6;9523:20;;:::i;:::-;9513:30;;9552:33;9580:4;9572:6;9552:33;:::i;:::-;9462:129;;;:::o;9597:307::-;9658:4;9748:18;9740:6;9737:30;9734:56;;;9770:18;;:::i;:::-;9734:56;9808:29;9830:6;9808:29;:::i;:::-;9800:37;;9892:4;9886;9882:15;9874:23;;9597:307;;;:::o;9910:154::-;9994:6;9989:3;9984;9971:30;10056:1;10047:6;10042:3;10038:16;10031:27;9910:154;;;:::o;10070:410::-;10147:5;10172:65;10188:48;10229:6;10188:48;:::i;:::-;10172:65;:::i;:::-;10163:74;;10260:6;10253:5;10246:21;10298:4;10291:5;10287:16;10336:3;10327:6;10322:3;10318:16;10315:25;10312:112;;;10343:79;;:::i;:::-;10312:112;10433:41;10467:6;10462:3;10457;10433:41;:::i;:::-;10153:327;10070:410;;;;;:::o;10499:338::-;10554:5;10603:3;10596:4;10588:6;10584:17;10580:27;10570:122;;10611:79;;:::i;:::-;10570:122;10728:6;10715:20;10753:78;10827:3;10819:6;10812:4;10804:6;10800:17;10753:78;:::i;:::-;10744:87;;10560:277;10499:338;;;;:::o;10843:943::-;10938:6;10946;10954;10962;11011:3;10999:9;10990:7;10986:23;10982:33;10979:120;;;11018:79;;:::i;:::-;10979:120;11138:1;11163:53;11208:7;11199:6;11188:9;11184:22;11163:53;:::i;:::-;11153:63;;11109:117;11265:2;11291:53;11336:7;11327:6;11316:9;11312:22;11291:53;:::i;:::-;11281:63;;11236:118;11393:2;11419:53;11464:7;11455:6;11444:9;11440:22;11419:53;:::i;:::-;11409:63;;11364:118;11549:2;11538:9;11534:18;11521:32;11580:18;11572:6;11569:30;11566:117;;;11602:79;;:::i;:::-;11566:117;11707:62;11761:7;11752:6;11741:9;11737:22;11707:62;:::i;:::-;11697:72;;11492:287;10843:943;;;;;;;:::o;11792:474::-;11860:6;11868;11917:2;11905:9;11896:7;11892:23;11888:32;11885:119;;;11923:79;;:::i;:::-;11885:119;12043:1;12068:53;12113:7;12104:6;12093:9;12089:22;12068:53;:::i;:::-;12058:63;;12014:117;12170:2;12196:53;12241:7;12232:6;12221:9;12217:22;12196:53;:::i;:::-;12186:63;;12141:118;11792:474;;;;;:::o;12272:180::-;12320:77;12317:1;12310:88;12417:4;12414:1;12407:15;12441:4;12438:1;12431:15;12458:320;12502:6;12539:1;12533:4;12529:12;12519:22;;12586:1;12580:4;12576:12;12607:18;12597:81;;12663:4;12655:6;12651:17;12641:27;;12597:81;12725:2;12717:6;12714:14;12694:18;12691:38;12688:84;;;12744:18;;:::i;:::-;12688:84;12509:269;12458:320;;;:::o;12784:180::-;12832:77;12829:1;12822:88;12929:4;12926:1;12919:15;12953:4;12950:1;12943:15;12970:147;13071:11;13108:3;13093:18;;12970:147;;;;:::o;13123:114::-;;:::o;13243:398::-;13402:3;13423:83;13504:1;13499:3;13423:83;:::i;:::-;13416:90;;13515:93;13604:3;13515:93;:::i;:::-;13633:1;13628:3;13624:11;13617:18;;13243:398;;;:::o;13647:379::-;13831:3;13853:147;13996:3;13853:147;:::i;:::-;13846:154;;14017:3;14010:10;;13647:379;;;:::o;14032:180::-;14080:77;14077:1;14070:88;14177:4;14174:1;14167:15;14201:4;14198:1;14191:15;14218:305;14258:3;14277:20;14295:1;14277:20;:::i;:::-;14272:25;;14311:20;14329:1;14311:20;:::i;:::-;14306:25;;14465:1;14397:66;14393:74;14390:1;14387:81;14384:107;;;14471:18;;:::i;:::-;14384:107;14515:1;14512;14508:9;14501:16;;14218:305;;;;:::o;14529:348::-;14569:7;14592:20;14610:1;14592:20;:::i;:::-;14587:25;;14626:20;14644:1;14626:20;:::i;:::-;14621:25;;14814:1;14746:66;14742:74;14739:1;14736:81;14731:1;14724:9;14717:17;14713:105;14710:131;;;14821:18;;:::i;:::-;14710:131;14869:1;14866;14862:9;14851:20;;14529:348;;;;:::o;14883:148::-;14985:11;15022:3;15007:18;;14883:148;;;;:::o;15037:377::-;15143:3;15171:39;15204:5;15171:39;:::i;:::-;15226:89;15308:6;15303:3;15226:89;:::i;:::-;15219:96;;15324:52;15369:6;15364:3;15357:4;15350:5;15346:16;15324:52;:::i;:::-;15401:6;15396:3;15392:16;15385:23;;15147:267;15037:377;;;;:::o;15420:435::-;15600:3;15622:95;15713:3;15704:6;15622:95;:::i;:::-;15615:102;;15734:95;15825:3;15816:6;15734:95;:::i;:::-;15727:102;;15846:3;15839:10;;15420:435;;;;;:::o;15861:225::-;16001:34;15997:1;15989:6;15985:14;15978:58;16070:8;16065:2;16057:6;16053:15;16046:33;15861:225;:::o;16092:366::-;16234:3;16255:67;16319:2;16314:3;16255:67;:::i;:::-;16248:74;;16331:93;16420:3;16331:93;:::i;:::-;16449:2;16444:3;16440:12;16433:19;;16092:366;;;:::o;16464:419::-;16630:4;16668:2;16657:9;16653:18;16645:26;;16717:9;16711:4;16707:20;16703:1;16692:9;16688:17;16681:47;16745:131;16871:4;16745:131;:::i;:::-;16737:139;;16464:419;;;:::o;16889:143::-;16946:5;16977:6;16971:13;16962:22;;16993:33;17020:5;16993:33;:::i;:::-;16889:143;;;;:::o;17038:351::-;17108:6;17157:2;17145:9;17136:7;17132:23;17128:32;17125:119;;;17163:79;;:::i;:::-;17125:119;17283:1;17308:64;17364:7;17355:6;17344:9;17340:22;17308:64;:::i;:::-;17298:74;;17254:128;17038:351;;;;:::o;17395:332::-;17516:4;17554:2;17543:9;17539:18;17531:26;;17567:71;17635:1;17624:9;17620:17;17611:6;17567:71;:::i;:::-;17648:72;17716:2;17705:9;17701:18;17692:6;17648:72;:::i;:::-;17395:332;;;;;:::o;17733:182::-;17873:34;17869:1;17861:6;17857:14;17850:58;17733:182;:::o;17921:366::-;18063:3;18084:67;18148:2;18143:3;18084:67;:::i;:::-;18077:74;;18160:93;18249:3;18160:93;:::i;:::-;18278:2;18273:3;18269:12;18262:19;;17921:366;;;:::o;18293:419::-;18459:4;18497:2;18486:9;18482:18;18474:26;;18546:9;18540:4;18536:20;18532:1;18521:9;18517:17;18510:47;18574:131;18700:4;18574:131;:::i;:::-;18566:139;;18293:419;;;:::o;18718:98::-;18769:6;18803:5;18797:12;18787:22;;18718:98;;;:::o;18822:168::-;18905:11;18939:6;18934:3;18927:19;18979:4;18974:3;18970:14;18955:29;;18822:168;;;;:::o;18996:360::-;19082:3;19110:38;19142:5;19110:38;:::i;:::-;19164:70;19227:6;19222:3;19164:70;:::i;:::-;19157:77;;19243:52;19288:6;19283:3;19276:4;19269:5;19265:16;19243:52;:::i;:::-;19320:29;19342:6;19320:29;:::i;:::-;19315:3;19311:39;19304:46;;19086:270;18996:360;;;;:::o;19362:640::-;19557:4;19595:3;19584:9;19580:19;19572:27;;19609:71;19677:1;19666:9;19662:17;19653:6;19609:71;:::i;:::-;19690:72;19758:2;19747:9;19743:18;19734:6;19690:72;:::i;:::-;19772;19840:2;19829:9;19825:18;19816:6;19772:72;:::i;:::-;19891:9;19885:4;19881:20;19876:2;19865:9;19861:18;19854:48;19919:76;19990:4;19981:6;19919:76;:::i;:::-;19911:84;;19362:640;;;;;;;:::o;20008:141::-;20064:5;20095:6;20089:13;20080:22;;20111:32;20137:5;20111:32;:::i;:::-;20008:141;;;;:::o;20155:349::-;20224:6;20273:2;20261:9;20252:7;20248:23;20244:32;20241:119;;;20279:79;;:::i;:::-;20241:119;20399:1;20424:63;20479:7;20470:6;20459:9;20455:22;20424:63;:::i;:::-;20414:73;;20370:127;20155:349;;;;:::o
Swarm Source
ipfs://fa7efe10f11c69a7c035f96359951676e68ad41afb294a7243c7dbbe4c38e4b8
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.