Overview
TokenID
2177
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WizhNFT
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-26 */ // File contracts/IERC721A.sol // SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File contracts/IERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File contracts/ERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File contracts/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File contracts/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File contracts/Math.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File contracts/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 _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File contracts/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require( leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof" ); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require( leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof" ); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File operator-filter-registry/src/[email protected] pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File operator-filter-registry/src/lib/[email protected] pragma solidity ^0.8.17; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File operator-filter-registry/src/[email protected] pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File operator-filter-registry/src/[email protected] pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File contracts/WizhNFT.sol pragma solidity ^0.8.12; //@author Soakverse //@title Wizh by Soakverse contract WizhNFT is DefaultOperatorFilterer, Ownable, ERC721A { using Strings for uint256; enum Step { Before, OGWhitelist, Eggz3Whitelist, Eggz1Whitelist, PremiumWhitelist, StandardWhitelist, Waitlist, Public, Soldout } string public baseURI; Step public sellingStep; uint256 private constant MAX_SUPPLY = 5000; bytes32 public ogMerkleRoot; bytes32 public eggz3MerkleRoot; bytes32 public eggz1MerkleRoot; bytes32 public premiumMerkleRoot; bytes32 public standardMerkleRoot; bytes32 public waitlistMerkleRoot; mapping(address => uint256) public ogAmountNftPerWallet; mapping(address => uint256) public eggz3AmountNftPerWallet; mapping(address => uint256) public eggz1AmountNftPerWallet; mapping(address => uint256) public premiumAmountNftPerWallet; mapping(address => uint256) public standardAmountNftPerWallet; mapping(address => uint256) public waitlistAmountNftPerWallet; mapping(address => uint256) public publicAmountNftPerWallet; constructor( bytes32 _ogMerkleRoot, bytes32 _eggz3MerkleRoot, bytes32 _eggz1MerkleRoot, bytes32 _premiumMerkleRoot, bytes32 _standardMerkleRoot, bytes32 _waitlistMerkleRoot, string memory _baseURI ) ERC721A("Wizh By Soakverse", "WIZH") { ogMerkleRoot = _ogMerkleRoot; eggz3MerkleRoot = _eggz3MerkleRoot; eggz1MerkleRoot = _eggz1MerkleRoot; premiumMerkleRoot = _premiumMerkleRoot; standardMerkleRoot = _standardMerkleRoot; waitlistMerkleRoot = _waitlistMerkleRoot; baseURI = _baseURI; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function ogWhitelistMint(uint256 _quantity, bytes32[] calldata _proof) external callerIsUser { require( sellingStep >= Step.OGWhitelist, "OG Whitelist sale is not activated" ); require( isOGWhiteListed(msg.sender, _quantity, _proof), "Not OG whitelisted for that amount" ); require( ogAmountNftPerWallet[msg.sender] + _quantity <= _quantity, "You reached maximum on OG Whitelist Sale" ); require( totalSupply() + _quantity <= MAX_SUPPLY, "Max total supply exceeded" ); ogAmountNftPerWallet[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function eggz3WhitelistMint(uint256 _quantity, bytes32[] calldata _proof) external callerIsUser { require( sellingStep >= Step.Eggz3Whitelist, "Eggz 3 Whitelist sale is not activated" ); require( isEggz3WhiteListed(msg.sender, _quantity, _proof), "Not Eggz 3 whitelisted for that amount" ); require( eggz3AmountNftPerWallet[msg.sender] + _quantity <= _quantity, "You reached maximum on Eggz 3 Whitelist Sale" ); require( totalSupply() + _quantity <= MAX_SUPPLY, "Max total supply exceeded" ); eggz3AmountNftPerWallet[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function eggz1WhitelistMint(uint256 _quantity, bytes32[] calldata _proof) external callerIsUser { require( sellingStep >= Step.Eggz1Whitelist, "Eggz 1 Whitelist sale is not activated" ); require( isEggz1WhiteListed(msg.sender, _quantity, _proof), "Not Eggz 1 whitelisted for that amount" ); require( eggz1AmountNftPerWallet[msg.sender] + _quantity <= _quantity, "You reached maximum on Eggz 1 Whitelist Sale" ); require( totalSupply() + _quantity <= MAX_SUPPLY, "Max total supply exceeded" ); eggz1AmountNftPerWallet[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function premiumWhitelistMint(uint256 _quantity, bytes32[] calldata _proof) external callerIsUser { require( sellingStep >= Step.PremiumWhitelist, "Premium Whitelist sale is not activated" ); require( isPremiumWhiteListed(msg.sender, _quantity, _proof), "Not Premium whitelisted for that amount" ); require( premiumAmountNftPerWallet[msg.sender] + _quantity <= _quantity, "You reached maximum on Premium Whitelist Sale" ); require( totalSupply() + _quantity <= MAX_SUPPLY, "Max total supply exceeded" ); premiumAmountNftPerWallet[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function standardWhitelistMint(uint256 _quantity, bytes32[] calldata _proof) external callerIsUser { require( sellingStep >= Step.StandardWhitelist, "Standard Whitelist sale is not activated" ); require( isStandardWhiteListed(msg.sender, _quantity, _proof), "Not Standard whitelisted for that amount" ); require( standardAmountNftPerWallet[msg.sender] + _quantity <= _quantity, "You reached maximum on Standard Whitelist Sale" ); require( totalSupply() + _quantity <= MAX_SUPPLY, "Max total supply exceeded" ); standardAmountNftPerWallet[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function waitlistWhitelistMint(uint256 _quantity, bytes32[] calldata _proof) external callerIsUser { require( sellingStep >= Step.Waitlist, "Wailist Whitelist sale is not activated" ); require( isWaitlistWhiteListed(msg.sender, _quantity, _proof), "Not Wailist whitelisted for that amount" ); require( waitlistAmountNftPerWallet[msg.sender] + _quantity <= _quantity, "You reached maximum on Wailist Whitelist Sale" ); require( totalSupply() + _quantity <= MAX_SUPPLY, "Max total supply exceeded" ); waitlistAmountNftPerWallet[msg.sender] += _quantity; _safeMint(msg.sender, _quantity); } function mint() external callerIsUser { require(sellingStep >= Step.Public, "Public sale is not activated"); require( publicAmountNftPerWallet[msg.sender] + 1 <= 1, "You can only get 1 NFT on the Public Sale" ); require( totalSupply() + 1 <= MAX_SUPPLY, "Max freemint supply exceeded" ); publicAmountNftPerWallet[msg.sender] += 1; _safeMint(msg.sender, 1); } function giveaway(address _to, uint256 _quantity) external onlyOwner { require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply exceeded"); _safeMint(_to, _quantity); } function setStep(uint256 _step) external onlyOwner { sellingStep = Step(_step); } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } // ---- OG Whitelist ---- function setOGMerkleRoot(bytes32 _merkleRoot) external onlyOwner { ogMerkleRoot = _merkleRoot; } function isOGWhiteListed( address _account, uint256 _quantity, bytes32[] calldata _proof ) internal view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_account, _quantity)); return _verify(_leaf, ogMerkleRoot, _proof); } // ---- Eggz 3 Whitelist ---- function setEggz3MerkleRoot(bytes32 _merkleRoot) external onlyOwner { eggz3MerkleRoot = _merkleRoot; } function isEggz3WhiteListed( address _account, uint256 _quantity, bytes32[] calldata _proof ) internal view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_account, _quantity)); return _verify(_leaf, eggz3MerkleRoot, _proof); } // ---- Eggz 1 Whitelist ---- function setEggz1MerkleRoot(bytes32 _merkleRoot) external onlyOwner { eggz1MerkleRoot = _merkleRoot; } function isEggz1WhiteListed( address _account, uint256 _quantity, bytes32[] calldata _proof ) internal view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_account, _quantity)); return _verify(_leaf, eggz1MerkleRoot, _proof); } // ---- Premium Whitelist ---- function setPremiumMerkleRoot(bytes32 _merkleRoot) external onlyOwner { premiumMerkleRoot = _merkleRoot; } function isPremiumWhiteListed( address _account, uint256 _quantity, bytes32[] calldata _proof ) internal view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_account, _quantity)); return _verify(_leaf, premiumMerkleRoot, _proof); } // ---- Standard Whitelist ---- function setStandardMerkleRoot(bytes32 _merkleRoot) external onlyOwner { standardMerkleRoot = _merkleRoot; } function isStandardWhiteListed( address _account, uint256 _quantity, bytes32[] calldata _proof ) internal view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_account, _quantity)); return _verify(_leaf, standardMerkleRoot, _proof); } // ---- Waitlist Whitelist ---- function setWaitlistMerkleRoot(bytes32 _merkleRoot) external onlyOwner { waitlistMerkleRoot = _merkleRoot; } function isWaitlistWhiteListed( address _account, uint256 _quantity, bytes32[] calldata _proof ) internal view returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(_account, _quantity)); return _verify(_leaf, waitlistMerkleRoot, _proof); } function _verify( bytes32 _leaf, bytes32 _root, bytes32[] memory _proof ) internal pure returns (bool) { return MerkleProof.verify(_proof, _root, _leaf); } function _startTokenId() internal pure override returns (uint256) { return 1; } function withdrawAll() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "there is nothing to withdraw"); _withdraw(owner(), address(this).balance); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "could not withdraw"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_ogMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_eggz3MerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_eggz1MerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_premiumMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_standardMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_waitlistMerkleRoot","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"eggz1AmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggz1MerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"eggz1WhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"eggz3AmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggz3MerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"eggz3WhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogAmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"ogWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"premiumAmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premiumMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"premiumWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicAmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum WizhNFT.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setEggz1MerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setEggz3MerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setOGMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setPremiumMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setStandardMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWaitlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"standardAmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"standardMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"standardWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"waitlistAmountNftPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waitlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"waitlistWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200385d3803806200385d8339810160408190526200003491620002a6565b604080518082018252601181527057697a6820427920536f616b766572736560781b602080830191909152825180840190935260048352630ae92b4960e31b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b15620001d45780156200012257604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200010357600080fd5b505af115801562000118573d6000803e3d6000fd5b50505050620001d4565b6001600160a01b03821615620001735760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000e8565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001ba57600080fd5b505af1158015620001cf573d6000803e3d6000fd5b505050505b50620001e290503362000240565b6003620001f0838262000442565b506004620001ff828262000442565b50600180555050600b879055600c869055600d859055600e849055600f8390556010829055600962000232828262000442565b50505050505050506200050e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600080600080600080600060e0888a031215620002c257600080fd5b87519650602080890151965060408901519550606089015194506080890151935060a0890151925060c089015160018060401b03808211156200030457600080fd5b818b0191508b601f8301126200031957600080fd5b8151818111156200032e576200032e62000290565b604051601f8201601f19908116603f0116810190838211818310171562000359576200035962000290565b816040528281528e868487010111156200037257600080fd5b600093505b8284101562000396578484018601518185018701529285019262000377565b600086848301015280965050505050505092959891949750929550565b600181811c90821680620003c857607f821691505b602082108103620003e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200043d57600081815260208120601f850160051c81016020861015620004185750805b601f850160051c820191505b81811015620004395782815560010162000424565b5050505b505050565b81516001600160401b038111156200045e576200045e62000290565b62000476816200046f8454620003b3565b84620003ef565b602080601f831160018114620004ae5760008415620004955750858301515b600019600386901b1c1916600185901b17855562000439565b600085815260208120601f198616915b82811015620004df57888601518255948401946001909101908401620004be565b5085821015620004fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61333f806200051e6000396000f3fe608060405234801561001057600080fd5b50600436106103365760003560e01c8063849da1af116101b2578063c87b56dd116100f9578063e396d525116100a2578063f2fde38b1161007c578063f2fde38b14610703578063f3ea198c14610716578063f8dcbddb14610729578063fb55e9f11461073c57600080fd5b8063e396d525146106ab578063e985e9c5146106b4578063ee0eeb09146106f057600080fd5b8063d1fa565c116100d3578063d1fa565c14610658578063db0dc7dc14610678578063de1730b91461069857600080fd5b8063c87b56dd1461060b578063cbccefb21461061e578063ce7907bd1461063857600080fd5b806399bf40da1161015b578063a3f3b3b211610135578063a3f3b3b2146105d2578063b3fa45b3146105e5578063b88d4fde146105f857600080fd5b806399bf40da146105a3578063a0bcfc7f146105ac578063a22cb465146105bf57600080fd5b806387c58bfb1161018c57806387c58bfb1461056a5780638da5cb5b1461058a57806395d89b411461059b57600080fd5b8063849da1af1461052f578063853828b61461054f5780638706dedf1461055757600080fd5b806323b872dd116102815780634a0e74041161022a57806363f025581161020457806363f02558146104f95780636c0360eb1461050c57806370a0823114610514578063715018a61461052757600080fd5b80634a0e7404146104b35780634d0af3e1146104c65780636352211e146104e657600080fd5b80633d8fed151161025b5780633d8fed151461048257806341f434341461048b57806342842e0e146104a057600080fd5b806323b872dd1461045357806325c2c020146104665780632d8b9aaa1461047957600080fd5b8063095ea7b3116102e35780631773a9bb116102bd5780631773a9bb1461041d57806318160ddd146104305780631ca823151461044057600080fd5b8063095ea7b3146103f95780630a3025301461040c5780631249c58b1461041557600080fd5b80630573c811116103145780630573c811146103a657806306fdde03146103b9578063081812fc146103ce57600080fd5b806301a75c1b1461033b57806301ffc9a71461036e578063050225ea14610391575b600080fd5b61035b610349366004612c96565b60176020526000908152604090205481565b6040519081526020015b60405180910390f35b61038161037c366004612cc7565b610745565b6040519015158152602001610365565b6103a461039f366004612ce4565b6107e2565b005b6103a46103b4366004612d0e565b610866565b6103c1610873565b6040516103659190612d77565b6103e16103dc366004612d0e565b610905565b6040516001600160a01b039091168152602001610365565b6103a4610407366004612ce4565b610962565b61035b600b5481565b6103a461097b565b6103a461042b366004612d8a565b610b5e565b600254600154036000190161035b565b6103a461044e366004612d8a565b610de1565b6103a4610461366004612e09565b611026565b6103a4610474366004612d0e565b611051565b61035b600f5481565b61035b600c5481565b6103e16daaeb6d7670e522a718067333cd4e81565b6103a46104ae366004612e09565b61105e565b6103a46104c1366004612d0e565b611083565b61035b6104d4366004612c96565b60156020526000908152604090205481565b6103e16104f4366004612d0e565b611090565b6103a4610507366004612d8a565b61109b565b6103c161130e565b61035b610522366004612c96565b61139c565b6103a4611404565b61035b61053d366004612c96565b60116020526000908152604090205481565b6103a4611416565b6103a4610565366004612d8a565b61148a565b61035b610578366004612c96565b60146020526000908152604090205481565b6000546001600160a01b03166103e1565b6103c16116fd565b61035b60105481565b6103a46105ba366004612ed1565b61170c565b6103a46105cd366004612f28565b611720565b6103a46105e0366004612d0e565b611734565b6103a46105f3366004612d0e565b611741565b6103a4610606366004612f5f565b61174e565b6103c1610619366004612d0e565b61177b565b600a5461062b9060ff1681565b6040516103659190612ff1565b61035b610646366004612c96565b60136020526000908152604090205481565b61035b610666366004612c96565b60166020526000908152604090205481565b61035b610686366004612c96565b60126020526000908152604090205481565b6103a46106a6366004612d8a565b611804565b61035b600e5481565b6103816106c2366004613019565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6103a46106fe366004612d0e565b611a49565b6103a4610711366004612c96565b611a56565b6103a4610724366004612d8a565b611ae3565b6103a4610737366004612d0e565b611d56565b61035b600d5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806107a857507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806107dc57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6107ea611d94565b60025460015461138891839103600019016108059190613062565b11156108585760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c792065786365656465640000000000000000000000000060448201526064015b60405180910390fd5b6108628282611dee565b5050565b61086e611d94565b600c55565b60606003805461088290613075565b80601f01602080910402602001604051908101604052809291908181526020018280546108ae90613075565b80156108fb5780601f106108d0576101008083540402835291602001916108fb565b820191906000526020600020905b8154815290600101906020018083116108de57829003601f168201915b5050505050905090565b600061091082611e08565b610946576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b8161096c81611e3d565b6109768383611f28565b505050565b3233146109ca5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6007600a5460ff1660088111156109e3576109e3612fdb565b1015610a315760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f742061637469766174656400000000604482015260640161084f565b33600090815260176020526040902054600190610a4e9082613062565b1115610ac25760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206f6e6c79206765742031204e4654206f6e2074686520507560448201527f626c69632053616c650000000000000000000000000000000000000000000000606482015260840161084f565b60025460015461138891900360001901610add906001613062565b1115610b2b5760405162461bcd60e51b815260206004820152601c60248201527f4d617820667265656d696e7420737570706c7920657863656564656400000000604482015260640161084f565b336000908152601760205260408120805460019290610b4b908490613062565b90915550610b5c9050336001611dee565b565b323314610bad5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6006600a5460ff166008811115610bc657610bc6612fdb565b1015610c3a5760405162461bcd60e51b815260206004820152602760248201527f5761696c6973742057686974656c6973742073616c65206973206e6f7420616360448201527f7469766174656400000000000000000000000000000000000000000000000000606482015260840161084f565b610c4633848484612016565b610cb85760405162461bcd60e51b815260206004820152602760248201527f4e6f74205761696c6973742077686974656c697374656420666f72207468617460448201527f20616d6f756e7400000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601660205260409020548390610cd5908290613062565b1115610d495760405162461bcd60e51b815260206004820152602d60248201527f596f752072656163686564206d6178696d756d206f6e205761696c697374205760448201527f686974656c6973742053616c6500000000000000000000000000000000000000606482015260840161084f565b6002546001546113889185910360001901610d649190613062565b1115610db25760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526016602052604081208054859290610dd1908490613062565b9091555061097690503384611dee565b323314610e305760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6002600a5460ff166008811115610e4957610e49612fdb565b1015610ea65760405162461bcd60e51b815260206004820152602660248201527f4567677a20332057686974656c6973742073616c65206973206e6f74206163746044820152651a5d985d195960d21b606482015260840161084f565b610eb2338484846120a5565b610f0d5760405162461bcd60e51b815260206004820152602660248201527f4e6f74204567677a20332077686974656c697374656420666f72207468617420604482015265185b5bdd5b9d60d21b606482015260840161084f565b336000908152601260205260409020548390610f2a908290613062565b1115610f9e5760405162461bcd60e51b815260206004820152602c60248201527f596f752072656163686564206d6178696d756d206f6e204567677a203320576860448201527f6974656c6973742053616c650000000000000000000000000000000000000000606482015260840161084f565b6002546001546113889185910360001901610fb99190613062565b11156110075760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526012602052604081208054859290610dd1908490613062565b826001600160a01b03811633146110405761104033611e3d565b61104b848484612128565b50505050565b611059611d94565b600b55565b826001600160a01b03811633146110785761107833611e3d565b61104b84848461232a565b61108b611d94565b600d55565b60006107dc82612345565b3233146110ea5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6004600a5460ff16600881111561110357611103612fdb565b10156111775760405162461bcd60e51b815260206004820152602760248201527f5072656d69756d2057686974656c6973742073616c65206973206e6f7420616360448201527f7469766174656400000000000000000000000000000000000000000000000000606482015260840161084f565b611183338484846123d4565b6111f55760405162461bcd60e51b815260206004820152602760248201527f4e6f74205072656d69756d2077686974656c697374656420666f72207468617460448201527f20616d6f756e7400000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601460205260409020548390611212908290613062565b11156112865760405162461bcd60e51b815260206004820152602d60248201527f596f752072656163686564206d6178696d756d206f6e205072656d69756d205760448201527f686974656c6973742053616c6500000000000000000000000000000000000000606482015260840161084f565b60025460015461138891859103600019016112a19190613062565b11156112ef5760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526014602052604081208054859290610dd1908490613062565b6009805461131b90613075565b80601f016020809104026020016040519081016040528092919081815260200182805461134790613075565b80156113945780601f1061136957610100808354040283529160200191611394565b820191906000526020600020905b81548152906001019060200180831161137757829003601f168201915b505050505081565b60006001600160a01b0382166113de576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61140c611d94565b610b5c6000612457565b61141e611d94565b478061146c5760405162461bcd60e51b815260206004820152601c60248201527f7468657265206973206e6f7468696e6720746f20776974686472617700000000604482015260640161084f565b6114876114816000546001600160a01b031690565b476124bf565b50565b3233146114d95760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6005600a5460ff1660088111156114f2576114f2612fdb565b10156115665760405162461bcd60e51b815260206004820152602860248201527f5374616e646172642057686974656c6973742073616c65206973206e6f74206160448201527f6374697661746564000000000000000000000000000000000000000000000000606482015260840161084f565b61157233848484612562565b6115e45760405162461bcd60e51b815260206004820152602860248201527f4e6f74205374616e646172642077686974656c697374656420666f722074686160448201527f7420616d6f756e74000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601560205260409020548390611601908290613062565b11156116755760405162461bcd60e51b815260206004820152602e60248201527f596f752072656163686564206d6178696d756d206f6e205374616e646172642060448201527f57686974656c6973742053616c65000000000000000000000000000000000000606482015260840161084f565b60025460015461138891859103600019016116909190613062565b11156116de5760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526015602052604081208054859290610dd1908490613062565b60606004805461088290613075565b611714611d94565b600961086282826130f5565b8161172a81611e3d565b61097683836125e5565b61173c611d94565b601055565b611749611d94565b600f55565b836001600160a01b03811633146117685761176833611e3d565b61177485858585612693565b5050505050565b606061178682611e08565b6117d25760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161084f565b60096117dd836126d7565b6040516020016117ee9291906131b5565b6040516020818303038152906040529050919050565b3233146118535760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6003600a5460ff16600881111561186c5761186c612fdb565b10156118c95760405162461bcd60e51b815260206004820152602660248201527f4567677a20312057686974656c6973742073616c65206973206e6f74206163746044820152651a5d985d195960d21b606482015260840161084f565b6118d533848484612777565b6119305760405162461bcd60e51b815260206004820152602660248201527f4e6f74204567677a20312077686974656c697374656420666f72207468617420604482015265185b5bdd5b9d60d21b606482015260840161084f565b33600090815260136020526040902054839061194d908290613062565b11156119c15760405162461bcd60e51b815260206004820152602c60248201527f596f752072656163686564206d6178696d756d206f6e204567677a203120576860448201527f6974656c6973742053616c650000000000000000000000000000000000000000606482015260840161084f565b60025460015461138891859103600019016119dc9190613062565b1115611a2a5760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526013602052604081208054859290610dd1908490613062565b611a51611d94565b600e55565b611a5e611d94565b6001600160a01b038116611ada5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161084f565b61148781612457565b323314611b325760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6001600a5460ff166008811115611b4b57611b4b612fdb565b1015611bbf5760405162461bcd60e51b815260206004820152602260248201527f4f472057686974656c6973742073616c65206973206e6f74206163746976617460448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161084f565b611bcb338484846127fa565b611c3d5760405162461bcd60e51b815260206004820152602260248201527f4e6f74204f472077686974656c697374656420666f72207468617420616d6f7560448201527f6e74000000000000000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601160205260409020548390611c5a908290613062565b1115611cce5760405162461bcd60e51b815260206004820152602860248201527f596f752072656163686564206d6178696d756d206f6e204f472057686974656c60448201527f6973742053616c65000000000000000000000000000000000000000000000000606482015260840161084f565b6002546001546113889185910360001901611ce99190613062565b1115611d375760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526011602052604081208054859290610dd1908490613062565b611d5e611d94565b806008811115611d7057611d70612fdb565b600a805460ff19166001836008811115611d8c57611d8c612fdb565b021790555050565b6000546001600160a01b03163314610b5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084f565b61086282826040518060200160405280600081525061287d565b600081600111158015611e1c575060015482105b80156107dc575050600090815260056020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15611487576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611ec3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee79190613264565b611487576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161084f565b6000611f3382611090565b9050336001600160a01b03821614611fa2576001600160a01b038116600090815260086020908152604080832033845290915290205460ff16611fa2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040516bffffffffffffffffffffffff19606086901b166020820152603481018490526000908190605401604051602081830303815290604052805190602001209050612099816010548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b9150505b949350505050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600c548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b600061213382612345565b9050836001600160a01b0316816001600160a01b031614612180576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417612203576001600160a01b038616600090815260086020908152604080832033845290915290205460ff16612203576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516612243576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561224e57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036122e0576001840160008181526005602052604081205490036122de5760015481146122de5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109768383836040518060200160405280600081525061174e565b600081806001116123a2576001548110156123a25760008181526005602052604081205490600160e01b821690036123a0575b80600003612399575060001901600081815260056020526040902054612378565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600e548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461250c576040519150601f19603f3d011682016040523d82523d6000602084013e612511565b606091505b50509050806109765760405162461bcd60e51b815260206004820152601260248201527f636f756c64206e6f742077697468647261770000000000000000000000000000604482015260640161084f565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600f548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b336001600160a01b03831603612627576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61269e848484611026565b6001600160a01b0383163b1561104b576126ba848484846128f0565b61104b576040516368d2bf6b60e11b815260040160405180910390fd5b606060006126e4836129d8565b600101905060008167ffffffffffffffff81111561270457612704612e45565b6040519080825280601f01601f19166020018201604052801561272e576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461273857509392505050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600d548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600b548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b6128878383612aba565b6001600160a01b0383163b15610976576001548281035b6128b160008683806001019450866128f0565b6128ce576040516368d2bf6b60e11b815260040160405180910390fd5b81811061289e57816001541461177457600080fd5b600061209d828486612beb565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612925903390899088908890600401613281565b6020604051808303816000875af1925050508015612960575060408051601f3d908101601f1916820190925261295d918101906132bd565b60015b6129be573d80801561298e576040519150601f19603f3d011682016040523d82523d6000602084013e612993565b606091505b5080516000036129b6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061209d565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a21577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612a4d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612a6b57662386f26fc10000830492506010015b6305f5e1008310612a83576305f5e100830492506008015b6127108310612a9757612710830492506004015b60648310612aa9576064830492506002015b600a83106107dc5760010192915050565b6001546000829003612af8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612ba757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612b6f565b5081600003612be2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015550505050565b600082612bf88584612c01565b14949350505050565b600081815b8451811015612c4657612c3282868381518110612c2557612c256132da565b6020026020010151612c4e565b915080612c3e816132f0565b915050612c06565b509392505050565b6000818310612c6a576000828152602084905260409020612399565b5060009182526020526040902090565b80356001600160a01b0381168114612c9157600080fd5b919050565b600060208284031215612ca857600080fd5b61239982612c7a565b6001600160e01b03198116811461148757600080fd5b600060208284031215612cd957600080fd5b813561239981612cb1565b60008060408385031215612cf757600080fd5b612d0083612c7a565b946020939093013593505050565b600060208284031215612d2057600080fd5b5035919050565b60005b83811015612d42578181015183820152602001612d2a565b50506000910152565b60008151808452612d63816020860160208601612d27565b601f01601f19169290920160200192915050565b6020815260006123996020830184612d4b565b600080600060408486031215612d9f57600080fd5b83359250602084013567ffffffffffffffff80821115612dbe57600080fd5b818601915086601f830112612dd257600080fd5b813581811115612de157600080fd5b8760208260051b8501011115612df657600080fd5b6020830194508093505050509250925092565b600080600060608486031215612e1e57600080fd5b612e2784612c7a565b9250612e3560208501612c7a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612e7657612e76612e45565b604051601f8501601f19908116603f01168101908282118183101715612e9e57612e9e612e45565b81604052809350858152868686011115612eb757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612ee357600080fd5b813567ffffffffffffffff811115612efa57600080fd5b8201601f81018413612f0b57600080fd5b61209d84823560208401612e5b565b801515811461148757600080fd5b60008060408385031215612f3b57600080fd5b612f4483612c7a565b91506020830135612f5481612f1a565b809150509250929050565b60008060008060808587031215612f7557600080fd5b612f7e85612c7a565b9350612f8c60208601612c7a565b925060408501359150606085013567ffffffffffffffff811115612faf57600080fd5b8501601f81018713612fc057600080fd5b612fcf87823560208401612e5b565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016009831061301357634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561302c57600080fd5b61303583612c7a565b915061304360208401612c7a565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107dc576107dc61304c565b600181811c9082168061308957607f821691505b6020821081036130a957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561097657600081815260208120601f850160051c810160208610156130d65750805b601f850160051c820191505b81811015612322578281556001016130e2565b815167ffffffffffffffff81111561310f5761310f612e45565b6131238161311d8454613075565b846130af565b602080601f83116001811461315857600084156131405750858301515b600019600386901b1c1916600185901b178555612322565b600085815260208120601f198616915b8281101561318757888601518255948401946001909101908401613168565b50858210156131a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008084546131c381613075565b600182811680156131db57600181146131f05761321f565b60ff198416875282151583028701945061321f565b8860005260208060002060005b858110156132165781548a8201529084019082016131fd565b50505082870194505b505050508351613233818360208801612d27565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60006020828403121561327657600080fd5b815161239981612f1a565b60006001600160a01b038087168352808616602084015250836040830152608060608301526132b36080830184612d4b565b9695505050505050565b6000602082840312156132cf57600080fd5b815161239981612cb1565b634e487b7160e01b600052603260045260246000fd5b6000600182016133025761330261304c565b506001019056fea26469706673582212203c3b3771400892152b84ee142d0c15fa0f5025a634c9d803bc723ae1353a3cfb64736f6c63430008110033addde4e2a39ee48c5f5fd112c8fc8deed00c4a060d83456193609a951e6df27c61460d71148990a1b29ea56c4c7383fe4104376c71a5df357494f886d306c240552f578dc85c243f85219521b9ad9e7168c6109aea2ffa0b6c25b415e389527dec81725d52f532dbdd769639401840f326a922c6d5ba18851428b1d090a40e3257a5a76a33d43f7b67c2e2e28d07ff3e3531b59e08ccdf091280f33d7e231539778e7e50d95fdc63ee2e1bce6eb21424bd1e1aca723321d4064b2afe1a06b87500000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d66535037425657335a6646614b52544d564434797772734155486d4b3452344a38664e47596b3369517279432f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103365760003560e01c8063849da1af116101b2578063c87b56dd116100f9578063e396d525116100a2578063f2fde38b1161007c578063f2fde38b14610703578063f3ea198c14610716578063f8dcbddb14610729578063fb55e9f11461073c57600080fd5b8063e396d525146106ab578063e985e9c5146106b4578063ee0eeb09146106f057600080fd5b8063d1fa565c116100d3578063d1fa565c14610658578063db0dc7dc14610678578063de1730b91461069857600080fd5b8063c87b56dd1461060b578063cbccefb21461061e578063ce7907bd1461063857600080fd5b806399bf40da1161015b578063a3f3b3b211610135578063a3f3b3b2146105d2578063b3fa45b3146105e5578063b88d4fde146105f857600080fd5b806399bf40da146105a3578063a0bcfc7f146105ac578063a22cb465146105bf57600080fd5b806387c58bfb1161018c57806387c58bfb1461056a5780638da5cb5b1461058a57806395d89b411461059b57600080fd5b8063849da1af1461052f578063853828b61461054f5780638706dedf1461055757600080fd5b806323b872dd116102815780634a0e74041161022a57806363f025581161020457806363f02558146104f95780636c0360eb1461050c57806370a0823114610514578063715018a61461052757600080fd5b80634a0e7404146104b35780634d0af3e1146104c65780636352211e146104e657600080fd5b80633d8fed151161025b5780633d8fed151461048257806341f434341461048b57806342842e0e146104a057600080fd5b806323b872dd1461045357806325c2c020146104665780632d8b9aaa1461047957600080fd5b8063095ea7b3116102e35780631773a9bb116102bd5780631773a9bb1461041d57806318160ddd146104305780631ca823151461044057600080fd5b8063095ea7b3146103f95780630a3025301461040c5780631249c58b1461041557600080fd5b80630573c811116103145780630573c811146103a657806306fdde03146103b9578063081812fc146103ce57600080fd5b806301a75c1b1461033b57806301ffc9a71461036e578063050225ea14610391575b600080fd5b61035b610349366004612c96565b60176020526000908152604090205481565b6040519081526020015b60405180910390f35b61038161037c366004612cc7565b610745565b6040519015158152602001610365565b6103a461039f366004612ce4565b6107e2565b005b6103a46103b4366004612d0e565b610866565b6103c1610873565b6040516103659190612d77565b6103e16103dc366004612d0e565b610905565b6040516001600160a01b039091168152602001610365565b6103a4610407366004612ce4565b610962565b61035b600b5481565b6103a461097b565b6103a461042b366004612d8a565b610b5e565b600254600154036000190161035b565b6103a461044e366004612d8a565b610de1565b6103a4610461366004612e09565b611026565b6103a4610474366004612d0e565b611051565b61035b600f5481565b61035b600c5481565b6103e16daaeb6d7670e522a718067333cd4e81565b6103a46104ae366004612e09565b61105e565b6103a46104c1366004612d0e565b611083565b61035b6104d4366004612c96565b60156020526000908152604090205481565b6103e16104f4366004612d0e565b611090565b6103a4610507366004612d8a565b61109b565b6103c161130e565b61035b610522366004612c96565b61139c565b6103a4611404565b61035b61053d366004612c96565b60116020526000908152604090205481565b6103a4611416565b6103a4610565366004612d8a565b61148a565b61035b610578366004612c96565b60146020526000908152604090205481565b6000546001600160a01b03166103e1565b6103c16116fd565b61035b60105481565b6103a46105ba366004612ed1565b61170c565b6103a46105cd366004612f28565b611720565b6103a46105e0366004612d0e565b611734565b6103a46105f3366004612d0e565b611741565b6103a4610606366004612f5f565b61174e565b6103c1610619366004612d0e565b61177b565b600a5461062b9060ff1681565b6040516103659190612ff1565b61035b610646366004612c96565b60136020526000908152604090205481565b61035b610666366004612c96565b60166020526000908152604090205481565b61035b610686366004612c96565b60126020526000908152604090205481565b6103a46106a6366004612d8a565b611804565b61035b600e5481565b6103816106c2366004613019565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6103a46106fe366004612d0e565b611a49565b6103a4610711366004612c96565b611a56565b6103a4610724366004612d8a565b611ae3565b6103a4610737366004612d0e565b611d56565b61035b600d5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614806107a857507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b806107dc57507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6107ea611d94565b60025460015461138891839103600019016108059190613062565b11156108585760405162461bcd60e51b815260206004820152601360248201527f4d617820737570706c792065786365656465640000000000000000000000000060448201526064015b60405180910390fd5b6108628282611dee565b5050565b61086e611d94565b600c55565b60606003805461088290613075565b80601f01602080910402602001604051908101604052809291908181526020018280546108ae90613075565b80156108fb5780601f106108d0576101008083540402835291602001916108fb565b820191906000526020600020905b8154815290600101906020018083116108de57829003601f168201915b5050505050905090565b600061091082611e08565b610946576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b8161096c81611e3d565b6109768383611f28565b505050565b3233146109ca5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6007600a5460ff1660088111156109e3576109e3612fdb565b1015610a315760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f742061637469766174656400000000604482015260640161084f565b33600090815260176020526040902054600190610a4e9082613062565b1115610ac25760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206f6e6c79206765742031204e4654206f6e2074686520507560448201527f626c69632053616c650000000000000000000000000000000000000000000000606482015260840161084f565b60025460015461138891900360001901610add906001613062565b1115610b2b5760405162461bcd60e51b815260206004820152601c60248201527f4d617820667265656d696e7420737570706c7920657863656564656400000000604482015260640161084f565b336000908152601760205260408120805460019290610b4b908490613062565b90915550610b5c9050336001611dee565b565b323314610bad5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6006600a5460ff166008811115610bc657610bc6612fdb565b1015610c3a5760405162461bcd60e51b815260206004820152602760248201527f5761696c6973742057686974656c6973742073616c65206973206e6f7420616360448201527f7469766174656400000000000000000000000000000000000000000000000000606482015260840161084f565b610c4633848484612016565b610cb85760405162461bcd60e51b815260206004820152602760248201527f4e6f74205761696c6973742077686974656c697374656420666f72207468617460448201527f20616d6f756e7400000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601660205260409020548390610cd5908290613062565b1115610d495760405162461bcd60e51b815260206004820152602d60248201527f596f752072656163686564206d6178696d756d206f6e205761696c697374205760448201527f686974656c6973742053616c6500000000000000000000000000000000000000606482015260840161084f565b6002546001546113889185910360001901610d649190613062565b1115610db25760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526016602052604081208054859290610dd1908490613062565b9091555061097690503384611dee565b323314610e305760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6002600a5460ff166008811115610e4957610e49612fdb565b1015610ea65760405162461bcd60e51b815260206004820152602660248201527f4567677a20332057686974656c6973742073616c65206973206e6f74206163746044820152651a5d985d195960d21b606482015260840161084f565b610eb2338484846120a5565b610f0d5760405162461bcd60e51b815260206004820152602660248201527f4e6f74204567677a20332077686974656c697374656420666f72207468617420604482015265185b5bdd5b9d60d21b606482015260840161084f565b336000908152601260205260409020548390610f2a908290613062565b1115610f9e5760405162461bcd60e51b815260206004820152602c60248201527f596f752072656163686564206d6178696d756d206f6e204567677a203320576860448201527f6974656c6973742053616c650000000000000000000000000000000000000000606482015260840161084f565b6002546001546113889185910360001901610fb99190613062565b11156110075760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526012602052604081208054859290610dd1908490613062565b826001600160a01b03811633146110405761104033611e3d565b61104b848484612128565b50505050565b611059611d94565b600b55565b826001600160a01b03811633146110785761107833611e3d565b61104b84848461232a565b61108b611d94565b600d55565b60006107dc82612345565b3233146110ea5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6004600a5460ff16600881111561110357611103612fdb565b10156111775760405162461bcd60e51b815260206004820152602760248201527f5072656d69756d2057686974656c6973742073616c65206973206e6f7420616360448201527f7469766174656400000000000000000000000000000000000000000000000000606482015260840161084f565b611183338484846123d4565b6111f55760405162461bcd60e51b815260206004820152602760248201527f4e6f74205072656d69756d2077686974656c697374656420666f72207468617460448201527f20616d6f756e7400000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601460205260409020548390611212908290613062565b11156112865760405162461bcd60e51b815260206004820152602d60248201527f596f752072656163686564206d6178696d756d206f6e205072656d69756d205760448201527f686974656c6973742053616c6500000000000000000000000000000000000000606482015260840161084f565b60025460015461138891859103600019016112a19190613062565b11156112ef5760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526014602052604081208054859290610dd1908490613062565b6009805461131b90613075565b80601f016020809104026020016040519081016040528092919081815260200182805461134790613075565b80156113945780601f1061136957610100808354040283529160200191611394565b820191906000526020600020905b81548152906001019060200180831161137757829003601f168201915b505050505081565b60006001600160a01b0382166113de576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61140c611d94565b610b5c6000612457565b61141e611d94565b478061146c5760405162461bcd60e51b815260206004820152601c60248201527f7468657265206973206e6f7468696e6720746f20776974686472617700000000604482015260640161084f565b6114876114816000546001600160a01b031690565b476124bf565b50565b3233146114d95760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6005600a5460ff1660088111156114f2576114f2612fdb565b10156115665760405162461bcd60e51b815260206004820152602860248201527f5374616e646172642057686974656c6973742073616c65206973206e6f74206160448201527f6374697661746564000000000000000000000000000000000000000000000000606482015260840161084f565b61157233848484612562565b6115e45760405162461bcd60e51b815260206004820152602860248201527f4e6f74205374616e646172642077686974656c697374656420666f722074686160448201527f7420616d6f756e74000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601560205260409020548390611601908290613062565b11156116755760405162461bcd60e51b815260206004820152602e60248201527f596f752072656163686564206d6178696d756d206f6e205374616e646172642060448201527f57686974656c6973742053616c65000000000000000000000000000000000000606482015260840161084f565b60025460015461138891859103600019016116909190613062565b11156116de5760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526015602052604081208054859290610dd1908490613062565b60606004805461088290613075565b611714611d94565b600961086282826130f5565b8161172a81611e3d565b61097683836125e5565b61173c611d94565b601055565b611749611d94565b600f55565b836001600160a01b03811633146117685761176833611e3d565b61177485858585612693565b5050505050565b606061178682611e08565b6117d25760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161084f565b60096117dd836126d7565b6040516020016117ee9291906131b5565b6040516020818303038152906040529050919050565b3233146118535760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6003600a5460ff16600881111561186c5761186c612fdb565b10156118c95760405162461bcd60e51b815260206004820152602660248201527f4567677a20312057686974656c6973742073616c65206973206e6f74206163746044820152651a5d985d195960d21b606482015260840161084f565b6118d533848484612777565b6119305760405162461bcd60e51b815260206004820152602660248201527f4e6f74204567677a20312077686974656c697374656420666f72207468617420604482015265185b5bdd5b9d60d21b606482015260840161084f565b33600090815260136020526040902054839061194d908290613062565b11156119c15760405162461bcd60e51b815260206004820152602c60248201527f596f752072656163686564206d6178696d756d206f6e204567677a203120576860448201527f6974656c6973742053616c650000000000000000000000000000000000000000606482015260840161084f565b60025460015461138891859103600019016119dc9190613062565b1115611a2a5760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526013602052604081208054859290610dd1908490613062565b611a51611d94565b600e55565b611a5e611d94565b6001600160a01b038116611ada5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161084f565b61148781612457565b323314611b325760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161084f565b6001600a5460ff166008811115611b4b57611b4b612fdb565b1015611bbf5760405162461bcd60e51b815260206004820152602260248201527f4f472057686974656c6973742073616c65206973206e6f74206163746976617460448201527f6564000000000000000000000000000000000000000000000000000000000000606482015260840161084f565b611bcb338484846127fa565b611c3d5760405162461bcd60e51b815260206004820152602260248201527f4e6f74204f472077686974656c697374656420666f72207468617420616d6f7560448201527f6e74000000000000000000000000000000000000000000000000000000000000606482015260840161084f565b336000908152601160205260409020548390611c5a908290613062565b1115611cce5760405162461bcd60e51b815260206004820152602860248201527f596f752072656163686564206d6178696d756d206f6e204f472057686974656c60448201527f6973742053616c65000000000000000000000000000000000000000000000000606482015260840161084f565b6002546001546113889185910360001901611ce99190613062565b1115611d375760405162461bcd60e51b815260206004820152601960248201527f4d617820746f74616c20737570706c7920657863656564656400000000000000604482015260640161084f565b3360009081526011602052604081208054859290610dd1908490613062565b611d5e611d94565b806008811115611d7057611d70612fdb565b600a805460ff19166001836008811115611d8c57611d8c612fdb565b021790555050565b6000546001600160a01b03163314610b5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161084f565b61086282826040518060200160405280600081525061287d565b600081600111158015611e1c575060015482105b80156107dc575050600090815260056020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15611487576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611ec3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee79190613264565b611487576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161084f565b6000611f3382611090565b9050336001600160a01b03821614611fa2576001600160a01b038116600090815260086020908152604080832033845290915290205460ff16611fa2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6040516bffffffffffffffffffffffff19606086901b166020820152603481018490526000908190605401604051602081830303815290604052805190602001209050612099816010548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b9150505b949350505050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600c548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b600061213382612345565b9050836001600160a01b0316816001600160a01b031614612180576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417612203576001600160a01b038616600090815260086020908152604080832033845290915290205460ff16612203576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516612243576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561224e57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b841690036122e0576001840160008181526005602052604081205490036122de5760015481146122de5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109768383836040518060200160405280600081525061174e565b600081806001116123a2576001548110156123a25760008181526005602052604081205490600160e01b821690036123a0575b80600003612399575060001901600081815260056020526040902054612378565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600e548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461250c576040519150601f19603f3d011682016040523d82523d6000602084013e612511565b606091505b50509050806109765760405162461bcd60e51b815260206004820152601260248201527f636f756c64206e6f742077697468647261770000000000000000000000000000604482015260640161084f565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600f548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b336001600160a01b03831603612627576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61269e848484611026565b6001600160a01b0383163b1561104b576126ba848484846128f0565b61104b576040516368d2bf6b60e11b815260040160405180910390fd5b606060006126e4836129d8565b600101905060008167ffffffffffffffff81111561270457612704612e45565b6040519080825280601f01601f19166020018201604052801561272e576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461273857509392505050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600d548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b6040516bffffffffffffffffffffffff19606086901b16602082015260348101849052600090819060540160405160208183030381529060405280519060200120905061209981600b548686808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506128e392505050565b6128878383612aba565b6001600160a01b0383163b15610976576001548281035b6128b160008683806001019450866128f0565b6128ce576040516368d2bf6b60e11b815260040160405180910390fd5b81811061289e57816001541461177457600080fd5b600061209d828486612beb565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612925903390899088908890600401613281565b6020604051808303816000875af1925050508015612960575060408051601f3d908101601f1916820190925261295d918101906132bd565b60015b6129be573d80801561298e576040519150601f19603f3d011682016040523d82523d6000602084013e612993565b606091505b5080516000036129b6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061209d565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612a21577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310612a4d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612a6b57662386f26fc10000830492506010015b6305f5e1008310612a83576305f5e100830492506008015b6127108310612a9757612710830492506004015b60648310612aa9576064830492506002015b600a83106107dc5760010192915050565b6001546000829003612af8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612ba757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612b6f565b5081600003612be2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015550505050565b600082612bf88584612c01565b14949350505050565b600081815b8451811015612c4657612c3282868381518110612c2557612c256132da565b6020026020010151612c4e565b915080612c3e816132f0565b915050612c06565b509392505050565b6000818310612c6a576000828152602084905260409020612399565b5060009182526020526040902090565b80356001600160a01b0381168114612c9157600080fd5b919050565b600060208284031215612ca857600080fd5b61239982612c7a565b6001600160e01b03198116811461148757600080fd5b600060208284031215612cd957600080fd5b813561239981612cb1565b60008060408385031215612cf757600080fd5b612d0083612c7a565b946020939093013593505050565b600060208284031215612d2057600080fd5b5035919050565b60005b83811015612d42578181015183820152602001612d2a565b50506000910152565b60008151808452612d63816020860160208601612d27565b601f01601f19169290920160200192915050565b6020815260006123996020830184612d4b565b600080600060408486031215612d9f57600080fd5b83359250602084013567ffffffffffffffff80821115612dbe57600080fd5b818601915086601f830112612dd257600080fd5b813581811115612de157600080fd5b8760208260051b8501011115612df657600080fd5b6020830194508093505050509250925092565b600080600060608486031215612e1e57600080fd5b612e2784612c7a565b9250612e3560208501612c7a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612e7657612e76612e45565b604051601f8501601f19908116603f01168101908282118183101715612e9e57612e9e612e45565b81604052809350858152868686011115612eb757600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612ee357600080fd5b813567ffffffffffffffff811115612efa57600080fd5b8201601f81018413612f0b57600080fd5b61209d84823560208401612e5b565b801515811461148757600080fd5b60008060408385031215612f3b57600080fd5b612f4483612c7a565b91506020830135612f5481612f1a565b809150509250929050565b60008060008060808587031215612f7557600080fd5b612f7e85612c7a565b9350612f8c60208601612c7a565b925060408501359150606085013567ffffffffffffffff811115612faf57600080fd5b8501601f81018713612fc057600080fd5b612fcf87823560208401612e5b565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b602081016009831061301357634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561302c57600080fd5b61303583612c7a565b915061304360208401612c7a565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107dc576107dc61304c565b600181811c9082168061308957607f821691505b6020821081036130a957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561097657600081815260208120601f850160051c810160208610156130d65750805b601f850160051c820191505b81811015612322578281556001016130e2565b815167ffffffffffffffff81111561310f5761310f612e45565b6131238161311d8454613075565b846130af565b602080601f83116001811461315857600084156131405750858301515b600019600386901b1c1916600185901b178555612322565b600085815260208120601f198616915b8281101561318757888601518255948401946001909101908401613168565b50858210156131a55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008084546131c381613075565b600182811680156131db57600181146131f05761321f565b60ff198416875282151583028701945061321f565b8860005260208060002060005b858110156132165781548a8201529084019082016131fd565b50505082870194505b505050508351613233818360208801612d27565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60006020828403121561327657600080fd5b815161239981612f1a565b60006001600160a01b038087168352808616602084015250836040830152608060608301526132b36080830184612d4b565b9695505050505050565b6000602082840312156132cf57600080fd5b815161239981612cb1565b634e487b7160e01b600052603260045260246000fd5b6000600182016133025761330261304c565b506001019056fea26469706673582212203c3b3771400892152b84ee142d0c15fa0f5025a634c9d803bc723ae1353a3cfb64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
addde4e2a39ee48c5f5fd112c8fc8deed00c4a060d83456193609a951e6df27c61460d71148990a1b29ea56c4c7383fe4104376c71a5df357494f886d306c240552f578dc85c243f85219521b9ad9e7168c6109aea2ffa0b6c25b415e389527dec81725d52f532dbdd769639401840f326a922c6d5ba18851428b1d090a40e3257a5a76a33d43f7b67c2e2e28d07ff3e3531b59e08ccdf091280f33d7e231539778e7e50d95fdc63ee2e1bce6eb21424bd1e1aca723321d4064b2afe1a06b87500000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d66535037425657335a6646614b52544d564434797772734155486d4b3452344a38664e47596b3369517279432f00000000000000000000
-----Decoded View---------------
Arg [0] : _ogMerkleRoot (bytes32): 0xaddde4e2a39ee48c5f5fd112c8fc8deed00c4a060d83456193609a951e6df27c
Arg [1] : _eggz3MerkleRoot (bytes32): 0x61460d71148990a1b29ea56c4c7383fe4104376c71a5df357494f886d306c240
Arg [2] : _eggz1MerkleRoot (bytes32): 0x552f578dc85c243f85219521b9ad9e7168c6109aea2ffa0b6c25b415e389527d
Arg [3] : _premiumMerkleRoot (bytes32): 0xec81725d52f532dbdd769639401840f326a922c6d5ba18851428b1d090a40e32
Arg [4] : _standardMerkleRoot (bytes32): 0x57a5a76a33d43f7b67c2e2e28d07ff3e3531b59e08ccdf091280f33d7e231539
Arg [5] : _waitlistMerkleRoot (bytes32): 0x778e7e50d95fdc63ee2e1bce6eb21424bd1e1aca723321d4064b2afe1a06b875
Arg [6] : _baseURI (string): ipfs://QmfSP7BVW3ZfFaKRTMVD4ywrsAUHmK4R4J8fNGYk3iQryC/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : addde4e2a39ee48c5f5fd112c8fc8deed00c4a060d83456193609a951e6df27c
Arg [1] : 61460d71148990a1b29ea56c4c7383fe4104376c71a5df357494f886d306c240
Arg [2] : 552f578dc85c243f85219521b9ad9e7168c6109aea2ffa0b6c25b415e389527d
Arg [3] : ec81725d52f532dbdd769639401840f326a922c6d5ba18851428b1d090a40e32
Arg [4] : 57a5a76a33d43f7b67c2e2e28d07ff3e3531b59e08ccdf091280f33d7e231539
Arg [5] : 778e7e50d95fdc63ee2e1bce6eb21424bd1e1aca723321d4064b2afe1a06b875
Arg [6] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d66535037425657335a6646614b52544d56443479777273
Arg [9] : 4155486d4b3452344a38664e47596b3369517279432f00000000000000000000
Deployed Bytecode Sourcemap
99915:12413:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100978:59;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;552:25:1;;;540:2;525:18;100978:59:0;;;;;;;;18448:639;;;;;;:::i;:::-;;:::i;:::-;;;1185:14:1;;1178:22;1160:41;;1148:2;1133:18;18448:639:0;1020:187:1;108089:195:0;;;;;;:::i;:::-;;:::i;:::-;;109294:116;;;;;;:::i;:::-;;:::i;19350:100::-;;;:::i;:::-;;;;;;;:::i;25833:218::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2761:55:1;;;2743:74;;2731:2;2716:18;25833:218:0;2597:226:1;101988:157:0;;;;;;:::i;:::-;;:::i;100354:27::-;;;;;;107603:478;;;:::i;106786:809::-;;;;;;:::i;:::-;;:::i;15101:323::-;15375:12;;111903:1;15359:13;:28;-1:-1:-1;;15359:46:0;15101:323;;103520:800;;;;;;:::i;:::-;;:::i;102153:163::-;;;;;;:::i;:::-;;:::i;108844:110::-;;;;;;:::i;:::-;;:::i;100501:33::-;;;;;;100388:30;;;;;;96430:143;;95224:42;96430:143;;102324:171;;;;;;:::i;:::-;;:::i;109756:116::-;;;;;;:::i;:::-;;:::i;100842:61::-;;;;;;:::i;:::-;;;;;;;;;;;;;;20743:152;;;;;;:::i;:::-;;:::i;105136:813::-;;;;;;:::i;:::-;;:::i;100241:21::-;;;:::i;16285:233::-;;;;;;:::i;:::-;;:::i;62534:103::-;;;:::i;100583:55::-;;;;;;:::i;:::-;;;;;;;;;;;;;;111920:215;;;:::i;105957:821::-;;;;;;:::i;:::-;;:::i;100775:60::-;;;;;;:::i;:::-;;;;;;;;;;;;;;61886:87;61932:7;61959:6;-1:-1:-1;;;;;61959:6:0;61886:87;;19526:104;;;:::i;100541:33::-;;;;;;108395:100;;;;;;:::i;:::-;;:::i;101804:176::-;;;;;;:::i;:::-;;:::i;111171:122::-;;;;;;:::i;:::-;;:::i;110691:::-;;;;;;:::i;:::-;;:::i;102503:228::-;;;;;;:::i;:::-;;:::i;108503:302::-;;;;;;:::i;:::-;;:::i;100271:23::-;;;;;;;;;;;;;;;;:::i;100710:58::-;;;;;;:::i;:::-;;;;;;;;;;;;;;100910:61;;;;;;:::i;:::-;;;;;;;;;;;;;;100645:58;;;;;;:::i;:::-;;;;;;;;;;;;;;104328:800;;;;;;:::i;:::-;;:::i;100462:32::-;;;;;;26856:164;;;;;;:::i;:::-;-1:-1:-1;;;;;26977:25:0;;;26953:4;26977:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26856:164;110219:120;;;;;;:::i;:::-;;:::i;62792:238::-;;;;;;:::i;:::-;;:::i;102739:773::-;;;;;;:::i;:::-;;:::i;108292:95::-;;;;;;:::i;:::-;;:::i;100425:30::-;;;;;;18448:639;18533:4;18857:25;-1:-1:-1;;;;;;18857:25:0;;;;:102;;-1:-1:-1;18934:25:0;-1:-1:-1;;;;;;18934:25:0;;;18857:102;:179;;;-1:-1:-1;19011:25:0;-1:-1:-1;;;;;;19011:25:0;;;18857:179;18837:199;18448:639;-1:-1:-1;;18448:639:0:o;108089:195::-;61772:13;:11;:13::i;:::-;15375:12;;111903:1;15359:13;100341:4:::1;::::0;108193:9;;15359:28;-1:-1:-1;;15359:46:0;108177:25:::1;;;;:::i;:::-;:39;;108169:71;;;::::0;-1:-1:-1;;;108169:71:0;;8065:2:1;108169:71:0::1;::::0;::::1;8047:21:1::0;8104:2;8084:18;;;8077:30;8143:21;8123:18;;;8116:49;8182:18;;108169:71:0::1;;;;;;;;;108251:25;108261:3;108266:9;108251;:25::i;:::-;108089:195:::0;;:::o;109294:116::-;61772:13;:11;:13::i;:::-;109373:15:::1;:29:::0;109294:116::o;19350:100::-;19404:13;19437:5;19430:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19350:100;:::o;25833:218::-;25909:7;25934:16;25942:7;25934;:16::i;:::-;25929:64;;25959:34;;;;;;;;;;;;;;25929:64;-1:-1:-1;26013:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26013:30:0;;25833:218::o;101988:157::-;102084:8;98212:30;98233:8;98212:20;:30::i;:::-;102105:32:::1;102119:8;102129:7;102105:13;:32::i;:::-;101988:157:::0;;;:::o;107603:478::-;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;107675:11:::1;107660;::::0;::::1;;:26;::::0;::::1;;;;;;:::i;:::-;;;107652:67;;;::::0;-1:-1:-1;;;107652:67:0;;9214:2:1;107652:67:0::1;::::0;::::1;9196:21:1::0;9253:2;9233:18;;;9226:30;9292;9272:18;;;9265:58;9340:18;;107652:67:0::1;9012:352:1::0;107652:67:0::1;107777:10;107752:36;::::0;;;:24:::1;:36;::::0;;;;;107796:1:::1;::::0;107752:40:::1;::::0;107796:1;107752:40:::1;:::i;:::-;:45;;107730:136;;;::::0;-1:-1:-1;;;107730:136:0;;9571:2:1;107730:136:0::1;::::0;::::1;9553:21:1::0;9610:2;9590:18;;;9583:30;9649:34;9629:18;;;9622:62;9720:11;9700:18;;;9693:39;9749:19;;107730:136:0::1;9369:405:1::0;107730:136:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;15359:28;;-1:-1:-1;;15359:46:0;107899:17:::1;::::0;107915:1:::1;107899:17;:::i;:::-;:31;;107877:109;;;::::0;-1:-1:-1;;;107877:109:0;;9981:2:1;107877:109:0::1;::::0;::::1;9963:21:1::0;10020:2;10000:18;;;9993:30;10059;10039:18;;;10032:58;10107:18;;107877:109:0::1;9779:352:1::0;107877:109:0::1;108022:10;107997:36;::::0;;;:24:::1;:36;::::0;;;;:41;;108037:1:::1;::::0;107997:36;:41:::1;::::0;108037:1;;107997:41:::1;:::i;:::-;::::0;;;-1:-1:-1;108049:24:0::1;::::0;-1:-1:-1;108059:10:0::1;108071:1;108049:9;:24::i;:::-;107603:478::o:0;106786:809::-;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;106956:13:::1;106941:11;::::0;::::1;;:28;::::0;::::1;;;;;;:::i;:::-;;;106919:117;;;::::0;-1:-1:-1;;;106919:117:0;;10338:2:1;106919:117:0::1;::::0;::::1;10320:21:1::0;10377:2;10357:18;;;10350:30;10416:34;10396:18;;;10389:62;10487:9;10467:18;;;10460:37;10514:19;;106919:117:0::1;10136:403:1::0;106919:117:0::1;107069:52;107091:10;107103:9;107114:6;;107069:21;:52::i;:::-;107047:141;;;::::0;-1:-1:-1;;;107047:141:0;;10746:2:1;107047:141:0::1;::::0;::::1;10728:21:1::0;10785:2;10765:18;;;10758:30;10824:34;10804:18;;;10797:62;10895:9;10875:18;;;10868:37;10922:19;;107047:141:0::1;10544:403:1::0;107047:141:0::1;107248:10;107221:38;::::0;;;:26:::1;:38;::::0;;;;;107275:9;;107221:50:::1;::::0;107275:9;;107221:50:::1;:::i;:::-;:63;;107199:158;;;::::0;-1:-1:-1;;;107199:158:0;;11154:2:1;107199:158:0::1;::::0;::::1;11136:21:1::0;11193:2;11173:18;;;11166:30;11232:34;11212:18;;;11205:62;11303:15;11283:18;;;11276:43;11336:19;;107199:158:0::1;10952:409:1::0;107199:158:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;107406:9;;15359:28;-1:-1:-1;;15359:46:0;107390:25:::1;;;;:::i;:::-;:39;;107368:114;;;::::0;-1:-1:-1;;;107368:114:0;;11568:2:1;107368:114:0::1;::::0;::::1;11550:21:1::0;11607:2;11587:18;;;11580:30;11646:27;11626:18;;;11619:55;11691:18;;107368:114:0::1;11366:349:1::0;107368:114:0::1;107520:10;107493:38;::::0;;;:26:::1;:38;::::0;;;;:51;;107535:9;;107493:38;:51:::1;::::0;107535:9;;107493:51:::1;:::i;:::-;::::0;;;-1:-1:-1;107555:32:0::1;::::0;-1:-1:-1;107565:10:0::1;107577:9:::0;107555::::1;:32::i;103520:800::-:0;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;103687:19:::1;103672:11;::::0;::::1;;:34;::::0;::::1;;;;;;:::i;:::-;;;103650:122;;;::::0;-1:-1:-1;;;103650:122:0;;11922:2:1;103650:122:0::1;::::0;::::1;11904:21:1::0;11961:2;11941:18;;;11934:30;12000:34;11980:18;;;11973:62;-1:-1:-1;;;12051:18:1;;;12044:36;12097:19;;103650:122:0::1;11720:402:1::0;103650:122:0::1;103805:49;103824:10;103836:9;103847:6;;103805:18;:49::i;:::-;103783:137;;;::::0;-1:-1:-1;;;103783:137:0;;12329:2:1;103783:137:0::1;::::0;::::1;12311:21:1::0;12368:2;12348:18;;;12341:30;12407:34;12387:18;;;12380:62;-1:-1:-1;;;12458:18:1;;;12451:36;12504:19;;103783:137:0::1;12127:402:1::0;103783:137:0::1;103977:10;103953:35;::::0;;;:23:::1;:35;::::0;;;;;104004:9;;103953:47:::1;::::0;104004:9;;103953:47:::1;:::i;:::-;:60;;103931:154;;;::::0;-1:-1:-1;;;103931:154:0;;12736:2:1;103931:154:0::1;::::0;::::1;12718:21:1::0;12775:2;12755:18;;;12748:30;12814:34;12794:18;;;12787:62;12885:14;12865:18;;;12858:42;12917:19;;103931:154:0::1;12534:408:1::0;103931:154:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;104134:9;;15359:28;-1:-1:-1;;15359:46:0;104118:25:::1;;;;:::i;:::-;:39;;104096:114;;;::::0;-1:-1:-1;;;104096:114:0;;11568:2:1;104096:114:0::1;::::0;::::1;11550:21:1::0;11607:2;11587:18;;;11580:30;11646:27;11626:18;;;11619:55;11691:18;;104096:114:0::1;11366:349:1::0;104096:114:0::1;104245:10;104221:35;::::0;;;:23:::1;:35;::::0;;;;:48;;104260:9;;104221:35;:48:::1;::::0;104260:9;;104221:48:::1;:::i;102153:163::-:0;102254:4;-1:-1:-1;;;;;97938:18:0;;97946:10;97938:18;97934:83;;97973:32;97994:10;97973:20;:32::i;:::-;102271:37:::1;102290:4;102296:2;102300:7;102271:18;:37::i;:::-;102153:163:::0;;;;:::o;108844:110::-;61772:13;:11;:13::i;:::-;108920:12:::1;:26:::0;108844:110::o;102324:171::-;102429:4;-1:-1:-1;;;;;97938:18:0;;97946:10;97938:18;97934:83;;97973:32;97994:10;97973:20;:32::i;:::-;102446:41:::1;102469:4;102475:2;102479:7;102446:22;:41::i;109756:116::-:0;61772:13;:11;:13::i;:::-;109835:15:::1;:29:::0;109756:116::o;20743:152::-;20815:7;20858:27;20877:7;20858:18;:27::i;105136:813::-;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;105305:21:::1;105290:11;::::0;::::1;;:36;::::0;::::1;;;;;;:::i;:::-;;;105268:125;;;::::0;-1:-1:-1;;;105268:125:0;;13149:2:1;105268:125:0::1;::::0;::::1;13131:21:1::0;13188:2;13168:18;;;13161:30;13227:34;13207:18;;;13200:62;13298:9;13278:18;;;13271:37;13325:19;;105268:125:0::1;12947:403:1::0;105268:125:0::1;105426:51;105447:10;105459:9;105470:6;;105426:20;:51::i;:::-;105404:140;;;::::0;-1:-1:-1;;;105404:140:0;;13557:2:1;105404:140:0::1;::::0;::::1;13539:21:1::0;13596:2;13576:18;;;13569:30;13635:34;13615:18;;;13608:62;13706:9;13686:18;;;13679:37;13733:19;;105404:140:0::1;13355:403:1::0;105404:140:0::1;105603:10;105577:37;::::0;;;:25:::1;:37;::::0;;;;;105630:9;;105577:49:::1;::::0;105630:9;;105577:49:::1;:::i;:::-;:62;;105555:157;;;::::0;-1:-1:-1;;;105555:157:0;;13965:2:1;105555:157:0::1;::::0;::::1;13947:21:1::0;14004:2;13984:18;;;13977:30;14043:34;14023:18;;;14016:62;14114:15;14094:18;;;14087:43;14147:19;;105555:157:0::1;13763:409:1::0;105555:157:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;105761:9;;15359:28;-1:-1:-1;;15359:46:0;105745:25:::1;;;;:::i;:::-;:39;;105723:114;;;::::0;-1:-1:-1;;;105723:114:0;;11568:2:1;105723:114:0::1;::::0;::::1;11550:21:1::0;11607:2;11587:18;;;11580:30;11646:27;11626:18;;;11619:55;11691:18;;105723:114:0::1;11366:349:1::0;105723:114:0::1;105874:10;105848:37;::::0;;;:25:::1;:37;::::0;;;;:50;;105889:9;;105848:37;:50:::1;::::0;105889:9;;105848:50:::1;:::i;100241:21::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16285:233::-;16357:7;-1:-1:-1;;;;;16381:19:0;;16377:60;;16409:28;;;;;;;;;;;;;;16377:60;-1:-1:-1;;;;;;16455:25:0;;;;;:18;:25;;;;;;10444:13;16455:55;;16285:233::o;62534:103::-;61772:13;:11;:13::i;:::-;62599:30:::1;62626:1;62599:18;:30::i;111920:215::-:0;61772:13;:11;:13::i;:::-;111991:21:::1;112031:11:::0;112023:52:::1;;;::::0;-1:-1:-1;;;112023:52:0;;14379:2:1;112023:52:0::1;::::0;::::1;14361:21:1::0;14418:2;14398:18;;;14391:30;14457;14437:18;;;14430:58;14505:18;;112023:52:0::1;14177:352:1::0;112023:52:0::1;112086:41;112096:7;61932::::0;61959:6;-1:-1:-1;;;;;61959:6:0;;61886:87;112096:7:::1;112105:21;112086:9;:41::i;:::-;111962:173;111920:215::o:0;105957:821::-;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;106127:22:::1;106112:11;::::0;::::1;;:37;::::0;::::1;;;;;;:::i;:::-;;;106090:127;;;::::0;-1:-1:-1;;;106090:127:0;;14736:2:1;106090:127:0::1;::::0;::::1;14718:21:1::0;14775:2;14755:18;;;14748:30;14814:34;14794:18;;;14787:62;14885:10;14865:18;;;14858:38;14913:19;;106090:127:0::1;14534:404:1::0;106090:127:0::1;106250:52;106272:10;106284:9;106295:6;;106250:21;:52::i;:::-;106228:142;;;::::0;-1:-1:-1;;;106228:142:0;;15145:2:1;106228:142:0::1;::::0;::::1;15127:21:1::0;15184:2;15164:18;;;15157:30;15223:34;15203:18;;;15196:62;15294:10;15274:18;;;15267:38;15322:19;;106228:142:0::1;14943:404:1::0;106228:142:0::1;106430:10;106403:38;::::0;;;:26:::1;:38;::::0;;;;;106457:9;;106403:50:::1;::::0;106457:9;;106403:50:::1;:::i;:::-;:63;;106381:159;;;::::0;-1:-1:-1;;;106381:159:0;;15554:2:1;106381:159:0::1;::::0;::::1;15536:21:1::0;15593:2;15573:18;;;15566:30;15632:34;15612:18;;;15605:62;15703:16;15683:18;;;15676:44;15737:19;;106381:159:0::1;15352:410:1::0;106381:159:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;106589:9;;15359:28;-1:-1:-1;;15359:46:0;106573:25:::1;;;;:::i;:::-;:39;;106551:114;;;::::0;-1:-1:-1;;;106551:114:0;;11568:2:1;106551:114:0::1;::::0;::::1;11550:21:1::0;11607:2;11587:18;;;11580:30;11646:27;11626:18;;;11619:55;11691:18;;106551:114:0::1;11366:349:1::0;106551:114:0::1;106703:10;106676:38;::::0;;;:26:::1;:38;::::0;;;;:51;;106718:9;;106676:38;:51:::1;::::0;106718:9;;106676:51:::1;:::i;19526:104::-:0;19582:13;19615:7;19608:14;;;;;:::i;108395:100::-;61772:13;:11;:13::i;:::-;108469:7:::1;:18;108479:8:::0;108469:7;:18:::1;:::i;101804:176::-:0;101908:8;98212:30;98233:8;98212:20;:30::i;:::-;101929:43:::1;101953:8;101963;101929:23;:43::i;111171:122::-:0;61772:13;:11;:13::i;:::-;111253:18:::1;:32:::0;111171:122::o;110691:::-;61772:13;:11;:13::i;:::-;110773:18:::1;:32:::0;110691:122::o;102503:228::-;102654:4;-1:-1:-1;;;;;97938:18:0;;97946:10;97938:18;97934:83;;97973:32;97994:10;97973:20;:32::i;:::-;102676:47:::1;102699:4;102705:2;102709:7;102718:4;102676:22;:47::i;:::-;102503:228:::0;;;;;:::o;108503:302::-;108622:13;108661:17;108669:8;108661:7;:17::i;:::-;108653:61;;;;-1:-1:-1;;;108653:61:0;;18173:2:1;108653:61:0;;;18155:21:1;18212:2;18192:18;;;18185:30;18251:33;18231:18;;;18224:61;18302:18;;108653:61:0;17971:355:1;108653:61:0;108758:7;108767:19;:8;:17;:19::i;:::-;108741:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;108727:70;;108503:302;;;:::o;104328:800::-;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;104495:19:::1;104480:11;::::0;::::1;;:34;::::0;::::1;;;;;;:::i;:::-;;;104458:122;;;::::0;-1:-1:-1;;;104458:122:0;;19725:2:1;104458:122:0::1;::::0;::::1;19707:21:1::0;19764:2;19744:18;;;19737:30;19803:34;19783:18;;;19776:62;-1:-1:-1;;;19854:18:1;;;19847:36;19900:19;;104458:122:0::1;19523:402:1::0;104458:122:0::1;104613:49;104632:10;104644:9;104655:6;;104613:18;:49::i;:::-;104591:137;;;::::0;-1:-1:-1;;;104591:137:0;;20132:2:1;104591:137:0::1;::::0;::::1;20114:21:1::0;20171:2;20151:18;;;20144:30;20210:34;20190:18;;;20183:62;-1:-1:-1;;;20261:18:1;;;20254:36;20307:19;;104591:137:0::1;19930:402:1::0;104591:137:0::1;104785:10;104761:35;::::0;;;:23:::1;:35;::::0;;;;;104812:9;;104761:47:::1;::::0;104812:9;;104761:47:::1;:::i;:::-;:60;;104739:154;;;::::0;-1:-1:-1;;;104739:154:0;;20539:2:1;104739:154:0::1;::::0;::::1;20521:21:1::0;20578:2;20558:18;;;20551:30;20617:34;20597:18;;;20590:62;20688:14;20668:18;;;20661:42;20720:19;;104739:154:0::1;20337:408:1::0;104739:154:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;104942:9;;15359:28;-1:-1:-1;;15359:46:0;104926:25:::1;;;;:::i;:::-;:39;;104904:114;;;::::0;-1:-1:-1;;;104904:114:0;;11568:2:1;104904:114:0::1;::::0;::::1;11550:21:1::0;11607:2;11587:18;;;11580:30;11646:27;11626:18;;;11619:55;11691:18;;104904:114:0::1;11366:349:1::0;104904:114:0::1;105053:10;105029:35;::::0;;;:23:::1;:35;::::0;;;;:48;;105068:9;;105029:35;:48:::1;::::0;105068:9;;105029:48:::1;:::i;110219:120::-:0;61772:13;:11;:13::i;:::-;110300:17:::1;:31:::0;110219:120::o;62792:238::-;61772:13;:11;:13::i;:::-;-1:-1:-1;;;;;62895:22:0;::::1;62873:110;;;::::0;-1:-1:-1;;;62873:110:0;;20952:2:1;62873:110:0::1;::::0;::::1;20934:21:1::0;20991:2;20971:18;;;20964:30;21030:34;21010:18;;;21003:62;21101:8;21081:18;;;21074:36;21127:19;;62873:110:0::1;20750:402:1::0;62873:110:0::1;62994:28;63013:8;62994:18;:28::i;102739:773::-:0;101718:9;101731:10;101718:23;101710:66;;;;-1:-1:-1;;;101710:66:0;;8855:2:1;101710:66:0;;;8837:21:1;8894:2;8874:18;;;8867:30;8933:32;8913:18;;;8906:60;8983:18;;101710:66:0;8653:354:1;101710:66:0;102903:16:::1;102888:11;::::0;::::1;;:31;::::0;::::1;;;;;;:::i;:::-;;;102866:115;;;::::0;-1:-1:-1;;;102866:115:0;;21359:2:1;102866:115:0::1;::::0;::::1;21341:21:1::0;21398:2;21378:18;;;21371:30;21437:34;21417:18;;;21410:62;21508:4;21488:18;;;21481:32;21530:19;;102866:115:0::1;21157:398:1::0;102866:115:0::1;103014:46;103030:10;103042:9;103053:6;;103014:15;:46::i;:::-;102992:130;;;::::0;-1:-1:-1;;;102992:130:0;;21762:2:1;102992:130:0::1;::::0;::::1;21744:21:1::0;21801:2;21781:18;;;21774:30;21840:34;21820:18;;;21813:62;21911:4;21891:18;;;21884:32;21933:19;;102992:130:0::1;21560:398:1::0;102992:130:0::1;103176:10;103155:32;::::0;;;:20:::1;:32;::::0;;;;;103203:9;;103155:44:::1;::::0;103203:9;;103155:44:::1;:::i;:::-;:57;;103133:147;;;::::0;-1:-1:-1;;;103133:147:0;;22165:2:1;103133:147:0::1;::::0;::::1;22147:21:1::0;22204:2;22184:18;;;22177:30;22243:34;22223:18;;;22216:62;22314:10;22294:18;;;22287:38;22342:19;;103133:147:0::1;21963:404:1::0;103133:147:0::1;15375:12:::0;;111903:1;15359:13;100341:4:::1;::::0;103329:9;;15359:28;-1:-1:-1;;15359:46:0;103313:25:::1;;;;:::i;:::-;:39;;103291:114;;;::::0;-1:-1:-1;;;103291:114:0;;11568:2:1;103291:114:0::1;::::0;::::1;11550:21:1::0;11607:2;11587:18;;;11580:30;11646:27;11626:18;;;11619:55;11691:18;;103291:114:0::1;11366:349:1::0;103291:114:0::1;103437:10;103416:32;::::0;;;:20:::1;:32;::::0;;;;:45;;103452:9;;103416:32;:45:::1;::::0;103452:9;;103416:45:::1;:::i;108292:95::-:0;61772:13;:11;:13::i;:::-;108373:5:::1;108368:11;;;;;;;;:::i;:::-;108354;:25:::0;;-1:-1:-1;;108354:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;108292:95:::0;:::o;62051:132::-;61932:7;61959:6;-1:-1:-1;;;;;61959:6:0;60514:10;62115:23;62107:68;;;;-1:-1:-1;;;62107:68:0;;22574:2:1;62107:68:0;;;22556:21:1;;;22593:18;;;22586:30;22652:34;22632:18;;;22625:62;22704:18;;62107:68:0;22372:356:1;42876:112:0;42953:27;42963:2;42967:8;42953:27;;;;;;;;;;;;:9;:27::i;27278:282::-;27343:4;27399:7;111903:1;27380:26;;:66;;;;;27433:13;;27423:7;:23;27380:66;:153;;;;-1:-1:-1;;27484:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27484:44:0;:49;;27278:282::o;98355:647::-;95224:42;98546:45;:49;98542:453;;98845:67;;;;;98896:4;98845:67;;;22968:34:1;-1:-1:-1;;;;;23038:15:1;;23018:18;;;23011:43;95224:42:0;;98845;;22880:18:1;;98845:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;98840:144;;98940:28;;;;;-1:-1:-1;;;;;2761:55:1;;98940:28:0;;;2743:74:1;2716:18;;98940:28:0;2597:226:1;25274:400:0;25355:13;25371:16;25379:7;25371;:16::i;:::-;25355:32;-1:-1:-1;60514:10:0;-1:-1:-1;;;;;25404:28:0;;;25400:175;;-1:-1:-1;;;;;26977:25:0;;26953:4;26977:25;;;:18;:25;;;;;;;;60514:10;26977:35;;;;;;;;;;25447:128;;25524:35;;;;;;;;;;;;;;25447:128;25587:24;;;;:15;:24;;;;;;:35;;;;-1:-1:-1;;;;;25587:35:0;;;;;;;;;25638:28;;25587:24;;25638:28;;;;;;;25344:330;25274:400;;:::o;111301:301::-;111496:37;;-1:-1:-1;;23492:2:1;23488:15;;;23484:88;111496:37:0;;;23472:101:1;23589:12;;;23582:28;;;111453:4:0;;;;23626:12:1;;111496:37:0;;;;;;;;;;;;111486:48;;;;;;111470:64;;111552:42;111560:5;111567:18;;111587:6;;111552:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;111552:7:0;;-1:-1:-1;;;111552:42:0:i;:::-;111545:49;;;111301:301;;;;;;;:::o;109418:295::-;109610:37;;-1:-1:-1;;23492:2:1;23488:15;;;23484:88;109610:37:0;;;23472:101:1;23589:12;;;23582:28;;;109567:4:0;;;;23626:12:1;;109610:37:0;;;;;;;;;;;;109600:48;;;;;;109584:64;;109666:39;109674:5;109681:15;;109698:6;;109666:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109666:7:0;;-1:-1:-1;;;109666:39:0:i;29540:2817::-;29674:27;29704;29723:7;29704:18;:27::i;:::-;29674:57;;29789:4;-1:-1:-1;;;;;29748:45:0;29764:19;-1:-1:-1;;;;;29748:45:0;;29744:86;;29802:28;;;;;;;;;;;;;;29744:86;29844:27;28654:24;;;:15;:24;;;;;28876:26;;60514:10;28279:30;;;-1:-1:-1;;;;;27972:28:0;;28257:20;;;28254:56;30030:180;;-1:-1:-1;;;;;26977:25:0;;26953:4;26977:25;;;:18;:25;;;;;;;;60514:10;26977:35;;;;;;;;;;30118:92;;30175:35;;;;;;;;;;;;;;30118:92;-1:-1:-1;;;;;30227:16:0;;30223:52;;30252:23;;;;;;;;;;;;;;30223:52;30424:15;30421:160;;;30564:1;30543:19;30536:30;30421:160;-1:-1:-1;;;;;30961:24:0;;;;;;;:18;:24;;;;;;30959:26;;-1:-1:-1;;30959:26:0;;;31030:22;;;;;;;;;31028:24;;-1:-1:-1;31028:24:0;;;24132:11;24107:23;24103:41;24090:63;-1:-1:-1;;;24090:63:0;31323:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31618:47:0;;:52;;31614:627;;31723:1;31713:11;;31691:19;31846:30;;;:17;:30;;;;;;:35;;31842:384;;31984:13;;31969:11;:28;31965:242;;32131:30;;;;:17;:30;;;;;:52;;;31965:242;31672:569;31614:627;32288:7;32284:2;-1:-1:-1;;;;;32269:27:0;32278:4;-1:-1:-1;;;;;32269:27:0;;;;;;;;;;;32307:42;29663:2694;;;29540:2817;;;:::o;32453:185::-;32591:39;32608:4;32614:2;32618:7;32591:39;;;;;;;;;;;;:16;:39::i;21898:1275::-;21965:7;22000;;111903:1;22049:23;22045:1061;;22102:13;;22095:4;:20;22091:1015;;;22140:14;22157:23;;;:17;:23;;;;;;;-1:-1:-1;;;22246:24:0;;:29;;22242:845;;22911:113;22918:6;22928:1;22918:11;22911:113;;-1:-1:-1;;;22989:6:0;22971:25;;;;:17;:25;;;;;;22911:113;;;23057:6;21898:1275;-1:-1:-1;;;21898:1275:0:o;22242:845::-;22117:989;22091:1015;23134:31;;;;;;;;;;;;;;110347:299;110541:37;;-1:-1:-1;;23492:2:1;23488:15;;;23484:88;110541:37:0;;;23472:101:1;23589:12;;;23582:28;;;110498:4:0;;;;23626:12:1;;110541:37:0;;;;;;;;;;;;110531:48;;;;;;110515:64;;110597:41;110605:5;110612:17;;110631:6;;110597:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110597:7:0;;-1:-1:-1;;;110597:41:0:i;63190:191::-;63264:16;63283:6;;-1:-1:-1;;;;;63300:17:0;;;;;;;;;;63333:40;;63283:6;;;;;;;63333:40;;63264:16;63333:40;63253:128;63190:191;:::o;112143:182::-;112217:12;112235:8;-1:-1:-1;;;;;112235:13:0;112256:7;112235:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112216:52;;;112287:7;112279:38;;;;-1:-1:-1;;;112279:38:0;;24061:2:1;112279:38:0;;;24043:21:1;24100:2;24080:18;;;24073:30;24139:20;24119:18;;;24112:48;24177:18;;112279:38:0;23859:342:1;110821:301:0;111016:37;;-1:-1:-1;;23492:2:1;23488:15;;;23484:88;111016:37:0;;;23472:101:1;23589:12;;;23582:28;;;110973:4:0;;;;23626:12:1;;111016:37:0;;;;;;;;;;;;111006:48;;;;;;110990:64;;111072:42;111080:5;111087:18;;111107:6;;111072:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;111072:7:0;;-1:-1:-1;;;111072:42:0:i;26391:308::-;60514:10;-1:-1:-1;;;;;26490:31:0;;;26486:61;;26530:17;;;;;;;;;;;;;;26486:61;60514:10;26560:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26560:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26560:60:0;;;;;;;;;;26636:55;;1160:41:1;;;26560:49:0;;60514:10;26636:55;;1133:18:1;26636:55:0;;;;;;;26391:308;;:::o;33236:399::-;33403:31;33416:4;33422:2;33426:7;33403:12;:31::i;:::-;-1:-1:-1;;;;;33449:14:0;;;:19;33445:183;;33488:56;33519:4;33525:2;33529:7;33538:5;33488:30;:56::i;:::-;33483:145;;33572:40;;-1:-1:-1;;;33572:40:0;;;;;;;;;;;76913:716;76969:13;77020:14;77037:17;77048:5;77037:10;:17::i;:::-;77057:1;77037:21;77020:38;;77073:20;77107:6;77096:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77096:18:0;-1:-1:-1;77073:41:0;-1:-1:-1;77238:28:0;;;77254:2;77238:28;77295:288;-1:-1:-1;;77327:5:0;77469:8;77464:2;77453:14;;77448:30;77327:5;77435:44;77525:2;77516:11;;;-1:-1:-1;77546:21:0;77295:288;77546:21;-1:-1:-1;77604:6:0;76913:716;-1:-1:-1;;;76913:716:0:o;109880:295::-;110072:37;;-1:-1:-1;;23492:2:1;23488:15;;;23484:88;110072:37:0;;;23472:101:1;23589:12;;;23582:28;;;110029:4:0;;;;23626:12:1;;110072:37:0;;;;;;;;;;;;110062:48;;;;;;110046:64;;110128:39;110136:5;110143:15;;110160:6;;110128:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110128:7:0;;-1:-1:-1;;;110128:39:0:i;108962:289::-;109151:37;;-1:-1:-1;;23492:2:1;23488:15;;;23484:88;109151:37:0;;;23472:101:1;23589:12;;;23582:28;;;109108:4:0;;;;23626:12:1;;109151:37:0;;;;;;;;;;;;109141:48;;;;;;109125:64;;109207:36;109215:5;109222:12;;109236:6;;109207:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109207:7:0;;-1:-1:-1;;;109207:36:0:i;42103:689::-;42234:19;42240:2;42244:8;42234:5;:19::i;:::-;-1:-1:-1;;;;;42295:14:0;;;:19;42291:483;;42349:13;;42397:14;;;42430:233;42461:62;42500:1;42504:2;42508:7;;;;;;42517:5;42461:30;:62::i;:::-;42456:167;;42559:40;;-1:-1:-1;;;42559:40:0;;;;;;;;;;;42456:167;42658:3;42650:5;:11;42430:233;;42745:3;42728:13;;:20;42724:34;;42750:8;;;111610:201;111739:4;111763:40;111782:6;111790:5;111797;111763:18;:40::i;35719:716::-;35903:88;;-1:-1:-1;;;35903:88:0;;35882:4;;-1:-1:-1;;;;;35903:45:0;;;;;:88;;60514:10;;35970:4;;35976:7;;35985:5;;35903:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35903:88:0;;;;;;;;-1:-1:-1;;35903:88:0;;;;;;;;;;;;:::i;:::-;;;35899:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36186:6;:13;36203:1;36186:18;36182:235;;36232:40;;-1:-1:-1;;;36232:40:0;;;;;;;;;;;36182:235;36375:6;36369:13;36360:6;36356:2;36352:15;36345:38;35899:529;-1:-1:-1;;;;;;36062:64:0;-1:-1:-1;;;36062:64:0;;-1:-1:-1;36055:71:0;;73667:922;73720:7;;73807:6;73798:15;;73794:102;;73843:6;73834:15;;;-1:-1:-1;73878:2:0;73868:12;73794:102;73923:6;73914:5;:15;73910:102;;73959:6;73950:15;;;-1:-1:-1;73994:2:0;73984:12;73910:102;74039:6;74030:5;:15;74026:102;;74075:6;74066:15;;;-1:-1:-1;74110:2:0;74100:12;74026:102;74155:5;74146;:14;74142:99;;74190:5;74181:14;;;-1:-1:-1;74224:1:0;74214:11;74142:99;74268:5;74259;:14;74255:99;;74303:5;74294:14;;;-1:-1:-1;74337:1:0;74327:11;74255:99;74381:5;74372;:14;74368:99;;74416:5;74407:14;;;-1:-1:-1;74450:1:0;74440:11;74368:99;74494:5;74485;:14;74481:66;;74530:1;74520:11;74575:6;73667:922;-1:-1:-1;;73667:922:0:o;36897:2454::-;36993:13;;36970:20;37021:13;;;37017:44;;37043:18;;;;;;;;;;;;;;37017:44;-1:-1:-1;;;;;37549:22:0;;;;;;:18;:22;;;;10582:2;37549:22;;;:71;;37587:32;37575:45;;37549:71;;;37863:31;;;:17;:31;;;;;-1:-1:-1;24563:15:0;;24537:24;24533:46;24132:11;24107:23;24103:41;24100:52;24090:63;;37863:173;;38098:23;;;;37863:31;;37549:22;;38597:25;37549:22;;38450:335;38865:1;38851:12;38847:20;38805:346;38906:3;38897:7;38894:16;38805:346;;39124:7;39114:8;39111:1;39084:25;39081:1;39078;39073:59;38959:1;38946:15;38805:346;;;38809:77;39184:8;39196:1;39184:13;39180:45;;39206:19;;;;;;;;;;;;;;39180:45;39242:13;:19;-1:-1:-1;101988:157:0;;;:::o;80026:190::-;80151:4;80204;80175:25;80188:5;80195:4;80175:12;:25::i;:::-;:33;;80026:190;-1:-1:-1;;;;80026:190:0:o;80893:328::-;81003:7;81051:4;81003:7;81066:118;81090:5;:12;81086:1;:16;81066:118;;;81139:33;81149:12;81163:5;81169:1;81163:8;;;;;;;;:::i;:::-;;;;;;;81139:9;:33::i;:::-;81124:48;-1:-1:-1;81104:3:0;;;;:::i;:::-;;;;81066:118;;;-1:-1:-1;81201:12:0;80893:328;-1:-1:-1;;;80893:328:0:o;88207:149::-;88270:7;88301:1;88297;:5;:51;;88459:13;88558:15;;;88594:4;88587:15;;;88641:4;88625:21;;88297:51;;;-1:-1:-1;88459:13:0;88558:15;;;88594:4;88587:15;88641:4;88625:21;;;88207:149::o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;588:177::-;-1:-1:-1;;;;;;666:5:1;662:78;655:5;652:89;642:117;;755:1;752;745:12;770:245;828:6;881:2;869:9;860:7;856:23;852:32;849:52;;;897:1;894;887:12;849:52;936:9;923:23;955:30;979:5;955:30;:::i;1212:254::-;1280:6;1288;1341:2;1329:9;1320:7;1316:23;1312:32;1309:52;;;1357:1;1354;1347:12;1309:52;1380:29;1399:9;1380:29;:::i;:::-;1370:39;1456:2;1441:18;;;;1428:32;;-1:-1:-1;;;1212:254:1:o;1471:180::-;1530:6;1583:2;1571:9;1562:7;1558:23;1554:32;1551:52;;;1599:1;1596;1589:12;1551:52;-1:-1:-1;1622:23:1;;1471:180;-1:-1:-1;1471:180:1:o;1656:250::-;1741:1;1751:113;1765:6;1762:1;1759:13;1751:113;;;1841:11;;;1835:18;1822:11;;;1815:39;1787:2;1780:10;1751:113;;;-1:-1:-1;;1898:1:1;1880:16;;1873:27;1656:250::o;1911:271::-;1953:3;1991:5;1985:12;2018:6;2013:3;2006:19;2034:76;2103:6;2096:4;2091:3;2087:14;2080:4;2073:5;2069:16;2034:76;:::i;:::-;2164:2;2143:15;-1:-1:-1;;2139:29:1;2130:39;;;;2171:4;2126:50;;1911:271;-1:-1:-1;;1911:271:1:o;2187:220::-;2336:2;2325:9;2318:21;2299:4;2356:45;2397:2;2386:9;2382:18;2374:6;2356:45;:::i;3010:683::-;3105:6;3113;3121;3174:2;3162:9;3153:7;3149:23;3145:32;3142:52;;;3190:1;3187;3180:12;3142:52;3226:9;3213:23;3203:33;;3287:2;3276:9;3272:18;3259:32;3310:18;3351:2;3343:6;3340:14;3337:34;;;3367:1;3364;3357:12;3337:34;3405:6;3394:9;3390:22;3380:32;;3450:7;3443:4;3439:2;3435:13;3431:27;3421:55;;3472:1;3469;3462:12;3421:55;3512:2;3499:16;3538:2;3530:6;3527:14;3524:34;;;3554:1;3551;3544:12;3524:34;3607:7;3602:2;3592:6;3589:1;3585:14;3581:2;3577:23;3573:32;3570:45;3567:65;;;3628:1;3625;3618:12;3567:65;3659:2;3655;3651:11;3641:21;;3681:6;3671:16;;;;;3010:683;;;;;:::o;3698:328::-;3775:6;3783;3791;3844:2;3832:9;3823:7;3819:23;3815:32;3812:52;;;3860:1;3857;3850:12;3812:52;3883:29;3902:9;3883:29;:::i;:::-;3873:39;;3931:38;3965:2;3954:9;3950:18;3931:38;:::i;:::-;3921:48;;4016:2;4005:9;4001:18;3988:32;3978:42;;3698:328;;;;;:::o;4294:184::-;-1:-1:-1;;;4343:1:1;4336:88;4443:4;4440:1;4433:15;4467:4;4464:1;4457:15;4483:632;4548:5;4578:18;4619:2;4611:6;4608:14;4605:40;;;4625:18;;:::i;:::-;4700:2;4694:9;4668:2;4754:15;;-1:-1:-1;;4750:24:1;;;4776:2;4746:33;4742:42;4730:55;;;4800:18;;;4820:22;;;4797:46;4794:72;;;4846:18;;:::i;:::-;4886:10;4882:2;4875:22;4915:6;4906:15;;4945:6;4937;4930:22;4985:3;4976:6;4971:3;4967:16;4964:25;4961:45;;;5002:1;4999;4992:12;4961:45;5052:6;5047:3;5040:4;5032:6;5028:17;5015:44;5107:1;5100:4;5091:6;5083;5079:19;5075:30;5068:41;;;;4483:632;;;;;:::o;5120:451::-;5189:6;5242:2;5230:9;5221:7;5217:23;5213:32;5210:52;;;5258:1;5255;5248:12;5210:52;5298:9;5285:23;5331:18;5323:6;5320:30;5317:50;;;5363:1;5360;5353:12;5317:50;5386:22;;5439:4;5431:13;;5427:27;-1:-1:-1;5417:55:1;;5468:1;5465;5458:12;5417:55;5491:74;5557:7;5552:2;5539:16;5534:2;5530;5526:11;5491:74;:::i;5576:118::-;5662:5;5655:13;5648:21;5641:5;5638:32;5628:60;;5684:1;5681;5674:12;5699:315;5764:6;5772;5825:2;5813:9;5804:7;5800:23;5796:32;5793:52;;;5841:1;5838;5831:12;5793:52;5864:29;5883:9;5864:29;:::i;:::-;5854:39;;5943:2;5932:9;5928:18;5915:32;5956:28;5978:5;5956:28;:::i;:::-;6003:5;5993:15;;;5699:315;;;;;:::o;6019:667::-;6114:6;6122;6130;6138;6191:3;6179:9;6170:7;6166:23;6162:33;6159:53;;;6208:1;6205;6198:12;6159:53;6231:29;6250:9;6231:29;:::i;:::-;6221:39;;6279:38;6313:2;6302:9;6298:18;6279:38;:::i;:::-;6269:48;;6364:2;6353:9;6349:18;6336:32;6326:42;;6419:2;6408:9;6404:18;6391:32;6446:18;6438:6;6435:30;6432:50;;;6478:1;6475;6468:12;6432:50;6501:22;;6554:4;6546:13;;6542:27;-1:-1:-1;6532:55:1;;6583:1;6580;6573:12;6532:55;6606:74;6672:7;6667:2;6654:16;6649:2;6645;6641:11;6606:74;:::i;:::-;6596:84;;;6019:667;;;;;;;:::o;6691:184::-;-1:-1:-1;;;6740:1:1;6733:88;6840:4;6837:1;6830:15;6864:4;6861:1;6854:15;6880:394;7021:2;7006:18;;7054:1;7043:13;;7033:201;;-1:-1:-1;;;7087:1:1;7080:88;7191:4;7188:1;7181:15;7219:4;7216:1;7209:15;7033:201;7243:25;;;6880:394;:::o;7279:260::-;7347:6;7355;7408:2;7396:9;7387:7;7383:23;7379:32;7376:52;;;7424:1;7421;7414:12;7376:52;7447:29;7466:9;7447:29;:::i;:::-;7437:39;;7495:38;7529:2;7518:9;7514:18;7495:38;:::i;:::-;7485:48;;7279:260;;;;;:::o;7544:184::-;-1:-1:-1;;;7593:1:1;7586:88;7693:4;7690:1;7683:15;7717:4;7714:1;7707:15;7733:125;7798:9;;;7819:10;;;7816:36;;;7832:18;;:::i;8211:437::-;8290:1;8286:12;;;;8333;;;8354:61;;8408:4;8400:6;8396:17;8386:27;;8354:61;8461:2;8453:6;8450:14;8430:18;8427:38;8424:218;;-1:-1:-1;;;8495:1:1;8488:88;8599:4;8596:1;8589:15;8627:4;8624:1;8617:15;8424:218;;8211:437;;;:::o;15893:545::-;15995:2;15990:3;15987:11;15984:448;;;16031:1;16056:5;16052:2;16045:17;16101:4;16097:2;16087:19;16171:2;16159:10;16155:19;16152:1;16148:27;16142:4;16138:38;16207:4;16195:10;16192:20;16189:47;;;-1:-1:-1;16230:4:1;16189:47;16285:2;16280:3;16276:12;16273:1;16269:20;16263:4;16259:31;16249:41;;16340:82;16358:2;16351:5;16348:13;16340:82;;;16403:17;;;16384:1;16373:13;16340:82;;16614:1352;16740:3;16734:10;16767:18;16759:6;16756:30;16753:56;;;16789:18;;:::i;:::-;16818:97;16908:6;16868:38;16900:4;16894:11;16868:38;:::i;:::-;16862:4;16818:97;:::i;:::-;16970:4;;17034:2;17023:14;;17051:1;17046:663;;;;17753:1;17770:6;17767:89;;;-1:-1:-1;17822:19:1;;;17816:26;17767:89;-1:-1:-1;;16571:1:1;16567:11;;;16563:24;16559:29;16549:40;16595:1;16591:11;;;16546:57;17869:81;;17016:944;;17046:663;15840:1;15833:14;;;15877:4;15864:18;;-1:-1:-1;;17082:20:1;;;17200:236;17214:7;17211:1;17208:14;17200:236;;;17303:19;;;17297:26;17282:42;;17395:27;;;;17363:1;17351:14;;;;17230:19;;17200:236;;;17204:3;17464:6;17455:7;17452:19;17449:201;;;17525:19;;;17519:26;-1:-1:-1;;17608:1:1;17604:14;;;17620:3;17600:24;17596:37;17592:42;17577:58;17562:74;;17449:201;-1:-1:-1;;;;;17696:1:1;17680:14;;;17676:22;17663:36;;-1:-1:-1;16614:1352:1:o;18331:1187::-;18608:3;18637:1;18670:6;18664:13;18700:36;18726:9;18700:36;:::i;:::-;18755:1;18772:18;;;18799:133;;;;18946:1;18941:356;;;;18765:532;;18799:133;-1:-1:-1;;18832:24:1;;18820:37;;18905:14;;18898:22;18886:35;;18877:45;;;-1:-1:-1;18799:133:1;;18941:356;18972:6;18969:1;18962:17;19002:4;19047:2;19044:1;19034:16;19072:1;19086:165;19100:6;19097:1;19094:13;19086:165;;;19178:14;;19165:11;;;19158:35;19221:16;;;;19115:10;;19086:165;;;19090:3;;;19280:6;19275:3;19271:16;19264:23;;18765:532;;;;;19328:6;19322:13;19344:68;19403:8;19398:3;19391:4;19383:6;19379:17;19344:68;:::i;:::-;19475:7;19434:18;;19461:22;;;19510:1;19499:13;;18331:1187;-1:-1:-1;;;;18331:1187:1:o;23065:245::-;23132:6;23185:2;23173:9;23164:7;23160:23;23156:32;23153:52;;;23201:1;23198;23191:12;23153:52;23233:9;23227:16;23252:28;23274:5;23252:28;:::i;24395:512::-;24589:4;-1:-1:-1;;;;;24699:2:1;24691:6;24687:15;24676:9;24669:34;24751:2;24743:6;24739:15;24734:2;24723:9;24719:18;24712:43;;24791:6;24786:2;24775:9;24771:18;24764:34;24834:3;24829:2;24818:9;24814:18;24807:31;24855:46;24896:3;24885:9;24881:19;24873:6;24855:46;:::i;:::-;24847:54;24395:512;-1:-1:-1;;;;;;24395:512:1:o;24912:249::-;24981:6;25034:2;25022:9;25013:7;25009:23;25005:32;25002:52;;;25050:1;25047;25040:12;25002:52;25082:9;25076:16;25101:30;25125:5;25101:30;:::i;25166:184::-;-1:-1:-1;;;25215:1:1;25208:88;25315:4;25312:1;25305:15;25339:4;25336:1;25329:15;25355:135;25394:3;25415:17;;;25412:43;;25435:18;;:::i;:::-;-1:-1:-1;25482:1:1;25471:13;;25355:135::o
Swarm Source
ipfs://3c3b3771400892152b84ee142d0c15fa0f5025a634c9d803bc723ae1353a3cfb
Loading...
Loading
Loading...
Loading
[ 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.