Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
5,555 TheFuckUps
Holders
1,956
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TheFuckUpsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheFuckUps
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract TheFuckUps is ERC721A, Ownable { using Strings for uint256; mapping(address => uint256) public userWhitelistMintCount; mapping(address => uint256) public userPublicMintCount; mapping(address => bool) public isWhitelisted; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public maxSupply; uint256 public maxMintWhitelist; uint256 public maxMintPublicsale; uint256 public totalUserWhitelisted; uint256 public totalMintsReserve; uint256 public totalMintsSale; uint256 public lastTokenId; uint256 public maxTokenId; uint256 public reservenftLastTokenId; uint256 public reservenftMaxTokenId; bool public pausedPublicsale; bool public whitelistMintEnabled; bool public revealed; constructor(string memory _tokenName, string memory _tokenSymbol, string memory _hiddenMetadataUri) ERC721A(_tokenName, _tokenSymbol) { maxMintWhitelist = 1; maxMintPublicsale = 1; whitelistMintEnabled = true; maxSupply = 5555; maxTokenId = 5205; reservenftLastTokenId = 5205; reservenftMaxTokenId = 5555; hiddenMetadataUri = _hiddenMetadataUri; } modifier mintComplianceWhitelist(uint256 _mintAmount) { require( _mintAmount > 0 && userWhitelistMintCount[_msgSender()] + _mintAmount <= maxMintWhitelist, "Invalid mint amount!" ); require( totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!" ); _; } modifier mintCompliancePublicsale(uint256 _mintAmount) { require( _mintAmount > 0 && userPublicMintCount[_msgSender()] + _mintAmount <= maxMintPublicsale, "Invalid mint amount!" ); require( totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!" ); _; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A) returns (bool) { return super.supportsInterface(interfaceId); } function setConfig_maxTokenId(uint256 _maxTokenId) external onlyOwner { maxTokenId = _maxTokenId; } function setConfig_reservetokenrange( uint256 _lastTokenId, uint256 _maxTokenId ) external onlyOwner { reservenftLastTokenId = _lastTokenId; reservenftMaxTokenId = _maxTokenId; } function doWhitelist(address[] calldata users) external onlyOwner { uint256 length = users.length; for (uint256 i = 0; i < length; i++) { address entry = users[i]; require(entry != address(0), "Cannot add zero address"); require(!isWhitelisted[users[i]], "already whitelisted"); isWhitelisted[users[i]] = true; totalUserWhitelisted++; } } function whitelistMint(uint256 _mintAmount) public mintComplianceWhitelist(_mintAmount) { // Verify whitelist requirements require(whitelistMintEnabled, "The whitelist sale is not enabled!"); require(isWhitelisted[_msgSender()], "You are not whitelist user"); require( lastTokenId + _mintAmount <= maxTokenId, "Sale Mint Maximum cap reached" ); totalMintsSale += _mintAmount; lastTokenId += _mintAmount; userWhitelistMintCount[_msgSender()] += _mintAmount; _safeMint(_msgSender(), _mintAmount); } function publicSaleMint(uint256 _mintAmount) public mintCompliancePublicsale(_mintAmount) { require(pausedPublicsale, "The public sale is paused!"); require( lastTokenId + _mintAmount <= maxTokenId, "Sale Mint Maximum cap reached" ); totalMintsSale += _mintAmount; lastTokenId += _mintAmount; userPublicMintCount[_msgSender()] += _mintAmount; _safeMint(_msgSender(), _mintAmount); } function airdropSingle(address _receiver, uint256 _mintAmount) public onlyOwner { require( totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!" ); require( lastTokenId + _mintAmount <= maxTokenId, "Airdrop Mint Maximum cap reached" ); totalMintsSale += _mintAmount; lastTokenId += _mintAmount; _safeMint(_receiver, _mintAmount); } function airdropBatch(address[] memory users) external onlyOwner { uint256 length = users.length; require(totalSupply() + length <= maxSupply, "Max supply exceeded!"); require( lastTokenId + length <= maxTokenId, "Sale Mint Maximum cap reached" ); for (uint256 i = 0; i < length; i++) { address user = users[i]; require(user != address(0), "Cannot add zero address"); totalMintsSale++; lastTokenId++; _safeMint(user, 1); } } function reserveMint(address[] memory teamAddresses) external onlyOwner { uint256 walletsLength = teamAddresses.length; require(lastTokenId == maxTokenId, "Reserve Minting not allowed yet"); require( totalSupply() + walletsLength <= maxSupply, "Max supply exceeded!" ); require( reservenftLastTokenId + walletsLength <= reservenftMaxTokenId, "Reserve Mint Maximum cap reached" ); for (uint256 i = 0; i < walletsLength; i++) { _safeMint(teamAddresses[i], 1); reservenftLastTokenId++; totalMintsReserve++; } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while ( ownedTokenIndex < ownerTokenCount && currentTokenId < _currentIndex ) { TokenOwnership memory ownership = _ownerships[currentTokenId]; if (!ownership.burned) { if (ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } } currentTokenId++; } return ownedTokenIds; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, _tokenId.toString(), uriSuffix ) ) : ""; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setMaxMintWhitelist(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintWhitelist = _maxMintAmountPerTx; } function setMaxMintPublicsale(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintPublicsale = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPublicsalePaused(bool _state) public onlyOwner { pausedPublicsale = _state; } function setWhitelistMintEnabled(bool _state) public onlyOwner { whitelistMintEnabled = _state; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary 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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @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. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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 { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"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":"users","type":"address[]"}],"name":"airdropBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"airdropSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"doWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPublicsale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenId","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":"pausedPublicsale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"teamAddresses","type":"address[]"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservenftLastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservenftMaxTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokenId","type":"uint256"}],"name":"setConfig_maxTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lastTokenId","type":"uint256"},{"internalType":"uint256","name":"_maxTokenId","type":"uint256"}],"name":"setConfig_reservetokenrange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintPublicsale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicsalePaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","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":"totalMintsReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintsSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUserWhitelisted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userPublicMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userWhitelistMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600c916200015d565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600d916200015d565b503480156200005857600080fd5b5060405162002dd738038062002dd78339810160408190526200007b91620002d0565b825183908390620000949060029060208501906200015d565b508051620000aa9060039060208401906200015d565b5050600160005550620000bd336200010b565b600160108190556011556019805461ff0019166101001790556115b3600f819055611455601681905560175560185580516200010190600e9060208401906200015d565b505050506200039d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016b9062000361565b90600052602060002090601f0160209004810192826200018f5760008555620001da565b82601f10620001aa57805160ff1916838001178555620001da565b82800160010185558215620001da579182015b82811115620001da578251825591602001919060010190620001bd565b50620001e8929150620001ec565b5090565b5b80821115620001e85760008155600101620001ed565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022b57600080fd5b81516001600160401b038082111562000248576200024862000203565b604051601f8301601f19908116603f0116810190828211818310171562000273576200027362000203565b816040528381526020925086838588010111156200029057600080fd5b600091505b83821015620002b4578582018301518183018401529082019062000295565b83821115620002c65760008385830101525b9695505050505050565b600080600060608486031215620002e657600080fd5b83516001600160401b0380821115620002fe57600080fd5b6200030c8783880162000219565b945060208601519150808211156200032357600080fd5b620003318783880162000219565b935060408601519150808211156200034857600080fd5b50620003578682870162000219565b9150509250925092565b600181811c908216806200037657607f821691505b6020821081036200039757634e487b7160e01b600052602260045260246000fd5b50919050565b612a2a80620003ad6000396000f3fe608060405234801561001057600080fd5b50600436106103275760003560e01c80638d190f52116101b8578063b88d4fde11610104578063e985e9c5116100a2578063f147cd891161007c578063f147cd89146106c9578063f1aee2a2146106dc578063f2fde38b146106ef578063f84ddf0b1461070257600080fd5b8063e985e9c514610664578063ebb34089146106a0578063eddae94c146106a957600080fd5b8063d5abeb01116100de578063d5abeb0114610636578063d5c4cb021461063f578063da6d60dc14610648578063e0a808531461065157600080fd5b8063b88d4fde146105fd578063c87b56dd14610610578063cec5f2661461062357600080fd5b8063a45ba8e711610171578063afea96871161014b578063afea9687146105b1578063b2542e28146105c4578063b3ab66b0146105d7578063b767a098146105ea57600080fd5b8063a45ba8e71461058d578063a759a7c814610595578063ab16ed921461059e57600080fd5b80638d190f521461052f5780638da5cb5b1461054f57806391ba317a14610560578063927f006b1461056957806395d89b4114610572578063a22cb4651461057a57600080fd5b806350030684116102775780636caede3d116102305780637eb70bf71161020a5780637eb70bf7146104ed5780637ec4a65914610500578063868ff4a214610513578063880b962d1461052657600080fd5b80636caede3d146104c057806370a08231146104d2578063715018a6146104e557600080fd5b8063500306841461047457806351830227146104815780635503a0e8146104945780635df5412d1461049c57806362b99ad4146104a55780636352211e146104ad57600080fd5b806316ba10e0116102e45780633af32abf116102be5780633af32abf1461040b57806342842e0e1461042e578063438b6300146104415780634fdd43cb1461046157600080fd5b806316ba10e0146103cf57806318160ddd146103e257806323b872dd146103f857600080fd5b806301ffc9a71461032c57806306fdde0314610354578063081812fc14610369578063095ea7b3146103945780630ce0d9f5146103a957806310ceb677146103bc575b600080fd5b61033f61033a3660046122a5565b61070b565b60405190151581526020015b60405180910390f35b61035c61071c565b60405161034b919061231a565b61037c61037736600461232d565b6107ae565b6040516001600160a01b03909116815260200161034b565b6103a76103a2366004612362565b6107f2565b005b6103a76103b736600461232d565b61087f565b6103a76103ca36600461232d565b6108b7565b6103a76103dd366004612429565b6108e6565b6103ea610927565b60405190815260200161034b565b6103a7610406366004612471565b610935565b61033f6104193660046124ad565b600b6020526000908152604090205460ff1681565b6103a761043c366004612471565b610940565b61045461044f3660046124ad565b61095b565b60405161034b91906124c8565b6103a761046f366004612429565b610a9a565b60195461033f9060ff1681565b60195461033f9062010000900460ff1681565b61035c610ad7565b6103ea60145481565b61035c610b65565b61037c6104bb36600461232d565b610b72565b60195461033f90610100900460ff1681565b6103ea6104e03660046124ad565b610b84565b6103a7610bd2565b6103a76104fb366004612362565b610c08565b6103a761050e366004612429565b610d00565b6103a761052136600461232d565b610d3d565b6103ea60115481565b6103ea61053d3660046124ad565b60096020526000908152604090205481565b6008546001600160a01b031661037c565b6103ea60165481565b6103ea60125481565b61035c610f48565b6103a761058836600461251c565b610f57565b61035c610fec565b6103ea60105481565b6103a76105ac36600461254f565b610ff9565b6103a76105bf366004612571565b61102e565b6103a76105d236600461258c565b61106b565b6103a76105e536600461232d565b6111c7565b6103a76105f8366004612571565b611328565b6103a761060b366004612638565b61136c565b61035c61061e36600461232d565b6113bd565b6103a761063136600461258c565b611532565b6103ea600f5481565b6103ea60135481565b6103ea60185481565b6103a761065f366004612571565b6116b0565b61033f6106723660046126b3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6103ea60175481565b6103ea6106b73660046124ad565b600a6020526000908152604090205481565b6103a76106d73660046126dd565b6116f6565b6103a76106ea36600461232d565b6118b1565b6103a76106fd3660046124ad565b6118e0565b6103ea60155481565b60006107168261197b565b92915050565b60606002805461072b90612751565b80601f016020809104026020016040519081016040528092919081815260200182805461075790612751565b80156107a45780601f10610779576101008083540402835291602001916107a4565b820191906000526020600020905b81548152906001019060200180831161078757829003601f168201915b5050505050905090565b60006107b9826119e6565b6107d6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107fd82610b72565b9050806001600160a01b0316836001600160a01b0316036108315760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610851575061084f8133610672565b155b1561086f576040516367d9dca160e11b815260040160405180910390fd5b61087a838383611a1f565b505050565b6008546001600160a01b031633146108b25760405162461bcd60e51b81526004016108a99061278b565b60405180910390fd5b601155565b6008546001600160a01b031633146108e15760405162461bcd60e51b81526004016108a99061278b565b601055565b6008546001600160a01b031633146109105760405162461bcd60e51b81526004016108a99061278b565b805161092390600d9060208401906121f6565b5050565b600154600054036000190190565b61087a838383611a7b565b61087a8383836040518060200160405280600081525061136c565b6060600061096883610b84565b90506000816001600160401b038111156109845761098461238c565b6040519080825280602002602001820160405280156109ad578160200160208202803683370190505b50905060016000805b84821080156109c6575060005483105b15610a8f57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610a7c5780516001600160a01b031615610a3757805191505b876001600160a01b0316826001600160a01b031603610a7c5783858481518110610a6357610a636127c0565b602090810291909101015282610a78816127ec565b9350505b83610a86816127ec565b945050506109b6565b509195945050505050565b6008546001600160a01b03163314610ac45760405162461bcd60e51b81526004016108a99061278b565b805161092390600e9060208401906121f6565b600d8054610ae490612751565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1090612751565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b505050505081565b600c8054610ae490612751565b6000610b7d82611c8f565b5192915050565b60006001600160a01b038216610bad576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610bfc5760405162461bcd60e51b81526004016108a99061278b565b610c066000611db6565b565b6008546001600160a01b03163314610c325760405162461bcd60e51b81526004016108a99061278b565b600f5481610c3e610927565b610c489190612805565b1115610c665760405162461bcd60e51b81526004016108a99061281d565b60165481601554610c779190612805565b1115610cc55760405162461bcd60e51b815260206004820181905260248201527f41697264726f70204d696e74204d6178696d756d20636170207265616368656460448201526064016108a9565b8060146000828254610cd79190612805565b925050819055508060156000828254610cf09190612805565b9091555061092390508282611e08565b6008546001600160a01b03163314610d2a5760405162461bcd60e51b81526004016108a99061278b565b805161092390600c9060208401906121f6565b80600081118015610d6a575060105433600090815260096020526040902054610d67908390612805565b11155b610dad5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108a9565b600f5481610db9610927565b610dc39190612805565b1115610de15760405162461bcd60e51b81526004016108a99061281d565b601954610100900460ff16610e435760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b60648201526084016108a9565b336000908152600b602052604090205460ff16610ea25760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f742077686974656c697374207573657200000000000060448201526064016108a9565b60165482601554610eb39190612805565b1115610ed15760405162461bcd60e51b81526004016108a99061284b565b8160146000828254610ee39190612805565b925050819055508160156000828254610efc9190612805565b9091555082905060096000335b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610f389190612805565b9091555061092390503383611e08565b60606003805461072b90612751565b336001600160a01b03831603610f805760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610ae490612751565b6008546001600160a01b031633146110235760405162461bcd60e51b81526004016108a99061278b565b601791909155601855565b6008546001600160a01b031633146110585760405162461bcd60e51b81526004016108a99061278b565b6019805460ff1916911515919091179055565b6008546001600160a01b031633146110955760405162461bcd60e51b81526004016108a99061278b565b8051600f54816110a3610927565b6110ad9190612805565b11156110cb5760405162461bcd60e51b81526004016108a99061281d565b601654816015546110dc9190612805565b11156110fa5760405162461bcd60e51b81526004016108a99061284b565b60005b8181101561087a576000838281518110611119576111196127c0565b6020026020010151905060006001600160a01b0316816001600160a01b03160361117f5760405162461bcd60e51b815260206004820152601760248201527643616e6e6f7420616464207a65726f206164647265737360481b60448201526064016108a9565b6014805490600061118f836127ec565b9091555050601580549060006111a4836127ec565b91905055506111b4816001611e08565b50806111bf816127ec565b9150506110fd565b806000811180156111f45750601154336000908152600a60205260409020546111f1908390612805565b11155b6112375760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108a9565b600f5481611243610927565b61124d9190612805565b111561126b5760405162461bcd60e51b81526004016108a99061281d565b60195460ff166112bd5760405162461bcd60e51b815260206004820152601a60248201527f546865207075626c69632073616c65206973207061757365642100000000000060448201526064016108a9565b601654826015546112ce9190612805565b11156112ec5760405162461bcd60e51b81526004016108a99061284b565b81601460008282546112fe9190612805565b9250508190555081601560008282546113179190612805565b90915550829050600a600033610f09565b6008546001600160a01b031633146113525760405162461bcd60e51b81526004016108a99061278b565b601980549115156101000261ff0019909216919091179055565b611377848484611a7b565b6001600160a01b0383163b15158015611399575061139784848484611e22565b155b156113b7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606113c8826119e6565b61142c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a9565b60195462010000900460ff1615156000036114d357600e805461144e90612751565b80601f016020809104026020016040519081016040528092919081815260200182805461147a90612751565b80156114c75780601f1061149c576101008083540402835291602001916114c7565b820191906000526020600020905b8154815290600101906020018083116114aa57829003601f168201915b50505050509050919050565b60006114dd611f0e565b905060008151116114fd576040518060200160405280600081525061152b565b8061150784611f1d565b600d60405160200161151b93929190612882565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461155c5760405162461bcd60e51b81526004016108a99061278b565b8051601654601554146115b15760405162461bcd60e51b815260206004820152601f60248201527f52657365727665204d696e74696e67206e6f7420616c6c6f776564207965740060448201526064016108a9565b600f54816115bd610927565b6115c79190612805565b11156115e55760405162461bcd60e51b81526004016108a99061281d565b601854816017546115f69190612805565b11156116445760405162461bcd60e51b815260206004820181905260248201527f52657365727665204d696e74204d6178696d756d20636170207265616368656460448201526064016108a9565b60005b8181101561087a57611673838281518110611664576116646127c0565b60200260200101516001611e08565b60178054906000611683836127ec565b909155505060138054906000611698836127ec565b919050555080806116a8906127ec565b915050611647565b6008546001600160a01b031633146116da5760405162461bcd60e51b81526004016108a99061278b565b60198054911515620100000262ff000019909216919091179055565b6008546001600160a01b031633146117205760405162461bcd60e51b81526004016108a99061278b565b8060005b818110156113b7576000848483818110611740576117406127c0565b905060200201602081019061175591906124ad565b90506001600160a01b0381166117a75760405162461bcd60e51b815260206004820152601760248201527643616e6e6f7420616464207a65726f206164647265737360481b60448201526064016108a9565b600b60008686858181106117bd576117bd6127c0565b90506020020160208101906117d291906124ad565b6001600160a01b0316815260208101919091526040016000205460ff16156118325760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481dda1a5d195b1a5cdd1959606a1b60448201526064016108a9565b6001600b600087878681811061184a5761184a6127c0565b905060200201602081019061185f91906124ad565b6001600160a01b0316815260208101919091526040016000908120805460ff1916921515929092179091556012805491611898836127ec565b91905055505080806118a9906127ec565b915050611724565b6008546001600160a01b031633146118db5760405162461bcd60e51b81526004016108a99061278b565b601655565b6008546001600160a01b0316331461190a5760405162461bcd60e51b81526004016108a99061278b565b6001600160a01b03811661196f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a9565b61197881611db6565b50565b60006001600160e01b031982166380ac58cd60e01b14806119ac57506001600160e01b03198216635b5e139f60e01b145b806119c757506001600160e01b0319821663780e9d6360e01b145b8061071657506301ffc9a760e01b6001600160e01b0319831614610716565b6000816001111580156119fa575060005482105b8015610716575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a8682611c8f565b80519091506000906001600160a01b0316336001600160a01b03161480611ab457508151611ab49033610672565b80611acf575033611ac4846107ae565b6001600160a01b0316145b905080611aef57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611b245760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611b4b57604051633a954ecd60e21b815260040160405180910390fd5b611b5b6000848460000151611a1f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611c4557600054811015611c4557825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611cbf575060005481105b15611d9d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611d9b5780516001600160a01b031615611d32579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611d96579392505050565b611d32565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61092382826040518060200160405280600081525061201d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e57903390899088908890600401612945565b6020604051808303816000875af1925050508015611e92575060408051601f3d908101601f19168201909252611e8f91810190612982565b60015b611ef0573d808015611ec0576040519150601f19603f3d011682016040523d82523d6000602084013e611ec5565b606091505b508051600003611ee8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c805461072b90612751565b606081600003611f445750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f6e5780611f58816127ec565b9150611f679050600a836129b5565b9150611f48565b6000816001600160401b03811115611f8857611f8861238c565b6040519080825280601f01601f191660200182016040528015611fb2576020820181803683370190505b5090505b8415611f0657611fc76001836129c9565b9150611fd4600a866129e0565b611fdf906030612805565b60f81b818381518110611ff457611ff46127c0565b60200101906001600160f81b031916908160001a905350612016600a866129b5565b9450611fb6565b61087a83838360016000546001600160a01b03851661204e57604051622e076360e81b815260040160405180910390fd5b8360000361206f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561212057506001600160a01b0387163b15155b156121a8575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46121716000888480600101955088611e22565b61218e576040516368d2bf6b60e11b815260040160405180910390fd5b8082036121265782600054146121a357600080fd5b6121ed565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036121a9575b50600055611c88565b82805461220290612751565b90600052602060002090601f016020900481019282612224576000855561226a565b82601f1061223d57805160ff191683800117855561226a565b8280016001018555821561226a579182015b8281111561226a57825182559160200191906001019061224f565b5061227692915061227a565b5090565b5b80821115612276576000815560010161227b565b6001600160e01b03198116811461197857600080fd5b6000602082840312156122b757600080fd5b813561152b8161228f565b60005b838110156122dd5781810151838201526020016122c5565b838111156113b75750506000910152565b600081518084526123068160208601602086016122c2565b601f01601f19169290920160200192915050565b60208152600061152b60208301846122ee565b60006020828403121561233f57600080fd5b5035919050565b80356001600160a01b038116811461235d57600080fd5b919050565b6000806040838503121561237557600080fd5b61237e83612346565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156123ca576123ca61238c565b604052919050565b60006001600160401b038311156123eb576123eb61238c565b6123fe601f8401601f19166020016123a2565b905082815283838301111561241257600080fd5b828260208301376000602084830101529392505050565b60006020828403121561243b57600080fd5b81356001600160401b0381111561245157600080fd5b8201601f8101841361246257600080fd5b611f06848235602084016123d2565b60008060006060848603121561248657600080fd5b61248f84612346565b925061249d60208501612346565b9150604084013590509250925092565b6000602082840312156124bf57600080fd5b61152b82612346565b6020808252825182820181905260009190848201906040850190845b81811015612500578351835292840192918401916001016124e4565b50909695505050505050565b8035801515811461235d57600080fd5b6000806040838503121561252f57600080fd5b61253883612346565b91506125466020840161250c565b90509250929050565b6000806040838503121561256257600080fd5b50508035926020909101359150565b60006020828403121561258357600080fd5b61152b8261250c565b6000602080838503121561259f57600080fd5b82356001600160401b03808211156125b657600080fd5b818501915085601f8301126125ca57600080fd5b8135818111156125dc576125dc61238c565b8060051b91506125ed8483016123a2565b818152918301840191848101908884111561260757600080fd5b938501935b8385101561262c5761261d85612346565b8252938501939085019061260c565b98975050505050505050565b6000806000806080858703121561264e57600080fd5b61265785612346565b935061266560208601612346565b92506040850135915060608501356001600160401b0381111561268757600080fd5b8501601f8101871361269857600080fd5b6126a7878235602084016123d2565b91505092959194509250565b600080604083850312156126c657600080fd5b6126cf83612346565b915061254660208401612346565b600080602083850312156126f057600080fd5b82356001600160401b038082111561270757600080fd5b818501915085601f83011261271b57600080fd5b81358181111561272a57600080fd5b8660208260051b850101111561273f57600080fd5b60209290920196919550909350505050565b600181811c9082168061276557607f821691505b60208210810361278557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016127fe576127fe6127d6565b5060010190565b60008219821115612818576128186127d6565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b6020808252601d908201527f53616c65204d696e74204d6178696d756d206361702072656163686564000000604082015260600190565b6000845160206128958285838a016122c2565b8551918401916128a88184848a016122c2565b8554920191600090600181811c90808316806128c557607f831692505b85831081036128e257634e487b7160e01b85526022600452602485fd5b8080156128f6576001811461290757612934565b60ff19851688528388019550612934565b60008b81526020902060005b8581101561292c5781548a820152908401908801612913565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612978908301846122ee565b9695505050505050565b60006020828403121561299457600080fd5b815161152b8161228f565b634e487b7160e01b600052601260045260246000fd5b6000826129c4576129c461299f565b500490565b6000828210156129db576129db6127d6565b500390565b6000826129ef576129ef61299f565b50069056fea26469706673582212200621d332cd0f717d4a48ff7465b1d700d039830c2662560f035af917e3a2728d64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a5468654675636b55707300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5468654675636b55707300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f7468656675636b7570732e6d7970696e6174612e636c6f75642f697066732f516d5370454642675745415a696d6145463437645370355757425938785342387836344c6759647a4368764e62616600000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103275760003560e01c80638d190f52116101b8578063b88d4fde11610104578063e985e9c5116100a2578063f147cd891161007c578063f147cd89146106c9578063f1aee2a2146106dc578063f2fde38b146106ef578063f84ddf0b1461070257600080fd5b8063e985e9c514610664578063ebb34089146106a0578063eddae94c146106a957600080fd5b8063d5abeb01116100de578063d5abeb0114610636578063d5c4cb021461063f578063da6d60dc14610648578063e0a808531461065157600080fd5b8063b88d4fde146105fd578063c87b56dd14610610578063cec5f2661461062357600080fd5b8063a45ba8e711610171578063afea96871161014b578063afea9687146105b1578063b2542e28146105c4578063b3ab66b0146105d7578063b767a098146105ea57600080fd5b8063a45ba8e71461058d578063a759a7c814610595578063ab16ed921461059e57600080fd5b80638d190f521461052f5780638da5cb5b1461054f57806391ba317a14610560578063927f006b1461056957806395d89b4114610572578063a22cb4651461057a57600080fd5b806350030684116102775780636caede3d116102305780637eb70bf71161020a5780637eb70bf7146104ed5780637ec4a65914610500578063868ff4a214610513578063880b962d1461052657600080fd5b80636caede3d146104c057806370a08231146104d2578063715018a6146104e557600080fd5b8063500306841461047457806351830227146104815780635503a0e8146104945780635df5412d1461049c57806362b99ad4146104a55780636352211e146104ad57600080fd5b806316ba10e0116102e45780633af32abf116102be5780633af32abf1461040b57806342842e0e1461042e578063438b6300146104415780634fdd43cb1461046157600080fd5b806316ba10e0146103cf57806318160ddd146103e257806323b872dd146103f857600080fd5b806301ffc9a71461032c57806306fdde0314610354578063081812fc14610369578063095ea7b3146103945780630ce0d9f5146103a957806310ceb677146103bc575b600080fd5b61033f61033a3660046122a5565b61070b565b60405190151581526020015b60405180910390f35b61035c61071c565b60405161034b919061231a565b61037c61037736600461232d565b6107ae565b6040516001600160a01b03909116815260200161034b565b6103a76103a2366004612362565b6107f2565b005b6103a76103b736600461232d565b61087f565b6103a76103ca36600461232d565b6108b7565b6103a76103dd366004612429565b6108e6565b6103ea610927565b60405190815260200161034b565b6103a7610406366004612471565b610935565b61033f6104193660046124ad565b600b6020526000908152604090205460ff1681565b6103a761043c366004612471565b610940565b61045461044f3660046124ad565b61095b565b60405161034b91906124c8565b6103a761046f366004612429565b610a9a565b60195461033f9060ff1681565b60195461033f9062010000900460ff1681565b61035c610ad7565b6103ea60145481565b61035c610b65565b61037c6104bb36600461232d565b610b72565b60195461033f90610100900460ff1681565b6103ea6104e03660046124ad565b610b84565b6103a7610bd2565b6103a76104fb366004612362565b610c08565b6103a761050e366004612429565b610d00565b6103a761052136600461232d565b610d3d565b6103ea60115481565b6103ea61053d3660046124ad565b60096020526000908152604090205481565b6008546001600160a01b031661037c565b6103ea60165481565b6103ea60125481565b61035c610f48565b6103a761058836600461251c565b610f57565b61035c610fec565b6103ea60105481565b6103a76105ac36600461254f565b610ff9565b6103a76105bf366004612571565b61102e565b6103a76105d236600461258c565b61106b565b6103a76105e536600461232d565b6111c7565b6103a76105f8366004612571565b611328565b6103a761060b366004612638565b61136c565b61035c61061e36600461232d565b6113bd565b6103a761063136600461258c565b611532565b6103ea600f5481565b6103ea60135481565b6103ea60185481565b6103a761065f366004612571565b6116b0565b61033f6106723660046126b3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6103ea60175481565b6103ea6106b73660046124ad565b600a6020526000908152604090205481565b6103a76106d73660046126dd565b6116f6565b6103a76106ea36600461232d565b6118b1565b6103a76106fd3660046124ad565b6118e0565b6103ea60155481565b60006107168261197b565b92915050565b60606002805461072b90612751565b80601f016020809104026020016040519081016040528092919081815260200182805461075790612751565b80156107a45780601f10610779576101008083540402835291602001916107a4565b820191906000526020600020905b81548152906001019060200180831161078757829003601f168201915b5050505050905090565b60006107b9826119e6565b6107d6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107fd82610b72565b9050806001600160a01b0316836001600160a01b0316036108315760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610851575061084f8133610672565b155b1561086f576040516367d9dca160e11b815260040160405180910390fd5b61087a838383611a1f565b505050565b6008546001600160a01b031633146108b25760405162461bcd60e51b81526004016108a99061278b565b60405180910390fd5b601155565b6008546001600160a01b031633146108e15760405162461bcd60e51b81526004016108a99061278b565b601055565b6008546001600160a01b031633146109105760405162461bcd60e51b81526004016108a99061278b565b805161092390600d9060208401906121f6565b5050565b600154600054036000190190565b61087a838383611a7b565b61087a8383836040518060200160405280600081525061136c565b6060600061096883610b84565b90506000816001600160401b038111156109845761098461238c565b6040519080825280602002602001820160405280156109ad578160200160208202803683370190505b50905060016000805b84821080156109c6575060005483105b15610a8f57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610a7c5780516001600160a01b031615610a3757805191505b876001600160a01b0316826001600160a01b031603610a7c5783858481518110610a6357610a636127c0565b602090810291909101015282610a78816127ec565b9350505b83610a86816127ec565b945050506109b6565b509195945050505050565b6008546001600160a01b03163314610ac45760405162461bcd60e51b81526004016108a99061278b565b805161092390600e9060208401906121f6565b600d8054610ae490612751565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1090612751565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b505050505081565b600c8054610ae490612751565b6000610b7d82611c8f565b5192915050565b60006001600160a01b038216610bad576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610bfc5760405162461bcd60e51b81526004016108a99061278b565b610c066000611db6565b565b6008546001600160a01b03163314610c325760405162461bcd60e51b81526004016108a99061278b565b600f5481610c3e610927565b610c489190612805565b1115610c665760405162461bcd60e51b81526004016108a99061281d565b60165481601554610c779190612805565b1115610cc55760405162461bcd60e51b815260206004820181905260248201527f41697264726f70204d696e74204d6178696d756d20636170207265616368656460448201526064016108a9565b8060146000828254610cd79190612805565b925050819055508060156000828254610cf09190612805565b9091555061092390508282611e08565b6008546001600160a01b03163314610d2a5760405162461bcd60e51b81526004016108a99061278b565b805161092390600c9060208401906121f6565b80600081118015610d6a575060105433600090815260096020526040902054610d67908390612805565b11155b610dad5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108a9565b600f5481610db9610927565b610dc39190612805565b1115610de15760405162461bcd60e51b81526004016108a99061281d565b601954610100900460ff16610e435760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b60648201526084016108a9565b336000908152600b602052604090205460ff16610ea25760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f742077686974656c697374207573657200000000000060448201526064016108a9565b60165482601554610eb39190612805565b1115610ed15760405162461bcd60e51b81526004016108a99061284b565b8160146000828254610ee39190612805565b925050819055508160156000828254610efc9190612805565b9091555082905060096000335b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610f389190612805565b9091555061092390503383611e08565b60606003805461072b90612751565b336001600160a01b03831603610f805760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610ae490612751565b6008546001600160a01b031633146110235760405162461bcd60e51b81526004016108a99061278b565b601791909155601855565b6008546001600160a01b031633146110585760405162461bcd60e51b81526004016108a99061278b565b6019805460ff1916911515919091179055565b6008546001600160a01b031633146110955760405162461bcd60e51b81526004016108a99061278b565b8051600f54816110a3610927565b6110ad9190612805565b11156110cb5760405162461bcd60e51b81526004016108a99061281d565b601654816015546110dc9190612805565b11156110fa5760405162461bcd60e51b81526004016108a99061284b565b60005b8181101561087a576000838281518110611119576111196127c0565b6020026020010151905060006001600160a01b0316816001600160a01b03160361117f5760405162461bcd60e51b815260206004820152601760248201527643616e6e6f7420616464207a65726f206164647265737360481b60448201526064016108a9565b6014805490600061118f836127ec565b9091555050601580549060006111a4836127ec565b91905055506111b4816001611e08565b50806111bf816127ec565b9150506110fd565b806000811180156111f45750601154336000908152600a60205260409020546111f1908390612805565b11155b6112375760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016108a9565b600f5481611243610927565b61124d9190612805565b111561126b5760405162461bcd60e51b81526004016108a99061281d565b60195460ff166112bd5760405162461bcd60e51b815260206004820152601a60248201527f546865207075626c69632073616c65206973207061757365642100000000000060448201526064016108a9565b601654826015546112ce9190612805565b11156112ec5760405162461bcd60e51b81526004016108a99061284b565b81601460008282546112fe9190612805565b9250508190555081601560008282546113179190612805565b90915550829050600a600033610f09565b6008546001600160a01b031633146113525760405162461bcd60e51b81526004016108a99061278b565b601980549115156101000261ff0019909216919091179055565b611377848484611a7b565b6001600160a01b0383163b15158015611399575061139784848484611e22565b155b156113b7576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606113c8826119e6565b61142c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a9565b60195462010000900460ff1615156000036114d357600e805461144e90612751565b80601f016020809104026020016040519081016040528092919081815260200182805461147a90612751565b80156114c75780601f1061149c576101008083540402835291602001916114c7565b820191906000526020600020905b8154815290600101906020018083116114aa57829003601f168201915b50505050509050919050565b60006114dd611f0e565b905060008151116114fd576040518060200160405280600081525061152b565b8061150784611f1d565b600d60405160200161151b93929190612882565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461155c5760405162461bcd60e51b81526004016108a99061278b565b8051601654601554146115b15760405162461bcd60e51b815260206004820152601f60248201527f52657365727665204d696e74696e67206e6f7420616c6c6f776564207965740060448201526064016108a9565b600f54816115bd610927565b6115c79190612805565b11156115e55760405162461bcd60e51b81526004016108a99061281d565b601854816017546115f69190612805565b11156116445760405162461bcd60e51b815260206004820181905260248201527f52657365727665204d696e74204d6178696d756d20636170207265616368656460448201526064016108a9565b60005b8181101561087a57611673838281518110611664576116646127c0565b60200260200101516001611e08565b60178054906000611683836127ec565b909155505060138054906000611698836127ec565b919050555080806116a8906127ec565b915050611647565b6008546001600160a01b031633146116da5760405162461bcd60e51b81526004016108a99061278b565b60198054911515620100000262ff000019909216919091179055565b6008546001600160a01b031633146117205760405162461bcd60e51b81526004016108a99061278b565b8060005b818110156113b7576000848483818110611740576117406127c0565b905060200201602081019061175591906124ad565b90506001600160a01b0381166117a75760405162461bcd60e51b815260206004820152601760248201527643616e6e6f7420616464207a65726f206164647265737360481b60448201526064016108a9565b600b60008686858181106117bd576117bd6127c0565b90506020020160208101906117d291906124ad565b6001600160a01b0316815260208101919091526040016000205460ff16156118325760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481dda1a5d195b1a5cdd1959606a1b60448201526064016108a9565b6001600b600087878681811061184a5761184a6127c0565b905060200201602081019061185f91906124ad565b6001600160a01b0316815260208101919091526040016000908120805460ff1916921515929092179091556012805491611898836127ec565b91905055505080806118a9906127ec565b915050611724565b6008546001600160a01b031633146118db5760405162461bcd60e51b81526004016108a99061278b565b601655565b6008546001600160a01b0316331461190a5760405162461bcd60e51b81526004016108a99061278b565b6001600160a01b03811661196f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a9565b61197881611db6565b50565b60006001600160e01b031982166380ac58cd60e01b14806119ac57506001600160e01b03198216635b5e139f60e01b145b806119c757506001600160e01b0319821663780e9d6360e01b145b8061071657506301ffc9a760e01b6001600160e01b0319831614610716565b6000816001111580156119fa575060005482105b8015610716575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a8682611c8f565b80519091506000906001600160a01b0316336001600160a01b03161480611ab457508151611ab49033610672565b80611acf575033611ac4846107ae565b6001600160a01b0316145b905080611aef57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611b245760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611b4b57604051633a954ecd60e21b815260040160405180910390fd5b611b5b6000848460000151611a1f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611c4557600054811015611c4557825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611cbf575060005481105b15611d9d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611d9b5780516001600160a01b031615611d32579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611d96579392505050565b611d32565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61092382826040518060200160405280600081525061201d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e57903390899088908890600401612945565b6020604051808303816000875af1925050508015611e92575060408051601f3d908101601f19168201909252611e8f91810190612982565b60015b611ef0573d808015611ec0576040519150601f19603f3d011682016040523d82523d6000602084013e611ec5565b606091505b508051600003611ee8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c805461072b90612751565b606081600003611f445750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f6e5780611f58816127ec565b9150611f679050600a836129b5565b9150611f48565b6000816001600160401b03811115611f8857611f8861238c565b6040519080825280601f01601f191660200182016040528015611fb2576020820181803683370190505b5090505b8415611f0657611fc76001836129c9565b9150611fd4600a866129e0565b611fdf906030612805565b60f81b818381518110611ff457611ff46127c0565b60200101906001600160f81b031916908160001a905350612016600a866129b5565b9450611fb6565b61087a83838360016000546001600160a01b03851661204e57604051622e076360e81b815260040160405180910390fd5b8360000361206f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561212057506001600160a01b0387163b15155b156121a8575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46121716000888480600101955088611e22565b61218e576040516368d2bf6b60e11b815260040160405180910390fd5b8082036121265782600054146121a357600080fd5b6121ed565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036121a9575b50600055611c88565b82805461220290612751565b90600052602060002090601f016020900481019282612224576000855561226a565b82601f1061223d57805160ff191683800117855561226a565b8280016001018555821561226a579182015b8281111561226a57825182559160200191906001019061224f565b5061227692915061227a565b5090565b5b80821115612276576000815560010161227b565b6001600160e01b03198116811461197857600080fd5b6000602082840312156122b757600080fd5b813561152b8161228f565b60005b838110156122dd5781810151838201526020016122c5565b838111156113b75750506000910152565b600081518084526123068160208601602086016122c2565b601f01601f19169290920160200192915050565b60208152600061152b60208301846122ee565b60006020828403121561233f57600080fd5b5035919050565b80356001600160a01b038116811461235d57600080fd5b919050565b6000806040838503121561237557600080fd5b61237e83612346565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156123ca576123ca61238c565b604052919050565b60006001600160401b038311156123eb576123eb61238c565b6123fe601f8401601f19166020016123a2565b905082815283838301111561241257600080fd5b828260208301376000602084830101529392505050565b60006020828403121561243b57600080fd5b81356001600160401b0381111561245157600080fd5b8201601f8101841361246257600080fd5b611f06848235602084016123d2565b60008060006060848603121561248657600080fd5b61248f84612346565b925061249d60208501612346565b9150604084013590509250925092565b6000602082840312156124bf57600080fd5b61152b82612346565b6020808252825182820181905260009190848201906040850190845b81811015612500578351835292840192918401916001016124e4565b50909695505050505050565b8035801515811461235d57600080fd5b6000806040838503121561252f57600080fd5b61253883612346565b91506125466020840161250c565b90509250929050565b6000806040838503121561256257600080fd5b50508035926020909101359150565b60006020828403121561258357600080fd5b61152b8261250c565b6000602080838503121561259f57600080fd5b82356001600160401b03808211156125b657600080fd5b818501915085601f8301126125ca57600080fd5b8135818111156125dc576125dc61238c565b8060051b91506125ed8483016123a2565b818152918301840191848101908884111561260757600080fd5b938501935b8385101561262c5761261d85612346565b8252938501939085019061260c565b98975050505050505050565b6000806000806080858703121561264e57600080fd5b61265785612346565b935061266560208601612346565b92506040850135915060608501356001600160401b0381111561268757600080fd5b8501601f8101871361269857600080fd5b6126a7878235602084016123d2565b91505092959194509250565b600080604083850312156126c657600080fd5b6126cf83612346565b915061254660208401612346565b600080602083850312156126f057600080fd5b82356001600160401b038082111561270757600080fd5b818501915085601f83011261271b57600080fd5b81358181111561272a57600080fd5b8660208260051b850101111561273f57600080fd5b60209290920196919550909350505050565b600181811c9082168061276557607f821691505b60208210810361278557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016127fe576127fe6127d6565b5060010190565b60008219821115612818576128186127d6565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b6020808252601d908201527f53616c65204d696e74204d6178696d756d206361702072656163686564000000604082015260600190565b6000845160206128958285838a016122c2565b8551918401916128a88184848a016122c2565b8554920191600090600181811c90808316806128c557607f831692505b85831081036128e257634e487b7160e01b85526022600452602485fd5b8080156128f6576001811461290757612934565b60ff19851688528388019550612934565b60008b81526020902060005b8581101561292c5781548a820152908401908801612913565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612978908301846122ee565b9695505050505050565b60006020828403121561299457600080fd5b815161152b8161228f565b634e487b7160e01b600052601260045260246000fd5b6000826129c4576129c461299f565b500490565b6000828210156129db576129db6127d6565b500390565b6000826129ef576129ef61299f565b50069056fea26469706673582212200621d332cd0f717d4a48ff7465b1d700d039830c2662560f035af917e3a2728d64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a5468654675636b55707300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5468654675636b55707300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f7468656675636b7570732e6d7970696e6174612e636c6f75642f697066732f516d5370454642675745415a696d6145463437645370355757425938785342387836344c6759647a4368764e62616600000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): TheFuckUps
Arg [1] : _tokenSymbol (string): TheFuckUps
Arg [2] : _hiddenMetadataUri (string): https://thefuckups.mypinata.cloud/ipfs/QmSpEFBgWEAZimaEF47dSp5WWBY8xSB8x64LgYdzChvNbaf
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 5468654675636b55707300000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 5468654675636b55707300000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [8] : 68747470733a2f2f7468656675636b7570732e6d7970696e6174612e636c6f75
Arg [9] : 642f697066732f516d5370454642675745415a696d6145463437645370355757
Arg [10] : 425938785342387836344c6759647a4368764e62616600000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.