ERC-721
Overview
Max Total Supply
560 STORE
Holders
446
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 STORELoading...
Loading
Loading...
Loading
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
Storefront
Compiler Version
v0.8.24+commit.e11b9ed9
ZkSolc Version
v1.5.9
Optimization Enabled:
Yes with Mode 3
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import "./ERC721AStoreFront.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Storefront is ERC721AStoreFront, Ownable { uint256 public mintPrice; string public contractURI; constructor(string memory name, string memory symbol, uint256 _mintPrice, string memory _contractURI) ERC721AStoreFront(name, symbol) Ownable(msg.sender) // Set the deployer as the owner { mintPrice = _mintPrice; contractURI = _contractURI; } function mint(string memory cid) public payable { require(msg.value >= mintPrice, "Insufficient funds to mint."); _safeMint(msg.sender, cid, ''); } function setMintPrice(uint256 _newMintPrice) public onlyOwner { mintPrice = _newMintPrice; } function setContractURI(string calldata _newContractURI) public onlyOwner { contractURI = _newContractURI; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No funds available."); (bool success, ) = payable(owner()).call{value: balance}(""); require(success, "Transfer failed."); } // Override _startTokenId if you want your token IDs to start from 1 instead of 0 function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * 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 ERC721AStoreFront is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= string private constant BASE_URI = "ipfs://"; // 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; // tokenURI mapping to tokenID mapping(uint256 => string) private _tokenURIs; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @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 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // 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.selector); 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 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); 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, string memory cid, bytes memory _data ) internal virtual { uint256 tokenId = _currentIndex; // The next token ID to be minted _mint(to, 1); // Mint a single token _setTokenURI(tokenId, cid); // Directly use the CID as the token URI // If the recipient is a contract, ensure it implements IERC721Receiver if (to.code.length != 0) { if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } } function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(BASE_URI, _tokenURIs[tokenId])); } // Helper function to convert uint256 to string function uint256ToString(uint256 value) internal pure returns (string memory) { // Base case: value is 0 if (value == 0) { return "0"; } // Temp variable for counting digits uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } // Allocate enough space to store the string representation bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + value % 10)); value /= 10; } return string(buffer); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // 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`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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 + _spotMinted` 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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "optimizer": { "enabled": true, "mode": "3" }, "viaIR": true, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "abi" ] } }, "detectMissingLibraries": false, "forceEVMLA": false, "enableEraVMExtensions": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"string","name":"_contractURI","type":"string"}],"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":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"cid","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","type":"uint256"}],"name":"setMintPrice","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":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
9c4d535b000000000000000000000000000000000000000000000000000000000000000001000357ae5882f8ef14e5beae9ddae56e549b5257fa7b8142ea1da56c2c408f00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000147a6b4d61726b6574732073746f726566726f6e74000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553544f52450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d51366544674e68797a507378774d62714c7a554e674c54696f595745776f6a357151555342705558436d6e6e0000000000000000000000
Deployed Bytecode
0x0001000000000002000700000000000200000000000103550000008004000039000000400040043f0000006003100270000002eb033001970000000100200190000000580000c13d000000040030008c000004240000413d000000000201043b000000e002200270000003000020009c0000013c0000a13d000003010020009c000001560000213d000003090020009c000001900000213d0000030d0020009c000002020000613d0000030e0020009c0000021b0000613d0000030f0020009c000004240000c13d000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000402100370000000000402043b000002ee0040009c000004240000213d0000002302400039000000000032004b000004240000813d0000000405400039000000000251034f000000000202043b000002ee0020009c000004240000213d00000024044000390000000006420019000000000036004b000004240000213d0000000a03000039000000000303041a000002f6063001970000000003000411000000000036004b000004a80000c13d0000000c03000039000000000703041a000000010070019000000001067002700000007f0660618f0000001f0060008c00000000080000390000000108002039000000000787013f0000000100700190000002cc0000c13d000000200060008c000000500000413d000000000030043f0000001f072000390000000507700270000002fa0770009a000000200020008c000002fb070040410000001f066000390000000506600270000002fa0660009a000000000067004b000000500000813d000000000007041b0000000107700039000000000067004b0000004c0000413d0000001f0020008c0000056a0000a13d000000000030043f0000034c06200198000005760000c13d000002fb050000410000000007000019000005800000013d0000000002000416000000000002004b000004240000c13d0000001f02300039000002ec022001970000008002200039000000400020043f0000001f0530018f000002ed063001980000008002600039000000680000613d000000000701034f000000007807043c0000000004840436000000000024004b000000640000c13d000000000005004b000000750000613d000000000161034f0000000304500210000000000502043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f0000000000120435000000800030008c000004240000413d000000800200043d000002ee0020009c000004240000213d0000001f01200039000000000031004b0000000004000019000002ef04008041000002ef01100197000000000001004b0000000005000019000002ef05004041000002ef0010009c000000000504c019000000000005004b000004240000c13d00000080012000390000000001010433000002ee0010009c000002810000213d0000001f041000390000034c044001970000003f044000390000034c05400197000000400400043d0000000005540019000000000045004b00000000060000390000000106004039000002ee0050009c000002810000213d0000000100600190000002810000c13d0000008006300039000000400050043f0000000005140436000000a0022000390000000007210019000000000067004b000004240000213d000000000001004b000000a80000613d000000000700001900000000087500190000000009270019000000000909043300000000009804350000002007700039000000000017004b000000a10000413d000000000141001900000020011000390000000000010435000000a00800043d000002ee0080009c000004240000213d0000001f01800039000000000031004b0000000002000019000002ef02008041000002ef01100197000000000001004b0000000007000019000002ef07004041000002ef0010009c000000000702c019000000000007004b000004240000c13d00000080018000390000000007010433000002ee0070009c000002810000213d0000001f017000390000034c011001970000003f011000390000034c02100197000000400100043d0000000002210019000000000012004b00000000090000390000000109004039000002ee0020009c000002810000213d0000000100900190000002810000c13d000000400020043f0000000002710436000000a0088000390000000009870019000000000069004b000004240000213d000000000007004b000000db0000613d0000000009000019000000000a920019000000000b890019000000000b0b04330000000000ba04350000002009900039000000000079004b000000d40000413d000000000717001900000020077000390000000000070435000000e00700043d000002ee0070009c000004240000213d0000001f08700039000000000038004b0000000003000019000002ef03008041000002ef08800197000000000008004b0000000009000019000002ef09004041000002ef0080009c000000000903c019000000000009004b000004240000c13d00000080037000390000000003030433000002ee0030009c000002810000213d0000001f083000390000034c088001970000003f088000390000034c08800197000000400a00043d00000000088a00190000000000a8004b00000000090000390000000109004039000002ee0080009c000002810000213d0000000100900190000002810000c13d000000c00900043d000500000009001d000000400080043f00070000000a001d00000000083a0436000600000008001d000000a0077000390000000008730019000000000068004b000004240000213d000000000003004b000000060a000029000001130000613d000000000600001900000000086a00190000000009760019000000000909043300000000009804350000002006600039000000000036004b0000010c0000413d0000000703300029000000200330003900000000000304350000000006040433000002ee0060009c000002810000213d0000000203000039000000000703041a000000010870019000000001077002700000007f0770618f0000001f0070008c00000000090000390000000109002039000000000098004b000002cc0000c13d000000200070008c000001340000413d000000000030043f0000001f086000390000000508800270000002f00880009a000000200060008c000002f1080040410000001f077000390000000507700270000002f00770009a000000000078004b000001340000813d000000000008041b0000000108800039000000000078004b000001300000413d0000001f0060008c000005b30000a13d000000000030043f0000034c08600198000005db0000c13d0000002007000039000002f105000041000005e70000013d000003100020009c0000017d0000a13d000003110020009c000001ca0000213d000003150020009c000002240000613d000003160020009c000002290000613d000003170020009c000004240000c13d00000000010300190ba7080d0000040f000700000001001d000600000002001d000500000003001d000000400100043d000400000001001d0ba7081f0000040f000000040400002900000000000404350000000701000029000000060200002900000005030000290ba709870000040f000000000100001900000ba80001042e000003020020009c000001b70000213d000003060020009c000002490000613d000003070020009c0000026d0000613d000003080020009c000004240000c13d0000000001000416000000000001004b000004240000c13d0000000c03000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000552013f0000000100500190000002cc0000c13d000000800010043f000000000004004b0000038d0000613d000000000030043f000000000001004b0000000002000019000003920000613d000002fb030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000001750000413d000003920000013d000003180020009c000001df0000a13d000003190020009c000002870000613d0000031a0020009c000002af0000613d0000031b0020009c000004240000c13d0000000001000416000000000001004b000004240000c13d0000000101000039000000000101041a0000034d01100167000000000200041a0000000001120019000000800010043f0000033f0100004100000ba80001042e0000030a0020009c000002be0000613d0000030b0020009c000002d20000613d0000030c0020009c000004240000c13d000000840030008c000004240000413d0000000402100370000000000202043b000700000002001d000002f60020009c000004240000213d0000002402100370000000000202043b000600000002001d000002f60020009c000004240000213d0000006402100370000000000402043b000002ee0040009c000004240000213d0000002302400039000000000032004b000004240000813d0000000402400039000000000121034f000000000201043b00000024014000390ba7083c0000040f00000044020000390000000002200367000000000302043b0000000004010019000000070100002900000006020000290ba709870000040f000000000100001900000ba80001042e000003030020009c000003150000613d000003040020009c000003300000613d000003050020009c000004240000c13d000000240030008c000004240000413d0000000001000416000000000001004b000004240000c13d0ba70b760000040f00000004010000390000000001100367000000000101043b0000000b02000039000000000012041b000000000100001900000ba80001042e000003120020009c000003460000613d000003130020009c000003560000613d000003140020009c000004240000c13d000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000401100370000000000101043b000002f60010009c000004240000213d000000000001004b000003a30000c13d0000034001000041000000000010043f000003360100004100000ba9000104300000031c0020009c0000035e0000613d0000031d0020009c000004240000c13d0000000001000416000000000001004b000004240000c13d0000000203000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000552013f0000000100500190000002cc0000c13d000000800010043f000000000004004b0000038d0000613d000000000030043f000000000001004b0000000002000019000003920000613d000002f1030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000001fa0000413d000003920000013d0000000001000416000000000001004b000004240000c13d0000000a01000039000000000201041a000002f6032001970000000005000411000000000053004b000003720000c13d000002f702200197000000000021041b0000000001000414000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d020000390000000303000039000002f90400004100000000060000190ba70b9d0000040f0000000100200190000004240000613d000000000100001900000ba80001042e0000000001000416000000000001004b000004240000c13d0000000a01000039000000000101041a000002f601100197000000800010043f0000033f0100004100000ba80001042e00000000010300190ba7080d0000040f0ba708840000040f000000000100001900000ba80001042e0000000001000416000000000001004b000004240000c13d0000000a01000039000000000101041a000002f6021001970000000001000411000000000012004b000003770000c13d00000341010000410000000000100443000000000100041000000004001004430000000001000414000002eb0010009c000002eb01008041000000c00110021000000330011001c70000800a020000390ba70ba20000040f0000000100200190000007bc0000613d000000000301043b000000000003004b000003fc0000c13d000000400100043d00000044021000390000034403000041000000000032043500000024021000390000001303000039000004120000013d000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d00000080030000390000000401100370000000000201043b000000000002004b000004860000613d000000000100041a000000000021004b000004860000a13d000600000002001d000700000002001d000000000020043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000101041a000000000001004b000004320000c13d0000000702000029000000000002004b000000010220008a000002570000c13d000002a90000013d000000240030008c000004240000413d0000000402100370000000000402043b000002ee0040009c000004240000213d0000002302400039000000000032004b000004240000813d0000000405400039000000000251034f000000000202043b000002ee0020009c000002810000213d0000001f062000390000034c066001970000003f066000390000034c06600197000003210060009c0000041d0000a13d0000034201000041000000000010043f0000004101000039000000040010043f000002ff0100004100000ba900010430000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000401100370000000000201043b000000000002004b000004a40000613d000000000100041a000000000021004b000004a40000a13d000600000002001d000700000002001d000000000020043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000101041a000000000001004b000004990000c13d0000000702000029000000000002004b000000010220008a000002940000c13d0000034201000041000000000010043f0000001101000039000000040010043f000002ff0100004100000ba900010430000000440030008c000004240000413d0000000402100370000000000202043b000600000002001d000002f60020009c000004240000213d0000002401100370000000000101043b000000000001004b000003ae0000c13d0000034701000041000000000010043f000003360100004100000ba9000104300000000001000416000000000001004b000004240000c13d0000000303000039000000000203041a000000010420019000000001012002700000007f0110618f0000001f0010008c00000000050000390000000105002039000000000552013f00000001005001900000037c0000613d0000034201000041000000000010043f0000002201000039000000040010043f000002ff0100004100000ba900010430000000440030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000402100370000000000202043b000700000002001d000002f60020009c000004240000213d0000002401100370000000000201043b000000000002004b0000000001000039000000010100c039000600000002001d000000000012004b000004240000c13d0000000001000411000000000010043f0000000701000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b0000000702000029000000000020043f000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000201041a0000034e022001970000000603000029000000000232019f000000000021041b000000400100043d0000000000310435000002eb0010009c000002eb0100804100000040011002100000000002000414000002eb0020009c000002eb02008041000000c002200210000000000112019f0000032e011001c70000800d0200003900000003030000390000033e0400004100000000050004110000000706000029000002160000013d000000440030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000402100370000000000202043b000002f60020009c000004240000213d0000002401100370000000000101043b000700000001001d000002f60010009c000004240000213d000000000020043f0000000701000039000000200010043f000000400200003900000000010000190ba70b880000040f00000007020000290ba708740000040f000000000101041a000000ff001001900000000001000039000000010100c0390000034f0000013d000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000401100370000000000601043b000002f60060009c000004240000213d0000000a01000039000000000201041a000002f6032001970000000005000411000000000053004b000003720000c13d000000000006004b000004260000c13d000002fe01000041000000800010043f000000840000043f0000031f0100004100000ba900010430000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000401100370000000000101043b0ba70b420000040f000002f601100197000000400200043d0000000000120435000002eb0020009c000002eb02008041000000400120021000000320011001c700000ba80001042e0000000001000416000000000001004b000004240000c13d0000000b01000039000000000101041a000000800010043f0000033f0100004100000ba80001042e000000240030008c000004240000413d0000000002000416000000000002004b000004240000c13d0000000401100370000000000201043b0000033300200198000004240000c13d00000001010000390000033402200197000003490020009c0000035b0000613d0000034a0020009c0000035b0000613d0000034b0020009c000000000100c019000000800010043f0000033f0100004100000ba80001042e0000031e01000041000000800010043f000000840050043f0000031f0100004100000ba9000104300000031e02000041000000800020043f000000840010043f0000031f0100004100000ba900010430000000800010043f000000000004004b0000038d0000613d000000000030043f000000000001004b0000000002000019000003920000613d000002f4030000410000000002000019000000000403041a000000a005200039000000000045043500000001033000390000002002200039000000000012004b000003850000413d000003920000013d0000034e02200197000000a00020043f000000000001004b00000020020000390000000002006039000000200220003900000080010000390ba7082a0000040f000000400100043d000700000001001d00000080020000390ba707f80000040f00000007020000290000000001210049000002eb0010009c000002eb010080410000006001100210000002eb0020009c000002eb020080410000004002200210000000000121019f00000ba80001042e000000000010043f0000000501000039000000200010043f000000400200003900000000010000190ba70b880000040f000000000101041a000002ee01100197000000800010043f0000033f0100004100000ba80001042e000500000001001d000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000101041a000000000001004b000003d60000c13d000000000100041a0000000502000029000000000021004b000002ba0000a13d000000010220008a000700000002001d000000000020043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000101041a000000000001004b0000000702000029000003c30000613d00000329001001980000000502000029000002ba0000c13d000002f6011001970000000003000411000000000013004b000700000001001d000005470000c13d000000000020043f0000000601000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d0000000602000029000002f606200197000000000101043b000000000201041a000002f702200197000000000262019f000000000021041b0000000001000414000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d020000390000000403000039000003460400004100000007050000290000000507000029000002160000013d0000000a01000039000000000101041a0000000002000414000002f604100197000002eb0020009c000002eb02008041000000c001200210000002f8011001c7000080090200003900000000050000190ba70b9d0000040f0000006003100270000002eb03300198000004ad0000c13d0000000100200190000002190000c13d000000400100043d0000004402100039000003430300004100000000003204350000002402100039000000100300003900000000003204350000032c020000410000000000210435000000040210003900000020030000390000000000320435000002eb0010009c000002eb01008041000000400110021000000339011001c700000ba90001043000000024044000390000008006600039000000400060043f000000800020043f0000000004420019000000000034004b000004d30000a13d000000000100001900000ba900010430000002f702200197000000000262019f000000000021041b0000000001000414000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d020000390000000303000039000002f904000041000002160000013d000000400300043d0000032900100198000004860000c13d0000033a0030009c000002810000213d0000004001300039000000400010043f0000000701000039000700000003001d00000000021304360000033b01000041000500000002001d00000000001204350000000601000029000000000010043f0000000801000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000400200043d000600000002001d0000002002200039000000000101043b00000007030000290000000006030433000000000006004b00000005070000290000045d0000613d000000000300001900000000042300190000000005730019000000000505043300000000005404350000002003300039000000000063004b000004560000413d000700000006001d0000000002260019000500000002001d0000000000020435000000000201041a000000010320019000000001042002700000007f0440618f000400000004001d0000001f0040008c00000000040000390000000104002039000000000442013f0000000100400190000002cc0000c13d000000000003004b000005910000613d000000000010043f0000000001000414000002eb0010009c000002eb01008041000000c0011002100000032e011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d0000000406000029000000000006004b0000000505000029000005950000613d000000000101043b00000000020000190000000003520019000000000401041a000000000043043500000001011000390000002002200039000000000062004b0000047e0000413d000005950000013d00000064013000390000033c02000041000000000021043500000044013000390000033d02000041000000000021043500000024013000390000002f0200003900000000002104350000032c010000410000000000130435000000040130003900000020020000390000000000210435000002eb0030009c000002eb0300804100000040013002100000032d011001c700000ba90001043000000329001001980000000601000029000004a40000c13d000000000010043f0000000601000039000000200010043f000000400200003900000000010000190ba70b880000040f000000000101041a0000034e0000013d0000034801000041000000000010043f000003360100004100000ba9000104300000031e01000041000000800010043f000000840030043f0000031f0100004100000ba9000104300000001f04300039000002ec044001970000003f044000390000033204400197000000400500043d0000000004450019000000000054004b00000000060000390000000106004039000002ee0040009c000002810000213d0000000100600190000002810000c13d000000400040043f0000001f0430018f0000000006350436000002ed053001980000000003560019000004c50000613d000000000701034f000000007807043c0000000006860436000000000036004b000004c10000c13d000000000004004b0000040a0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000040a0000013d0000002003500039000000000331034f0000034c042001980000001f0520018f000000a001400039000004df0000613d000000a006000039000000000703034f000000007807043c0000000006860436000000000016004b000004db0000c13d000000000005004b000004ec0000613d000000000343034f0000000304500210000000000501043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000310435000000a0012000390000000000010435000000400300043d0000000b01000039000000000101041a0000000002000416000000000012004b000005040000813d00000044013000390000033802000041000000000021043500000024013000390000001b0200003900000000002104350000032c010000410000000000130435000000040130003900000020020000390000000000210435000002eb0030009c000002eb03008041000000400130021000000339011001c700000ba900010430000003220030009c000002810000213d0000002001300039000400000001001d000000400010043f000500000003001d0000000000030435000000000100041a000700000001001d000003230100004100000000001004430000000001000414000002eb0010009c000002eb01008041000000c00110021000000324011001c70000800b020000390ba70ba20000040f0000000100200190000007bc0000613d000000000101043b000600000001001d0000000701000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d0000000002000411000002f6032001970000000602000029000000a002200210000000000232019f00000326022001c7000000000101043b000000000021041b000300000003001d000000000030043f0000000501000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000201041a000003270220009a000000000021041b0000000001000411000000000001004b0000059e0000c13d0000033701000041000000000010043f000003360100004100000ba900010430000000000010043f0000000701000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b0000000002000411000002f602200197000000000020043f000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000101041a000000ff001001900000000502000029000003de0000c13d0000034501000041000000000010043f000003360100004100000ba900010430000000000002004b0000000004000019000005700000613d0000002004500039000000000141034f000000000401043b00000003012002100000034d0110027f0000034d01100167000000000414016f00000001012002100000058d0000013d000002fb0500004100000000070000190000000008470019000000000881034f000000000808043b000000000085041b00000001055000390000002007700039000000000067004b000005780000413d000000000026004b0000058b0000813d0000000306200210000000f80660018f0000034d0660027f0000034d066001670000000004470019000000000141034f000000000101043b000000000161016f000000000015041b00000001010000390000000104200210000000000114019f000000000013041b000000000100001900000ba80001042e0000034e0120019700000005020000290000000000120435000000040600002900000007026000290000000601000029000000000021043500000020022000390ba7082a0000040f000000400100043d000700000001001d0000000602000029000003980000013d0000000701000029000600010010003d00000000010000190000000100100190000005be0000c13d0000000001000414000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d02000039000000040300003900000328040000410000000005000019000000000600041100000007070000290ba70b9d0000040f00000001002001900000000101000039000005a10000c13d000004240000013d000000000006004b0000000004000019000005f30000613d00000003046002100000034d0440027f0000034d044001670000000005050433000000000445016f0000000105600210000000000454019f000005f30000013d0000000601000029000000000010041b0000000701000029000000010110008a0000034f0010009c000006f80000813d0000000701000029000600000001001d000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000000000101041a000000000001004b000006a40000c13d0000000601000029000000000001004b000000010110008a000005c50000c13d000002a90000013d000002f1050000410000002007000039000000010980008a0000000509900270000002f20990009a000000000a470019000000000a0a04330000000000a5041b00000020077000390000000105500039000000000095004b000005e00000c13d000000000068004b000005f10000813d0000000308600210000000f80880018f0000034d0880027f0000034d0880016700000000044700190000000004040433000000000484016f000000000045041b000000010460021000000001044001bf000000000043041b0000000004010433000002ee0040009c000002810000213d0000000303000039000000000603041a000000010060019000000001056002700000007f0550618f0000001f0050008c00000000070000390000000107002039000000000676013f0000000100600190000002cc0000c13d000000200050008c000006130000413d000000000030043f0000001f064000390000000506600270000002f30660009a000000200040008c000002f4060040410000001f055000390000000505500270000002f30550009a000000000056004b000006130000813d000000000006041b0000000106600039000000000056004b0000060f0000413d000000200040008c0000061b0000413d000000000030043f0000034c06400198000006260000c13d0000002005000039000002f402000041000006320000013d000000000004004b00000000010000190000063e0000613d00000003014002100000034d0110027f0000034d011001670000000002020433000000000112016f0000000102400210000000000121019f0000063e0000013d000002f4020000410000002005000039000000010760008a0000000507700270000002f50770009a00000000081500190000000008080433000000000082041b00000020055000390000000102200039000000000072004b0000062b0000c13d000000000046004b0000063c0000813d0000000306400210000000f80660018f0000034d0660027f0000034d0660016700000000011500190000000001010433000000000161016f000000000012041b000000010140021000000001011001bf000000000013041b0000000101000039000400000001001d000000000010041b0000000001000411000000000001004b0000064f0000c13d000000400100043d000002fe02000041000000000021043500000004021000390000000000020435000002eb0010009c000002eb010080410000004001100210000002ff011001c700000ba900010430000002f6061001970000000a01000039000000000201041a000002f703200197000000000363019f000000000031041b0000000001000414000002f605200197000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d020000390000000303000039000002f9040000410ba70b9d0000040f0000000100200190000004240000613d0000000b010000390000000502000029000000000021041b00000007010000290000000002010433000002ee0020009c000002810000213d0000000c01000039000000000401041a000000010040019000000001034002700000007f0330618f0000001f0030008c00000000050000390000000105002039000000000454013f0000000100400190000002cc0000c13d000000200030008c000006840000413d000000000010043f0000001f042000390000000504400270000002fa0440009a000000200020008c000002fb040040410000001f033000390000000503300270000002fa0330009a000000000034004b000006840000813d000000000004041b0000000104400039000000000034004b000006800000413d000000200020008c00000020030000390000070c0000413d000000000010043f0000034c06200198000002fb0400004100000000050300190000000709000029000006980000613d0000002005000039000000010760008a0000000507700270000002fc0770009a00000000089500190000000008080433000000000084041b00000020055000390000000104400039000000000074004b000006910000c13d000000000026004b000006a20000813d0000000306200210000000f80660018f0000034d0660027f0000034d0660016700000007055000290000000005050433000000000565016f000000000054041b0000000104200210000007160000013d0000032900100198000006f80000c13d0000000701000029000000000010043f0000000801000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000000101043b000600000001001d000000800100043d000200000001001d000002ee0010009c000002810000213d0000000601000029000000000101041a000000010010019000000001021002700000007f0220618f000100000002001d0000001f0020008c00000000020000390000000102002039000000000121013f0000000100100190000002cc0000c13d0000000101000029000000200010008c000006e40000413d0000000601000029000000000010043f0000000001000414000002eb0010009c000002eb01008041000000c0011002100000032e011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d00000002030000290000001f023000390000000502200270000000200030008c0000000002004019000000000301043b00000001010000290000001f01100039000000050110027000000000011300190000000002230019000000000012004b000006e40000813d000000000002041b0000000102200039000000000012004b000006e00000413d0000000201000029000000200010008c0000071c0000413d0000000601000029000000000010043f0000000001000414000002eb0010009c000002eb01008041000000c0011002100000032e011001c700008010020000390ba70ba20000040f0000000100200190000004240000613d000000200200008a0000000202200180000000000101043b000007280000c13d000000a003000039000007360000013d000000400100043d00000064021000390000032a03000041000000000032043500000044021000390000032b03000041000000000032043500000024021000390000002c0300003900000000003204350000032c020000410000000000210435000000040210003900000020030000390000000000320435000002eb0010009c000002eb0100804100000040011002100000032d011001c700000ba900010430000000000002004b0000000004000019000007170000613d00000003042002100000034d0440027f0000034d0440016700000006050000290000000005050433000000000445016f000400010020021800000004044001af000000000041041b00000100003004430000012000000443000002fd0100004100000ba80001042e000000020000006b0000000001000019000007200000613d000000a00100043d000000020400002900000003024002100000034d0220027f0000034d02200167000000000121016f0000000102400210000000000121019f000007430000013d000000010320008a0000000503300270000000000331001900000020040000390000000103300039000000000504001900000080044000390000000004040433000000000041041b00000020045000390000000101100039000000000031004b0000072d0000c13d000000a003500039000000020020006c000007400000813d00000002020000290000000302200210000000f80220018f0000034d0220027f0000034d022001670000000003030433000000000223016f000000000021041b0000000201000029000000010110021000000001011001bf0000000602000029000000000012041b0000032f010000410000000000100443000000000100041100000004001004430000000001000414000002eb0010009c000002eb01008041000000c00110021000000330011001c700008002020000390ba70ba20000040f0000000100200190000007bc0000613d000000000101043b000000000001004b000002190000613d000000400300043d00000064013000390000008002000039000200000002001d000000000021043500000044013000390000000702000029000000000021043500000331010000410000000000130435000000040130003900000003020000290000000000210435000000240130003900000000000104350000000501000029000000000101043300000084023000390000000000120435000600000003001d000000a402300039000000000001004b0000000406000029000007750000613d000000000300001900000000042300190000000005630019000000000505043300000000005404350000002003300039000000000013004b0000076e0000413d0000001f031000390000034c0330019700000000012100190000000000010435000000a401300039000002eb0010009c000002eb0100804100000060011002100000000602000029000002eb0020009c000002eb020080410000004002200210000000000121019f0000000002000414000002eb0020009c000002eb02008041000000c002200210000000000112019f00000003020000290ba70b9d0000040f0000006003100270000002eb03300197000000200030008c000000200400003900000000040340190000001f0640018f00000020074001900000000605700029000007980000613d000000000801034f0000000609000029000000008a08043c0000000009a90436000000000059004b000007940000c13d000000000006004b000007a50000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f00000000006504350000000100200190000007bd0000613d0000001f01400039000000600210018f0000000601200029000000000021004b00000000020000390000000102004039000002ee0010009c000002810000213d0000000100200190000002810000c13d000000400010043f000000200030008c000004240000413d000000060100002900000000010104330000033300100198000004240000c13d0000033401100197000003310010009c000002190000613d000007eb0000013d000000000001042f000000000003004b000007c10000c13d0000006002000039000007e80000013d0000001f02300039000002ec022001970000003f022000390000033204200197000000400200043d0000000004420019000000000024004b00000000050000390000000105004039000002ee0040009c000002810000213d0000000100500190000002810000c13d000000400040043f0000001f0430018f0000000006320436000002ed05300198000200000006001d0000000003560019000007db0000613d000000000601034f0000000207000029000000006806043c0000000007870436000000000037004b000007d70000c13d000000000004004b000007e80000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000001020433000000000001004b000007ef0000c13d0000033501000041000000000010043f000003360100004100000ba9000104300000000202000029000002eb0020009c000002eb020080410000004002200210000002eb0010009c000002eb010080410000006001100210000000000121019f00000ba90001043000000020030000390000000004310436000000003202043400000000002404350000004001100039000000000002004b000008070000613d000000000400001900000000051400190000000006430019000000000606043300000000006504350000002004400039000000000024004b000008000000413d000000000312001900000000000304350000001f022000390000034c022001970000000001120019000000000001042d000003500010009c0000081d0000213d000000630010008c0000081d0000a13d00000000030003670000000401300370000000000101043b000002f60010009c0000081d0000213d0000002402300370000000000202043b000002f60020009c0000081d0000213d0000004403300370000000000303043b000000000001042d000000000100001900000ba900010430000003510010009c000008240000813d0000002001100039000000400010043f000000000001042d0000034201000041000000000010043f0000004101000039000000040010043f000002ff0100004100000ba9000104300000001f022000390000034c022001970000000001120019000000000021004b00000000020000390000000102004039000002ee0010009c000008360000213d0000000100200190000008360000c13d000000400010043f000000000001042d0000034201000041000000000010043f0000004101000039000000040010043f000002ff0100004100000ba900010430000003520020009c0000086c0000813d00000000040100190000001f012000390000034c011001970000003f011000390000034c05100197000000400100043d0000000005510019000000000015004b00000000070000390000000107004039000002ee0050009c0000086c0000213d00000001007001900000086c0000c13d000000400050043f00000000052104360000000007420019000000000037004b000008720000213d0000034c062001980000001f0720018f000000000440036700000000036500190000085c0000613d000000000804034f0000000009050019000000008a08043c0000000009a90436000000000039004b000008580000c13d000000000007004b000008690000613d000000000464034f0000000306700210000000000703043300000000076701cf000000000767022f000000000404043b0000010006600089000000000464022f00000000046401cf000000000474019f000000000043043500000000022500190000000000020435000000000001042d0000034201000041000000000010043f0000004101000039000000040010043f000002ff0100004100000ba900010430000000000100001900000ba900010430000002f602200197000000000020043f000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000008820000613d000000000101043b000000000001042d000000000100001900000ba9000104300007000000000002000300000002001d000500000001001d000600000003001d000000000003004b000009760000613d0000000601000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b000000000101041a000000000001004b000008b20000c13d000000000100041a000000060010006c000009760000a13d0000000602000029000000010220008a000700000002001d000000000020043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b000000000101041a000000000001004b00000007020000290000089f0000613d0000032900100198000009760000c13d0000000502000029000002f602200197000400000001001d000002f601100197000700000002001d000000000021004b0000097a0000c13d0000000601000029000000000010043f0000000601000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000201043b000000000302041a0000000001000411000002f604100197000000070040006c000008f30000613d000000000034004b000008f30000613d000500000004001d000100000003001d000200000002001d0000000701000029000000000010043f0000000701000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b0000000502000029000000000020043f000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b000000000101041a000000ff0010019000000002020000290000000103000029000009830000613d000000000003004b000008f60000613d000000000002041b0000000701000029000000000010043f0000000501000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b000000000201041a000000010220008a000000000021041b0000000301000029000002f601100197000500000001001d000000000010043f0000000501000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b000000000201041a0000000102200039000000000021041b000003230100004100000000001004430000000001000414000002eb0010009c000002eb01008041000000c00110021000000324011001c70000800b020000390ba70ba20000040f00000001002001900000097e0000613d000000000101043b000300000001001d0000000601000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d0000000302000029000000a00220021000000005022001af00000326022001c7000000000101043b000000000021041b00000004010000290000032600100198000009630000c13d00000006010000290000000101100039000300000001001d000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b000000000101041a000000000001004b000009630000c13d000000000100041a000000030010006b000009630000613d0000000301000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f0000000100200190000009740000613d000000000101043b0000000402000029000000000021041b0000000001000414000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d02000039000000040300003900000328040000410000000705000029000000050600002900000006070000290ba70b9d0000040f0000000100200190000009740000613d000000050000006b0000097f0000613d000000000001042d000000000100001900000ba9000104300000034701000041000000000010043f000003360100004100000ba9000104300000035301000041000000000010043f000003360100004100000ba900010430000000000001042f0000035501000041000000000010043f000003360100004100000ba9000104300000035401000041000000000010043f000003360100004100000ba9000104300008000000000002000100000004001d000500000002001d000600000001001d000700000003001d000000000003004b00000af00000613d0000000701000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b000000000101041a000000000001004b000009b60000c13d000000000100041a000000070010006c00000af00000a13d0000000702000029000000010220008a000800000002001d000000000020043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b000000000101041a000000000001004b0000000802000029000009a30000613d000003290010019800000af00000c13d0000000602000029000002f602200197000300000001001d000002f601100197000800000002001d000000000021004b00000af50000c13d0000000701000029000000000010043f0000000601000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000301043b000000000403041a0000000001000411000002f602100197000400000002001d000000080020006c000009f70000613d000000040040006b000009f70000613d000200000004001d000600000003001d0000000801000029000000000010043f0000000701000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b0000000402000029000000000020043f000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b000000000101041a000000ff001001900000000603000029000000020400002900000b010000613d000000000004004b000009fa0000613d000000000003041b0000000801000029000000000010043f0000000501000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b000000000201041a000000010220008a000000000021041b0000000501000029000002f601100197000600000001001d000000000010043f0000000501000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b000000000201041a0000000102200039000000000021041b000003230100004100000000001004430000000001000414000002eb0010009c000002eb01008041000000c00110021000000324011001c70000800b020000390ba70ba20000040f000000010020019000000af40000613d000000000101043b000200000001001d0000000701000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d0000000202000029000000a00220021000000006022001af00000326022001c7000000000101043b000000000021041b0000000301000029000003260010019800000a670000c13d00000007010000290000000101100039000200000001001d000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b000000000101041a000000000001004b00000a670000c13d000000000100041a000000020010006b00000a670000613d0000000201000029000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000aee0000613d000000000101043b0000000302000029000000000021041b0000000001000414000002eb0010009c000002eb01008041000000c001100210000002f8011001c70000800d02000039000000040300003900000328040000410000000805000029000000060600002900000007070000290ba70b9d0000040f000000010020019000000aee0000613d000000060000006b00000af90000613d0000032f010000410000000000100443000000050100002900000004001004430000000001000414000002eb0010009c000002eb01008041000000c00110021000000330011001c700008002020000390ba70ba20000040f000000010020019000000af40000613d000000000101043b000000000001004b00000aed0000613d000000400700043d00000064017000390000008002000039000500000002001d0000000000210435000000440170003900000007020000290000000000210435000000240170003900000008020000290000000000210435000003310100004100000000001704350000000401700039000000040200002900000000002104350000008402700039000000010100002900000000310104340000000000120435000000a402700039000000000001004b00000aa60000613d000000000400001900000000052400190000000006430019000000000606043300000000006504350000002004400039000000000014004b00000a9f0000413d0000001f031000390000034c0330019700000000012100190000000000010435000000a401300039000002eb0010009c000002eb010080410000006001100210000002eb0070009c000002eb0200004100000000020740190000004002200210000000000121019f0000000002000414000002eb0020009c000002eb02008041000000c002200210000000000112019f0000000602000029000800000007001d0ba70b9d0000040f000000080b0000290000006003100270000002eb03300197000000200030008c000000200400003900000000040340190000001f0640018f000000200740019000000000057b001900000acb0000613d000000000801034f00000000090b0019000000008a08043c0000000009a90436000000000059004b00000ac70000c13d000000000006004b00000ad80000613d000000000771034f0000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000000010020019000000afd0000613d0000001f01400039000000600210018f0000000001b20019000000000021004b00000000020000390000000102004039000002ee0010009c00000b330000213d000000010020019000000b330000c13d000000400010043f000000200030008c00000aee0000413d00000000010b0433000003330010019800000aee0000c13d0000033401100197000003310010009c00000b2f0000c13d000000000001042d000000000100001900000ba9000104300000034701000041000000000010043f000003360100004100000ba900010430000000000001042f0000035301000041000000000010043f000003360100004100000ba9000104300000035501000041000000000010043f000003360100004100000ba900010430000000000003004b00000b050000c13d000000600200003900000b2c0000013d0000035401000041000000000010043f000003360100004100000ba9000104300000001f02300039000002ec022001970000003f022000390000033204200197000000400200043d0000000004420019000000000024004b00000000050000390000000105004039000002ee0040009c00000b330000213d000000010050019000000b330000c13d000000400040043f0000001f0430018f0000000006320436000002ed05300198000500000006001d000000000356001900000b1f0000613d000000000601034f0000000507000029000000006806043c0000000007870436000000000037004b00000b1b0000c13d000000000004004b00000b2c0000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000001020433000000000001004b00000b390000c13d0000033501000041000000000010043f000003360100004100000ba9000104300000034201000041000000000010043f0000004101000039000000040010043f000002ff0100004100000ba9000104300000000502000029000002eb0020009c000002eb020080410000004002200210000002eb0010009c000002eb010080410000006001100210000000000121019f00000ba9000104300001000000000002000000000001004b00000b720000613d000100000001001d000000000010043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000b700000613d000000000101043b000000000101041a000000000001004b00000b6d0000c13d000000000100041a0000000102000029000000000021004b00000b720000a13d000000010220008a000100000002001d000000000020043f0000000401000039000000200010043f0000000001000414000002eb0010009c000002eb01008041000000c00110021000000325011001c700008010020000390ba70ba20000040f000000010020019000000b700000613d000000000101043b000000000101041a000000000001004b000000010200002900000b5a0000613d000003290010019800000b720000c13d000000000001042d000000000100001900000ba9000104300000034701000041000000000010043f000003360100004100000ba9000104300000000a01000039000000000101041a000002f6021001970000000001000411000000000012004b00000b7d0000c13d000000000001042d000000400200043d0000031e03000041000000000032043500000004032000390000000000130435000002eb0020009c000002eb020080410000004001200210000002ff011001c700000ba900010430000000000001042f000002eb0010009c000002eb010080410000004001100210000002eb0020009c000002eb020080410000006002200210000000000112019f0000000002000414000002eb0020009c000002eb02008041000000c002200210000000000112019f000002f8011001c700008010020000390ba70ba20000040f000000010020019000000b9b0000613d000000000101043b000000000001042d000000000100001900000ba90001043000000ba0002104210000000102000039000000000001042d0000000002000019000000000001042d00000ba5002104230000000102000039000000000001042d0000000002000019000000000001042d00000ba70000043200000ba80001042e00000ba9000104300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0000000000000000000000000000000000000000000000000ffffffffffffffff8000000000000000000000000000000000000000000000000000000000000000bfa87805ed57dc1f0d489ce33be4c4577d74ccde357eeeee058a32c55c44a532405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acebfa87805ed57dc1f0d489ce33be4c4577d74ccde357eeeee058a32c55c44a5313da8a5f161a6c3ff06a60736d0ed24d7963cc6a5c4fafd2fa1dae9bb908e07a5c2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b3da8a5f161a6c3ff06a60736d0ed24d7963cc6a5c4fafd2fa1dae9bb908e07a4000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0209699368efae3c2ab13a6e9d9f9aceb6c5aebfb5ffd7bd0a9ff6281a30b5739df6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7209699368efae3c2ab13a6e9d9f9aceb6c5aebfb5ffd7bd0a9ff6281a30b573800000002000000000000000000000000000000400000010000000000000000001e4fbdf700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000000000000000000000715018a500000000000000000000000000000000000000000000000000000000c87b56dc00000000000000000000000000000000000000000000000000000000e985e9c400000000000000000000000000000000000000000000000000000000e985e9c500000000000000000000000000000000000000000000000000000000f2fde38b00000000000000000000000000000000000000000000000000000000f4a0a52800000000000000000000000000000000000000000000000000000000c87b56dd00000000000000000000000000000000000000000000000000000000d85d3d2700000000000000000000000000000000000000000000000000000000e8a3d4850000000000000000000000000000000000000000000000000000000095d89b400000000000000000000000000000000000000000000000000000000095d89b4100000000000000000000000000000000000000000000000000000000a22cb46500000000000000000000000000000000000000000000000000000000b88d4fde00000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000008da5cb5b00000000000000000000000000000000000000000000000000000000938e3d7b0000000000000000000000000000000000000000000000000000000023b872dc000000000000000000000000000000000000000000000000000000006352211d000000000000000000000000000000000000000000000000000000006352211e000000000000000000000000000000000000000000000000000000006817c76c0000000000000000000000000000000000000000000000000000000070a082310000000000000000000000000000000000000000000000000000000023b872dd000000000000000000000000000000000000000000000000000000003ccfd60b0000000000000000000000000000000000000000000000000000000042842e0e00000000000000000000000000000000000000000000000000000000081812fb00000000000000000000000000000000000000000000000000000000081812fc00000000000000000000000000000000000000000000000000000000095ea7b30000000000000000000000000000000000000000000000000000000018160ddd0000000000000000000000000000000000000000000000000000000001ffc9a70000000000000000000000000000000000000000000000000000000006fdde03118cdaa70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000008000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f000000000000000000000000000000000000000000000000ffffffffffffffdf796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d95539132020000020000000000000000000000000000000400000000000000000000000002000000000000000000000000000000000000400000000000000000000000000000000200000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0000000100000000000000000000000000000000000000000000000000000000697374656e7420746f6b656e00000000000000000000000000000000000000004552433732314d657461646174613a2055524920736574206f66206e6f6e657808c379a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008400000000000000000000000002000000000000000000000000000000000000200000000000000000000000001806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000150b7a020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003ffffffe000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000d1a57ed60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002e07630000000000000000000000000000000000000000000000000000000000496e73756666696369656e742066756e647320746f206d696e742e00000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffbf697066733a2f2f000000000000000000000000000000000000000000000000006e6578697374656e7420746f6b656e00000000000000000000000000000000004552433732314d657461646174613a2055524920717565727920666f72206e6f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3100000000000000000000000000000000000000200000008000000000000000008f4eb604000000000000000000000000000000000000000000000000000000009cc7f708afc65944829bd487b90b72536b1951864fbfc14e125fc972a6507f394e487b71000000000000000000000000000000000000000000000000000000005472616e73666572206661696c65642e000000000000000000000000000000004e6f2066756e647320617661696c61626c652e00000000000000000000000000cfb3b942000000000000000000000000000000000000000000000000000000008c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925df2d9b4200000000000000000000000000000000000000000000000000000000cf4700e40000000000000000000000000000000000000000000000000000000001ffc9a7000000000000000000000000000000000000000000000000000000005b5e139f0000000000000000000000000000000000000000000000000000000080ac58cd00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffffe00000000000000000000000000000000000000000000000010000000000000000a11481000000000000000000000000000000000000000000000000000000000059c896be00000000000000000000000000000000000000000000000000000000ea553b340000000000000000000000000000000000000000000000000000000053855e8507d51e40d4d61e1c1da67686d4269d3a98b114d713ac38a4ee6470b8
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000147a6b4d61726b6574732073746f726566726f6e74000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553544f52450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d51366544674e68797a507378774d62714c7a554e674c54696f595745776f6a357151555342705558436d6e6e0000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): zkMarkets storefront
Arg [1] : symbol (string): STORE
Arg [2] : _mintPrice (uint256): 0
Arg [3] : _contractURI (string): ipfs://QmQ6eDgNhyzPsxwMbqLzUNgLTioYWEwoj5qQUSBpUXCmnn
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [5] : 7a6b4d61726b6574732073746f726566726f6e74000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 53544f5245000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [9] : 697066733a2f2f516d51366544674e68797a507378774d62714c7a554e674c54
Arg [10] : 696f595745776f6a357151555342705558436d6e6e0000000000000000000000
[ 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.