Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
4,269 AOP
Holders
167
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
45 AOPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ARTOFFICIALPEPE
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-24 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/OperatorFilterer.sol pragma solidity ^0.8.4; /// @notice Optimized and flexible operator filterer to abide to OpenSea's /// mandatory on-chain royalty enforcement in order for new collections to /// receive royalties. /// For more information, see: /// See: https://github.com/ProjectOpenSea/operator-filter-registry abstract contract OperatorFilterer { /// @dev The default OpenSea operator blocklist subscription. address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; /// @dev The OpenSea operator filter registry. address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E; /// @dev Registers the current contract to OpenSea's operator filter, /// and subscribe to the default OpenSea operator blocklist. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering() internal virtual { _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true); } /// @dev Registers the current contract to OpenSea's operator filter. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering( address subscriptionOrRegistrantToCopy, bool subscribe ) internal virtual { /// @solidity memory-safe-assembly assembly { let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`. // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty. subscriptionOrRegistrantToCopy := shr( 96, shl(96, subscriptionOrRegistrantToCopy) ) for { } iszero(subscribe) { } { if iszero(subscriptionOrRegistrantToCopy) { functionSelector := 0x4420e486 // `register(address)`. break } functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`. break } // Store the function selector. mstore(0x00, shl(224, functionSelector)) // Store the `address(this)`. mstore(0x04, address()) // Store the `subscriptionOrRegistrantToCopy`. mstore(0x24, subscriptionOrRegistrantToCopy) // Register into the registry. if iszero( call( gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04 ) ) { // If the function selector has not been overwritten, // it is an out-of-gas error. if eq(shr(224, mload(0x00)), functionSelector) { // To prevent gas under-estimation. revert(0, 0) } } // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, because of Solidity's memory size limits. mstore(0x24, 0) } } /// @dev Modifier to guard a function and revert if the caller is a blocked operator. modifier onlyAllowedOperator(address from) virtual { if (from != msg.sender) { if (!_isPriorityOperator(msg.sender)) { if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender); } } _; } /// @dev Modifier to guard a function from approving a blocked operator.. modifier onlyAllowedOperatorApproval(address operator) virtual { if (!_isPriorityOperator(operator)) { if (_operatorFilteringEnabled()) _revertIfBlocked(operator); } _; } /// @dev Helper function that reverts if the `operator` is blocked by the registry. function _revertIfBlocked(address operator) private view { /// @solidity memory-safe-assembly assembly { // Store the function selector of `isOperatorAllowed(address,address)`, // shifted left by 6 bytes, which is enough for 8tb of memory. // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL). mstore(0x00, 0xc6171134001122334455) // Store the `address(this)`. mstore(0x1a, address()) // Store the `operator`. mstore(0x3a, operator) // `isOperatorAllowed` always returns true if it does not revert. if iszero( staticcall( gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00 ) ) { // Bubble up the revert if the staticcall reverts. returndatacopy(0x00, 0x00, returndatasize()) revert(0x00, returndatasize()) } // We'll skip checking if `from` is inside the blacklist. // Even though that can block transferring out of wrapper contracts, // we don't want tokens to be stuck. // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, if less than 8tb of memory is used. mstore(0x3a, 0) } } /// @dev For deriving contracts to override, so that operator filtering /// can be turned on / off. /// Returns true by default. function _operatorFilteringEnabled() internal view virtual returns (bool) { return true; } /// @dev For deriving contracts to override, so that preferred marketplaces can /// skip operator filtering, helping users save gas. /// Returns false for all inputs by default. function _isPriorityOperator(address) internal view virtual returns (bool) { return false; } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.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 * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * 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. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ 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: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/TestAIPEPEFixBytecode.sol // 'c;....''.. . // .,;,;oxkkxdl,.. .''...... // ':;',;'lNMMMMMMW0o,',.....;',cdxxdoc,.. // .:o;.';,;kWMMMMMMMMWO;:xkxc;'.xWMMMMMW0l,. // .::..lKx,,lKMMMMMMWNKXx.lx,.'.'0MMMMMMMNXd,. // .:ccoKWMNd''lONMMMMW0dkx.ok..:;.cXMMMMMNOk0c.. // .,,';kWMMMW0l;,cx0XXXOdc.,0XdxN0:.,kXWMMW0OO;.. // ... .:ONMMMMMXkoc;;,,'.'l0WWMMMMNk:'':odxdc..'. // . ;OO0NK0XKkoc;,''';o0WWNXXNWMMMWKko:,..,c;. // ...oXKxcclc,. .:kNMMMMMMN0xl:'.......''. // 'od:..;c;.';::::ccc::;,..;0WMWKdc;:ccc::;,'...';,. // .;, :xl:d0NWMWKOxdolclllc,,kMNOOKNNKOkdoolc:::c,;:. // ;:. ;kloXNX0oo0Nk;......':l:cKMMMMW0kkOkl'....,llo:. // ;l. .llokc'cxldKMW0xo; ..:xXW0dkx,;0MM0:'.. .;l. :OOkxl;. cOOkdl, // .o, :Od;. :0WMMWX0k; lKo. .lkKWMMMWN0: ',. .dXo;cdOOl. .kKl;cdOk:. // c: .OWx'.....,colc;.... .....lOc...'ckKXOol:'. ;' dX; .:0O, .k0' .l0x. // ,c. '0WOx0XXXXKKkl:;;;,;;::ccokkxk0X0kddl::;;;,,,,',:. oX; '00, .. .x0' ;Kk. .. // 'l. '0MMMMMMMMMXd::;;,,,,,';xO: ..;:clodOkl;,''''.:; lN: :Xx. .dKKOxdol:. dK, lNo .xKKOxdoc;. // .l; '0MMMMMMMMMNOoc:;,,'..;c:. .ckl..,,'..;;'.,' ',. cNc .kX; ,0Nx:cox00l. oX; '00' ;XXd:lox00c // c: :KMMMMMMMMMMMMWX0koc;' ;x: 'cd; 'c,;l;;:. ;KK; :Nl dWl '0X; . oN: .kX; ,KK, .. // 'l. .,:oodONWNXKOxoc:,.. .c;. . .. .,';,. .dkOl .;;'. .:cccc:;,''. .;:;'. .;:;,.. ';;,'. .,,,,'. .,:c;. ',,,,'. .:, :Xo oWl .OX; lNc .xN: ,0K, // :l. ':'..,:::cdxo,. .;'. :O:ox. dOlldc. ',;:0Kc,,,. .dx:,;lo' oXkodd; '0Kdddl. ,llOKo:. .cxl;;' .;ldKOl;. oWO' lc ;Xd .xN: .kX; cNl .OK, '00' // ll ,o',oclll:;':dc,........ . ld,. dk.ck. .xd ;0: .dO. lO' cx' dO. ,0l lk. l0: .xo .kW0, .xl ,Kx. ,KO. .xX; :No :Xx. .O0' // ll :o.cxoxkkkxxddll:;,,,'............................,ld;.. '0o :O; .dd .kl d0' .xx. .xo .xk. ;Kc lk. '0d. .xo ,0kx: .xl ,Kk. .xNc .xK, :Nd .OX: .OO. // :o. .cc,,o0Oxxxkkkxxxxxxxxxdl:;;;;,'.......,::::::;;:c:;;::. c0; ,Oc dd 'Oc oK, .Ox. dO. .kx. :K: lk. cXc .xo lO;dl .kl ,0O. .dNx. .kK, ;Xx. .kNo '0O. // .o, ..,';lkXNNXKKOxdoodxkkxxxxkdloooddoccok0K000Okxdo:''... .xk. .ko od. ck' cK; '0o oK, .Oo c0; lk. oX; .xo .ko ld. .ko '0O' ,ONx. .kK, ;Xk. ;0No. '0k. // :c .;coxKWMMMMMMMWKOd:'. .............. .'. '0l .xd od.,x, :K: ,0l lX; 'Ol l0, lk. d0' .xo :0; :x. .ko '00;'dNXl. .ONl..... ;Xk',kNK: ,KKc..... // .c: .:c;'. .,oONMMMMMMMMWX0kdodo:'.....,.....',':l;. l0, dk. l0dO: ;Kc ,0c :K; '0Oc:. lXdc, ox. d0' .ko dx. ,k; .Oo '0NKXXx' '0WX0KXN0; ;XNKXKd. ;XWK0KXXk' // .c; 'OMWX0kdl:''. .,dKWMMMMMMMMMMMMWWNXXKKKXXKKKOd;;l, .xd. oO. cd'oc ,Kl ,0c ;0: ,Oo,,. oO:,. dk. dO. .Ol 'Ol .kc .Ol '0Nx;. ,KXc..;c:. ;XXd;. ;XK:.';c;. // .;:..OMMMMMMMMWNKOxoc;:okKNMMMMMMMMMMMWWNNXK0kdl;. .l, ;O; c0, co.,o. '0o '0c ;0: ;k, od. dk. dO. .Oo cO' .xd .Ol 'OX; ,KX; ,K0' :N0, // 'l:c0WMMMMMMMMMMMMMWNKOOKWMMMW0xl::;;,'.... .:xl. ox. c0, :o. l: .Od .Ol ;0: ;k, dd oO. dk. .kd dd ok. 'Ol .OX; ;XX; ,K0' cNK, // ;:,;l0WMMMMMMMMMMMMMMMMMMMMMMMWN0xl;. .:c;.','. '0O:;:clOX; :d. :d. .kx. .xd c0, :O, dd o0' dk. .kd '0k;,,'x0, 'Ol .OX: ;XX; ,KK, cWK, // ..'cdOO, .,lx0NMMMMMMMMMMMMMMMMMMMMMMMMMWXkl. ':ccc' .','. l0; ..,dXc ;x. .xc .xk. lk. ok. :0; .xd. l0, o0' .xx. c0o:;;;dK: '0l .ON: ;XX; ,KK, lWK, // .'lOXNMMMXc .':okKNMMMMMMMMMMMMMMMMMMMMWKOkccdlc, .. .',. .kd ;Xl ;x' lx. .xO. ,Oc 'Oo cK; .xx. c0, ;0l dx. .xx. .ko '0l .ONc ;XX; ,KX; lW0' // .:lkKNWMMWMMMMNOl' .':lxOKNWMMMMMMMMMMMWKkl:;cxc ,o:... .,'. c0; ;Xo ,k; 'kc .dO. ck, .dk. lX: .kk. .oKc.. l0l. .xO,.. ;Kl dk. ,Oc .OWl ;XX; ,KN: cW0' // 0WMMMWX0OO0XNWMMMNOl,. .';clokNMMMWKOdc;'.oKl .dKklc, .',. cl. 'x: .o, :x' ,; :doldo. :x' .ol. .cxOxlc' ,lolc:. 'lxkolc. :o. ;o. .dxlllc' .OWo ;XK, '0Nc :N0' // :XWKd:.. ..;lOWMMMMMXl'.. .:kOdl:,'... .oo,,. .dNN0d:.';;. . .'. ..... .kMd ,KK, '0Wc :NO. // ',. .:OWMMMMKc....... .. .;c:''. cc 'l, .lXWNOc,;:; .kMd '0X; '0Wl ,K0' // ..',;,. .. .:0WMMMNd. ........;, .coo, .;. ld. '::' .xXNKdc;'''. .xMx. .OX; .OMo ,K0' // .;c,..;. .kWMMMWk,.. ..;l' ,:lc'..:,.oO, .;..;.'cx0d:::'.... .xMx. ,KNc .OMo cNX; // .::..'....dWWKoc'..'. .,;cc:;. ..;ko. '' ... .dKKXK:.. .xMx. :NMO:'..... .OMo lWWk;'..... // ;; ''.xWWKc .. .,:,','','''''.,;. ,kNMW0; ;x; 'kKKK0OOOOd' cx, ;0KKK0OOOOd // . .;.'0NOo::ol,........ ..:lccc:cc,.. .oXWOl. ........ ......... // ''.oKd'':kKkl'...... .:;',,.',;cl;. :o;. // .. ,KMNXWWNO; .,'. .';:'. // .lOKXWMWK: .'.. // .,cdk0o. //// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; //@author Pogwerk\\ //@title ART OFFICIAL PEPE contract ARTOFFICIALPEPE is Ownable, ERC721AQueryable, ERC2981, OperatorFilterer { using Strings for uint; enum Step { Before, GVOClaim, PepeList, PublicSale, SoldOut, Reveal } string public baseURI; Step public sellingStep; IERC721Enumerable public GVOContract; uint private constant MAX_SUPPLY = 4269; uint private constant MAX_GVO = 170; uint private GVOCLAIMED = 0; uint public wlSalePrice = 0.029 ether; uint public publicSalePrice = 0.029 ether; bytes32 public merkleRoot; bool public operatorFilteringEnabled; address public teamWallet; mapping(address => bool) public hasPepeList; mapping(address => bool) public hasClaimedFreeMint; constructor( bytes32 _merkleRoot, string memory _baseURI, address _GVOContract) ERC721A("ART OFFICIAL PEPE", "AOP") { merkleRoot = _merkleRoot; teamWallet = 0x59f59e1a988F0Fc78CB6F5A7526fc6bec283fD57; baseURI = _baseURI; GVOContract = IERC721Enumerable(_GVOContract); // Register for operator filtering, disable by default. _registerForOperatorFiltering(); operatorFilteringEnabled = true; // Set default royalty to 7.5% (denominator out of 10000). _setDefaultRoyalty(0xeA803944E87142d44b945b3f5a0639f442ba361B, 750); } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function freeMint() external { require(!hasClaimedFreeMint[msg.sender], "You have already claimed your free mint"); uint256 GVOTokenHeld = GVOContract.balanceOf(msg.sender); require(GVOCLAIMED <= MAX_GVO, "Max supply exceeded"); require(totalSupply() + GVOTokenHeld <= MAX_SUPPLY, "Max supply exceeded"); GVOCLAIMED += GVOTokenHeld; hasClaimedFreeMint[msg.sender] = true; _safeMint(msg.sender, GVOTokenHeld); } function aiPepeList(address _account, uint _quantity, bytes32[] calldata _proof) external payable callerIsUser { uint price = wlSalePrice; require(price != 0, "Price is 0"); require(sellingStep == Step.PepeList, "Pepe list is not there yet or finished"); require(isWhiteListed(msg.sender, _proof), "Not whitelisted"); require(!hasPepeList[msg.sender], "You already minted on Pepelist"); require(_quantity <= 15, "Max quantity exceeded"); require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply exceeded"); require(msg.value >= price * _quantity, "Not enough funds"); hasPepeList[msg.sender] = true; _safeMint(_account, _quantity); } function publicSaleMint(address _account, uint _quantity) external payable callerIsUser { uint price = publicSalePrice; require(price != 0, "Price is 0"); require(sellingStep == Step.PublicSale, "Public sale is not activated"); require(_quantity <= 15, "Max quantity exceeded"); require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply exceeded"); require(msg.value >= price * _quantity, "Not enought funds"); _safeMint(_account, _quantity); } function gift(address _to, uint _quantity) external onlyOwner { require(totalSupply() + _quantity <= MAX_SUPPLY, "Reached max Supply"); _safeMint(_to, _quantity); } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function tokenURI(uint _tokenId) public view virtual override(IERC721A, ERC721A) returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _tokenId.toString())); } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function isWhiteListed(address _account, bytes32[] calldata _proof) internal view returns(bool) { return _verify(leaf(_account), _proof); } function leaf(address _account) internal pure returns(bytes32) { return keccak256(abi.encodePacked(_account)); } function _verify(bytes32 _leaf, bytes32[] memory _proof) internal view returns(bool) { return MerkleProof.verify(_proof, merkleRoot, _leaf); } function withdraw() onlyOwner public payable{ uint256 balance = address(this).balance; payable(teamWallet).transfer(balance); assert(address(this).balance == 0); } //=============================================================== // Operator Filtering //=============================================================== function setApprovalForAll(address operator, bool approved) public override(IERC721A, ERC721A) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override(IERC721A, ERC721A) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } function setOperatorFilteringEnabled(bool value) external onlyOwner { operatorFilteringEnabled = value; } function _operatorFilteringEnabled() internal view override returns (bool) { return operatorFilteringEnabled; } function _isPriorityOperator(address operator) internal pure override returns (bool) { // OpenSea Seaport Conduit: // https://etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71 // https://goerli.etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71 return operator == address(0x1E0049783F008A0085193E00003D00cd54003c71); } //=============================================================== // ERC2981 Implementation //=============================================================== function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } //=============================================================== // SupportsInterface //=============================================================== function supportsInterface(bytes4 interfaceId) public view virtual override(IERC721A, ERC721A, ERC2981) returns (bool) { // Supports the following `interfaceId`s: // - IERC165: 0x01ffc9a7 // - IERC721: 0x80ac58cd // - IERC721Metadata: 0x5b5e139f // - IERC2981: 0x2a55205a return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_GVOContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"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":"GVOContract","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"aiPepeList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","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":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimedFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasPepeList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum ARTOFFICIALPEPE.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":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600d5566670758aa7c8000600e5566670758aa7c8000600f553480156200002c57600080fd5b5060405162003266380380620032668339810160408190526200004f916200039a565b60405180604001604052806011815260200170415254204f4646494349414c205045504560781b815250604051806040016040528060038152602001620414f560ec1b815250620000af620000a96200017160201b60201c565b62000175565b6003620000bd83826200051b565b506004620000cc82826200051b565b50600180555050601083905560118054610100600160a81b0319167459f59e1a988f0fc78cb6f5a7526fc6bec283fd5700179055600b6200010e83826200051b565b50600c8054610100600160a81b0319166101006001600160a01b0384160217905562000139620001c5565b6011805460ff191660011790556200016873ea803944e87142d44b945b3f5a0639f442ba361b6102ee620001e8565b505050620005e7565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001e6733cc6cdda760b79bafa08df41ecfa224f810dceb66001620002ed565b565b6127106001600160601b03821611156200025c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002b45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000253565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6001600160a01b0390911690637d3e3dbe816200031d5782620003165750634420e4866200031d565b5063a0af29035b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af16200035d578060005160e01c036200035d57600080fd5b5060006024525050565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200039557600080fd5b919050565b600080600060608486031215620003b057600080fd5b8351602080860151919450906001600160401b0380821115620003d257600080fd5b818701915087601f830112620003e757600080fd5b815181811115620003fc57620003fc62000367565b604051601f8201601f19908116603f0116810190838211818310171562000427576200042762000367565b816040528281528a868487010111156200044057600080fd5b600093505b8284101562000464578484018601518185018701529285019262000445565b600086848301015280975050505050505062000483604085016200037d565b90509250925092565b600181811c90821680620004a157607f821691505b602082108103620004c257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200051657600081815260208120601f850160051c81016020861015620004f15750805b601f850160051c820191505b818110156200051257828155600101620004fd565b5050505b505050565b81516001600160401b0381111562000537576200053762000367565b6200054f816200054884546200048c565b84620004c8565b602080601f8311600181146200058757600084156200056e5750858301515b600019600386901b1c1916600185901b17855562000512565b600085815260208120601f198616915b82811015620005b85788860151825594840194600190910190840162000597565b5085821015620005d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612c6f80620005f76000396000f3fe6080604052600436106102515760003560e01c80637654e23a11610139578063ac5ae11b116100b6578063cbccefb21161007a578063cbccefb2146106c8578063cbce4c97146106ef578063e985e9c51461070f578063f2fde38b14610758578063f8dcbddb14610778578063fb796e6c1461079857600080fd5b8063ac5ae11b14610635578063b7c0b8e814610648578063b88d4fde14610668578063c23dc68f1461067b578063c87b56dd146106a857600080fd5b806399a2557a116100fd57806399a2557a146105ac5780639b6860c8146105cc578063a0bcfc7f146105e2578063a22cb46514610602578063aa8f30a91461062257600080fd5b80637654e23a146105075780637cb647591461052c5780638462151c1461054c5780638da5cb5b1461057957806395d89b411461059757600080fd5b80633ccfd60b116101d25780635bbb2177116101965780635bbb21771461045a5780636352211e146104875780636c0360eb146104a757806370a08231146104bc578063715018a6146104dc578063734c66bd146104f157600080fd5b80633ccfd60b146103d557806342842e0e146103dd578063428640d8146103f057806359927044146104205780635b70ea9f1461044557600080fd5b806318160ddd1161021957806318160ddd1461031a57806323b872dd1461033d578063240e4cf5146103505780632a55205a146103805780632eb4a7ab146103bf57600080fd5b806301ffc9a71461025657806304634d8d1461028b57806306fdde03146102ad578063081812fc146102cf578063095ea7b314610307575b600080fd5b34801561026257600080fd5b506102766102713660046123a8565b6107b2565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102ab6102a63660046123e1565b6107d2565b005b3480156102b957600080fd5b506102c26107e8565b6040516102829190612474565b3480156102db57600080fd5b506102ef6102ea366004612487565b61087a565b6040516001600160a01b039091168152602001610282565b6102ab6103153660046124a0565b6108be565b34801561032657600080fd5b5061032f6108ef565b604051908152602001610282565b6102ab61034b3660046124ca565b6108fd565b34801561035c57600080fd5b5061027661036b366004612506565b60126020526000908152604090205460ff1681565b34801561038c57600080fd5b506103a061039b366004612521565b610940565b604080516001600160a01b039093168352602083019190915201610282565b3480156103cb57600080fd5b5061032f60105481565b6102ab6109ee565b6102ab6103eb3660046124ca565b610a47565b3480156103fc57600080fd5b5061027661040b366004612506565b60136020526000908152604090205460ff1681565b34801561042c57600080fd5b506011546102ef9061010090046001600160a01b031681565b34801561045157600080fd5b506102ab610a84565b34801561046657600080fd5b5061047a610475366004612587565b610bff565b6040516102829190612604565b34801561049357600080fd5b506102ef6104a2366004612487565b610cca565b3480156104b357600080fd5b506102c2610cd5565b3480156104c857600080fd5b5061032f6104d7366004612506565b610d63565b3480156104e857600080fd5b506102ab610db1565b3480156104fd57600080fd5b5061032f600e5481565b34801561051357600080fd5b50600c546102ef9061010090046001600160a01b031681565b34801561053857600080fd5b506102ab610547366004612487565b610dc5565b34801561055857600080fd5b5061056c610567366004612506565b610dd2565b6040516102829190612646565b34801561058557600080fd5b506000546001600160a01b03166102ef565b3480156105a357600080fd5b506102c2610eda565b3480156105b857600080fd5b5061056c6105c736600461267e565b610ee9565b3480156105d857600080fd5b5061032f600f5481565b3480156105ee57600080fd5b506102ab6105fd36600461273c565b611070565b34801561060e57600080fd5b506102ab61061d366004612794565b611084565b6102ab6106303660046127c7565b6110b0565b6102ab6106433660046124a0565b611352565b34801561065457600080fd5b506102ab610663366004612820565b61151c565b6102ab61067636600461283b565b611537565b34801561068757600080fd5b5061069b610696366004612487565b611575565b60405161028291906128b6565b3480156106b457600080fd5b506102c26106c3366004612487565b6115fd565b3480156106d457600080fd5b50600c546106e29060ff1681565b60405161028291906128da565b3480156106fb57600080fd5b506102ab61070a3660046124a0565b611686565b34801561071b57600080fd5b5061027661072a366004612902565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561076457600080fd5b506102ab610773366004612506565b6116f1565b34801561078457600080fd5b506102ab610793366004612487565b611767565b3480156107a457600080fd5b506011546102769060ff1681565b60006107bd826117a5565b806107cc57506107cc826117f3565b92915050565b6107da611828565b6107e48282611882565b5050565b6060600380546107f79061292c565b80601f01602080910402602001604051908101604052809291908181526020018280546108239061292c565b80156108705780601f1061084557610100808354040283529160200191610870565b820191906000526020600020905b81548152906001019060200180831161085357829003601f168201915b5050505050905090565b60006108858261197f565b6108a2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b816108c8816119b4565b6108e05760115460ff16156108e0576108e0816119d6565b6108ea8383611a1a565b505050565b600254600154036000190190565b826001600160a01b038116331461092f57610917336119b4565b61092f5760115460ff161561092f5761092f336119d6565b61093a848484611aba565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109b55750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109d4906001600160601b03168761297c565b6109de9190612993565b91519350909150505b9250929050565b6109f6611828565b601154604051479161010090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610a35573d6000803e3d6000fd5b504715610a4457610a446129b5565b50565b826001600160a01b0381163314610a7957610a61336119b4565b610a795760115460ff1615610a7957610a79336119d6565b61093a848484611c53565b3360009081526013602052604090205460ff1615610af95760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520616c726561647920636c61696d656420796f75722066726044820152661959481b5a5b9d60ca1b60648201526084015b60405180910390fd5b600c546040516370a0823160e01b815233600482015260009161010090046001600160a01b0316906370a0823190602401602060405180830381865afa158015610b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b91906129cb565b905060aa600d541115610b905760405162461bcd60e51b8152600401610af0906129e4565b6110ad81610b9c6108ef565b610ba69190612a11565b1115610bc45760405162461bcd60e51b8152600401610af0906129e4565b80600d6000828254610bd69190612a11565b9091555050336000818152601360205260409020805460ff19166001179055610a449082611c6e565b6060816000816001600160401b03811115610c1c57610c1c6126b1565b604051908082528060200260200182016040528015610c6e57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610c3a5790505b50905060005b828114610cc157610c9c868683818110610c9057610c90612a24565b90506020020135611575565b828281518110610cae57610cae612a24565b6020908102919091010152600101610c74565b50949350505050565b60006107cc82611c88565b600b8054610ce29061292c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0e9061292c565b8015610d5b5780601f10610d3057610100808354040283529160200191610d5b565b820191906000526020600020905b815481529060010190602001808311610d3e57829003601f168201915b505050505081565b60006001600160a01b038216610d8c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b610db9611828565b610dc36000611cf7565b565b610dcd611828565b601055565b60606000806000610de285610d63565b90506000816001600160401b03811115610dfe57610dfe6126b1565b604051908082528060200260200182016040528015610e27578160200160208202803683370190505b509050610e5460408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610ece57610e6781611d47565b91508160400151610ec65781516001600160a01b031615610e8757815194505b876001600160a01b0316856001600160a01b031603610ec65780838780600101985081518110610eb957610eb9612a24565b6020026020010181815250505b600101610e57565b50909695505050505050565b6060600480546107f79061292c565b6060818310610f0b57604051631960ccad60e11b815260040160405180910390fd5b600080610f1760015490565b90506001851015610f2757600194505b80841115610f33578093505b6000610f3e87610d63565b905084861015610f5d5785850381811015610f57578091505b50610f61565b5060005b6000816001600160401b03811115610f7b57610f7b6126b1565b604051908082528060200260200182016040528015610fa4578160200160208202803683370190505b50905081600003610fba57935061106992505050565b6000610fc588611575565b905060008160400151610fd6575080515b885b888114158015610fe85750848714155b1561105d57610ff681611d47565b925082604001516110555782516001600160a01b03161561101657825191505b8a6001600160a01b0316826001600160a01b031603611055578084888060010199508151811061104857611048612a24565b6020026020010181815250505b600101610fd8565b50505092835250909150505b9392505050565b611078611828565b600b6107e48282612a80565b8161108e816119b4565b6110a65760115460ff16156110a6576110a6816119d6565b6108ea8383611d83565b3233146110ff5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610af0565b600e5460008190036111405760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610af0565b6002600c5460ff166005811115611159576111596128c4565b146111b55760405162461bcd60e51b815260206004820152602660248201527f50657065206c697374206973206e6f7420746865726520796574206f722066696044820152651b9a5cda195960d21b6064820152608401610af0565b6111c0338484611def565b6111fe5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610af0565b3360009081526012602052604090205460ff161561125e5760405162461bcd60e51b815260206004820152601e60248201527f596f7520616c7265616479206d696e746564206f6e20506570656c69737400006044820152606401610af0565b600f8411156112a75760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610af0565b6110ad846112b36108ef565b6112bd9190612a11565b11156112db5760405162461bcd60e51b8152600401610af0906129e4565b6112e5848261297c565b3410156113275760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610af0565b336000908152601260205260409020805460ff1916600117905561134b8585611c6e565b5050505050565b3233146113a15760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610af0565b600f5460008190036113e25760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610af0565b6003600c5460ff1660058111156113fb576113fb6128c4565b146114485760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f7420616374697661746564000000006044820152606401610af0565b600f8211156114915760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610af0565b6110ad8261149d6108ef565b6114a79190612a11565b11156114c55760405162461bcd60e51b8152600401610af0906129e4565b6114cf828261297c565b3410156115125760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610af0565b6108ea8383611c6e565b611524611828565b6011805460ff1916911515919091179055565b836001600160a01b038116331461156957611551336119b4565b6115695760115460ff161561156957611569336119d6565b61134b85858585611e78565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806115ce57506001548310155b156115d95792915050565b6115e283611d47565b90508060400151156115f45792915050565b61106983611ebc565b60606116088261197f565b6116545760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610af0565b600b61165f83611ef1565b604051602001611670929190612b3f565b6040516020818303038152906040529050919050565b61168e611828565b6110ad8161169a6108ef565b6116a49190612a11565b11156116e75760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b6044820152606401610af0565b6107e48282611c6e565b6116f9611828565b6001600160a01b03811661175e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af0565b610a4481611cf7565b61176f611828565b806005811115611781576117816128c4565b600c805460ff1916600183600581111561179d5761179d6128c4565b021790555050565b60006301ffc9a760e01b6001600160e01b0319831614806117d657506380ac58cd60e01b6001600160e01b03198316145b806107cc5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b14806107cc57506301ffc9a760e01b6001600160e01b03198316146107cc565b6000546001600160a01b03163314610dc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af0565b6127106001600160601b03821611156118f05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610af0565b6001600160a01b0382166119465760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610af0565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015611993575060015482105b80156107cc575050600090815260056020526040902054600160e01b161590565b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611a12573d6000803e3d6000fd5b6000603a5250565b6000611a2582610cca565b9050336001600160a01b03821614611a5e57611a41813361072a565b611a5e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611ac582611c88565b9050836001600160a01b0316816001600160a01b031614611af85760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417611b4557611b28863361072a565b611b4557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611b6c57604051633a954ecd60e21b815260040160405180910390fd5b8015611b7757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003611c0957600184016000818152600560205260408120549003611c07576001548114611c075760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6108ea83838360405180602001604052806000815250611537565b6107e4828260405180602001604052806000815250611f83565b60008180600111611cde57600154811015611cde5760008181526005602052604081205490600160e01b82169003611cdc575b80600003611069575060001901600081815260056020526040902054611cbb565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600560205260409020546107cc90611fe9565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000611e70611e37856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061203092505050565b949350505050565b611e838484846108fd565b6001600160a01b0383163b1561093a57611e9f8484848461203f565b61093a576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526107cc611eec83611c88565b611fe9565b60606000611efe8361212a565b60010190506000816001600160401b03811115611f1d57611f1d6126b1565b6040519080825280601f01601f191660200182016040528015611f47576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611f5157509392505050565b611f8d8383612202565b6001600160a01b0383163b156108ea576001548281035b611fb7600086838060010194508661203f565b611fd4576040516368d2bf6b60e11b815260040160405180910390fd5b818110611fa457816001541461134b57600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60006110698260105485612300565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612074903390899088908890600401612bc6565b6020604051808303816000875af19250505080156120af575060408051601f3d908101601f191682019092526120ac91810190612c03565b60015b61210d573d8080156120dd576040519150601f19603f3d011682016040523d82523d6000602084013e6120e2565b606091505b508051600003612105576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121695772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612195576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106121b357662386f26fc10000830492506010015b6305f5e10083106121cb576305f5e100830492506008015b61271083106121df57612710830492506004015b606483106121f1576064830492506002015b600a83106107cc5760010192915050565b60015460008290036122275760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122d657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161229e565b50816000036122f757604051622e076360e81b815260040160405180910390fd5b60015550505050565b60008261230d8584612316565b14949350505050565b600081815b845181101561235b576123478286838151811061233a5761233a612a24565b6020026020010151612363565b91508061235381612c20565b91505061231b565b509392505050565b600081831061237f576000828152602084905260409020611069565b6000838152602083905260409020611069565b6001600160e01b031981168114610a4457600080fd5b6000602082840312156123ba57600080fd5b813561106981612392565b80356001600160a01b03811681146123dc57600080fd5b919050565b600080604083850312156123f457600080fd5b6123fd836123c5565b915060208301356001600160601b038116811461241957600080fd5b809150509250929050565b60005b8381101561243f578181015183820152602001612427565b50506000910152565b60008151808452612460816020860160208601612424565b601f01601f19169290920160200192915050565b6020815260006110696020830184612448565b60006020828403121561249957600080fd5b5035919050565b600080604083850312156124b357600080fd5b6124bc836123c5565b946020939093013593505050565b6000806000606084860312156124df57600080fd5b6124e8846123c5565b92506124f6602085016123c5565b9150604084013590509250925092565b60006020828403121561251857600080fd5b611069826123c5565b6000806040838503121561253457600080fd5b50508035926020909101359150565b60008083601f84011261255557600080fd5b5081356001600160401b0381111561256c57600080fd5b6020830191508360208260051b85010111156109e757600080fd5b6000806020838503121561259a57600080fd5b82356001600160401b038111156125b057600080fd5b6125bc85828601612543565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610ece576126338385516125c8565b9284019260809290920191600101612620565b6020808252825182820181905260009190848201906040850190845b81811015610ece57835183529284019291840191600101612662565b60008060006060848603121561269357600080fd5b61269c846123c5565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126e1576126e16126b1565b604051601f8501601f19908116603f01168101908282118183101715612709576127096126b1565b8160405280935085815286868601111561272257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561274e57600080fd5b81356001600160401b0381111561276457600080fd5b8201601f8101841361277557600080fd5b611e70848235602084016126c7565b803580151581146123dc57600080fd5b600080604083850312156127a757600080fd5b6127b0836123c5565b91506127be60208401612784565b90509250929050565b600080600080606085870312156127dd57600080fd5b6127e6856123c5565b93506020850135925060408501356001600160401b0381111561280857600080fd5b61281487828801612543565b95989497509550505050565b60006020828403121561283257600080fd5b61106982612784565b6000806000806080858703121561285157600080fd5b61285a856123c5565b9350612868602086016123c5565b92506040850135915060608501356001600160401b0381111561288a57600080fd5b8501601f8101871361289b57600080fd5b6128aa878235602084016126c7565b91505092959194509250565b608081016107cc82846125c8565b634e487b7160e01b600052602160045260246000fd5b60208101600683106128fc57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561291557600080fd5b61291e836123c5565b91506127be602084016123c5565b600181811c9082168061294057607f821691505b60208210810361296057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107cc576107cc612966565b6000826129b057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156129dd57600080fd5b5051919050565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b808201808211156107cc576107cc612966565b634e487b7160e01b600052603260045260246000fd5b601f8211156108ea57600081815260208120601f850160051c81016020861015612a615750805b601f850160051c820191505b81811015611c4b57828155600101612a6d565b81516001600160401b03811115612a9957612a996126b1565b612aad81612aa7845461292c565b84612a3a565b602080601f831160018114612ae25760008415612aca5750858301515b600019600386901b1c1916600185901b178555611c4b565b600085815260208120601f198616915b82811015612b1157888601518255948401946001909101908401612af2565b5085821015612b2f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612b4d8161292c565b60018281168015612b655760018114612b7a57612ba9565b60ff1984168752821515830287019450612ba9565b8860005260208060002060005b85811015612ba05781548a820152908401908201612b87565b50505082870194505b505050508351612bbd818360208801612424565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bf990830184612448565b9695505050505050565b600060208284031215612c1557600080fd5b815161106981612392565b600060018201612c3257612c32612966565b506001019056fea2646970667358221220066944910b7b5eba3a6ae4cca4c2681623bebe4a966713ef35ea9a66ad9e45dc64736f6c63430008130033354378f32ab30d0bfca7b3b719299b0c1a9c3bb7c55b43dd5de12a3ac01699230000000000000000000000000000000000000000000000000000000000000060000000000000000000000000f0040cb8636533a95c40c9be89e1b785da186b91000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f706570656c6973746170692e706f677765726b2e7265706c2e636f2f6170693f69643d000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102515760003560e01c80637654e23a11610139578063ac5ae11b116100b6578063cbccefb21161007a578063cbccefb2146106c8578063cbce4c97146106ef578063e985e9c51461070f578063f2fde38b14610758578063f8dcbddb14610778578063fb796e6c1461079857600080fd5b8063ac5ae11b14610635578063b7c0b8e814610648578063b88d4fde14610668578063c23dc68f1461067b578063c87b56dd146106a857600080fd5b806399a2557a116100fd57806399a2557a146105ac5780639b6860c8146105cc578063a0bcfc7f146105e2578063a22cb46514610602578063aa8f30a91461062257600080fd5b80637654e23a146105075780637cb647591461052c5780638462151c1461054c5780638da5cb5b1461057957806395d89b411461059757600080fd5b80633ccfd60b116101d25780635bbb2177116101965780635bbb21771461045a5780636352211e146104875780636c0360eb146104a757806370a08231146104bc578063715018a6146104dc578063734c66bd146104f157600080fd5b80633ccfd60b146103d557806342842e0e146103dd578063428640d8146103f057806359927044146104205780635b70ea9f1461044557600080fd5b806318160ddd1161021957806318160ddd1461031a57806323b872dd1461033d578063240e4cf5146103505780632a55205a146103805780632eb4a7ab146103bf57600080fd5b806301ffc9a71461025657806304634d8d1461028b57806306fdde03146102ad578063081812fc146102cf578063095ea7b314610307575b600080fd5b34801561026257600080fd5b506102766102713660046123a8565b6107b2565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102ab6102a63660046123e1565b6107d2565b005b3480156102b957600080fd5b506102c26107e8565b6040516102829190612474565b3480156102db57600080fd5b506102ef6102ea366004612487565b61087a565b6040516001600160a01b039091168152602001610282565b6102ab6103153660046124a0565b6108be565b34801561032657600080fd5b5061032f6108ef565b604051908152602001610282565b6102ab61034b3660046124ca565b6108fd565b34801561035c57600080fd5b5061027661036b366004612506565b60126020526000908152604090205460ff1681565b34801561038c57600080fd5b506103a061039b366004612521565b610940565b604080516001600160a01b039093168352602083019190915201610282565b3480156103cb57600080fd5b5061032f60105481565b6102ab6109ee565b6102ab6103eb3660046124ca565b610a47565b3480156103fc57600080fd5b5061027661040b366004612506565b60136020526000908152604090205460ff1681565b34801561042c57600080fd5b506011546102ef9061010090046001600160a01b031681565b34801561045157600080fd5b506102ab610a84565b34801561046657600080fd5b5061047a610475366004612587565b610bff565b6040516102829190612604565b34801561049357600080fd5b506102ef6104a2366004612487565b610cca565b3480156104b357600080fd5b506102c2610cd5565b3480156104c857600080fd5b5061032f6104d7366004612506565b610d63565b3480156104e857600080fd5b506102ab610db1565b3480156104fd57600080fd5b5061032f600e5481565b34801561051357600080fd5b50600c546102ef9061010090046001600160a01b031681565b34801561053857600080fd5b506102ab610547366004612487565b610dc5565b34801561055857600080fd5b5061056c610567366004612506565b610dd2565b6040516102829190612646565b34801561058557600080fd5b506000546001600160a01b03166102ef565b3480156105a357600080fd5b506102c2610eda565b3480156105b857600080fd5b5061056c6105c736600461267e565b610ee9565b3480156105d857600080fd5b5061032f600f5481565b3480156105ee57600080fd5b506102ab6105fd36600461273c565b611070565b34801561060e57600080fd5b506102ab61061d366004612794565b611084565b6102ab6106303660046127c7565b6110b0565b6102ab6106433660046124a0565b611352565b34801561065457600080fd5b506102ab610663366004612820565b61151c565b6102ab61067636600461283b565b611537565b34801561068757600080fd5b5061069b610696366004612487565b611575565b60405161028291906128b6565b3480156106b457600080fd5b506102c26106c3366004612487565b6115fd565b3480156106d457600080fd5b50600c546106e29060ff1681565b60405161028291906128da565b3480156106fb57600080fd5b506102ab61070a3660046124a0565b611686565b34801561071b57600080fd5b5061027661072a366004612902565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561076457600080fd5b506102ab610773366004612506565b6116f1565b34801561078457600080fd5b506102ab610793366004612487565b611767565b3480156107a457600080fd5b506011546102769060ff1681565b60006107bd826117a5565b806107cc57506107cc826117f3565b92915050565b6107da611828565b6107e48282611882565b5050565b6060600380546107f79061292c565b80601f01602080910402602001604051908101604052809291908181526020018280546108239061292c565b80156108705780601f1061084557610100808354040283529160200191610870565b820191906000526020600020905b81548152906001019060200180831161085357829003601f168201915b5050505050905090565b60006108858261197f565b6108a2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b816108c8816119b4565b6108e05760115460ff16156108e0576108e0816119d6565b6108ea8383611a1a565b505050565b600254600154036000190190565b826001600160a01b038116331461092f57610917336119b4565b61092f5760115460ff161561092f5761092f336119d6565b61093a848484611aba565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109b55750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109d4906001600160601b03168761297c565b6109de9190612993565b91519350909150505b9250929050565b6109f6611828565b601154604051479161010090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610a35573d6000803e3d6000fd5b504715610a4457610a446129b5565b50565b826001600160a01b0381163314610a7957610a61336119b4565b610a795760115460ff1615610a7957610a79336119d6565b61093a848484611c53565b3360009081526013602052604090205460ff1615610af95760405162461bcd60e51b815260206004820152602760248201527f596f75206861766520616c726561647920636c61696d656420796f75722066726044820152661959481b5a5b9d60ca1b60648201526084015b60405180910390fd5b600c546040516370a0823160e01b815233600482015260009161010090046001600160a01b0316906370a0823190602401602060405180830381865afa158015610b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b91906129cb565b905060aa600d541115610b905760405162461bcd60e51b8152600401610af0906129e4565b6110ad81610b9c6108ef565b610ba69190612a11565b1115610bc45760405162461bcd60e51b8152600401610af0906129e4565b80600d6000828254610bd69190612a11565b9091555050336000818152601360205260409020805460ff19166001179055610a449082611c6e565b6060816000816001600160401b03811115610c1c57610c1c6126b1565b604051908082528060200260200182016040528015610c6e57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610c3a5790505b50905060005b828114610cc157610c9c868683818110610c9057610c90612a24565b90506020020135611575565b828281518110610cae57610cae612a24565b6020908102919091010152600101610c74565b50949350505050565b60006107cc82611c88565b600b8054610ce29061292c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0e9061292c565b8015610d5b5780601f10610d3057610100808354040283529160200191610d5b565b820191906000526020600020905b815481529060010190602001808311610d3e57829003601f168201915b505050505081565b60006001600160a01b038216610d8c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b610db9611828565b610dc36000611cf7565b565b610dcd611828565b601055565b60606000806000610de285610d63565b90506000816001600160401b03811115610dfe57610dfe6126b1565b604051908082528060200260200182016040528015610e27578160200160208202803683370190505b509050610e5460408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610ece57610e6781611d47565b91508160400151610ec65781516001600160a01b031615610e8757815194505b876001600160a01b0316856001600160a01b031603610ec65780838780600101985081518110610eb957610eb9612a24565b6020026020010181815250505b600101610e57565b50909695505050505050565b6060600480546107f79061292c565b6060818310610f0b57604051631960ccad60e11b815260040160405180910390fd5b600080610f1760015490565b90506001851015610f2757600194505b80841115610f33578093505b6000610f3e87610d63565b905084861015610f5d5785850381811015610f57578091505b50610f61565b5060005b6000816001600160401b03811115610f7b57610f7b6126b1565b604051908082528060200260200182016040528015610fa4578160200160208202803683370190505b50905081600003610fba57935061106992505050565b6000610fc588611575565b905060008160400151610fd6575080515b885b888114158015610fe85750848714155b1561105d57610ff681611d47565b925082604001516110555782516001600160a01b03161561101657825191505b8a6001600160a01b0316826001600160a01b031603611055578084888060010199508151811061104857611048612a24565b6020026020010181815250505b600101610fd8565b50505092835250909150505b9392505050565b611078611828565b600b6107e48282612a80565b8161108e816119b4565b6110a65760115460ff16156110a6576110a6816119d6565b6108ea8383611d83565b3233146110ff5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610af0565b600e5460008190036111405760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610af0565b6002600c5460ff166005811115611159576111596128c4565b146111b55760405162461bcd60e51b815260206004820152602660248201527f50657065206c697374206973206e6f7420746865726520796574206f722066696044820152651b9a5cda195960d21b6064820152608401610af0565b6111c0338484611def565b6111fe5760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610af0565b3360009081526012602052604090205460ff161561125e5760405162461bcd60e51b815260206004820152601e60248201527f596f7520616c7265616479206d696e746564206f6e20506570656c69737400006044820152606401610af0565b600f8411156112a75760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610af0565b6110ad846112b36108ef565b6112bd9190612a11565b11156112db5760405162461bcd60e51b8152600401610af0906129e4565b6112e5848261297c565b3410156113275760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610af0565b336000908152601260205260409020805460ff1916600117905561134b8585611c6e565b5050505050565b3233146113a15760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610af0565b600f5460008190036113e25760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610af0565b6003600c5460ff1660058111156113fb576113fb6128c4565b146114485760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206973206e6f7420616374697661746564000000006044820152606401610af0565b600f8211156114915760405162461bcd60e51b815260206004820152601560248201527413585e081c5d585b9d1a5d1e48195e18d959591959605a1b6044820152606401610af0565b6110ad8261149d6108ef565b6114a79190612a11565b11156114c55760405162461bcd60e51b8152600401610af0906129e4565b6114cf828261297c565b3410156115125760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610af0565b6108ea8383611c6e565b611524611828565b6011805460ff1916911515919091179055565b836001600160a01b038116331461156957611551336119b4565b6115695760115460ff161561156957611569336119d6565b61134b85858585611e78565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806115ce57506001548310155b156115d95792915050565b6115e283611d47565b90508060400151156115f45792915050565b61106983611ebc565b60606116088261197f565b6116545760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610af0565b600b61165f83611ef1565b604051602001611670929190612b3f565b6040516020818303038152906040529050919050565b61168e611828565b6110ad8161169a6108ef565b6116a49190612a11565b11156116e75760405162461bcd60e51b815260206004820152601260248201527152656163686564206d617820537570706c7960701b6044820152606401610af0565b6107e48282611c6e565b6116f9611828565b6001600160a01b03811661175e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af0565b610a4481611cf7565b61176f611828565b806005811115611781576117816128c4565b600c805460ff1916600183600581111561179d5761179d6128c4565b021790555050565b60006301ffc9a760e01b6001600160e01b0319831614806117d657506380ac58cd60e01b6001600160e01b03198316145b806107cc5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b14806107cc57506301ffc9a760e01b6001600160e01b03198316146107cc565b6000546001600160a01b03163314610dc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610af0565b6127106001600160601b03821611156118f05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610af0565b6001600160a01b0382166119465760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610af0565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600081600111158015611993575060015482105b80156107cc575050600090815260056020526040902054600160e01b161590565b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611a12573d6000803e3d6000fd5b6000603a5250565b6000611a2582610cca565b9050336001600160a01b03821614611a5e57611a41813361072a565b611a5e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611ac582611c88565b9050836001600160a01b0316816001600160a01b031614611af85760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417611b4557611b28863361072a565b611b4557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611b6c57604051633a954ecd60e21b815260040160405180910390fd5b8015611b7757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003611c0957600184016000818152600560205260408120549003611c07576001548114611c075760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6108ea83838360405180602001604052806000815250611537565b6107e4828260405180602001604052806000815250611f83565b60008180600111611cde57600154811015611cde5760008181526005602052604081205490600160e01b82169003611cdc575b80600003611069575060001901600081815260056020526040902054611cbb565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600560205260409020546107cc90611fe9565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000611e70611e37856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061203092505050565b949350505050565b611e838484846108fd565b6001600160a01b0383163b1561093a57611e9f8484848461203f565b61093a576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526107cc611eec83611c88565b611fe9565b60606000611efe8361212a565b60010190506000816001600160401b03811115611f1d57611f1d6126b1565b6040519080825280601f01601f191660200182016040528015611f47576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611f5157509392505050565b611f8d8383612202565b6001600160a01b0383163b156108ea576001548281035b611fb7600086838060010194508661203f565b611fd4576040516368d2bf6b60e11b815260040160405180910390fd5b818110611fa457816001541461134b57600080fd5b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60006110698260105485612300565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612074903390899088908890600401612bc6565b6020604051808303816000875af19250505080156120af575060408051601f3d908101601f191682019092526120ac91810190612c03565b60015b61210d573d8080156120dd576040519150601f19603f3d011682016040523d82523d6000602084013e6120e2565b606091505b508051600003612105576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121695772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612195576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106121b357662386f26fc10000830492506010015b6305f5e10083106121cb576305f5e100830492506008015b61271083106121df57612710830492506004015b606483106121f1576064830492506002015b600a83106107cc5760010192915050565b60015460008290036122275760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122d657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161229e565b50816000036122f757604051622e076360e81b815260040160405180910390fd5b60015550505050565b60008261230d8584612316565b14949350505050565b600081815b845181101561235b576123478286838151811061233a5761233a612a24565b6020026020010151612363565b91508061235381612c20565b91505061231b565b509392505050565b600081831061237f576000828152602084905260409020611069565b6000838152602083905260409020611069565b6001600160e01b031981168114610a4457600080fd5b6000602082840312156123ba57600080fd5b813561106981612392565b80356001600160a01b03811681146123dc57600080fd5b919050565b600080604083850312156123f457600080fd5b6123fd836123c5565b915060208301356001600160601b038116811461241957600080fd5b809150509250929050565b60005b8381101561243f578181015183820152602001612427565b50506000910152565b60008151808452612460816020860160208601612424565b601f01601f19169290920160200192915050565b6020815260006110696020830184612448565b60006020828403121561249957600080fd5b5035919050565b600080604083850312156124b357600080fd5b6124bc836123c5565b946020939093013593505050565b6000806000606084860312156124df57600080fd5b6124e8846123c5565b92506124f6602085016123c5565b9150604084013590509250925092565b60006020828403121561251857600080fd5b611069826123c5565b6000806040838503121561253457600080fd5b50508035926020909101359150565b60008083601f84011261255557600080fd5b5081356001600160401b0381111561256c57600080fd5b6020830191508360208260051b85010111156109e757600080fd5b6000806020838503121561259a57600080fd5b82356001600160401b038111156125b057600080fd5b6125bc85828601612543565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610ece576126338385516125c8565b9284019260809290920191600101612620565b6020808252825182820181905260009190848201906040850190845b81811015610ece57835183529284019291840191600101612662565b60008060006060848603121561269357600080fd5b61269c846123c5565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126e1576126e16126b1565b604051601f8501601f19908116603f01168101908282118183101715612709576127096126b1565b8160405280935085815286868601111561272257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561274e57600080fd5b81356001600160401b0381111561276457600080fd5b8201601f8101841361277557600080fd5b611e70848235602084016126c7565b803580151581146123dc57600080fd5b600080604083850312156127a757600080fd5b6127b0836123c5565b91506127be60208401612784565b90509250929050565b600080600080606085870312156127dd57600080fd5b6127e6856123c5565b93506020850135925060408501356001600160401b0381111561280857600080fd5b61281487828801612543565b95989497509550505050565b60006020828403121561283257600080fd5b61106982612784565b6000806000806080858703121561285157600080fd5b61285a856123c5565b9350612868602086016123c5565b92506040850135915060608501356001600160401b0381111561288a57600080fd5b8501601f8101871361289b57600080fd5b6128aa878235602084016126c7565b91505092959194509250565b608081016107cc82846125c8565b634e487b7160e01b600052602160045260246000fd5b60208101600683106128fc57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561291557600080fd5b61291e836123c5565b91506127be602084016123c5565b600181811c9082168061294057607f821691505b60208210810361296057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107cc576107cc612966565b6000826129b057634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156129dd57600080fd5b5051919050565b60208082526013908201527213585e081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b808201808211156107cc576107cc612966565b634e487b7160e01b600052603260045260246000fd5b601f8211156108ea57600081815260208120601f850160051c81016020861015612a615750805b601f850160051c820191505b81811015611c4b57828155600101612a6d565b81516001600160401b03811115612a9957612a996126b1565b612aad81612aa7845461292c565b84612a3a565b602080601f831160018114612ae25760008415612aca5750858301515b600019600386901b1c1916600185901b178555611c4b565b600085815260208120601f198616915b82811015612b1157888601518255948401946001909101908401612af2565b5085821015612b2f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612b4d8161292c565b60018281168015612b655760018114612b7a57612ba9565b60ff1984168752821515830287019450612ba9565b8860005260208060002060005b85811015612ba05781548a820152908401908201612b87565b50505082870194505b505050508351612bbd818360208801612424565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bf990830184612448565b9695505050505050565b600060208284031215612c1557600080fd5b815161106981612392565b600060018201612c3257612c32612966565b506001019056fea2646970667358221220066944910b7b5eba3a6ae4cca4c2681623bebe4a966713ef35ea9a66ad9e45dc64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
354378f32ab30d0bfca7b3b719299b0c1a9c3bb7c55b43dd5de12a3ac01699230000000000000000000000000000000000000000000000000000000000000060000000000000000000000000f0040cb8636533a95c40c9be89e1b785da186b91000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f706570656c6973746170692e706f677765726b2e7265706c2e636f2f6170693f69643d000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x354378f32ab30d0bfca7b3b719299b0c1a9c3bb7c55b43dd5de12a3ac0169923
Arg [1] : _baseURI (string): https://pepelistapi.pogwerk.repl.co/api?id=
Arg [2] : _GVOContract (address): 0xf0040CB8636533A95c40C9be89E1b785DA186b91
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 354378f32ab30d0bfca7b3b719299b0c1a9c3bb7c55b43dd5de12a3ac0169923
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 000000000000000000000000f0040cb8636533a95c40c9be89e1b785da186b91
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [4] : 68747470733a2f2f706570656c6973746170692e706f677765726b2e7265706c
Arg [5] : 2e636f2f6170693f69643d000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
122785:8036:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;130212:497;;;;;;;;;;-1:-1:-1;130212:497:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;130212:497:0;;;;;;;;129847:169;;;;;;;;;;-1:-1:-1;129847:169:0;;;;;:::i;:::-;;:::i;:::-;;19306:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25797:218::-;;;;;;;;;;-1:-1:-1;25797:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;25797:218:0;2082:203:1;127981:225:0;;;;;;:::i;:::-;;:::i;15057:323::-;;;;;;;;;;;;;:::i;:::-;;;2695:25:1;;;2683:2;2668:18;15057:323:0;2549:177:1;128214:224:0;;;;;;:::i;:::-;;:::i;123480:43::-;;;;;;;;;;-1:-1:-1;123480:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;71136:442;;;;;;;;;;-1:-1:-1;71136:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3700:32:1;;;3682:51;;3764:2;3749:18;;3742:34;;;;3655:18;71136:442:0;3508:274:1;123367:25:0;;;;;;;;;;;;;;;;127349:195;;;:::i;128446:232::-;;;;;;:::i;:::-;;:::i;123530:50::-;;;;;;;;;;-1:-1:-1;123530:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;123446:25;;;;;;;;;;-1:-1:-1;123446:25:0;;;;;;;-1:-1:-1;;;;;123446:25:0;;;124355:478;;;;;;;;;;;;;:::i;55627:528::-;;;;;;;;;;-1:-1:-1;55627:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;20699:152::-;;;;;;;;;;-1:-1:-1;20699:152:0;;;;;:::i;:::-;;:::i;123042:21::-;;;;;;;;;;;;;:::i;16241:233::-;;;;;;;;;;-1:-1:-1;16241:233:0;;;;;:::i;:::-;;:::i;107353:103::-;;;;;;;;;;;;;:::i;123273:37::-;;;;;;;;;;;;;;;;123104:36;;;;;;;;;;-1:-1:-1;123104:36:0;;;;;;;-1:-1:-1;;;;;123104:36:0;;;126776:106;;;;;;;;;;-1:-1:-1;126776:106:0;;;;;:::i;:::-;;:::i;59503:900::-;;;;;;;;;;-1:-1:-1;59503:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;106705:87::-;;;;;;;;;;-1:-1:-1;106751:7:0;106778:6;-1:-1:-1;;;;;106778:6:0;106705:87;;19482:104;;;;;;;;;;;;;:::i;56543:2513::-;;;;;;;;;;-1:-1:-1;56543:2513:0;;;;;:::i;:::-;;:::i;123317:41::-;;;;;;;;;;;;;;;;126301:100;;;;;;;;;;-1:-1:-1;126301:100:0;;;;;:::i;:::-;;:::i;127746:227::-;;;;;;;;;;-1:-1:-1;127746:227:0;;;;;:::i;:::-;;:::i;124841:732::-;;;;;;:::i;:::-;;:::i;125581:515::-;;;;;;:::i;:::-;;:::i;128960:119::-;;;;;;;;;;-1:-1:-1;128960:119:0;;;;;:::i;:::-;;:::i;128686:266::-;;;;;;:::i;:::-;;:::i;55040:428::-;;;;;;;;;;-1:-1:-1;55040:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;126509:259::-;;;;;;;;;;-1:-1:-1;126509:259:0;;;;;:::i;:::-;;:::i;123072:23::-;;;;;;;;;;-1:-1:-1;123072:23:0;;;;;;;;;;;;;;;:::i;126104:187::-;;;;;;;;;;-1:-1:-1;126104:187:0;;;;;:::i;:::-;;:::i;26746:164::-;;;;;;;;;;-1:-1:-1;26746:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26867:25:0;;;26843:4;26867:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26746:164;107611:201;;;;;;;;;;-1:-1:-1;107611:201:0;;;;;:::i;:::-;;:::i;126409:92::-;;;;;;;;;;-1:-1:-1;126409:92:0;;;;;:::i;:::-;;:::i;123401:36::-;;;;;;;;;;-1:-1:-1;123401:36:0;;;;;;;;130212:497;130370:4;130608:38;130634:11;130608:25;:38::i;:::-;:93;;;;130663:38;130689:11;130663:25;:38::i;:::-;130588:113;130212:497;-1:-1:-1;;130212:497:0:o;129847:169::-;106591:13;:11;:13::i;:::-;129966:42:::1;129985:8;129995:12;129966:18;:42::i;:::-;129847:169:::0;;:::o;19306:100::-;19360:13;19393:5;19386:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19306:100;:::o;25797:218::-;25873:7;25898:16;25906:7;25898;:16::i;:::-;25893:64;;25923:34;;-1:-1:-1;;;25923:34:0;;;;;;;;;;;25893:64;-1:-1:-1;25977:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25977:30:0;;25797:218::o;127981:225::-;128140:8;64299:29;64319:8;64299:19;:29::i;:::-;64294:122;;129180:24;;;;64345:59;;;64378:26;64395:8;64378:16;:26::i;:::-;128166:32:::1;128180:8;128190:7;128166:13;:32::i;:::-;127981:225:::0;;;:::o;15057:323::-;15331:12;;130809:1;15315:13;:28;-1:-1:-1;;15315:46:0;;15057:323::o;128214:224::-;128376:4;-1:-1:-1;;;;;63934:18:0;;63942:10;63934:18;63930:184;;63974:31;63994:10;63974:19;:31::i;:::-;63969:134;;129180:24;;;;64026:61;;;64059:28;64076:10;64059:16;:28::i;:::-;128393:37:::1;128412:4;128418:2;128422:7;128393:18;:37::i;:::-;128214:224:::0;;;;:::o;71136:442::-;71233:7;71291:27;;;:17;:27;;;;;;;;71262:56;;;;;;;;;-1:-1:-1;;;;;71262:56:0;;;;;-1:-1:-1;;;71262:56:0;;;-1:-1:-1;;;;;71262:56:0;;;;;;;;71233:7;;71331:92;;-1:-1:-1;71382:29:0;;;;;;;;;71392:19;71382:29;-1:-1:-1;;;;;71382:29:0;;;;-1:-1:-1;;;71382:29:0;;-1:-1:-1;;;;;71382:29:0;;;;;71331:92;71473:23;;;;71435:21;;71944:5;;71460:36;;-1:-1:-1;;;;;71460:36:0;:10;:36;:::i;:::-;71459:58;;;;:::i;:::-;71538:16;;;-1:-1:-1;71435:82:0;;-1:-1:-1;;71136:442:0;;;;;;:::o;127349:195::-;106591:13;:11;:13::i;:::-;127462:10:::1;::::0;127454:37:::1;::::0;127422:21:::1;::::0;127462:10:::1;::::0;::::1;-1:-1:-1::0;;;;;127462:10:0::1;::::0;127454:37:::1;::::0;::::1;;::::0;127422:21;;127404:15:::1;127454:37:::0;127404:15;127454:37;127422:21;127462:10;127454:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;127509:21:0::1;:26:::0;127502:34:::1;;;;:::i;:::-;127393:151;127349:195::o:0;128446:232::-;128612:4;-1:-1:-1;;;;;63934:18:0;;63942:10;63934:18;63930:184;;63974:31;63994:10;63974:19;:31::i;:::-;63969:134;;129180:24;;;;64026:61;;;64059:28;64076:10;64059:16;:28::i;:::-;128629:41:::1;128652:4;128658:2;128662:7;128629:22;:41::i;124355:478::-:0;124423:10;124404:30;;;;:18;:30;;;;;;;;124403:31;124395:83;;;;-1:-1:-1;;;124395:83:0;;12721:2:1;124395:83:0;;;12703:21:1;12760:2;12740:18;;;12733:30;12799:34;12779:18;;;12772:62;-1:-1:-1;;;12850:18:1;;;12843:37;12897:19;;124395:83:0;;;;;;;;;124512:11;;:33;;-1:-1:-1;;;124512:33:0;;124534:10;124512:33;;;2228:51:1;124489:20:0;;124512:11;;;-1:-1:-1;;;;;124512:11:0;;:21;;2201:18:1;;124512:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;124489:56;;123227:3;124564:10;;:21;;124556:53;;;;-1:-1:-1;;;124556:53:0;;;;;;;:::i;:::-;123184:4;124644:12;124628:13;:11;:13::i;:::-;:28;;;;:::i;:::-;:42;;124620:74;;;;-1:-1:-1;;;124620:74:0;;;;;;;:::i;:::-;124719:12;124705:10;;:26;;;;;;;:::i;:::-;;;;-1:-1:-1;;124761:10:0;124742:30;;;;:18;:30;;;;;:37;;-1:-1:-1;;124742:37:0;124775:4;124742:37;;;124790:35;;124812:12;124790:9;:35::i;55627:528::-;55771:23;55862:8;55837:22;55862:8;-1:-1:-1;;;;;55929:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55929:36:0;;-1:-1:-1;;55929:36:0;;;;;;;;;;;;55892:73;;55985:9;55980:125;56001:14;55996:1;:19;55980:125;;56057:32;56077:8;;56086:1;56077:11;;;;;;;:::i;:::-;;;;;;;56057:19;:32::i;:::-;56041:10;56052:1;56041:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;56017:3;;55980:125;;;-1:-1:-1;56126:10:0;55627:528;-1:-1:-1;;;;55627:528:0:o;20699:152::-;20771:7;20814:27;20833:7;20814:18;:27::i;123042:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16241:233::-;16313:7;-1:-1:-1;;;;;16337:19:0;;16333:60;;16365:28;;-1:-1:-1;;;16365:28:0;;;;;;;;;;;16333:60;-1:-1:-1;;;;;;16411:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;16411:55:0;;16241:233::o;107353:103::-;106591:13;:11;:13::i;:::-;107418:30:::1;107445:1;107418:18;:30::i;:::-;107353:103::o:0;126776:106::-;106591:13;:11;:13::i;:::-;126850:10:::1;:24:::0;126776:106::o;59503:900::-;59581:16;59635:19;59669:25;59709:22;59734:16;59744:5;59734:9;:16::i;:::-;59709:41;;59765:25;59807:14;-1:-1:-1;;;;;59793:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59793:29:0;;59765:57;;59837:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59837:31:0;130809:1;59883:472;59932:14;59917:11;:29;59883:472;;59984:15;59997:1;59984:12;:15::i;:::-;59972:27;;60022:9;:16;;;60063:8;60018:73;60113:14;;-1:-1:-1;;;;;60113:28:0;;60109:111;;60186:14;;;-1:-1:-1;60109:111:0;60263:5;-1:-1:-1;;;;;60242:26:0;:17;-1:-1:-1;;;;;60242:26:0;;60238:102;;60319:1;60293:8;60302:13;;;;;;60293:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;60238:102;59948:3;;59883:472;;;-1:-1:-1;60376:8:0;;59503:900;-1:-1:-1;;;;;;59503:900:0:o;19482:104::-;19538:13;19571:7;19564:14;;;;;:::i;56543:2513::-;56686:16;56753:4;56744:5;:13;56740:45;;56766:19;;-1:-1:-1;;;56766:19:0;;;;;;;;;;;56740:45;56800:19;56834:17;56854:14;14826:13;;;14744:103;56854:14;56834:34;-1:-1:-1;130809:1:0;56946:5;:23;56942:87;;;130809:1;56990:23;;56942:87;57105:9;57098:4;:16;57094:73;;;57142:9;57135:16;;57094:73;57181:25;57209:16;57219:5;57209:9;:16::i;:::-;57181:44;;57403:4;57395:5;:12;57391:278;;;57450:12;;;57485:31;;;57481:111;;;57561:11;57541:31;;57481:111;57409:198;57391:278;;;-1:-1:-1;57652:1:0;57391:278;57683:25;57725:17;-1:-1:-1;;;;;57711:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57711:32:0;;57683:60;;57762:17;57783:1;57762:22;57758:78;;57812:8;-1:-1:-1;57805:15:0;;-1:-1:-1;;;57805:15:0;57758:78;57980:31;58014:26;58034:5;58014:19;:26::i;:::-;57980:60;;58055:25;58300:9;:16;;;58295:92;;-1:-1:-1;58357:14:0;;58295:92;58418:5;58401:478;58430:4;58425:1;:9;;:45;;;;;58453:17;58438:11;:32;;58425:45;58401:478;;;58508:15;58521:1;58508:12;:15::i;:::-;58496:27;;58546:9;:16;;;58587:8;58542:73;58637:14;;-1:-1:-1;;;;;58637:28:0;;58633:111;;58710:14;;;-1:-1:-1;58633:111:0;58787:5;-1:-1:-1;;;;;58766:26:0;:17;-1:-1:-1;;;;;58766:26:0;;58762:102;;58843:1;58817:8;58826:13;;;;;;58817:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;58762:102;58472:3;;58401:478;;;-1:-1:-1;;;58964:29:0;;;-1:-1:-1;58971:8:0;;-1:-1:-1;;56543:2513:0;;;;;;:::o;126301:100::-;106591:13;:11;:13::i;:::-;126375:7:::1;:18;126385:8:::0;126375:7;:18:::1;:::i;127746:227::-:0;127896:8;64299:29;64319:8;64299:19;:29::i;:::-;64294:122;;129180:24;;;;64345:59;;;64378:26;64395:8;64378:16;:26::i;:::-;127922:43:::1;127946:8;127956;127922:23;:43::i;124841:732::-:0;124269:9;124282:10;124269:23;124261:66;;;;-1:-1:-1;;;124261:66:0;;16132:2:1;124261:66:0;;;16114:21:1;16171:2;16151:18;;;16144:30;16210:32;16190:18;;;16183:60;16260:18;;124261:66:0;15930:354:1;124261:66:0;124976:11:::1;::::0;124963:10:::1;125006::::0;;;124998:33:::1;;;::::0;-1:-1:-1;;;124998:33:0;;16491:2:1;124998:33:0::1;::::0;::::1;16473:21:1::0;16530:2;16510:18;;;16503:30;-1:-1:-1;;;16549:18:1;;;16542:40;16599:18;;124998:33:0::1;16289:334:1::0;124998:33:0::1;125065:13;125050:11;::::0;::::1;;:28;::::0;::::1;;;;;;:::i;:::-;;125042:79;;;::::0;-1:-1:-1;;;125042:79:0;;16830:2:1;125042:79:0::1;::::0;::::1;16812:21:1::0;16869:2;16849:18;;;16842:30;16908:34;16888:18;;;16881:62;-1:-1:-1;;;16959:18:1;;;16952:36;17005:19;;125042:79:0::1;16628:402:1::0;125042:79:0::1;125140:33;125154:10;125166:6;;125140:13;:33::i;:::-;125132:61;;;::::0;-1:-1:-1;;;125132:61:0;;17237:2:1;125132:61:0::1;::::0;::::1;17219:21:1::0;17276:2;17256:18;;;17249:30;-1:-1:-1;;;17295:18:1;;;17288:45;17350:18;;125132:61:0::1;17035:339:1::0;125132:61:0::1;125225:10;125213:23;::::0;;;:11:::1;:23;::::0;;;;;::::1;;125212:24;125204:67;;;::::0;-1:-1:-1;;;125204:67:0;;17581:2:1;125204:67:0::1;::::0;::::1;17563:21:1::0;17620:2;17600:18;;;17593:30;17659:32;17639:18;;;17632:60;17709:18;;125204:67:0::1;17379:354:1::0;125204:67:0::1;125303:2;125290:9;:15;;125282:49;;;::::0;-1:-1:-1;;;125282:49:0;;17940:2:1;125282:49:0::1;::::0;::::1;17922:21:1::0;17979:2;17959:18;;;17952:30;-1:-1:-1;;;17998:18:1;;;17991:51;18059:18;;125282:49:0::1;17738:345:1::0;125282:49:0::1;123184:4;125366:9;125350:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:39;;125342:71;;;;-1:-1:-1::0;;;125342:71:0::1;;;;;;;:::i;:::-;125445:17;125453:9:::0;125445:5;:17:::1;:::i;:::-;125432:9;:30;;125424:59;;;::::0;-1:-1:-1;;;125424:59:0;;18290:2:1;125424:59:0::1;::::0;::::1;18272:21:1::0;18329:2;18309:18;;;18302:30;-1:-1:-1;;;18348:18:1;;;18341:46;18404:18;;125424:59:0::1;18088:340:1::0;125424:59:0::1;125506:10;125494:23;::::0;;;:11:::1;:23;::::0;;;;:30;;-1:-1:-1;;125494:30:0::1;125520:4;125494:30;::::0;;125535::::1;125545:8:::0;125555:9;125535::::1;:30::i;:::-;124952:621;124841:732:::0;;;;:::o;125581:515::-;124269:9;124282:10;124269:23;124261:66;;;;-1:-1:-1;;;124261:66:0;;16132:2:1;124261:66:0;;;16114:21:1;16171:2;16151:18;;;16144:30;16210:32;16190:18;;;16183:60;16260:18;;124261:66:0;15930:354:1;124261:66:0;125693:15:::1;::::0;125680:10:::1;125727::::0;;;125719:33:::1;;;::::0;-1:-1:-1;;;125719:33:0;;16491:2:1;125719:33:0::1;::::0;::::1;16473:21:1::0;16530:2;16510:18;;;16503:30;-1:-1:-1;;;16549:18:1;;;16542:40;16599:18;;125719:33:0::1;16289:334:1::0;125719:33:0::1;125786:15;125771:11;::::0;::::1;;:30;::::0;::::1;;;;;;:::i;:::-;;125763:71;;;::::0;-1:-1:-1;;;125763:71:0;;18635:2:1;125763:71:0::1;::::0;::::1;18617:21:1::0;18674:2;18654:18;;;18647:30;18713;18693:18;;;18686:58;18761:18;;125763:71:0::1;18433:352:1::0;125763:71:0::1;125866:2;125853:9;:15;;125845:49;;;::::0;-1:-1:-1;;;125845:49:0;;17940:2:1;125845:49:0::1;::::0;::::1;17922:21:1::0;17979:2;17959:18;;;17952:30;-1:-1:-1;;;17998:18:1;;;17991:51;18059:18;;125845:49:0::1;17738:345:1::0;125845:49:0::1;123184:4;125929:9;125913:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:39;;125905:71;;;;-1:-1:-1::0;;;125905:71:0::1;;;;;;;:::i;:::-;126008:17;126016:9:::0;126008:5;:17:::1;:::i;:::-;125995:9;:30;;125987:60;;;::::0;-1:-1:-1;;;125987:60:0;;18992:2:1;125987:60:0::1;::::0;::::1;18974:21:1::0;19031:2;19011:18;;;19004:30;-1:-1:-1;;;19050:18:1;;;19043:47;19107:18;;125987:60:0::1;18790:341:1::0;125987:60:0::1;126058:30;126068:8;126078:9;126058;:30::i;128960:119::-:0;106591:13;:11;:13::i;:::-;129039:24:::1;:32:::0;;-1:-1:-1;;129039:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;128960:119::o;128686:266::-;128880:4;-1:-1:-1;;;;;63934:18:0;;63942:10;63934:18;63930:184;;63974:31;63994:10;63974:19;:31::i;:::-;63969:134;;129180:24;;;;64026:61;;;64059:28;64076:10;64059:16;:28::i;:::-;128897:47:::1;128920:4;128926:2;128930:7;128939:4;128897:22;:47::i;55040:428::-:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;130809:1:0;55204:7;:25;:54;;;-1:-1:-1;14826:13:0;;55233:7;:25;;55204:54;55200:103;;;55282:9;55040:428;-1:-1:-1;;55040:428:0:o;55200:103::-;55325:21;55338:7;55325:12;:21::i;:::-;55313:33;;55361:9;:16;;;55357:65;;;55401:9;55040:428;-1:-1:-1;;55040:428:0:o;55357:65::-;55439:21;55452:7;55439:12;:21::i;126509:259::-;126599:13;126633:17;126641:8;126633:7;:17::i;:::-;126625:61;;;;-1:-1:-1;;;126625:61:0;;19338:2:1;126625:61:0;;;19320:21:1;19377:2;19357:18;;;19350:30;19416:33;19396:18;;;19389:61;19467:18;;126625:61:0;19136:355:1;126625:61:0;126730:7;126739:19;:8;:17;:19::i;:::-;126713:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;126699:61;;126509:259;;;:::o;126104:187::-;106591:13;:11;:13::i;:::-;123184:4:::1;126201:9;126185:13;:11;:13::i;:::-;:25;;;;:::i;:::-;:39;;126177:70;;;::::0;-1:-1:-1;;;126177:70:0;;20723:2:1;126177:70:0::1;::::0;::::1;20705:21:1::0;20762:2;20742:18;;;20735:30;-1:-1:-1;;;20781:18:1;;;20774:48;20839:18;;126177:70:0::1;20521:342:1::0;126177:70:0::1;126258:25;126268:3;126273:9;126258;:25::i;107611:201::-:0;106591:13;:11;:13::i;:::-;-1:-1:-1;;;;;107700:22:0;::::1;107692:73;;;::::0;-1:-1:-1;;;107692:73:0;;21070:2:1;107692:73:0::1;::::0;::::1;21052:21:1::0;21109:2;21089:18;;;21082:30;21148:34;21128:18;;;21121:62;-1:-1:-1;;;21199:18:1;;;21192:36;21245:19;;107692:73:0::1;20868:402:1::0;107692:73:0::1;107776:28;107795:8;107776:18;:28::i;126409:92::-:0;106591:13;:11;:13::i;:::-;126487:5:::1;126482:11;;;;;;;;:::i;:::-;126468;:25:::0;;-1:-1:-1;;126468:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;126409:92:::0;:::o;18404:639::-;18489:4;-1:-1:-1;;;;;;;;;18813:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18890:25:0;;;18813:102;:179;;;-1:-1:-1;;;;;;;;18967:25:0;-1:-1:-1;;;18967:25:0;;18404:639::o;70866:215::-;70968:4;-1:-1:-1;;;;;;70992:41:0;;-1:-1:-1;;;70992:41:0;;:81;;-1:-1:-1;;;;;;;;;;68527:40:0;;;71037:36;68418:157;106870:132;106751:7;106778:6;-1:-1:-1;;;;;106778:6:0;105336:10;106934:23;106926:68;;;;-1:-1:-1;;;106926:68:0;;21477:2:1;106926:68:0;;;21459:21:1;;;21496:18;;;21489:30;21555:34;21535:18;;;21528:62;21607:18;;106926:68:0;21275:356:1;72228:332:0;71944:5;-1:-1:-1;;;;;72331:33:0;;;;72323:88;;;;-1:-1:-1;;;72323:88:0;;21838:2:1;72323:88:0;;;21820:21:1;21877:2;21857:18;;;21850:30;21916:34;21896:18;;;21889:62;-1:-1:-1;;;21967:18:1;;;21960:40;22017:19;;72323:88:0;21636:406:1;72323:88:0;-1:-1:-1;;;;;72430:22:0;;72422:60;;;;-1:-1:-1;;;72422:60:0;;22249:2:1;72422:60:0;;;22231:21:1;22288:2;22268:18;;;22261:30;22327:27;22307:18;;;22300:55;22372:18;;72422:60:0;22047:349:1;72422:60:0;72517:35;;;;;;;;;-1:-1:-1;;;;;72517:35:0;;;;;;-1:-1:-1;;;;;72517:35:0;;;;;;;;;;-1:-1:-1;;;72495:57:0;;;;:19;:57;72228:332::o;27168:282::-;27233:4;27289:7;130809:1;27270:26;;:66;;;;;27323:13;;27313:7;:23;27270:66;:153;;;;-1:-1:-1;;27374:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27374:44:0;:49;;27168:282::o;129220:427::-;-1:-1:-1;;;;;129576:63:0;129596:42;129576:63;;129220:427::o;64532:1536::-;64925:22;64919:4;64912:36;65018:9;65012:4;65005:23;65093:8;65087:4;65080:22;65415:4;65388;65361;65334;65286:25;65258:5;65225:213;65197:451;;65568:16;65562:4;65556;65541:44;65616:16;65610:4;65603:30;65197:451;66048:1;66042:4;66035:15;64532:1536;:::o;25230:408::-;25319:13;25335:16;25343:7;25335;:16::i;:::-;25319:32;-1:-1:-1;105336:10:0;-1:-1:-1;;;;;25368:28:0;;;25364:175;;25416:44;25433:5;105336:10;26746:164;:::i;25416:44::-;25411:128;;25488:35;;-1:-1:-1;;;25488:35:0;;;;;;;;;;;25411:128;25551:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25551:35:0;-1:-1:-1;;;;;25551:35:0;;;;;;;;;25602:28;;25551:24;;25602:28;;;;;;;25308:330;25230:408;;:::o;29436:2825::-;29578:27;29608;29627:7;29608:18;:27::i;:::-;29578:57;;29693:4;-1:-1:-1;;;;;29652:45:0;29668:19;-1:-1:-1;;;;;29652:45:0;;29648:86;;29706:28;;-1:-1:-1;;;29706:28:0;;;;;;;;;;;29648:86;29748:27;28544:24;;;:15;:24;;;;;28772:26;;105336:10;28169:30;;;-1:-1:-1;;;;;27862:28:0;;28147:20;;;28144:56;29934:180;;30027:43;30044:4;105336:10;26746:164;:::i;30027:43::-;30022:92;;30079:35;;-1:-1:-1;;;30079:35:0;;;;;;;;;;;30022:92;-1:-1:-1;;;;;30131:16:0;;30127:52;;30156:23;;-1:-1:-1;;;30156:23:0;;;;;;;;;;;30127:52;30328:15;30325:160;;;30468:1;30447:19;30440:30;30325:160;-1:-1:-1;;;;;30865:24:0;;;;;;;:18;:24;;;;;;30863:26;;-1:-1:-1;;30863:26:0;;;30934:22;;;;;;;;;30932:24;;-1:-1:-1;30932:24:0;;;24088:11;24063:23;24059:41;24046:63;-1:-1:-1;;;24046:63:0;31227:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31522:47:0;;:52;;31518:627;;31627:1;31617:11;;31595:19;31750:30;;;:17;:30;;;;;;:35;;31746:384;;31888:13;;31873:11;:28;31869:242;;32035:30;;;;:17;:30;;;;;:52;;;31869:242;31576:569;31518:627;32192:7;32188:2;-1:-1:-1;;;;;32173:27:0;32182:4;-1:-1:-1;;;;;32173:27:0;;;;;;;;;;;32211:42;29567:2694;;;29436:2825;;;:::o;32357:193::-;32503:39;32520:4;32526:2;32530:7;32503:39;;;;;;;;;;;;:16;:39::i;43308:112::-;43385:27;43395:2;43399:8;43385:27;;;;;;;;;;;;:9;:27::i;21854:1275::-;21921:7;21956;;130809:1;22005:23;22001:1061;;22058:13;;22051:4;:20;22047:1015;;;22096:14;22113:23;;;:17;:23;;;;;;;-1:-1:-1;;;22202:24:0;;:29;;22198:845;;22867:113;22874:6;22884:1;22874:11;22867:113;;-1:-1:-1;;;22945:6:0;22927:25;;;;:17;:25;;;;;;22867:113;;22198:845;22073:989;22047:1015;23090:31;;-1:-1:-1;;;23090:31:0;;;;;;;;;;;107972:191;108046:16;108065:6;;-1:-1:-1;;;;;108082:17:0;;;-1:-1:-1;;;;;;108082:17:0;;;;;;108115:40;;108065:6;;;;;;;108115:40;;108046:16;108115:40;108035:128;107972:191;:::o;21302:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21430:24:0;;;;:17;:24;;;;;;21411:44;;:18;:44::i;26355:234::-;105336:10;26450:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26450:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26450:60:0;;;;;;;;;;26526:55;;540:41:1;;;26450:49:0;;105336:10;26526:55;;513:18:1;26526:55:0;;;;;;;26355:234;;:::o;126890:153::-;126980:4;127004:31;127012:14;127017:8;127142:26;;-1:-1:-1;;22550:2:1;22546:15;;;22542:53;127142:26:0;;;22530:66:1;127105:7:0;;22612:12:1;;127142:26:0;;;;;;;;;;;;127132:37;;;;;;127125:44;;127051:126;;;;127012:14;127028:6;;127004:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;127004:7:0;;-1:-1:-1;;;127004:31:0:i;:::-;126997:38;126890:153;-1:-1:-1;;;;126890:153:0:o;33148:407::-;33323:31;33336:4;33342:2;33346:7;33323:12;:31::i;:::-;-1:-1:-1;;;;;33369:14:0;;;:19;33365:183;;33408:56;33439:4;33445:2;33449:7;33458:5;33408:30;:56::i;:::-;33403:145;;33492:40;;-1:-1:-1;;;33492:40:0;;;;;;;;;;;21040:166;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21151:47:0;21170:27;21189:7;21170:18;:27::i;:::-;21151:18;:47::i;93122:716::-;93178:13;93229:14;93246:17;93257:5;93246:10;:17::i;:::-;93266:1;93246:21;93229:38;;93282:20;93316:6;-1:-1:-1;;;;;93305:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93305:18:0;-1:-1:-1;93282:41:0;-1:-1:-1;93447:28:0;;;93463:2;93447:28;93504:288;-1:-1:-1;;93536:5:0;-1:-1:-1;;;93673:2:0;93662:14;;93657:30;93536:5;93644:44;93734:2;93725:11;;;-1:-1:-1;93755:21:0;93504:288;93755:21;-1:-1:-1;93813:6:0;93122:716;-1:-1:-1;;;93122:716:0:o;42535:689::-;42666:19;42672:2;42676:8;42666:5;:19::i;:::-;-1:-1:-1;;;;;42727:14:0;;;:19;42723:483;;42781:13;;42829:14;;;42862:233;42893:62;42932:1;42936:2;42940:7;;;;;;42949:5;42893:30;:62::i;:::-;42888:167;;42991:40;;-1:-1:-1;;;42991:40:0;;;;;;;;;;;42888:167;43090:3;43082:5;:11;42862:233;;43177:3;43160:13;;:20;43156:34;;43182:8;;;23228:366;-1:-1:-1;;;;;;;;;;;;;23338:41:0;;;;11059:3;23424:33;;;-1:-1:-1;;;;;23390:68:0;-1:-1:-1;;;23390:68:0;-1:-1:-1;;;23488:24:0;;:29;;-1:-1:-1;;;23469:48:0;;;;11580:3;23557:28;;;;-1:-1:-1;;;23528:58:0;-1:-1:-1;23228:366:0:o;127185:156::-;127264:4;127288:45;127307:6;127315:10;;127327:5;127288:18;:45::i;35639:716::-;35823:88;;-1:-1:-1;;;35823:88:0;;35802:4;;-1:-1:-1;;;;;35823:45:0;;;;;:88;;105336:10;;35890:4;;35896:7;;35905:5;;35823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35823:88:0;;;;;;;;-1:-1:-1;;35823:88:0;;;;;;;;;;;;:::i;:::-;;;35819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36106:6;:13;36123:1;36106:18;36102:235;;36152:40;;-1:-1:-1;;;36152:40:0;;;;;;;;;;;36102:235;36295:6;36289:13;36280:6;36276:2;36272:15;36265:38;35819:529;-1:-1:-1;;;;;;35982:64:0;-1:-1:-1;;;35982:64:0;;-1:-1:-1;35639:716:0;;;;;;:::o;89988:922::-;90041:7;;-1:-1:-1;;;90119:15:0;;90115:102;;-1:-1:-1;;;90155:15:0;;;-1:-1:-1;90199:2:0;90189:12;90115:102;90244:6;90235:5;:15;90231:102;;90280:6;90271:15;;;-1:-1:-1;90315:2:0;90305:12;90231:102;90360:6;90351:5;:15;90347:102;;90396:6;90387:15;;;-1:-1:-1;90431:2:0;90421:12;90347:102;90476:5;90467;:14;90463:99;;90511:5;90502:14;;;-1:-1:-1;90545:1:0;90535:11;90463:99;90589:5;90580;:14;90576:99;;90624:5;90615:14;;;-1:-1:-1;90658:1:0;90648:11;90576:99;90702:5;90693;:14;90689:99;;90737:5;90728:14;;;-1:-1:-1;90771:1:0;90761:11;90689:99;90815:5;90806;:14;90802:66;;90851:1;90841:11;90896:6;89988:922;-1:-1:-1;;89988:922:0:o;36817:2966::-;36913:13;;36890:20;36941:13;;;36937:44;;36963:18;;-1:-1:-1;;;36963:18:0;;;;;;;;;;;36937:44;-1:-1:-1;;;;;37469:22:0;;;;;;:18;:22;;;;10538:2;37469:22;;;:71;;37507:32;37495:45;;37469:71;;;37783:31;;;:17;:31;;;;;-1:-1:-1;24519:15:0;;24493:24;24489:46;24088:11;24063:23;24059:41;24056:52;24046:63;;37783:173;;38018:23;;;;37783:31;;37469:22;;38783:25;37469:22;;38636:335;39297:1;39283:12;39279:20;39237:346;39338:3;39329:7;39326:16;39237:346;;39556:7;39546:8;39543:1;39516:25;39513:1;39510;39505:59;39391:1;39378:15;39237:346;;;39241:77;39616:8;39628:1;39616:13;39612:45;;39638:19;;-1:-1:-1;;;39638:19:0;;;;;;;;;;;39612:45;39674:13;:19;-1:-1:-1;127981:225:0;;;:::o;96238:190::-;96363:4;96416;96387:25;96400:5;96407:4;96387:12;:25::i;:::-;:33;;96238:190;-1:-1:-1;;;;96238:190:0:o;97105:296::-;97188:7;97231:4;97188:7;97246:118;97270:5;:12;97266:1;:16;97246:118;;;97319:33;97329:12;97343:5;97349:1;97343:8;;;;;;;;:::i;:::-;;;;;;;97319:9;:33::i;:::-;97304:48;-1:-1:-1;97284:3:0;;;;:::i;:::-;;;;97246:118;;;-1:-1:-1;97381:12:0;97105:296;-1:-1:-1;;;97105:296:0:o;104145:149::-;104208:7;104239:1;104235;:5;:51;;104370:13;104464:15;;;104500:4;104493:15;;;104547:4;104531:21;;104235:51;;;104370:13;104464:15;;;104500:4;104493:15;;;104547:4;104531:21;;104243:20;104302:268;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:1;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:1;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:1:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:1;;1897:180;-1:-1:-1;1897:180:1:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:1:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:186::-;3123:6;3176:2;3164:9;3155:7;3151:23;3147:32;3144:52;;;3192:1;3189;3182:12;3144:52;3215:29;3234:9;3215:29;:::i;3255:248::-;3323:6;3331;3384:2;3372:9;3363:7;3359:23;3355:32;3352:52;;;3400:1;3397;3390:12;3352:52;-1:-1:-1;;3423:23:1;;;3493:2;3478:18;;;3465:32;;-1:-1:-1;3255:248:1:o;3969:367::-;4032:8;4042:6;4096:3;4089:4;4081:6;4077:17;4073:27;4063:55;;4114:1;4111;4104:12;4063:55;-1:-1:-1;4137:20:1;;-1:-1:-1;;;;;4169:30:1;;4166:50;;;4212:1;4209;4202:12;4166:50;4249:4;4241:6;4237:17;4225:29;;4309:3;4302:4;4292:6;4289:1;4285:14;4277:6;4273:27;4269:38;4266:47;4263:67;;;4326:1;4323;4316:12;4341:437;4427:6;4435;4488:2;4476:9;4467:7;4463:23;4459:32;4456:52;;;4504:1;4501;4494:12;4456:52;4544:9;4531:23;-1:-1:-1;;;;;4569:6:1;4566:30;4563:50;;;4609:1;4606;4599:12;4563:50;4648:70;4710:7;4701:6;4690:9;4686:22;4648:70;:::i;:::-;4737:8;;4622:96;;-1:-1:-1;4341:437:1;-1:-1:-1;;;;4341:437:1:o;4783:349::-;4867:12;;-1:-1:-1;;;;;4863:38:1;4851:51;;4955:4;4944:16;;;4938:23;-1:-1:-1;;;;;4934:48:1;4918:14;;;4911:72;5046:4;5035:16;;;5029:23;5022:31;5015:39;4999:14;;;4992:63;5108:4;5097:16;;;5091:23;5116:8;5087:38;5071:14;;5064:62;4783:349::o;5137:720::-;5368:2;5420:21;;;5490:13;;5393:18;;;5512:22;;;5339:4;;5368:2;5591:15;;;;5565:2;5550:18;;;5339:4;5634:197;5648:6;5645:1;5642:13;5634:197;;;5697:52;5745:3;5736:6;5730:13;5697:52;:::i;:::-;5806:15;;;;5778:4;5769:14;;;;;5670:1;5663:9;5634:197;;6281:632;6452:2;6504:21;;;6574:13;;6477:18;;;6596:22;;;6423:4;;6452:2;6675:15;;;;6649:2;6634:18;;;6423:4;6718:169;6732:6;6729:1;6726:13;6718:169;;;6793:13;;6781:26;;6862:15;;;;6827:12;;;;6754:1;6747:9;6718:169;;6918:322;6995:6;7003;7011;7064:2;7052:9;7043:7;7039:23;7035:32;7032:52;;;7080:1;7077;7070:12;7032:52;7103:29;7122:9;7103:29;:::i;:::-;7093:39;7179:2;7164:18;;7151:32;;-1:-1:-1;7230:2:1;7215:18;;;7202:32;;6918:322;-1:-1:-1;;;6918:322:1:o;7245:127::-;7306:10;7301:3;7297:20;7294:1;7287:31;7337:4;7334:1;7327:15;7361:4;7358:1;7351:15;7377:632;7442:5;-1:-1:-1;;;;;7513:2:1;7505:6;7502:14;7499:40;;;7519:18;;:::i;:::-;7594:2;7588:9;7562:2;7648:15;;-1:-1:-1;;7644:24:1;;;7670:2;7640:33;7636:42;7624:55;;;7694:18;;;7714:22;;;7691:46;7688:72;;;7740:18;;:::i;:::-;7780:10;7776:2;7769:22;7809:6;7800:15;;7839:6;7831;7824:22;7879:3;7870:6;7865:3;7861:16;7858:25;7855:45;;;7896:1;7893;7886:12;7855:45;7946:6;7941:3;7934:4;7926:6;7922:17;7909:44;8001:1;7994:4;7985:6;7977;7973:19;7969:30;7962:41;;;;7377:632;;;;;:::o;8014:451::-;8083:6;8136:2;8124:9;8115:7;8111:23;8107:32;8104:52;;;8152:1;8149;8142:12;8104:52;8192:9;8179:23;-1:-1:-1;;;;;8217:6:1;8214:30;8211:50;;;8257:1;8254;8247:12;8211:50;8280:22;;8333:4;8325:13;;8321:27;-1:-1:-1;8311:55:1;;8362:1;8359;8352:12;8311:55;8385:74;8451:7;8446:2;8433:16;8428:2;8424;8420:11;8385:74;:::i;8470:160::-;8535:20;;8591:13;;8584:21;8574:32;;8564:60;;8620:1;8617;8610:12;8635:254;8700:6;8708;8761:2;8749:9;8740:7;8736:23;8732:32;8729:52;;;8777:1;8774;8767:12;8729:52;8800:29;8819:9;8800:29;:::i;:::-;8790:39;;8848:35;8879:2;8868:9;8864:18;8848:35;:::i;:::-;8838:45;;8635:254;;;;;:::o;8894:579::-;8998:6;9006;9014;9022;9075:2;9063:9;9054:7;9050:23;9046:32;9043:52;;;9091:1;9088;9081:12;9043:52;9114:29;9133:9;9114:29;:::i;:::-;9104:39;;9190:2;9179:9;9175:18;9162:32;9152:42;;9245:2;9234:9;9230:18;9217:32;-1:-1:-1;;;;;9264:6:1;9261:30;9258:50;;;9304:1;9301;9294:12;9258:50;9343:70;9405:7;9396:6;9385:9;9381:22;9343:70;:::i;:::-;8894:579;;;;-1:-1:-1;9432:8:1;-1:-1:-1;;;;8894:579:1:o;9478:180::-;9534:6;9587:2;9575:9;9566:7;9562:23;9558:32;9555:52;;;9603:1;9600;9593:12;9555:52;9626:26;9642:9;9626:26;:::i;9663:667::-;9758:6;9766;9774;9782;9835:3;9823:9;9814:7;9810:23;9806:33;9803:53;;;9852:1;9849;9842:12;9803:53;9875:29;9894:9;9875:29;:::i;:::-;9865:39;;9923:38;9957:2;9946:9;9942:18;9923:38;:::i;:::-;9913:48;;10008:2;9997:9;9993:18;9980:32;9970:42;;10063:2;10052:9;10048:18;10035:32;-1:-1:-1;;;;;10082:6:1;10079:30;10076:50;;;10122:1;10119;10112:12;10076:50;10145:22;;10198:4;10190:13;;10186:27;-1:-1:-1;10176:55:1;;10227:1;10224;10217:12;10176:55;10250:74;10316:7;10311:2;10298:16;10293:2;10289;10285:11;10250:74;:::i;:::-;10240:84;;;9663:667;;;;;;;:::o;10335:264::-;10529:3;10514:19;;10542:51;10518:9;10575:6;10542:51;:::i;10604:127::-;10665:10;10660:3;10656:20;10653:1;10646:31;10696:4;10693:1;10686:15;10720:4;10717:1;10710:15;10736:337;10877:2;10862:18;;10910:1;10899:13;;10889:144;;10955:10;10950:3;10946:20;10943:1;10936:31;10990:4;10987:1;10980:15;11018:4;11015:1;11008:15;10889:144;11042:25;;;10736:337;:::o;11078:260::-;11146:6;11154;11207:2;11195:9;11186:7;11182:23;11178:32;11175:52;;;11223:1;11220;11213:12;11175:52;11246:29;11265:9;11246:29;:::i;:::-;11236:39;;11294:38;11328:2;11317:9;11313:18;11294:38;:::i;11343:380::-;11422:1;11418:12;;;;11465;;;11486:61;;11540:4;11532:6;11528:17;11518:27;;11486:61;11593:2;11585:6;11582:14;11562:18;11559:38;11556:161;;11639:10;11634:3;11630:20;11627:1;11620:31;11674:4;11671:1;11664:15;11702:4;11699:1;11692:15;11556:161;;11343:380;;;:::o;11728:127::-;11789:10;11784:3;11780:20;11777:1;11770:31;11820:4;11817:1;11810:15;11844:4;11841:1;11834:15;11860:168;11933:9;;;11964;;11981:15;;;11975:22;;11961:37;11951:71;;12002:18;;:::i;12165:217::-;12205:1;12231;12221:132;;12275:10;12270:3;12266:20;12263:1;12256:31;12310:4;12307:1;12300:15;12338:4;12335:1;12328:15;12221:132;-1:-1:-1;12367:9:1;;12165:217::o;12387:127::-;12448:10;12443:3;12439:20;12436:1;12429:31;12479:4;12476:1;12469:15;12503:4;12500:1;12493:15;12927:184;12997:6;13050:2;13038:9;13029:7;13025:23;13021:32;13018:52;;;13066:1;13063;13056:12;13018:52;-1:-1:-1;13089:16:1;;12927:184;-1:-1:-1;12927:184:1:o;13116:343::-;13318:2;13300:21;;;13357:2;13337:18;;;13330:30;-1:-1:-1;;;13391:2:1;13376:18;;13369:49;13450:2;13435:18;;13116:343::o;13464:125::-;13529:9;;;13550:10;;;13547:36;;;13563:18;;:::i;13594:127::-;13655:10;13650:3;13646:20;13643:1;13636:31;13686:4;13683:1;13676:15;13710:4;13707:1;13700:15;13852:545;13954:2;13949:3;13946:11;13943:448;;;13990:1;14015:5;14011:2;14004:17;14060:4;14056:2;14046:19;14130:2;14118:10;14114:19;14111:1;14107:27;14101:4;14097:38;14166:4;14154:10;14151:20;14148:47;;;-1:-1:-1;14189:4:1;14148:47;14244:2;14239:3;14235:12;14232:1;14228:20;14222:4;14218:31;14208:41;;14299:82;14317:2;14310:5;14307:13;14299:82;;;14362:17;;;14343:1;14332:13;14299:82;;14573:1352;14699:3;14693:10;-1:-1:-1;;;;;14718:6:1;14715:30;14712:56;;;14748:18;;:::i;:::-;14777:97;14867:6;14827:38;14859:4;14853:11;14827:38;:::i;:::-;14821:4;14777:97;:::i;:::-;14929:4;;14993:2;14982:14;;15010:1;15005:663;;;;15712:1;15729:6;15726:89;;;-1:-1:-1;15781:19:1;;;15775:26;15726:89;-1:-1:-1;;14530:1:1;14526:11;;;14522:24;14518:29;14508:40;14554:1;14550:11;;;14505:57;15828:81;;14975:944;;15005:663;13799:1;13792:14;;;13836:4;13823:18;;-1:-1:-1;;15041:20:1;;;15159:236;15173:7;15170:1;15167:14;15159:236;;;15262:19;;;15256:26;15241:42;;15354:27;;;;15322:1;15310:14;;;;15189:19;;15159:236;;;15163:3;15423:6;15414:7;15411:19;15408:201;;;15484:19;;;15478:26;-1:-1:-1;;15567:1:1;15563:14;;;15579:3;15559:24;15555:37;15551:42;15536:58;15521:74;;15408:201;-1:-1:-1;;;;;15655:1:1;15639:14;;;15635:22;15622:36;;-1:-1:-1;14573:1352:1:o;19496:1020::-;19672:3;19701:1;19734:6;19728:13;19764:36;19790:9;19764:36;:::i;:::-;19819:1;19836:18;;;19863:133;;;;20010:1;20005:356;;;;19829:532;;19863:133;-1:-1:-1;;19896:24:1;;19884:37;;19969:14;;19962:22;19950:35;;19941:45;;;-1:-1:-1;19863:133:1;;20005:356;20036:6;20033:1;20026:17;20066:4;20111:2;20108:1;20098:16;20136:1;20150:165;20164:6;20161:1;20158:13;20150:165;;;20242:14;;20229:11;;;20222:35;20285:16;;;;20179:10;;20150:165;;;20154:3;;;20344:6;20339:3;20335:16;20328:23;;19829:532;;;;;20392:6;20386:13;20408:68;20467:8;20462:3;20455:4;20447:6;20443:17;20408:68;:::i;:::-;20492:18;;19496:1020;-1:-1:-1;;;;19496:1020:1:o;22635:489::-;-1:-1:-1;;;;;22904:15:1;;;22886:34;;22956:15;;22951:2;22936:18;;22929:43;23003:2;22988:18;;22981:34;;;23051:3;23046:2;23031:18;;23024:31;;;22829:4;;23072:46;;23098:19;;23090:6;23072:46;:::i;:::-;23064:54;22635:489;-1:-1:-1;;;;;;22635:489:1:o;23129:249::-;23198:6;23251:2;23239:9;23230:7;23226:23;23222:32;23219:52;;;23267:1;23264;23257:12;23219:52;23299:9;23293:16;23318:30;23342:5;23318:30;:::i;23383:135::-;23422:3;23443:17;;;23440:43;;23463:18;;:::i;:::-;-1:-1:-1;23510:1:1;23499:13;;23383:135::o
Swarm Source
ipfs://066944910b7b5eba3a6ae4cca4c2681623bebe4a966713ef35ea9a66ad9e45dc
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.