ERC-721
Overview
Max Total Supply
750 IMNFT
Holders
377
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
7 IMNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
IconicNFT721a
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-27 */ 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); } 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) } } } pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } 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) } } } 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; } } 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); } } 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); } } } 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); } } pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } pragma solidity ^0.8.17; contract IconicNFT721a is ERC721A, ReentrancyGuard, Ownable, DefaultOperatorFilterer { uint16 public maxMintsPerAddress = 1; mapping(address => int16) public artPassMints; bool public artPassMintingActive = false; bool public allowListMintingActive = false; bool public mintingActive = false; bool public burningActive = false; bytes32 public allowListMerkleRoot = ''; bytes32 public artPassMerkleRoot = ''; string public baseURI; uint256 public mintPrice; uint64 public mintSize; address payable iconicAddress; address admin; constructor(string memory name_, string memory symbol_, string memory baseURI_, bytes32 artPassMerkleRoot_, bytes32 allowListMerkleRoot_, address iconicAddress_, uint256 mintPrice_, uint64 mintSize_) ERC721A(name_, symbol_) { require(_msgSenderERC721A() != iconicAddress_, "Error"); admin = _msgSenderERC721A(); baseURI = baseURI_; artPassMerkleRoot = artPassMerkleRoot_; allowListMerkleRoot = allowListMerkleRoot_; iconicAddress = payable(iconicAddress_); mintPrice = mintPrice_; mintSize = mintSize_; } function enableArtPassMinting() public requiresAdmin { artPassMintingActive = true; } function disableArtPassMinting() public requiresAdmin { artPassMintingActive = false; } function enableAllowListMinting() public requiresAdmin { allowListMintingActive = true; } function disableAllowListMinting() public requiresAdmin { allowListMintingActive = false; } function enableMinting() public requiresAdmin { mintingActive = true; } function disableMinting() public requiresAdmin { mintingActive = false; } function enableTokenBurning() public requiresAdmin { burningActive = true; } function disableTokenBurning() public requiresAdmin { burningActive = false; } function setBaseTokenURI(string memory baseURI_) public requiresAdmin { baseURI = baseURI_; } function setMintSize(uint64 mintSize_) public requiresAdmin { mintSize = mintSize_; } function setMintPrice(uint256 mintPrice_) public requiresAdmin { mintPrice = mintPrice_; } function setMaxMintsPerAddress(uint8 maxMintsPerAddress_) public requiresAdmin { maxMintsPerAddress = maxMintsPerAddress_; } function setArtPassMerkleRoot(bytes32 merkleRoot_) public requiresAdmin { artPassMerkleRoot = merkleRoot_; } function setAllowListMerkleRoot(bytes32 merkleRoot_) public requiresAdmin { allowListMerkleRoot = merkleRoot_; } function setAdditionalArtPassMints(address[] memory artPassHolders, int8[] memory extras) public requiresAdmin { //remember to zero out old addresses require(artPassHolders.length == extras.length, "incorrect list"); for(uint16 i = 0; i < artPassHolders.length; i++) { artPassMints[artPassHolders[i]] = extras[i]; } } function getAvailableArtPassMintCount(address artPassHolder) public view returns (uint16) { int16 availableMints = 1 + artPassMints[artPassHolder]; return uint16(availableMints); } function artPassMint(bytes32[] calldata merkleProof, uint16 amount) external payable nonReentrant() { require(artPassMintingActive, "Art Pass minting not enabled"); require(msg.value == mintPrice * amount, "Incorrect amount of ether sent"); require(_totalMinted() + amount <= mintSize, "Mint exceeds collection size"); require(getAvailableArtPassMintCount(_msgSenderERC721A())>= amount, "Exceeds Art Pass holder mint limit"); require( MerkleProof.verify( merkleProof, artPassMerkleRoot, keccak256(abi.encodePacked(_msgSenderERC721A())) ), "Not an Art Pass holder" ); iconicAddress.transfer(msg.value); _mint(_msgSenderERC721A(), amount); artPassMints[_msgSenderERC721A()] = artPassMints[_msgSenderERC721A()] - int16(amount); } function allowlistMint(bytes32[] calldata merkleProof, uint16 amount) external payable nonReentrant() { require(allowListMintingActive, "Allow list minting not enabled"); require(msg.value == mintPrice * amount, "Incorrect amount of ether sent"); require(_totalMinted() + amount <= mintSize, "Mint exceeds collection size"); uint64 mintCountBySender = _getAux(_msgSenderERC721A()) + amount; require(mintCountBySender <= maxMintsPerAddress, "Exceeds per address mint limit"); require( MerkleProof.verify( merkleProof, allowListMerkleRoot, keccak256(abi.encodePacked(_msgSenderERC721A())) ), "Address not in allowlist" ); iconicAddress.transfer(msg.value); _mint(_msgSenderERC721A(), amount); _setAux(_msgSenderERC721A(), mintCountBySender); } function mint(uint16 amount) external payable nonReentrant() { require(mintingActive, "Minting not enabled"); require(msg.value == mintPrice * amount, "Incorrect amount of ether sent"); require(_totalMinted() + amount <= mintSize, "Mint exceeds collection size"); uint64 mintCountBySender = _getAux(_msgSenderERC721A()) + amount; require(mintCountBySender <= maxMintsPerAddress, "Exceeds per address mint limit"); iconicAddress.transfer(msg.value); _mint(_msgSenderERC721A(), amount); _setAux(_msgSenderERC721A(), mintCountBySender); } function burn(uint256 tokenId) public { require(burningActive, "Token burning is not enabled"); _burn(tokenId, true); } function _startTokenId() internal pure override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Token does not exist"); return string(abi.encodePacked(baseURI, Strings.toString(tokenId))); } modifier requiresAdmin() { require(_msgSenderERC721A() == admin, "Not Authorized"); _; } /* Operator Filter Registry Overrides */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bytes32","name":"artPassMerkleRoot_","type":"bytes32"},{"internalType":"bytes32","name":"allowListMerkleRoot_","type":"bytes32"},{"internalType":"address","name":"iconicAddress_","type":"address"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"},{"internalType":"uint64","name":"mintSize_","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"allowlistMint","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":[],"name":"artPassMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"artPassMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"artPassMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"artPassMints","outputs":[{"internalType":"int16","name":"","type":"int16"}],"stateMutability":"view","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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burningActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableAllowListMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableArtPassMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTokenBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableAllowListMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableArtPassMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTokenBurning","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":"artPassHolder","type":"address"}],"name":"getAvailableArtPassMintCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"maxMintsPerAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintSize","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"artPassHolders","type":"address[]"},{"internalType":"int8[]","name":"extras","type":"int8[]"}],"name":"setAdditionalArtPassMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setAllowListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setArtPassMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"maxMintsPerAddress_","type":"uint8"}],"name":"setMaxMintsPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPrice_","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"mintSize_","type":"uint64"}],"name":"setMintSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526009805461ffff60a01b1916600160a01b179055600b805463ffffffff191690556000600c819055600d553480156200003c57600080fd5b50604051620032c9380380620032c98339810160408190526200005f9162000407565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001898960026200008683826200056a565b5060036200009582826200056a565b50600160005550506001600855620000ad33620002bb565b6daaeb6d7670e522a718067333cd4e3b15620001f25780156200014057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200012157600080fd5b505af115801562000136573d6000803e3d6000fd5b50505050620001f2565b6001600160a01b03821615620001915760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000106565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001d857600080fd5b505af1158015620001ed573d6000803e3d6000fd5b505050505b50506001600160a01b0383163303620002395760405162461bcd60e51b815260206004820152600560248201526422b93937b960d91b604482015260640160405180910390fd5b601180546001600160a01b03191633179055600e6200025987826200056a565b50600d94909455600c9290925560108054600f939093556001600160401b039093166001600160401b03196001600160a01b039092166801000000000000000002919091166001600160e01b0319909216919091171790555062000636915050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200033557600080fd5b81516001600160401b03808211156200035257620003526200030d565b604051601f8301601f19908116603f011681019082821181831017156200037d576200037d6200030d565b816040528381526020925086838588010111156200039a57600080fd5b600091505b83821015620003be57858201830151818301840152908201906200039f565b600093810190920192909252949350505050565b80516001600160a01b0381168114620003ea57600080fd5b919050565b80516001600160401b0381168114620003ea57600080fd5b600080600080600080600080610100898b0312156200042557600080fd5b88516001600160401b03808211156200043d57600080fd5b6200044b8c838d0162000323565b995060208b01519150808211156200046257600080fd5b620004708c838d0162000323565b985060408b01519150808211156200048757600080fd5b50620004968b828c0162000323565b9650506060890151945060808901519350620004b560a08a01620003d2565b925060c08901519150620004cc60e08a01620003ef565b90509295985092959890939650565b600181811c90821680620004f057607f821691505b6020821081036200051157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200056557600081815260208120601f850160051c81016020861015620005405750805b601f850160051c820191505b8181101562000561578281556001016200054c565b5050505b505050565b81516001600160401b038111156200058657620005866200030d565b6200059e81620005978454620004db565b8462000517565b602080601f831160018114620005d65760008415620005bd5750858301515b600019600386901b1c1916600185901b17855562000561565b600085815260208120601f198616915b828110156200060757888601518255948401946001909101908401620005e6565b5085821015620006265787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612c8380620006466000396000f3fe6080604052600436106102ae5760003560e01c8063715018a611610175578063c761c72d116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146107f9578063f4a0a52814610819578063f8362e2614610839578063fc42e2821461084e57600080fd5b8063e985e9c514610799578063ea7a42e4146107b9578063efa27857146107d957600080fd5b8063c761c72d146106fc578063c87b56dd14610711578063cca694f014610731578063df33ac9c14610744578063e012512614610764578063e797ec1b1461078457600080fd5b8063a09271f51161012e578063a09271f514610658578063a22cb46514610672578063a5c2e3ba14610692578063ae6a80d5146106b2578063b2ff9200146106d4578063b88d4fde146106e957600080fd5b8063715018a6146105d05780637e5cd5c1146105e557806389190f22146105fa5780638da5cb5b1461060f57806395d89b411461062d5780639bb906e01461064257600080fd5b806331f9c9191161021957806353014998116101d2578063530149981461050c5780635bbdac291461054f5780636352211e146105655780636817c76c146105855780636c0360eb1461059b57806370a08231146105b057600080fd5b806331f9c9191461042c57806341f434341461044c57806342842e0e1461046e57806342966c681461048157806346e58f67146104a15780634a0ef768146104d457600080fd5b80631c7c25981161026b5780631c7c25981461039d5780631d0e4d40146103be57806323b872dd146103d157806323cf0a22146103e45780632919ac57146103f757806330176e131461040c57600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b3146103425780630a1dca0e1461035757806318160ddd14610376575b600080fd5b3480156102bf57600080fd5b506102d36102ce3660046122f6565b610863565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd6108b5565b6040516102df9190612363565b34801561031657600080fd5b5061032a610325366004612376565b610947565b6040516001600160a01b0390911681526020016102df565b6103556103503660046123ab565b61098b565b005b34801561036357600080fd5b50600b546102d390610100900460ff1681565b34801561038257600080fd5b5060015460005403600019015b6040519081526020016102df565b3480156103a957600080fd5b50600b546102d3906301000000900460ff1681565b6103556103cc3660046123e7565b6109a4565b6103556103df36600461246a565b610c45565b6103556103f23660046124a6565b610c70565b34801561040357600080fd5b50610355610e6a565b34801561041857600080fd5b5061035561042736600461255e565b610eac565b34801561043857600080fd5b50600b546102d39062010000900460ff1681565b34801561045857600080fd5b5061032a6daaeb6d7670e522a718067333cd4e81565b61035561047c36600461246a565b610eef565b34801561048d57600080fd5b5061035561049c366004612376565b610f14565b3480156104ad57600080fd5b506104c16104bc3660046125a6565b610f78565b60405161ffff90911681526020016102df565b3480156104e057600080fd5b506010546104f4906001600160401b031681565b6040516001600160401b0390911681526020016102df565b34801561051857600080fd5b5061053c6105273660046125a6565b600a6020526000908152604090205460010b81565b60405160019190910b81526020016102df565b34801561055b57600080fd5b5061038f600d5481565b34801561057157600080fd5b5061032a610580366004612376565b610fa9565b34801561059157600080fd5b5061038f600f5481565b3480156105a757600080fd5b506102fd610fb4565b3480156105bc57600080fd5b5061038f6105cb3660046125a6565b611042565b3480156105dc57600080fd5b50610355611090565b3480156105f157600080fd5b506103556110a4565b34801561060657600080fd5b506103556110e5565b34801561061b57600080fd5b506009546001600160a01b031661032a565b34801561063957600080fd5b506102fd611129565b34801561064e57600080fd5b5061038f600c5481565b34801561066457600080fd5b50600b546102d39060ff1681565b34801561067e57600080fd5b5061035561068d3660046125cf565b611138565b34801561069e57600080fd5b506103556106ad3660046126a4565b61114c565b3480156106be57600080fd5b506009546104c190600160a01b900461ffff1681565b3480156106e057600080fd5b50610355611255565b6103556106f7366004612763565b611297565b34801561070857600080fd5b506103556112c4565b34801561071d57600080fd5b506102fd61072c366004612376565b61130c565b61035561073f3660046123e7565b61138c565b34801561075057600080fd5b5061035561075f366004612376565b6115d1565b34801561077057600080fd5b5061035561077f3660046127de565b611609565b34801561079057600080fd5b5061035561165f565b3480156107a557600080fd5b506102d36107b4366004612807565b6116a5565b3480156107c557600080fd5b506103556107d4366004612376565b6116d3565b3480156107e557600080fd5b506103556107f436600461283a565b61170b565b34801561080557600080fd5b506103556108143660046125a6565b61175e565b34801561082557600080fd5b50610355610834366004612376565b6117d4565b34801561084557600080fd5b5061035561180c565b34801561085a57600080fd5b5061035561184c565b60006301ffc9a760e01b6001600160e01b03198316148061089457506380ac58cd60e01b6001600160e01b03198316145b806108af5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108c49061285d565b80601f01602080910402602001604051908101604052809291908181526020018280546108f09061285d565b801561093d5780601f106109125761010080835404028352916020019161093d565b820191906000526020600020905b81548152906001019060200180831161092057829003601f168201915b5050505050905090565b60006109528261188b565b61096f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610995816118c0565b61099f8383611979565b505050565b6109ac611a19565b600b5460ff16610a035760405162461bcd60e51b815260206004820152601c60248201527f4172742050617373206d696e74696e67206e6f7420656e61626c65640000000060448201526064015b60405180910390fd5b8061ffff16600f54610a1591906128ad565b3414610a335760405162461bcd60e51b81526004016109fa906128c4565b6010546001600160401b031661ffff8216610a516000546000190190565b610a5b91906128fb565b1115610a795760405162461bcd60e51b81526004016109fa9061290e565b61ffff8116610a8733610f78565b61ffff161015610ae45760405162461bcd60e51b815260206004820152602260248201527f4578636565647320417274205061737320686f6c646572206d696e74206c696d6044820152611a5d60f21b60648201526084016109fa565b610b6483838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d5491503390505b604051602001610b49919060609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120611a72565b610ba95760405162461bcd60e51b81526020600482015260166024820152752737ba1030b71020b93a102830b9b9903437b63232b960511b60448201526064016109fa565b6010546040516001600160a01b03600160401b90920491909116903480156108fc02916000818181858888f19350505050158015610beb573d6000803e3d6000fd5b50610bfa338261ffff16611a88565b336000908152600a6020526040902054610c1890829060010b612945565b336000908152600a60205260409020805461ffff191661ffff929092169190911790555050600160085550565b826001600160a01b0381163314610c5f57610c5f336118c0565b610c6a848484611b62565b50505050565b610c78611a19565b600b5462010000900460ff16610cc65760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c81b9bdd08195b98589b1959606a1b60448201526064016109fa565b8061ffff16600f54610cd891906128ad565b3414610cf65760405162461bcd60e51b81526004016109fa906128c4565b6010546001600160401b031661ffff8216610d146000546000190190565b610d1e91906128fb565b1115610d3c5760405162461bcd60e51b81526004016109fa9061290e565b600061ffff8216610d66335b6001600160a01b031660009081526005602052604090205460c01c90565b610d709190612968565b600954909150600160a01b900461ffff166001600160401b0382161115610dd95760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d6974000060448201526064016109fa565b6010546040516001600160a01b03600160401b90920491909116903480156108fc02916000818181858888f19350505050158015610e1b573d6000803e3d6000fd5b50610e2b335b8361ffff16611a88565b610e5c335b6001600160a01b0316600090815260056020526040902080546001600160c01b031660c084901b179055565b50610e676001600855565b50565b6011546001600160a01b0316336001600160a01b031614610e9d5760405162461bcd60e51b81526004016109fa9061298f565b600b805460ff19166001179055565b6011546001600160a01b0316336001600160a01b031614610edf5760405162461bcd60e51b81526004016109fa9061298f565b600e610eeb82826129fd565b5050565b826001600160a01b0381163314610f0957610f09336118c0565b610c6a848484611cf3565b600b546301000000900460ff16610f6d5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e206275726e696e67206973206e6f7420656e61626c65640000000060448201526064016109fa565b610e67816001611d0e565b6001600160a01b0381166000908152600a60205260408120548190610fa290600190810b90612abc565b9392505050565b60006108af82611e46565b600e8054610fc19061285d565b80601f0160208091040260200160405190810160405280929190818152602001828054610fed9061285d565b801561103a5780601f1061100f5761010080835404028352916020019161103a565b820191906000526020600020905b81548152906001019060200180831161101d57829003601f168201915b505050505081565b60006001600160a01b03821661106b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b611098611eb5565b6110a26000611f0f565b565b6011546001600160a01b0316336001600160a01b0316146110d75760405162461bcd60e51b81526004016109fa9061298f565b600b805462ff000019169055565b6011546001600160a01b0316336001600160a01b0316146111185760405162461bcd60e51b81526004016109fa9061298f565b600b805461ff001916610100179055565b6060600380546108c49061285d565b81611142816118c0565b61099f8383611f61565b6011546001600160a01b0316336001600160a01b03161461117f5760405162461bcd60e51b81526004016109fa9061298f565b80518251146111c15760405162461bcd60e51b815260206004820152600e60248201526d1a5b98dbdc9c9958dd081b1a5cdd60921b60448201526064016109fa565b60005b82518161ffff16101561099f57818161ffff16815181106111e7576111e7612adf565b602002602001015160000b600a6000858461ffff168151811061120c5761120c612adf565b6020908102919091018101516001600160a01b03168252810191909152604001600020805461ffff191661ffff929092169190911790558061124d81612af5565b9150506111c4565b6011546001600160a01b0316336001600160a01b0316146112885760405162461bcd60e51b81526004016109fa9061298f565b600b805463ff00000019169055565b836001600160a01b03811633146112b1576112b1336118c0565b6112bd85858585611fcd565b5050505050565b6011546001600160a01b0316336001600160a01b0316146112f75760405162461bcd60e51b81526004016109fa9061298f565b600b805463ff00000019166301000000179055565b60606113178261188b565b61135a5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016109fa565b600e61136583612011565b604051602001611376929190612b16565b6040516020818303038152906040529050919050565b611394611a19565b600b54610100900460ff166113eb5760405162461bcd60e51b815260206004820152601e60248201527f416c6c6f77206c697374206d696e74696e67206e6f7420656e61626c6564000060448201526064016109fa565b8061ffff16600f546113fd91906128ad565b341461141b5760405162461bcd60e51b81526004016109fa906128c4565b6010546001600160401b031661ffff82166114396000546000190190565b61144391906128fb565b11156114615760405162461bcd60e51b81526004016109fa9061290e565b600061ffff821661147133610d48565b61147b9190612968565b600954909150600160a01b900461ffff166001600160401b03821611156114e45760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d6974000060448201526064016109fa565b61152584848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150339050610b21565b6115715760405162461bcd60e51b815260206004820152601860248201527f41646472657373206e6f7420696e20616c6c6f776c697374000000000000000060448201526064016109fa565b6010546040516001600160a01b03600160401b90920491909116903480156108fc02916000818181858888f193505050501580156115b3573d6000803e3d6000fd5b506115bd33610e21565b6115c633610e30565b5061099f6001600855565b6011546001600160a01b0316336001600160a01b0316146116045760405162461bcd60e51b81526004016109fa9061298f565b600d55565b6011546001600160a01b0316336001600160a01b03161461163c5760405162461bcd60e51b81526004016109fa9061298f565b6010805467ffffffffffffffff19166001600160401b0392909216919091179055565b6011546001600160a01b0316336001600160a01b0316146116925760405162461bcd60e51b81526004016109fa9061298f565b600b805462ff0000191662010000179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6011546001600160a01b0316336001600160a01b0316146117065760405162461bcd60e51b81526004016109fa9061298f565b600c55565b6011546001600160a01b0316336001600160a01b03161461173e5760405162461bcd60e51b81526004016109fa9061298f565b6009805461ffff60a01b191660ff92909216600160a01b02919091179055565b611766611eb5565b6001600160a01b0381166117cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fa565b610e6781611f0f565b6011546001600160a01b0316336001600160a01b0316146118075760405162461bcd60e51b81526004016109fa9061298f565b600f55565b6011546001600160a01b0316336001600160a01b03161461183f5760405162461bcd60e51b81526004016109fa9061298f565b600b805461ff0019169055565b6011546001600160a01b0316336001600160a01b03161461187f5760405162461bcd60e51b81526004016109fa9061298f565b600b805460ff19169055565b60008160011115801561189f575060005482105b80156108af575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e6757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190612b9d565b610e6757604051633b79c77360e21b81526001600160a01b03821660048201526024016109fa565b600061198482610fa9565b9050336001600160a01b038216146119bd576119a081336116a5565b6119bd576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600260085403611a6b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109fa565b6002600855565b600082611a7f85846120a3565b14949350505050565b6000805490829003611aad5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020612c2e8339815191528180a4600183015b818114611b385780836000600080516020612c2e833981519152600080a4600101611b12565b5081600003611b5957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000611b6d82611e46565b9050836001600160a01b0316816001600160a01b031614611ba05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054611bcc8187335b6001600160a01b039081169116811491141790565b611bf757611bda86336116a5565b611bf757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c1e57604051633a954ecd60e21b815260040160405180910390fd5b8015611c2957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611cbb57600184016000818152600460205260408120549003611cb9576000548114611cb95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612c2e83398151915260405160405180910390a45b505050505050565b61099f83838360405180602001604052806000815250611297565b6000611d1983611e46565b905080600080611d3786600090815260066020526040902080549091565b915091508415611d7757611d4c818433611bb7565b611d7757611d5a83336116a5565b611d7757604051632ce44b5f60e11b815260040160405180910390fd5b8015611d8257600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003611e1057600186016000818152600460205260408120549003611e0e576000548114611e0e5760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612c2e833981519152908390a45050600180548101905550505050565b60008180600111611e9c57600054811015611e9c5760008181526004602052604081205490600160e01b82169003611e9a575b80600003610fa2575060001901600081815260046020526040902054611e79565b505b604051636f96cda160e11b815260040160405180910390fd5b6009546001600160a01b031633146110a25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109fa565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611fd8848484610c45565b6001600160a01b0383163b15610c6a57611ff4848484846120f0565b610c6a576040516368d2bf6b60e11b815260040160405180910390fd5b6060600061201e836121dc565b60010190506000816001600160401b0381111561203d5761203d6124c1565b6040519080825280601f01601f191660200182016040528015612067576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461207157509392505050565b600081815b84518110156120e8576120d4828683815181106120c7576120c7612adf565b60200260200101516122b4565b9150806120e081612bba565b9150506120a8565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612125903390899088908890600401612bd3565b6020604051808303816000875af1925050508015612160575060408051601f3d908101601f1916820190925261215d91810190612c10565b60015b6121be573d80801561218e576040519150601f19603f3d011682016040523d82523d6000602084013e612193565b606091505b5080516000036121b6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061221b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612247576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061226557662386f26fc10000830492506010015b6305f5e100831061227d576305f5e100830492506008015b612710831061229157612710830492506004015b606483106122a3576064830492506002015b600a83106108af5760010192915050565b60008183106122d0576000828152602084905260409020610fa2565b5060009182526020526040902090565b6001600160e01b031981168114610e6757600080fd5b60006020828403121561230857600080fd5b8135610fa2816122e0565b60005b8381101561232e578181015183820152602001612316565b50506000910152565b6000815180845261234f816020860160208601612313565b601f01601f19169290920160200192915050565b602081526000610fa26020830184612337565b60006020828403121561238857600080fd5b5035919050565b80356001600160a01b03811681146123a657600080fd5b919050565b600080604083850312156123be57600080fd5b6123c78361238f565b946020939093013593505050565b803561ffff811681146123a657600080fd5b6000806000604084860312156123fc57600080fd5b83356001600160401b038082111561241357600080fd5b818601915086601f83011261242757600080fd5b81358181111561243657600080fd5b8760208260051b850101111561244b57600080fd5b60209283019550935061246191860190506123d5565b90509250925092565b60008060006060848603121561247f57600080fd5b6124888461238f565b92506124966020850161238f565b9150604084013590509250925092565b6000602082840312156124b857600080fd5b610fa2826123d5565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156124ff576124ff6124c1565b604052919050565b60006001600160401b03831115612520576125206124c1565b612533601f8401601f19166020016124d7565b905082815283838301111561254757600080fd5b828260208301376000602084830101529392505050565b60006020828403121561257057600080fd5b81356001600160401b0381111561258657600080fd5b8201601f8101841361259757600080fd5b6121d484823560208401612507565b6000602082840312156125b857600080fd5b610fa28261238f565b8015158114610e6757600080fd5b600080604083850312156125e257600080fd5b6125eb8361238f565b915060208301356125fb816125c1565b809150509250929050565b60006001600160401b0382111561261f5761261f6124c1565b5060051b60200190565b600082601f83011261263a57600080fd5b8135602061264f61264a83612606565b6124d7565b82815260059290921b8401810191818101908684111561266e57600080fd5b8286015b84811015612699578035600081810b821461268b578081fd5b508352918301918301612672565b509695505050505050565b600080604083850312156126b757600080fd5b82356001600160401b03808211156126ce57600080fd5b818501915085601f8301126126e257600080fd5b813560206126f261264a83612606565b82815260059290921b8401810191818101908984111561271157600080fd5b948201945b83861015612736576127278661238f565b82529482019490820190612716565b9650508601359250508082111561274c57600080fd5b5061275985828601612629565b9150509250929050565b6000806000806080858703121561277957600080fd5b6127828561238f565b93506127906020860161238f565b92506040850135915060608501356001600160401b038111156127b257600080fd5b8501601f810187136127c357600080fd5b6127d287823560208401612507565b91505092959194509250565b6000602082840312156127f057600080fd5b81356001600160401b0381168114610fa257600080fd5b6000806040838503121561281a57600080fd5b6128238361238f565b91506128316020840161238f565b90509250929050565b60006020828403121561284c57600080fd5b813560ff81168114610fa257600080fd5b600181811c9082168061287157607f821691505b60208210810361289157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108af576108af612897565b6020808252601e908201527f496e636f727265637420616d6f756e74206f662065746865722073656e740000604082015260600190565b808201808211156108af576108af612897565b6020808252601c908201527f4d696e74206578636565647320636f6c6c656374696f6e2073697a6500000000604082015260600190565b600182810b9082900b03617fff198112617fff821317156108af576108af612897565b6001600160401b0381811683821601908082111561298857612988612897565b5092915050565b6020808252600e908201526d139bdd08105d5d1a1bdc9a5e995960921b604082015260600190565b601f82111561099f57600081815260208120601f850160051c810160208610156129de5750805b601f850160051c820191505b81811015611ceb578281556001016129ea565b81516001600160401b03811115612a1657612a166124c1565b612a2a81612a24845461285d565b846129b7565b602080601f831160018114612a5f5760008415612a475750858301515b600019600386901b1c1916600185901b178555611ceb565b600085815260208120601f198616915b82811015612a8e57888601518255948401946001909101908401612a6f565b5085821015612aac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600181810b9083900b01617fff8113617fff19821217156108af576108af612897565b634e487b7160e01b600052603260045260246000fd5b600061ffff808316818103612b0c57612b0c612897565b6001019392505050565b6000808454612b248161285d565b60018281168015612b3c5760018114612b5157612b80565b60ff1984168752821515830287019450612b80565b8860005260208060002060005b85811015612b775781548a820152908401908201612b5e565b50505082870194505b505050508351612b94818360208801612313565b01949350505050565b600060208284031215612baf57600080fd5b8151610fa2816125c1565b600060018201612bcc57612bcc612897565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c0690830184612337565b9695505050505050565b600060208284031215612c2257600080fd5b8151610fa2816122e056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122043cdd98e81ab19003b9a0397694f565aaff3ee71718264c44910e1afbe69fc7764736f6c634300081100330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000be8f0a5b34bac0054bbded4fd8d933ebef8936aa0f3a0284b87fc72dda36b5c7000000000000000000000000bd76ee7bac2ff120dbfb614ff132ecf79e1f3a41000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000000000000000000000000000000000000000000949636f6e69634e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005494d4e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6642364c6d38673357534d51747141626452394c6b337838484b45644a51324e41745774555238644d78394d2f00000000000000000000
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c8063715018a611610175578063c761c72d116100dc578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b146107f9578063f4a0a52814610819578063f8362e2614610839578063fc42e2821461084e57600080fd5b8063e985e9c514610799578063ea7a42e4146107b9578063efa27857146107d957600080fd5b8063c761c72d146106fc578063c87b56dd14610711578063cca694f014610731578063df33ac9c14610744578063e012512614610764578063e797ec1b1461078457600080fd5b8063a09271f51161012e578063a09271f514610658578063a22cb46514610672578063a5c2e3ba14610692578063ae6a80d5146106b2578063b2ff9200146106d4578063b88d4fde146106e957600080fd5b8063715018a6146105d05780637e5cd5c1146105e557806389190f22146105fa5780638da5cb5b1461060f57806395d89b411461062d5780639bb906e01461064257600080fd5b806331f9c9191161021957806353014998116101d2578063530149981461050c5780635bbdac291461054f5780636352211e146105655780636817c76c146105855780636c0360eb1461059b57806370a08231146105b057600080fd5b806331f9c9191461042c57806341f434341461044c57806342842e0e1461046e57806342966c681461048157806346e58f67146104a15780634a0ef768146104d457600080fd5b80631c7c25981161026b5780631c7c25981461039d5780631d0e4d40146103be57806323b872dd146103d157806323cf0a22146103e45780632919ac57146103f757806330176e131461040c57600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b3146103425780630a1dca0e1461035757806318160ddd14610376575b600080fd5b3480156102bf57600080fd5b506102d36102ce3660046122f6565b610863565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd6108b5565b6040516102df9190612363565b34801561031657600080fd5b5061032a610325366004612376565b610947565b6040516001600160a01b0390911681526020016102df565b6103556103503660046123ab565b61098b565b005b34801561036357600080fd5b50600b546102d390610100900460ff1681565b34801561038257600080fd5b5060015460005403600019015b6040519081526020016102df565b3480156103a957600080fd5b50600b546102d3906301000000900460ff1681565b6103556103cc3660046123e7565b6109a4565b6103556103df36600461246a565b610c45565b6103556103f23660046124a6565b610c70565b34801561040357600080fd5b50610355610e6a565b34801561041857600080fd5b5061035561042736600461255e565b610eac565b34801561043857600080fd5b50600b546102d39062010000900460ff1681565b34801561045857600080fd5b5061032a6daaeb6d7670e522a718067333cd4e81565b61035561047c36600461246a565b610eef565b34801561048d57600080fd5b5061035561049c366004612376565b610f14565b3480156104ad57600080fd5b506104c16104bc3660046125a6565b610f78565b60405161ffff90911681526020016102df565b3480156104e057600080fd5b506010546104f4906001600160401b031681565b6040516001600160401b0390911681526020016102df565b34801561051857600080fd5b5061053c6105273660046125a6565b600a6020526000908152604090205460010b81565b60405160019190910b81526020016102df565b34801561055b57600080fd5b5061038f600d5481565b34801561057157600080fd5b5061032a610580366004612376565b610fa9565b34801561059157600080fd5b5061038f600f5481565b3480156105a757600080fd5b506102fd610fb4565b3480156105bc57600080fd5b5061038f6105cb3660046125a6565b611042565b3480156105dc57600080fd5b50610355611090565b3480156105f157600080fd5b506103556110a4565b34801561060657600080fd5b506103556110e5565b34801561061b57600080fd5b506009546001600160a01b031661032a565b34801561063957600080fd5b506102fd611129565b34801561064e57600080fd5b5061038f600c5481565b34801561066457600080fd5b50600b546102d39060ff1681565b34801561067e57600080fd5b5061035561068d3660046125cf565b611138565b34801561069e57600080fd5b506103556106ad3660046126a4565b61114c565b3480156106be57600080fd5b506009546104c190600160a01b900461ffff1681565b3480156106e057600080fd5b50610355611255565b6103556106f7366004612763565b611297565b34801561070857600080fd5b506103556112c4565b34801561071d57600080fd5b506102fd61072c366004612376565b61130c565b61035561073f3660046123e7565b61138c565b34801561075057600080fd5b5061035561075f366004612376565b6115d1565b34801561077057600080fd5b5061035561077f3660046127de565b611609565b34801561079057600080fd5b5061035561165f565b3480156107a557600080fd5b506102d36107b4366004612807565b6116a5565b3480156107c557600080fd5b506103556107d4366004612376565b6116d3565b3480156107e557600080fd5b506103556107f436600461283a565b61170b565b34801561080557600080fd5b506103556108143660046125a6565b61175e565b34801561082557600080fd5b50610355610834366004612376565b6117d4565b34801561084557600080fd5b5061035561180c565b34801561085a57600080fd5b5061035561184c565b60006301ffc9a760e01b6001600160e01b03198316148061089457506380ac58cd60e01b6001600160e01b03198316145b806108af5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108c49061285d565b80601f01602080910402602001604051908101604052809291908181526020018280546108f09061285d565b801561093d5780601f106109125761010080835404028352916020019161093d565b820191906000526020600020905b81548152906001019060200180831161092057829003601f168201915b5050505050905090565b60006109528261188b565b61096f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610995816118c0565b61099f8383611979565b505050565b6109ac611a19565b600b5460ff16610a035760405162461bcd60e51b815260206004820152601c60248201527f4172742050617373206d696e74696e67206e6f7420656e61626c65640000000060448201526064015b60405180910390fd5b8061ffff16600f54610a1591906128ad565b3414610a335760405162461bcd60e51b81526004016109fa906128c4565b6010546001600160401b031661ffff8216610a516000546000190190565b610a5b91906128fb565b1115610a795760405162461bcd60e51b81526004016109fa9061290e565b61ffff8116610a8733610f78565b61ffff161015610ae45760405162461bcd60e51b815260206004820152602260248201527f4578636565647320417274205061737320686f6c646572206d696e74206c696d6044820152611a5d60f21b60648201526084016109fa565b610b6483838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d5491503390505b604051602001610b49919060609190911b6bffffffffffffffffffffffff1916815260140190565b60405160208183030381529060405280519060200120611a72565b610ba95760405162461bcd60e51b81526020600482015260166024820152752737ba1030b71020b93a102830b9b9903437b63232b960511b60448201526064016109fa565b6010546040516001600160a01b03600160401b90920491909116903480156108fc02916000818181858888f19350505050158015610beb573d6000803e3d6000fd5b50610bfa338261ffff16611a88565b336000908152600a6020526040902054610c1890829060010b612945565b336000908152600a60205260409020805461ffff191661ffff929092169190911790555050600160085550565b826001600160a01b0381163314610c5f57610c5f336118c0565b610c6a848484611b62565b50505050565b610c78611a19565b600b5462010000900460ff16610cc65760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c81b9bdd08195b98589b1959606a1b60448201526064016109fa565b8061ffff16600f54610cd891906128ad565b3414610cf65760405162461bcd60e51b81526004016109fa906128c4565b6010546001600160401b031661ffff8216610d146000546000190190565b610d1e91906128fb565b1115610d3c5760405162461bcd60e51b81526004016109fa9061290e565b600061ffff8216610d66335b6001600160a01b031660009081526005602052604090205460c01c90565b610d709190612968565b600954909150600160a01b900461ffff166001600160401b0382161115610dd95760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d6974000060448201526064016109fa565b6010546040516001600160a01b03600160401b90920491909116903480156108fc02916000818181858888f19350505050158015610e1b573d6000803e3d6000fd5b50610e2b335b8361ffff16611a88565b610e5c335b6001600160a01b0316600090815260056020526040902080546001600160c01b031660c084901b179055565b50610e676001600855565b50565b6011546001600160a01b0316336001600160a01b031614610e9d5760405162461bcd60e51b81526004016109fa9061298f565b600b805460ff19166001179055565b6011546001600160a01b0316336001600160a01b031614610edf5760405162461bcd60e51b81526004016109fa9061298f565b600e610eeb82826129fd565b5050565b826001600160a01b0381163314610f0957610f09336118c0565b610c6a848484611cf3565b600b546301000000900460ff16610f6d5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e206275726e696e67206973206e6f7420656e61626c65640000000060448201526064016109fa565b610e67816001611d0e565b6001600160a01b0381166000908152600a60205260408120548190610fa290600190810b90612abc565b9392505050565b60006108af82611e46565b600e8054610fc19061285d565b80601f0160208091040260200160405190810160405280929190818152602001828054610fed9061285d565b801561103a5780601f1061100f5761010080835404028352916020019161103a565b820191906000526020600020905b81548152906001019060200180831161101d57829003601f168201915b505050505081565b60006001600160a01b03821661106b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b611098611eb5565b6110a26000611f0f565b565b6011546001600160a01b0316336001600160a01b0316146110d75760405162461bcd60e51b81526004016109fa9061298f565b600b805462ff000019169055565b6011546001600160a01b0316336001600160a01b0316146111185760405162461bcd60e51b81526004016109fa9061298f565b600b805461ff001916610100179055565b6060600380546108c49061285d565b81611142816118c0565b61099f8383611f61565b6011546001600160a01b0316336001600160a01b03161461117f5760405162461bcd60e51b81526004016109fa9061298f565b80518251146111c15760405162461bcd60e51b815260206004820152600e60248201526d1a5b98dbdc9c9958dd081b1a5cdd60921b60448201526064016109fa565b60005b82518161ffff16101561099f57818161ffff16815181106111e7576111e7612adf565b602002602001015160000b600a6000858461ffff168151811061120c5761120c612adf565b6020908102919091018101516001600160a01b03168252810191909152604001600020805461ffff191661ffff929092169190911790558061124d81612af5565b9150506111c4565b6011546001600160a01b0316336001600160a01b0316146112885760405162461bcd60e51b81526004016109fa9061298f565b600b805463ff00000019169055565b836001600160a01b03811633146112b1576112b1336118c0565b6112bd85858585611fcd565b5050505050565b6011546001600160a01b0316336001600160a01b0316146112f75760405162461bcd60e51b81526004016109fa9061298f565b600b805463ff00000019166301000000179055565b60606113178261188b565b61135a5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016109fa565b600e61136583612011565b604051602001611376929190612b16565b6040516020818303038152906040529050919050565b611394611a19565b600b54610100900460ff166113eb5760405162461bcd60e51b815260206004820152601e60248201527f416c6c6f77206c697374206d696e74696e67206e6f7420656e61626c6564000060448201526064016109fa565b8061ffff16600f546113fd91906128ad565b341461141b5760405162461bcd60e51b81526004016109fa906128c4565b6010546001600160401b031661ffff82166114396000546000190190565b61144391906128fb565b11156114615760405162461bcd60e51b81526004016109fa9061290e565b600061ffff821661147133610d48565b61147b9190612968565b600954909150600160a01b900461ffff166001600160401b03821611156114e45760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d6974000060448201526064016109fa565b61152584848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150339050610b21565b6115715760405162461bcd60e51b815260206004820152601860248201527f41646472657373206e6f7420696e20616c6c6f776c697374000000000000000060448201526064016109fa565b6010546040516001600160a01b03600160401b90920491909116903480156108fc02916000818181858888f193505050501580156115b3573d6000803e3d6000fd5b506115bd33610e21565b6115c633610e30565b5061099f6001600855565b6011546001600160a01b0316336001600160a01b0316146116045760405162461bcd60e51b81526004016109fa9061298f565b600d55565b6011546001600160a01b0316336001600160a01b03161461163c5760405162461bcd60e51b81526004016109fa9061298f565b6010805467ffffffffffffffff19166001600160401b0392909216919091179055565b6011546001600160a01b0316336001600160a01b0316146116925760405162461bcd60e51b81526004016109fa9061298f565b600b805462ff0000191662010000179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6011546001600160a01b0316336001600160a01b0316146117065760405162461bcd60e51b81526004016109fa9061298f565b600c55565b6011546001600160a01b0316336001600160a01b03161461173e5760405162461bcd60e51b81526004016109fa9061298f565b6009805461ffff60a01b191660ff92909216600160a01b02919091179055565b611766611eb5565b6001600160a01b0381166117cb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fa565b610e6781611f0f565b6011546001600160a01b0316336001600160a01b0316146118075760405162461bcd60e51b81526004016109fa9061298f565b600f55565b6011546001600160a01b0316336001600160a01b03161461183f5760405162461bcd60e51b81526004016109fa9061298f565b600b805461ff0019169055565b6011546001600160a01b0316336001600160a01b03161461187f5760405162461bcd60e51b81526004016109fa9061298f565b600b805460ff19169055565b60008160011115801561189f575060005482105b80156108af575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e6757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190612b9d565b610e6757604051633b79c77360e21b81526001600160a01b03821660048201526024016109fa565b600061198482610fa9565b9050336001600160a01b038216146119bd576119a081336116a5565b6119bd576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600260085403611a6b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109fa565b6002600855565b600082611a7f85846120a3565b14949350505050565b6000805490829003611aad5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020612c2e8339815191528180a4600183015b818114611b385780836000600080516020612c2e833981519152600080a4600101611b12565b5081600003611b5957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000611b6d82611e46565b9050836001600160a01b0316816001600160a01b031614611ba05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054611bcc8187335b6001600160a01b039081169116811491141790565b611bf757611bda86336116a5565b611bf757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c1e57604051633a954ecd60e21b815260040160405180910390fd5b8015611c2957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611cbb57600184016000818152600460205260408120549003611cb9576000548114611cb95760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612c2e83398151915260405160405180910390a45b505050505050565b61099f83838360405180602001604052806000815250611297565b6000611d1983611e46565b905080600080611d3786600090815260066020526040902080549091565b915091508415611d7757611d4c818433611bb7565b611d7757611d5a83336116a5565b611d7757604051632ce44b5f60e11b815260040160405180910390fd5b8015611d8257600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003611e1057600186016000818152600460205260408120549003611e0e576000548114611e0e5760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612c2e833981519152908390a45050600180548101905550505050565b60008180600111611e9c57600054811015611e9c5760008181526004602052604081205490600160e01b82169003611e9a575b80600003610fa2575060001901600081815260046020526040902054611e79565b505b604051636f96cda160e11b815260040160405180910390fd5b6009546001600160a01b031633146110a25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109fa565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611fd8848484610c45565b6001600160a01b0383163b15610c6a57611ff4848484846120f0565b610c6a576040516368d2bf6b60e11b815260040160405180910390fd5b6060600061201e836121dc565b60010190506000816001600160401b0381111561203d5761203d6124c1565b6040519080825280601f01601f191660200182016040528015612067576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461207157509392505050565b600081815b84518110156120e8576120d4828683815181106120c7576120c7612adf565b60200260200101516122b4565b9150806120e081612bba565b9150506120a8565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612125903390899088908890600401612bd3565b6020604051808303816000875af1925050508015612160575060408051601f3d908101601f1916820190925261215d91810190612c10565b60015b6121be573d80801561218e576040519150601f19603f3d011682016040523d82523d6000602084013e612193565b606091505b5080516000036121b6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061221b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612247576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061226557662386f26fc10000830492506010015b6305f5e100831061227d576305f5e100830492506008015b612710831061229157612710830492506004015b606483106122a3576064830492506002015b600a83106108af5760010192915050565b60008183106122d0576000828152602084905260409020610fa2565b5060009182526020526040902090565b6001600160e01b031981168114610e6757600080fd5b60006020828403121561230857600080fd5b8135610fa2816122e0565b60005b8381101561232e578181015183820152602001612316565b50506000910152565b6000815180845261234f816020860160208601612313565b601f01601f19169290920160200192915050565b602081526000610fa26020830184612337565b60006020828403121561238857600080fd5b5035919050565b80356001600160a01b03811681146123a657600080fd5b919050565b600080604083850312156123be57600080fd5b6123c78361238f565b946020939093013593505050565b803561ffff811681146123a657600080fd5b6000806000604084860312156123fc57600080fd5b83356001600160401b038082111561241357600080fd5b818601915086601f83011261242757600080fd5b81358181111561243657600080fd5b8760208260051b850101111561244b57600080fd5b60209283019550935061246191860190506123d5565b90509250925092565b60008060006060848603121561247f57600080fd5b6124888461238f565b92506124966020850161238f565b9150604084013590509250925092565b6000602082840312156124b857600080fd5b610fa2826123d5565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156124ff576124ff6124c1565b604052919050565b60006001600160401b03831115612520576125206124c1565b612533601f8401601f19166020016124d7565b905082815283838301111561254757600080fd5b828260208301376000602084830101529392505050565b60006020828403121561257057600080fd5b81356001600160401b0381111561258657600080fd5b8201601f8101841361259757600080fd5b6121d484823560208401612507565b6000602082840312156125b857600080fd5b610fa28261238f565b8015158114610e6757600080fd5b600080604083850312156125e257600080fd5b6125eb8361238f565b915060208301356125fb816125c1565b809150509250929050565b60006001600160401b0382111561261f5761261f6124c1565b5060051b60200190565b600082601f83011261263a57600080fd5b8135602061264f61264a83612606565b6124d7565b82815260059290921b8401810191818101908684111561266e57600080fd5b8286015b84811015612699578035600081810b821461268b578081fd5b508352918301918301612672565b509695505050505050565b600080604083850312156126b757600080fd5b82356001600160401b03808211156126ce57600080fd5b818501915085601f8301126126e257600080fd5b813560206126f261264a83612606565b82815260059290921b8401810191818101908984111561271157600080fd5b948201945b83861015612736576127278661238f565b82529482019490820190612716565b9650508601359250508082111561274c57600080fd5b5061275985828601612629565b9150509250929050565b6000806000806080858703121561277957600080fd5b6127828561238f565b93506127906020860161238f565b92506040850135915060608501356001600160401b038111156127b257600080fd5b8501601f810187136127c357600080fd5b6127d287823560208401612507565b91505092959194509250565b6000602082840312156127f057600080fd5b81356001600160401b0381168114610fa257600080fd5b6000806040838503121561281a57600080fd5b6128238361238f565b91506128316020840161238f565b90509250929050565b60006020828403121561284c57600080fd5b813560ff81168114610fa257600080fd5b600181811c9082168061287157607f821691505b60208210810361289157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108af576108af612897565b6020808252601e908201527f496e636f727265637420616d6f756e74206f662065746865722073656e740000604082015260600190565b808201808211156108af576108af612897565b6020808252601c908201527f4d696e74206578636565647320636f6c6c656374696f6e2073697a6500000000604082015260600190565b600182810b9082900b03617fff198112617fff821317156108af576108af612897565b6001600160401b0381811683821601908082111561298857612988612897565b5092915050565b6020808252600e908201526d139bdd08105d5d1a1bdc9a5e995960921b604082015260600190565b601f82111561099f57600081815260208120601f850160051c810160208610156129de5750805b601f850160051c820191505b81811015611ceb578281556001016129ea565b81516001600160401b03811115612a1657612a166124c1565b612a2a81612a24845461285d565b846129b7565b602080601f831160018114612a5f5760008415612a475750858301515b600019600386901b1c1916600185901b178555611ceb565b600085815260208120601f198616915b82811015612a8e57888601518255948401946001909101908401612a6f565b5085821015612aac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600181810b9083900b01617fff8113617fff19821217156108af576108af612897565b634e487b7160e01b600052603260045260246000fd5b600061ffff808316818103612b0c57612b0c612897565b6001019392505050565b6000808454612b248161285d565b60018281168015612b3c5760018114612b5157612b80565b60ff1984168752821515830287019450612b80565b8860005260208060002060005b85811015612b775781548a820152908401908201612b5e565b50505082870194505b505050508351612b94818360208801612313565b01949350505050565b600060208284031215612baf57600080fd5b8151610fa2816125c1565b600060018201612bcc57612bcc612897565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c0690830184612337565b9695505050505050565b600060208284031215612c2257600080fd5b8151610fa2816122e056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122043cdd98e81ab19003b9a0397694f565aaff3ee71718264c44910e1afbe69fc7764736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000be8f0a5b34bac0054bbded4fd8d933ebef8936aa0f3a0284b87fc72dda36b5c7000000000000000000000000bd76ee7bac2ff120dbfb614ff132ecf79e1f3a41000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000000000000000000000000000000000000000000949636f6e69634e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005494d4e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6642364c6d38673357534d51747141626452394c6b337838484b45644a51324e41745774555238644d78394d2f00000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): IconicNFT
Arg [1] : symbol_ (string): IMNFT
Arg [2] : baseURI_ (string): ipfs://QmfB6Lm8g3WSMQtqAbdR9Lk3x8HKEdJQ2NAtWtUR8dMx9M/
Arg [3] : artPassMerkleRoot_ (bytes32): 0x0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : allowListMerkleRoot_ (bytes32): 0xbe8f0a5b34bac0054bbded4fd8d933ebef8936aa0f3a0284b87fc72dda36b5c7
Arg [5] : iconicAddress_ (address): 0xbD76ee7bac2Ff120dBfB614fF132Ecf79e1f3A41
Arg [6] : mintPrice_ (uint256): 0
Arg [7] : mintSize_ (uint64): 1500
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : be8f0a5b34bac0054bbded4fd8d933ebef8936aa0f3a0284b87fc72dda36b5c7
Arg [5] : 000000000000000000000000bd76ee7bac2ff120dbfb614ff132ecf79e1f3a41
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [9] : 49636f6e69634e46540000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 494d4e4654000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [13] : 697066733a2f2f516d6642364c6d38673357534d51747141626452394c6b3378
Arg [14] : 38484b45644a51324e41745774555238644d78394d2f00000000000000000000
Deployed Bytecode Sourcemap
87031:7017:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18209:639;;;;;;;;;;-1:-1:-1;18209:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18209:639:0;;;;;;;;19111:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25602:218::-;;;;;;;;;;-1:-1:-1;25602:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25602:218:0;1533:203:1;93309:159:0;;;;;;:::i;:::-;;:::i;:::-;;87259:42;;;;;;;;;;-1:-1:-1;87259:42:0;;;;;;;;;;;14862:323;;;;;;;;;;-1:-1:-1;92740:1:0;15136:12;14923:7;15120:13;:28;-1:-1:-1;;15120:46:0;14862:323;;;2324:25:1;;;2312:2;2297:18;14862:323:0;2178:177:1;87344:33:0;;;;;;;;;;-1:-1:-1;87344:33:0;;;;;;;;;;;90212:844;;;;;;:::i;:::-;;:::i;93474:165::-;;;;;;:::i;:::-;;:::i;91934:582::-;;;;;;:::i;:::-;;:::i;88201:93::-;;;;;;;;;;;;;:::i;88963:101::-;;;;;;;;;;-1:-1:-1;88963:101:0;;;;;:::i;:::-;;:::i;87306:33::-;;;;;;;;;;-1:-1:-1;87306:33:0;;;;;;;;;;;84560:143;;;;;;;;;;;;84660:42;84560:143;;93645:173;;;;;;:::i;:::-;;:::i;92522:132::-;;;;;;;;;;-1:-1:-1;92522:132:0;;;;;:::i;:::-;;:::i;90013:193::-;;;;;;;;;;-1:-1:-1;90013:193:0;;;;;:::i;:::-;;:::i;:::-;;;5629:6:1;5617:19;;;5599:38;;5587:2;5572:18;90013:193:0;5455:188:1;87525:22:0;;;;;;;;;;-1:-1:-1;87525:22:0;;;;-1:-1:-1;;;;;87525:22:0;;;;;;-1:-1:-1;;;;;5810:31:1;;;5792:50;;5780:2;5765:18;87525:22:0;5648:200:1;87162:45:0;;;;;;;;;;-1:-1:-1;87162:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6024:1:1;6013:21;;;;5995:40;;5983:2;5968:18;87162:45:0;5853:188:1;87426:37:0;;;;;;;;;;;;;;;;20504:152;;;;;;;;;;-1:-1:-1;20504:152:0;;;;;:::i;:::-;;:::i;87496:24::-;;;;;;;;;;;;;;;;87470:21;;;;;;;;;;;;;:::i;16046:233::-;;;;;;;;;;-1:-1:-1;16046:233:0;;;;;:::i;:::-;;:::i;65994:103::-;;;;;;;;;;;;;:::i;88694:81::-;;;;;;;;;;;;;:::i;88401:97::-;;;;;;;;;;;;;:::i;65346:87::-;;;;;;;;;;-1:-1:-1;65419:6:0;;-1:-1:-1;;;;;65419:6:0;65346:87;;19287:104;;;;;;;;;;;;;:::i;87382:39::-;;;;;;;;;;;;;;;;87214:40;;;;;;;;;;-1:-1:-1;87214:40:0;;;;;;;;93133:170;;;;;;;;;;-1:-1:-1;93133:170:0;;;;;:::i;:::-;;:::i;89658:349::-;;;;;;;;;;-1:-1:-1;89658:349:0;;;;;:::i;:::-;;:::i;87121:36::-;;;;;;;;;;-1:-1:-1;87121:36:0;;;;-1:-1:-1;;;87121:36:0;;;;;;88871:86;;;;;;;;;;;;;:::i;93824:221::-;;;;;;:::i;:::-;;:::i;88781:84::-;;;;;;;;;;;;;:::i;92753:224::-;;;;;;;;;;-1:-1:-1;92753:224:0;;;;;:::i;:::-;;:::i;91062:866::-;;;;;;:::i;:::-;;:::i;89410:116::-;;;;;;;;;;-1:-1:-1;89410:116:0;;;;;:::i;:::-;;:::i;89069:93::-;;;;;;;;;;-1:-1:-1;89069:93:0;;;;;:::i;:::-;;:::i;88609:79::-;;;;;;;;;;;;;:::i;26551:164::-;;;;;;;;;;-1:-1:-1;26551:164:0;;;;;:::i;:::-;;:::i;89532:120::-;;;;;;;;;;-1:-1:-1;89532:120:0;;;;;:::i;:::-;;:::i;89272:132::-;;;;;;;;;;-1:-1:-1;89272:132:0;;;;;:::i;:::-;;:::i;66252:201::-;;;;;;;;;;-1:-1:-1;66252:201:0;;;;;:::i;:::-;;:::i;89168:98::-;;;;;;;;;;-1:-1:-1;89168:98:0;;;;;:::i;:::-;;:::i;88504:99::-;;;;;;;;;;;;;:::i;88300:95::-;;;;;;;;;;;;;:::i;18209:639::-;18294:4;-1:-1:-1;;;;;;;;;18618:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18695:25:0;;;18618:102;:179;;;-1:-1:-1;;;;;;;;;;18772:25:0;;;18618:179;18598:199;18209:639;-1:-1:-1;;18209:639:0:o;19111:100::-;19165:13;19198:5;19191:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19111:100;:::o;25602:218::-;25678:7;25703:16;25711:7;25703;:16::i;:::-;25698:64;;25728:34;;-1:-1:-1;;;25728:34:0;;;;;;;;;;;25698:64;-1:-1:-1;25782:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25782:30:0;;25602:218::o;93309:159::-;93413:8;86081:30;86102:8;86081:20;:30::i;:::-;93430:32:::1;93444:8;93454:7;93430:13;:32::i;:::-;93309:159:::0;;;:::o;90212:844::-;53442:21;:19;:21::i;:::-;90327:20:::1;::::0;::::1;;90319:61;;;::::0;-1:-1:-1;;;90319:61:0;;11070:2:1;90319:61:0::1;::::0;::::1;11052:21:1::0;11109:2;11089:18;;;11082:30;11148;11128:18;;;11121:58;11196:18;;90319:61:0::1;;;;;;;;;90420:6;90408:18;;:9;;:18;;;;:::i;:::-;90395:9;:31;90387:74;;;;-1:-1:-1::0;;;90387:74:0::1;;;;;;;:::i;:::-;90503:8;::::0;-1:-1:-1;;;;;90503:8:0::1;90476:23;::::0;::::1;:14;15338:7:::0;15529:13;-1:-1:-1;;15529:31:0;;15283:296;90476:14:::1;:23;;;;:::i;:::-;:35;;90468:76;;;;-1:-1:-1::0;;;90468:76:0::1;;;;;;;:::i;:::-;90559:58;::::0;::::1;:49;49368:10:::0;90013:193;:::i;90559:49::-:1;:58;;;;90551:105;;;::::0;-1:-1:-1;;;90551:105:0;;12578:2:1;90551:105:0::1;::::0;::::1;12560:21:1::0;12617:2;12597:18;;;12590:30;12656:34;12636:18;;;12629:62;-1:-1:-1;;;12707:18:1;;;12700:32;12749:19;;90551:105:0::1;12376:398:1::0;90551:105:0::1;90683:150;90716:11;;90683:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;90742:17:0::1;::::0;;-1:-1:-1;49368:10:0;;-1:-1:-1;90801:19:0::1;90784:37;;;;;;;12928:2:1::0;12924:15;;;;-1:-1:-1;;12920:53:1;12908:66;;12999:2;12990:12;;12779:229;90784:37:0::1;;;;;;;;;;;;;90774:48;;;;;;90683:18;:150::i;:::-;90665:210;;;::::0;-1:-1:-1;;;90665:210:0;;13215:2:1;90665:210:0::1;::::0;::::1;13197:21:1::0;13254:2;13234:18;;;13227:30;-1:-1:-1;;;13273:18:1;;;13266:52;13335:18;;90665:210:0::1;13013:346:1::0;90665:210:0::1;90884:13;::::0;:33:::1;::::0;-1:-1:-1;;;;;;;;90884:13:0;;::::1;::::0;;;::::1;::::0;90907:9:::1;90884:33:::0;::::1;;;::::0;::::1;::::0;;;90907:9;90884:13;:33;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;90924:34:0::1;49368:10:::0;90951:6:::1;90924:34;;:5;:34::i;:::-;49368:10:::0;91001:33:::1;::::0;;;:12:::1;:33;::::0;;;;;:49:::1;::::0;91043:6;;91001:33;::::1;:49;:::i;:::-;49368:10:::0;90965:33:::1;::::0;;;:12:::1;:33;::::0;;;;:85;;-1:-1:-1;;90965:85:0::1;;::::0;;;;;;;::::1;::::0;;-1:-1:-1;;;54006:7:0;:22;-1:-1:-1;93309:159:0:o;93474:165::-;93583:4;-1:-1:-1;;;;;85901:18:0;;85909:10;85901:18;85897:83;;85936:32;85957:10;85936:20;:32::i;:::-;93596:37:::1;93615:4;93621:2;93625:7;93596:18;:37::i;:::-;93474:165:::0;;;;:::o;91934:582::-;53442:21;:19;:21::i;:::-;92010:13:::1;::::0;;;::::1;;;92002:45;;;::::0;-1:-1:-1;;;92002:45:0;;13760:2:1;92002:45:0::1;::::0;::::1;13742:21:1::0;13799:2;13779:18;;;13772:30;-1:-1:-1;;;13818:18:1;;;13811:49;13877:18;;92002:45:0::1;13558:343:1::0;92002:45:0::1;92087:6;92075:18;;:9;;:18;;;;:::i;:::-;92062:9;:31;92054:74;;;;-1:-1:-1::0;;;92054:74:0::1;;;;;;;:::i;:::-;92170:8;::::0;-1:-1:-1;;;;;92170:8:0::1;92143:23;::::0;::::1;:14;15338:7:::0;15529:13;-1:-1:-1;;15529:31:0;;15283:296;92143:14:::1;:23;;;;:::i;:::-;:35;;92135:76;;;;-1:-1:-1::0;;;92135:76:0::1;;;;;;;:::i;:::-;92220:24;92247:37;::::0;::::1;:28;49368:10:::0;92255:19:::1;-1:-1:-1::0;;;;;17021:25:0;16988:6;17021:25;;;:18;:25;;;;;;10579:3;17021:40;;16933:137;92247:28:::1;:37;;;;:::i;:::-;92320:18;::::0;92220:64;;-1:-1:-1;;;;92320:18:0;::::1;;;-1:-1:-1::0;;;;;92299:39:0;::::1;;;92291:82;;;::::0;-1:-1:-1;;;92291:82:0;;14293:2:1;92291:82:0::1;::::0;::::1;14275:21:1::0;14332:2;14312:18;;;14305:30;14371:32;14351:18;;;14344:60;14421:18;;92291:82:0::1;14091:354:1::0;92291:82:0::1;92382:13;::::0;:33:::1;::::0;-1:-1:-1;;;;;;;;92382:13:0;;::::1;::::0;;;::::1;::::0;92405:9:::1;92382:33:::0;::::1;;;::::0;::::1;::::0;;;92405:9;92382:13;:33;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;92422:34:0::1;49368:10:::0;92428:19:::1;92449:6;92422:34;;:5;:34::i;:::-;92463:47;49368:10:::0;92471:19:::1;-1:-1:-1::0;;;;;17347:25:0;17330:14;17347:25;;;:18;:25;;;;;;;-1:-1:-1;;;;;17547:32:0;10579:3;17584:24;;;17546:63;17620:34;;17258:404;92463:47:::1;91995:521;53486:20:::0;52880:1;54006:7;:22;53823:213;53486:20;91934:582;:::o;88201:93::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88261:20:::1;:27:::0;;-1:-1:-1;;88261:27:0::1;88284:4;88261:27;::::0;;88201:93::o;88963:101::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89040:7:::1;:18;89050:8:::0;89040:7;:18:::1;:::i;:::-;;88963:101:::0;:::o;93645:173::-;93758:4;-1:-1:-1;;;;;85901:18:0;;85909:10;85901:18;85897:83;;85936:32;85957:10;85936:20;:32::i;:::-;93771:41:::1;93794:4;93800:2;93804:7;93771:22;:41::i;92522:132::-:0;92575:13;;;;;;;92567:54;;;;-1:-1:-1;;;92567:54:0;;17199:2:1;92567:54:0;;;17181:21:1;17238:2;17218:18;;;17211:30;17277;17257:18;;;17250:58;17325:18;;92567:54:0;16997:352:1;92567:54:0;92628:20;92634:7;92643:4;92628:5;:20::i;90013:193::-;-1:-1:-1;;;;;90137:27:0;;90095:6;90137:27;;;:12;:27;;;;;;90095:6;;90133:31;;90137:27;;;;;90133:31;:::i;:::-;90110:54;90013:193;-1:-1:-1;;;90013:193:0:o;20504:152::-;20576:7;20619:27;20638:7;20619:18;:27::i;87470:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16046:233::-;16118:7;-1:-1:-1;;;;;16142:19:0;;16138:60;;16170:28;;-1:-1:-1;;;16170:28:0;;;;;;;;;;;16138:60;-1:-1:-1;;;;;;16216:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;16216:55:0;;16046:233::o;65994:103::-;65232:13;:11;:13::i;:::-;66059:30:::1;66086:1;66059:18;:30::i;:::-;65994:103::o:0;88694:81::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88748:13:::1;:21:::0;;-1:-1:-1;;88748:21:0::1;::::0;;88694:81::o;88401:97::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88463:22:::1;:29:::0;;-1:-1:-1;;88463:29:0::1;;;::::0;;88401:97::o;19287:104::-;19343:13;19376:7;19369:14;;;;;:::i;93133:170::-;93237:8;86081:30;86102:8;86081:20;:30::i;:::-;93254:43:::1;93278:8;93288;93254:23;:43::i;89658:349::-:0;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89851:6:::1;:13;89826:14;:21;:38;89818:65;;;::::0;-1:-1:-1;;;89818:65:0;;17746:2:1;89818:65:0::1;::::0;::::1;17728:21:1::0;17785:2;17765:18;;;17758:30;-1:-1:-1;;;17804:18:1;;;17797:44;17858:18;;89818:65:0::1;17544:338:1::0;89818:65:0::1;89896:8;89892:110;89914:14;:21;89910:1;:25;;;89892:110;;;89985:6;89992:1;89985:9;;;;;;;;;;:::i;:::-;;;;;;;89951:43;;:12;:31;89964:14;89979:1;89964:17;;;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;89951:31:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;89951:31:0;:43;;-1:-1:-1;;89951:43:0::1;;::::0;;;;;;;::::1;::::0;;89937:3;::::1;::::0;::::1;:::i;:::-;;;;89892:110;;88871:86:::0;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88930:13:::1;:21:::0;;-1:-1:-1;;88930:21:0::1;::::0;;88871:86::o;93824:221::-;93976:4;-1:-1:-1;;;;;85901:18:0;;85909:10;85901:18;85897:83;;85936:32;85957:10;85936:20;:32::i;:::-;93992:47:::1;94015:4;94021:2;94025:7;94034:4;93992:22;:47::i;:::-;93824:221:::0;;;;;:::o;88781:84::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88839:13:::1;:20:::0;;-1:-1:-1;;88839:20:0::1;::::0;::::1;::::0;;88781:84::o;92753:224::-;92826:13;92856:16;92864:7;92856;:16::i;:::-;92848:49;;;;-1:-1:-1;;;92848:49:0;;18423:2:1;92848:49:0;;;18405:21:1;18462:2;18442:18;;;18435:30;-1:-1:-1;;;18481:18:1;;;18474:50;18541:18;;92848:49:0;18221:344:1;92848:49:0;92935:7;92944:25;92961:7;92944:16;:25::i;:::-;92918:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92904:67;;92753:224;;;:::o;91062:866::-;53442:21;:19;:21::i;:::-;91179:22:::1;::::0;::::1;::::0;::::1;;;91171:65;;;::::0;-1:-1:-1;;;91171:65:0;;19797:2:1;91171:65:0::1;::::0;::::1;19779:21:1::0;19836:2;19816:18;;;19809:30;19875:32;19855:18;;;19848:60;19925:18;;91171:65:0::1;19595:354:1::0;91171:65:0::1;91276:6;91264:18;;:9;;:18;;;;:::i;:::-;91251:9;:31;91243:74;;;;-1:-1:-1::0;;;91243:74:0::1;;;;;;;:::i;:::-;91359:8;::::0;-1:-1:-1;;;;;91359:8:0::1;91332:23;::::0;::::1;:14;15338:7:::0;15529:13;-1:-1:-1;;15529:31:0;;15283:296;91332:14:::1;:23;;;;:::i;:::-;:35;;91324:76;;;;-1:-1:-1::0;;;91324:76:0::1;;;;;;;:::i;:::-;91409:24;91436:37;::::0;::::1;:28;49368:10:::0;91444:19:::1;49281:105:::0;91436:28:::1;:37;;;;:::i;:::-;91509:18;::::0;91409:64;;-1:-1:-1;;;;91509:18:0;::::1;;;-1:-1:-1::0;;;;;91488:39:0;::::1;;;91480:82;;;::::0;-1:-1:-1;;;91480:82:0;;14293:2:1;91480:82:0::1;::::0;::::1;14275:21:1::0;14332:2;14312:18;;;14305:30;14371:32;14351:18;;;14344:60;14421:18;;91480:82:0::1;14091:354:1::0;91480:82:0::1;91589:152;91622:11;;91589:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;91648:19:0::1;::::0;;-1:-1:-1;49368:10:0;;-1:-1:-1;91709:19:0::1;49281:105:::0;91589:152:::1;91571:214;;;::::0;-1:-1:-1;;;91571:214:0;;20156:2:1;91571:214:0::1;::::0;::::1;20138:21:1::0;20195:2;20175:18;;;20168:30;20234:26;20214:18;;;20207:54;20278:18;;91571:214:0::1;19954:348:1::0;91571:214:0::1;91794:13;::::0;:33:::1;::::0;-1:-1:-1;;;;;;;;91794:13:0;;::::1;::::0;;;::::1;::::0;91817:9:::1;91794:33:::0;::::1;;;::::0;::::1;::::0;;;91817:9;91794:13;:33;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;91834:34:0::1;49368:10:::0;91840:19:::1;49281:105:::0;91834:34:::1;91875:47;49368:10:::0;91883:19:::1;49281:105:::0;91875:47:::1;91164:764;53486:20:::0;52880:1;54006:7;:22;53823:213;89410:116;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89489:17:::1;:31:::0;89410:116::o;89069:93::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89136:8:::1;:20:::0;;-1:-1:-1;;89136:20:0::1;-1:-1:-1::0;;;;;89136:20:0;;;::::1;::::0;;;::::1;::::0;;89069:93::o;88609:79::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88662:13:::1;:20:::0;;-1:-1:-1;;88662:20:0::1;::::0;::::1;::::0;;88609:79::o;26551:164::-;-1:-1:-1;;;;;26672:25:0;;;26648:4;26672:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26551:164::o;89532:120::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89613:19:::1;:33:::0;89532:120::o;89272:132::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89358:18:::1;:40:::0;;-1:-1:-1;;;;89358:40:0::1;;::::0;;;::::1;-1:-1:-1::0;;;89358:40:0::1;::::0;;;::::1;::::0;;89272:132::o;66252:201::-;65232:13;:11;:13::i;:::-;-1:-1:-1;;;;;66341:22:0;::::1;66333:73;;;::::0;-1:-1:-1;;;66333:73:0;;20509:2:1;66333:73:0::1;::::0;::::1;20491:21:1::0;20548:2;20528:18;;;20521:30;20587:34;20567:18;;;20560:62;-1:-1:-1;;;20638:18:1;;;20631:36;20684:19;;66333:73:0::1;20307:402:1::0;66333:73:0::1;66417:28;66436:8;66417:18;:28::i;89168:98::-:0;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;89238:9:::1;:22:::0;89168:98::o;88504:99::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88567:22:::1;:30:::0;;-1:-1:-1;;88567:30:0::1;::::0;;88504:99::o;88300:95::-;93046:5;;-1:-1:-1;;;;;93046:5:0;49368:10;-1:-1:-1;;;;;93023:28:0;;93015:55;;;;-1:-1:-1;;;93015:55:0;;;;;;;:::i;:::-;88361:20:::1;:28:::0;;-1:-1:-1;;88361:28:0::1;::::0;;88300:95::o;26973:282::-;27038:4;27094:7;92740:1;27075:26;;:66;;;;;27128:13;;27118:7;:23;27075:66;:153;;;;-1:-1:-1;;27179:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27179:44:0;:49;;26973:282::o;86139:419::-;84660:42;86330:45;:49;86326:225;;86401:67;;-1:-1:-1;;;86401:67:0;;86452:4;86401:67;;;20926:34:1;-1:-1:-1;;;;;20996:15:1;;20976:18;;;20969:43;84660:42:0;;86401;;20861:18:1;;86401:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86396:144;;86496:28;;-1:-1:-1;;;86496:28:0;;-1:-1:-1;;;;;1697:32:1;;86496:28:0;;;1679:51:1;1652:18;;86496:28:0;1533:203:1;25035:408:0;25124:13;25140:16;25148:7;25140;:16::i;:::-;25124:32;-1:-1:-1;49368:10:0;-1:-1:-1;;;;;25173:28:0;;;25169:175;;25221:44;25238:5;49368:10;26551:164;:::i;25221:44::-;25216:128;;25293:35;;-1:-1:-1;;;25293:35:0;;;;;;;;;;;25216:128;25356:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25356:35:0;-1:-1:-1;;;;;25356:35:0;;;;;;;;;25407:28;;25356:24;;25407:28;;;;;;;25113:330;25035:408;;:::o;53522:293::-;52924:1;53656:7;;:19;53648:63;;;;-1:-1:-1;;;53648:63:0;;21475:2:1;53648:63:0;;;21457:21:1;21514:2;21494:18;;;21487:30;21553:33;21533:18;;;21526:61;21604:18;;53648:63:0;21273:355:1;53648:63:0;52924:1;53789:7;:18;53522:293::o;55110:190::-;55235:4;55288;55259:25;55272:5;55279:4;55259:12;:25::i;:::-;:33;;55110:190;-1:-1:-1;;;;55110:190:0:o;36622:2966::-;36695:20;36718:13;;;36746;;;36742:44;;36768:18;;-1:-1:-1;;;36768:18:0;;;;;;;;;;;36742:44;-1:-1:-1;;;;;37274:22:0;;;;;;:18;:22;;;;10343:2;37274:22;;;:71;;37312:32;37300:45;;37274:71;;;37588:31;;;:17;:31;;;;;-1:-1:-1;24324:15:0;;24298:24;24294:46;23893:11;23868:23;23864:41;23861:52;23851:63;;37588:173;;37823:23;;;;37588:31;;37274:22;;-1:-1:-1;;;;;;;;;;;37274:22:0;;38441:335;39102:1;39088:12;39084:20;39042:346;39143:3;39134:7;39131:16;39042:346;;39361:7;39351:8;39348:1;-1:-1:-1;;;;;;;;;;;39318:1:0;39315;39310:59;39196:1;39183:15;39042:346;;;39046:77;39421:8;39433:1;39421:13;39417:45;;39443:19;;-1:-1:-1;;;39443:19:0;;;;;;;;;;;39417:45;39479:13;:19;-1:-1:-1;93309:159:0;;;:::o;29241:2825::-;29383:27;29413;29432:7;29413:18;:27::i;:::-;29383:57;;29498:4;-1:-1:-1;;;;;29457:45:0;29473:19;-1:-1:-1;;;;;29457:45:0;;29453:86;;29511:28;;-1:-1:-1;;;29511:28:0;;;;;;;;;;;29453:86;29553:27;28349:24;;;:15;:24;;;;;28577:26;;29744:68;28577:26;29786:4;49368:10;29792:19;-1:-1:-1;;;;;27823:32:0;;;27667:28;;27952:20;;27974:30;;27949:56;;27364:659;29744:68;29739:180;;29832:43;29849:4;49368:10;26551:164;:::i;29832:43::-;29827:92;;29884:35;;-1:-1:-1;;;29884:35:0;;;;;;;;;;;29827:92;-1:-1:-1;;;;;29936:16:0;;29932:52;;29961:23;;-1:-1:-1;;;29961:23:0;;;;;;;;;;;29932:52;30133:15;30130:160;;;30273:1;30252:19;30245:30;30130:160;-1:-1:-1;;;;;30670:24:0;;;;;;;:18;:24;;;;;;30668:26;;-1:-1:-1;;30668:26:0;;;30739:22;;;;;;;;;30737:24;;-1:-1:-1;30737:24:0;;;23893:11;23868:23;23864:41;23851:63;-1:-1:-1;;;23851:63:0;31032:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31327:47:0;;:52;;31323:627;;31432:1;31422:11;;31400:19;31555:30;;;:17;:30;;;;;;:35;;31551:384;;31693:13;;31678:11;:28;31674:242;;31840:30;;;;:17;:30;;;;;:52;;;31674:242;31381:569;31323:627;31997:7;31993:2;-1:-1:-1;;;;;31978:27:0;31987:4;-1:-1:-1;;;;;31978:27:0;-1:-1:-1;;;;;;;;;;;31978:27:0;;;;;;;;;32016:42;29372:2694;;;29241:2825;;;:::o;32162:193::-;32308:39;32325:4;32331:2;32335:7;32308:39;;;;;;;;;;;;:16;:39::i;43810:3081::-;43890:27;43920;43939:7;43920:18;:27::i;:::-;43890:57;-1:-1:-1;43890:57:0;43960:12;;44082:35;44109:7;28238:27;28349:24;;;:15;:24;;;;;28577:26;;28349:24;;28136:485;44082:35;44025:92;;;;44134:13;44130:316;;;44255:68;44280:15;44297:4;49368:10;44303:19;49281:105;44255:68;44250:184;;44347:43;44364:4;49368:10;26551:164;:::i;44347:43::-;44342:92;;44399:35;;-1:-1:-1;;;44399:35:0;;;;;;;;;;;44342:92;44602:15;44599:160;;;44742:1;44721:19;44714:30;44599:160;-1:-1:-1;;;;;45361:24:0;;;;;;:18;:24;;;;;:60;;45389:32;45361:60;;;23893:11;23868:23;23864:41;23851:63;-1:-1:-1;;;23851:63:0;45659:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;45984:47:0;;:52;;45980:627;;46089:1;46079:11;;46057:19;46212:30;;;:17;:30;;;;;;:35;;46208:384;;46350:13;;46335:11;:28;46331:242;;46497:30;;;;:17;:30;;;;;:52;;;46331:242;46038:569;45980:627;46635:35;;46662:7;;46658:1;;-1:-1:-1;;;;;46635:35:0;;;-1:-1:-1;;;;;;;;;;;46635:35:0;46658:1;;46635:35;-1:-1:-1;;46858:12:0;:14;;;;;;-1:-1:-1;;;;43810:3081:0:o;21659:1275::-;21726:7;21761;;92740:1;21810:23;21806:1061;;21863:13;;21856:4;:20;21852:1015;;;21901:14;21918:23;;;:17;:23;;;;;;;-1:-1:-1;;;22007:24:0;;:29;;22003:845;;22672:113;22679:6;22689:1;22679:11;22672:113;;-1:-1:-1;;;22750:6:0;22732:25;;;;:17;:25;;;;;;22672:113;;22003:845;21878:989;21852:1015;22895:31;;-1:-1:-1;;;22895:31:0;;;;;;;;;;;65511:132;65419:6;;-1:-1:-1;;;;;65419:6:0;49368:10;65575:23;65567:68;;;;-1:-1:-1;;;65567:68:0;;21835:2:1;65567:68:0;;;21817:21:1;;;21854:18;;;21847:30;21913:34;21893:18;;;21886:62;21965:18;;65567:68:0;21633:356:1;66613:191:0;66706:6;;;-1:-1:-1;;;;;66723:17:0;;;-1:-1:-1;;;;;;66723:17:0;;;;;;;66756:40;;66706:6;;;66723:17;66706:6;;66756:40;;66687:16;;66756:40;66676:128;66613:191;:::o;26160:234::-;49368:10;26255:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26255:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26255:60:0;;;;;;;;;;26331:55;;540:41:1;;;26255:49:0;;49368:10;26331:55;;513:18:1;26331:55:0;;;;;;;26160:234;;:::o;32953:407::-;33128:31;33141:4;33147:2;33151:7;33128:12;:31::i;:::-;-1:-1:-1;;;;;33174:14:0;;;:19;33170:183;;33213:56;33244:4;33250:2;33254:7;33263:5;33213:30;:56::i;:::-;33208:145;;33297:40;;-1:-1:-1;;;33297:40:0;;;;;;;;;;;79868:716;79924:13;79975:14;79992:17;80003:5;79992:10;:17::i;:::-;80012:1;79992:21;79975:38;;80028:20;80062:6;-1:-1:-1;;;;;80051:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80051:18:0;-1:-1:-1;80028:41:0;-1:-1:-1;80193:28:0;;;80209:2;80193:28;80250:288;-1:-1:-1;;80282:5:0;-1:-1:-1;;;80419:2:0;80408:14;;80403:30;80282:5;80390:44;80480:2;80471:11;;;-1:-1:-1;80501:21:0;80250:288;80501:21;-1:-1:-1;80559:6:0;79868:716;-1:-1:-1;;;79868:716:0:o;55977:296::-;56060:7;56103:4;56060:7;56118:118;56142:5;:12;56138:1;:16;56118:118;;;56191:33;56201:12;56215:5;56221:1;56215:8;;;;;;;;:::i;:::-;;;;;;;56191:9;:33::i;:::-;56176:48;-1:-1:-1;56156:3:0;;;;:::i;:::-;;;;56118:118;;;-1:-1:-1;56253:12:0;55977:296;-1:-1:-1;;;55977:296:0:o;35444:716::-;35628:88;;-1:-1:-1;;;35628:88:0;;35607:4;;-1:-1:-1;;;;;35628:45:0;;;;;:88;;49368:10;;35695:4;;35701:7;;35710:5;;35628:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35628:88:0;;;;;;;;-1:-1:-1;;35628:88:0;;;;;;;;;;;;:::i;:::-;;;35624:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35911:6;:13;35928:1;35911:18;35907:235;;35957:40;;-1:-1:-1;;;35957:40:0;;;;;;;;;;;35907:235;36100:6;36094:13;36085:6;36081:2;36077:15;36070:38;35624:529;-1:-1:-1;;;;;;35787:64:0;-1:-1:-1;;;35787:64:0;;-1:-1:-1;35624:529:0;35444:716;;;;;;:::o;76857:922::-;76910:7;;-1:-1:-1;;;76988:15:0;;76984:102;;-1:-1:-1;;;77024:15:0;;;-1:-1:-1;77068:2:0;77058:12;76984:102;77113:6;77104:5;:15;77100:102;;77149:6;77140:15;;;-1:-1:-1;77184:2:0;77174:12;77100:102;77229:6;77220:5;:15;77216:102;;77265:6;77256:15;;;-1:-1:-1;77300:2:0;77290:12;77216:102;77345:5;77336;:14;77332:99;;77380:5;77371:14;;;-1:-1:-1;77414:1:0;77404:11;77332:99;77458:5;77449;:14;77445:99;;77493:5;77484:14;;;-1:-1:-1;77527:1:0;77517:11;77445:99;77571:5;77562;:14;77558:99;;77606:5;77597:14;;;-1:-1:-1;77640:1:0;77630:11;77558:99;77684:5;77675;:14;77671:66;;77720:1;77710:11;77765:6;76857:922;-1:-1:-1;;76857:922:0:o;63017:149::-;63080:7;63111:1;63107;:5;:51;;63242:13;63336:15;;;63372:4;63365:15;;;63419:4;63403:21;;63107:51;;;-1:-1:-1;63242:13:0;63336:15;;;63372:4;63365:15;63419:4;63403:21;;;63017:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:159::-;2427:20;;2487:6;2476:18;;2466:29;;2456:57;;2509:1;2506;2499:12;2524:693;2618:6;2626;2634;2687:2;2675:9;2666:7;2662:23;2658:32;2655:52;;;2703:1;2700;2693:12;2655:52;2743:9;2730:23;-1:-1:-1;;;;;2813:2:1;2805:6;2802:14;2799:34;;;2829:1;2826;2819:12;2799:34;2867:6;2856:9;2852:22;2842:32;;2912:7;2905:4;2901:2;2897:13;2893:27;2883:55;;2934:1;2931;2924:12;2883:55;2974:2;2961:16;3000:2;2992:6;2989:14;2986:34;;;3016:1;3013;3006:12;2986:34;3071:7;3064:4;3054:6;3051:1;3047:14;3043:2;3039:23;3035:34;3032:47;3029:67;;;3092:1;3089;3082:12;3029:67;3123:4;3115:13;;;;-1:-1:-1;3147:6:1;-1:-1:-1;3172:39:1;;3190:20;;;-1:-1:-1;3172:39:1;:::i;:::-;3162:49;;2524:693;;;;;:::o;3222:328::-;3299:6;3307;3315;3368:2;3356:9;3347:7;3343:23;3339:32;3336:52;;;3384:1;3381;3374:12;3336:52;3407:29;3426:9;3407:29;:::i;:::-;3397:39;;3455:38;3489:2;3478:9;3474:18;3455:38;:::i;:::-;3445:48;;3540:2;3529:9;3525:18;3512:32;3502:42;;3222:328;;;;;:::o;3555:184::-;3613:6;3666:2;3654:9;3645:7;3641:23;3637:32;3634:52;;;3682:1;3679;3672:12;3634:52;3705:28;3723:9;3705:28;:::i;3744:127::-;3805:10;3800:3;3796:20;3793:1;3786:31;3836:4;3833:1;3826:15;3860:4;3857:1;3850:15;3876:275;3947:2;3941:9;4012:2;3993:13;;-1:-1:-1;;3989:27:1;3977:40;;-1:-1:-1;;;;;4032:34:1;;4068:22;;;4029:62;4026:88;;;4094:18;;:::i;:::-;4130:2;4123:22;3876:275;;-1:-1:-1;3876:275:1:o;4156:407::-;4221:5;-1:-1:-1;;;;;4247:6:1;4244:30;4241:56;;;4277:18;;:::i;:::-;4315:57;4360:2;4339:15;;-1:-1:-1;;4335:29:1;4366:4;4331:40;4315:57;:::i;:::-;4306:66;;4395:6;4388:5;4381:21;4435:3;4426:6;4421:3;4417:16;4414:25;4411:45;;;4452:1;4449;4442:12;4411:45;4501:6;4496:3;4489:4;4482:5;4478:16;4465:43;4555:1;4548:4;4539:6;4532:5;4528:18;4524:29;4517:40;4156:407;;;;;:::o;4568:451::-;4637:6;4690:2;4678:9;4669:7;4665:23;4661:32;4658:52;;;4706:1;4703;4696:12;4658:52;4746:9;4733:23;-1:-1:-1;;;;;4771:6:1;4768:30;4765:50;;;4811:1;4808;4801:12;4765:50;4834:22;;4887:4;4879:13;;4875:27;-1:-1:-1;4865:55:1;;4916:1;4913;4906:12;4865:55;4939:74;5005:7;5000:2;4987:16;4982:2;4978;4974:11;4939:74;:::i;5264:186::-;5323:6;5376:2;5364:9;5355:7;5351:23;5347:32;5344:52;;;5392:1;5389;5382:12;5344:52;5415:29;5434:9;5415:29;:::i;6228:118::-;6314:5;6307:13;6300:21;6293:5;6290:32;6280:60;;6336:1;6333;6326:12;6351:315;6416:6;6424;6477:2;6465:9;6456:7;6452:23;6448:32;6445:52;;;6493:1;6490;6483:12;6445:52;6516:29;6535:9;6516:29;:::i;:::-;6506:39;;6595:2;6584:9;6580:18;6567:32;6608:28;6630:5;6608:28;:::i;:::-;6655:5;6645:15;;;6351:315;;;;;:::o;6671:183::-;6731:4;-1:-1:-1;;;;;6756:6:1;6753:30;6750:56;;;6786:18;;:::i;:::-;-1:-1:-1;6831:1:1;6827:14;6843:4;6823:25;;6671:183::o;6859:789::-;6910:5;6963:3;6956:4;6948:6;6944:17;6940:27;6930:55;;6981:1;6978;6971:12;6930:55;7017:6;7004:20;7043:4;7067:60;7083:43;7123:2;7083:43;:::i;:::-;7067:60;:::i;:::-;7161:15;;;7247:1;7243:10;;;;7231:23;;7227:32;;;7192:12;;;;7271:15;;;7268:35;;;7299:1;7296;7289:12;7268:35;7335:2;7327:6;7323:15;7347:272;7363:6;7358:3;7355:15;7347:272;;;7443:3;7430:17;7470:1;7519:5;7515:2;7504:21;7497:5;7494:32;7484:62;;7541:2;7537;7530:14;7484:62;-1:-1:-1;7559:18:1;;7597:12;;;;7380;;7347:272;;;-1:-1:-1;7637:5:1;6859:789;-1:-1:-1;;;;;;6859:789:1:o;7653:1140::-;7768:6;7776;7829:2;7817:9;7808:7;7804:23;7800:32;7797:52;;;7845:1;7842;7835:12;7797:52;7885:9;7872:23;-1:-1:-1;;;;;7955:2:1;7947:6;7944:14;7941:34;;;7971:1;7968;7961:12;7941:34;8009:6;7998:9;7994:22;7984:32;;8054:7;8047:4;8043:2;8039:13;8035:27;8025:55;;8076:1;8073;8066:12;8025:55;8112:2;8099:16;8134:4;8158:60;8174:43;8214:2;8174:43;:::i;8158:60::-;8252:15;;;8334:1;8330:10;;;;8322:19;;8318:28;;;8283:12;;;;8358:19;;;8355:39;;;8390:1;8387;8380:12;8355:39;8414:11;;;;8434:148;8450:6;8445:3;8442:15;8434:148;;;8516:23;8535:3;8516:23;:::i;:::-;8504:36;;8467:12;;;;8560;;;;8434:148;;;8601:5;-1:-1:-1;;8644:18:1;;8631:32;;-1:-1:-1;;8675:16:1;;;8672:36;;;8704:1;8701;8694:12;8672:36;;8727:60;8779:7;8768:8;8757:9;8753:24;8727:60;:::i;:::-;8717:70;;;7653:1140;;;;;:::o;8798:667::-;8893:6;8901;8909;8917;8970:3;8958:9;8949:7;8945:23;8941:33;8938:53;;;8987:1;8984;8977:12;8938:53;9010:29;9029:9;9010:29;:::i;:::-;9000:39;;9058:38;9092:2;9081:9;9077:18;9058:38;:::i;:::-;9048:48;;9143:2;9132:9;9128:18;9115:32;9105:42;;9198:2;9187:9;9183:18;9170:32;-1:-1:-1;;;;;9217:6:1;9214:30;9211:50;;;9257:1;9254;9247:12;9211:50;9280:22;;9333:4;9325:13;;9321:27;-1:-1:-1;9311:55:1;;9362:1;9359;9352:12;9311:55;9385:74;9451:7;9446:2;9433:16;9428:2;9424;9420:11;9385:74;:::i;:::-;9375:84;;;8798:667;;;;;;;:::o;9655:284::-;9713:6;9766:2;9754:9;9745:7;9741:23;9737:32;9734:52;;;9782:1;9779;9772:12;9734:52;9821:9;9808:23;-1:-1:-1;;;;;9864:5:1;9860:30;9853:5;9850:41;9840:69;;9905:1;9902;9895:12;9944:260;10012:6;10020;10073:2;10061:9;10052:7;10048:23;10044:32;10041:52;;;10089:1;10086;10079:12;10041:52;10112:29;10131:9;10112:29;:::i;:::-;10102:39;;10160:38;10194:2;10183:9;10179:18;10160:38;:::i;:::-;10150:48;;9944:260;;;;;:::o;10209:269::-;10266:6;10319:2;10307:9;10298:7;10294:23;10290:32;10287:52;;;10335:1;10332;10325:12;10287:52;10374:9;10361:23;10424:4;10417:5;10413:16;10406:5;10403:27;10393:55;;10444:1;10441;10434:12;10483:380;10562:1;10558:12;;;;10605;;;10626:61;;10680:4;10672:6;10668:17;10658:27;;10626:61;10733:2;10725:6;10722:14;10702:18;10699:38;10696:161;;10779:10;10774:3;10770:20;10767:1;10760:31;10814:4;10811:1;10804:15;10842:4;10839:1;10832:15;10696:161;;10483:380;;;:::o;11225:127::-;11286:10;11281:3;11277:20;11274:1;11267:31;11317:4;11314:1;11307:15;11341:4;11338:1;11331:15;11357:168;11430:9;;;11461;;11478:15;;;11472:22;;11458:37;11448:71;;11499:18;;:::i;11530:354::-;11732:2;11714:21;;;11771:2;11751:18;;;11744:30;11810:32;11805:2;11790:18;;11783:60;11875:2;11860:18;;11530:354::o;11889:125::-;11954:9;;;11975:10;;;11972:36;;;11988:18;;:::i;12019:352::-;12221:2;12203:21;;;12260:2;12240:18;;;12233:30;12299;12294:2;12279:18;;12272:58;12362:2;12347:18;;12019:352::o;13364:189::-;13462:1;13451:16;;;13433;;;;13429:39;-1:-1:-1;;13483:21:1;;13516:6;13506:17;;13480:44;13477:70;;;13527:18;;:::i;13906:180::-;-1:-1:-1;;;;;14011:10:1;;;14023;;;14007:27;;14046:11;;;14043:37;;;14060:18;;:::i;:::-;14043:37;13906:180;;;;:::o;14450:338::-;14652:2;14634:21;;;14691:2;14671:18;;;14664:30;-1:-1:-1;;;14725:2:1;14710:18;;14703:44;14779:2;14764:18;;14450:338::o;14919:545::-;15021:2;15016:3;15013:11;15010:448;;;15057:1;15082:5;15078:2;15071:17;15127:4;15123:2;15113:19;15197:2;15185:10;15181:19;15178:1;15174:27;15168:4;15164:38;15233:4;15221:10;15218:20;15215:47;;;-1:-1:-1;15256:4:1;15215:47;15311:2;15306:3;15302:12;15299:1;15295:20;15289:4;15285:31;15275:41;;15366:82;15384:2;15377:5;15374:13;15366:82;;;15429:17;;;15410:1;15399:13;15366:82;;15640:1352;15766:3;15760:10;-1:-1:-1;;;;;15785:6:1;15782:30;15779:56;;;15815:18;;:::i;:::-;15844:97;15934:6;15894:38;15926:4;15920:11;15894:38;:::i;:::-;15888:4;15844:97;:::i;:::-;15996:4;;16060:2;16049:14;;16077:1;16072:663;;;;16779:1;16796:6;16793:89;;;-1:-1:-1;16848:19:1;;;16842:26;16793:89;-1:-1:-1;;15597:1:1;15593:11;;;15589:24;15585:29;15575:40;15621:1;15617:11;;;15572:57;16895:81;;16042:944;;16072:663;14866:1;14859:14;;;14903:4;14890:18;;-1:-1:-1;;16108:20:1;;;16226:236;16240:7;16237:1;16234:14;16226:236;;;16329:19;;;16323:26;16308:42;;16421:27;;;;16389:1;16377:14;;;;16256:19;;16226:236;;;16230:3;16490:6;16481:7;16478:19;16475:201;;;16551:19;;;16545:26;-1:-1:-1;;16634:1:1;16630:14;;;16646:3;16626:24;16622:37;16618:42;16603:58;16588:74;;16475:201;-1:-1:-1;;;;;16722:1:1;16706:14;;;16702:22;16689:36;;-1:-1:-1;15640:1352:1:o;17354:185::-;17450:1;17421:16;;;17439;;;;17417:39;17502:5;17471:16;;-1:-1:-1;;17489:20:1;;17468:42;17465:68;;;17513:18;;:::i;17887:127::-;17948:10;17943:3;17939:20;17936:1;17929:31;17979:4;17976:1;17969:15;18003:4;18000:1;17993:15;18019:197;18057:3;18085:6;18126:2;18119:5;18115:14;18153:2;18144:7;18141:15;18138:41;;18159:18;;:::i;:::-;18208:1;18195:15;;18019:197;-1:-1:-1;;;18019:197:1:o;18570:1020::-;18746:3;18775:1;18808:6;18802:13;18838:36;18864:9;18838:36;:::i;:::-;18893:1;18910:18;;;18937:133;;;;19084:1;19079:356;;;;18903:532;;18937:133;-1:-1:-1;;18970:24:1;;18958:37;;19043:14;;19036:22;19024:35;;19015:45;;;-1:-1:-1;18937:133:1;;19079:356;19110:6;19107:1;19100:17;19140:4;19185:2;19182:1;19172:16;19210:1;19224:165;19238:6;19235:1;19232:13;19224:165;;;19316:14;;19303:11;;;19296:35;19359:16;;;;19253:10;;19224:165;;;19228:3;;;19418:6;19413:3;19409:16;19402:23;;18903:532;;;;;19466:6;19460:13;19482:68;19541:8;19536:3;19529:4;19521:6;19517:17;19482:68;:::i;:::-;19566:18;;18570:1020;-1:-1:-1;;;;18570:1020:1:o;21023:245::-;21090:6;21143:2;21131:9;21122:7;21118:23;21114:32;21111:52;;;21159:1;21156;21149:12;21111:52;21191:9;21185:16;21210:28;21232:5;21210:28;:::i;22126:135::-;22165:3;22186:17;;;22183:43;;22206:18;;:::i;:::-;-1:-1:-1;22253:1:1;22242:13;;22126:135::o;22266:489::-;-1:-1:-1;;;;;22535:15:1;;;22517:34;;22587:15;;22582:2;22567:18;;22560:43;22634:2;22619:18;;22612:34;;;22682:3;22677:2;22662:18;;22655:31;;;22460:4;;22703:46;;22729:19;;22721:6;22703:46;:::i;:::-;22695:54;22266:489;-1:-1:-1;;;;;;22266:489:1:o;22760:249::-;22829:6;22882:2;22870:9;22861:7;22857:23;22853:32;22850:52;;;22898:1;22895;22888:12;22850:52;22930:9;22924:16;22949:30;22973:5;22949:30;:::i
Swarm Source
ipfs://43cdd98e81ab19003b9a0397694f565aaff3ee71718264c44910e1afbe69fc77
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.