Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
394 UNRUG
Holders
182
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
19 UNRUGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WGMINFT
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* ## ## ## ## ######## ## ## ######## ####### ##### ####### ## ######### ######### ## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ## ## ## ## ### ### ####### ## ######### ####### ## ## ## ## ## ## ## ## ## ## ### ## ### ## ### ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## #### ######### ######### ## ## ####### ######## ######### ######## */ pragma solidity >=0.7.0 <0.9.0; import "ERC721Enumerable.sol"; import "Ownable.sol"; import "CommunityOwnable.sol"; contract WGMINFT is ERC721Enumerable, CommunityOwnable, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ""; string public notRevealedUri; uint256 public cost = 0.06 ether; uint256 public maxSupply = 887; uint256 public nftPerAddressLimit = 20; uint256 public whitelistNftPerAddressLimit = 20; bool public paused = false; bool public revealed = false; bool public onlyWhitelisted = true; address[] public whitelistedAddresses; address[] public devAddresses = [0xa9476058979176694E16B8eC62A170334553A45c, 0x4F17562C9a6cCFE47c3ef4245eb53c047Cb2Ff1D]; mapping(address => uint256) public addressMintedBalance; address public guille23Address = 0x53Bf851448571A7a1f190AcA5f27A8d33e353df8; address public withdrawAddress = 0xF18668d5A3246202029E134b57d17333e2bCA284; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri, address _communityOwner ) ERC721(_name, _symbol) CommunityOwnable(_communityOwner) { initSetBaseURI(_initBaseURI); initSetNotRevealedURI(_initNotRevealedUri); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmount) public payable { require(!paused, "the contract is paused"); require(_mintAmount > 0, "need to mint at least 1 NFT"); uint256 supply = totalSupply(); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); uint256 senderMintedCount = addressMintedBalance[msg.sender]; if(onlyWhitelisted == true) { require(isWhitelisted(msg.sender), "user is not whitelisted"); require( senderMintedCount + _mintAmount <= whitelistNftPerAddressLimit, "max NFT per address exceeded while onlyWhitelisted is true" ); } require(msg.value >= cost * _mintAmount, "insufficient funds"); require(senderMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } function guille23Mint() public payable { require(!paused, "the contract is paused"); require(msg.sender == guille23Address, "guille23Address is not the caller"); uint256 supply = totalSupply(); require(supply == 887, "Only token #888 can be minted"); addressMintedBalance[msg.sender]++; _safeMint(msg.sender, 888); } function devMint(uint256 _mintAmount) public payable { require(!paused, "the contract is paused"); require(isDev(msg.sender), "user is not dev"); require(_mintAmount > 0, "need to mint at least 1 NFT"); uint256 supply = totalSupply(); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); uint256 senderMintedCount = addressMintedBalance[msg.sender]; require(senderMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } function setGuille23Address(address _address) public onlyCommunityOwner { guille23Address = _address; } function setWithdrawAddress(address _address) public onlyCommunityOwner { withdrawAddress = _address; } function isWhitelisted(address _user) public view returns (bool) { for (uint i = 0; i < whitelistedAddresses.length; i++) { if (whitelistedAddresses[i] == _user) { return true; } } return false; } function isDev(address _user) public view returns (bool) { for (uint i = 0; i < devAddresses.length; i++) { if (devAddresses[i] == _user) { return true; } } return false; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } // only owner function reveal() public onlyOwner { revealed = true; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setWhitelistNftPerAddressLimit(uint256 _limit) public onlyOwner { whitelistNftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function whitelistUsers(address[] calldata _users) public onlyOwner { delete whitelistedAddresses; whitelistedAddresses = _users; } function setDevAddresses(address[] calldata _users) public onlyCommunityOwner { delete devAddresses; devAddresses = _users; } function withdraw() public payable { (bool success, ) = payable(withdrawAddress).call{value: address(this).balance}(""); require(success, "withdrawal failed"); } function initSetBaseURI(string memory _notRevealedURI) internal onlyOwner { baseURI = _notRevealedURI; } function initSetNotRevealedURI(string memory _newBaseURI) internal onlyOwner { notRevealedUri = _newBaseURI; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "ERC721.sol"; import "IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "IERC721.sol"; import "IERC721Receiver.sol"; import "IERC721Metadata.sol"; import "Address.sol"; import "Context.sol"; import "Strings.sol"; import "ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. 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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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 { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { 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("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT 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 `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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 tokenId); /** * @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 pragma solidity ^0.8.0; import "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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT // Forked from OpenZeppelin Contracts v4.3.2 (access/Ownable.sol) pragma solidity ^0.8.0; import "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 * `onlyCommunityOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract CommunityOwnable is Context { address private _owner; event CommunityOwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor(address _communityOwner) { _transferCommunityOwnership(_communityOwner); } /** * @dev Returns the address of the current owner. */ function communityOwner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyCommunityOwner() { require(communityOwner() == _msgSender(), "CommunityOwnable: caller is not the community owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyCommunityOwner` 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 renounceCommunityOwnership() public virtual onlyCommunityOwner { _transferCommunityOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferCommunityOwnership(address newOwner) public virtual onlyCommunityOwner { require(newOwner != address(0), "CommunityOwnable: new owner is the zero address"); _transferCommunityOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferCommunityOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit CommunityOwnershipTransferred(oldOwner, newOwner); } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"address","name":"_communityOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"CommunityOwnershipTransferred","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":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"devAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guille23Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guille23Mint","outputs":[],"stateMutability":"payable","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":"_user","type":"address"}],"name":"isDev","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceCommunityOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","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":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"setDevAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setGuille23Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWhitelistNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWithdrawAddress","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferCommunityOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistNftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600d91620002f5565b5066d529ae9e860000600f55610377601055601460118190556012556013805462ffffff1916620100001790556040805180820190915273a9476058979176694e16b8ec62a170334553a45c8152734f17562c9a6ccfe47c3ef4245eb53c047cb2ff1d60208201526200009390601590600262000384565b50601780546001600160a01b03199081167353bf851448571a7a1f190aca5f27a8d33e353df8179091556018805490911673f18668d5a3246202029e134b57d17333e2bca284179055348015620000e957600080fd5b5060405162003afc38038062003afc8339810160408190526200010c916200049e565b808585816000908051906020019062000127929190620002f5565b5080516200013d906001906020840190620002f5565b5050506200015181620001cd60201b60201c565b5060006200015e6200021f565b600b80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001b78362000223565b620001c2826200028b565b5050505050620005fd565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f01c494f8bdbd01d8034d623adad50c653985837ee9456fcfea603ac04cc53ce590600090a35050565b3390565b6200022d6200021f565b6001600160a01b031662000240620002e6565b6001600160a01b031614620002725760405162461bcd60e51b8152600401620002699062000575565b60405180910390fd5b80516200028790600c906020840190620002f5565b5050565b620002956200021f565b6001600160a01b0316620002a8620002e6565b6001600160a01b031614620002d15760405162461bcd60e51b8152600401620002699062000575565b80516200028790600e906020840190620002f5565b600b546001600160a01b031690565b8280546200030390620005aa565b90600052602060002090601f01602090048101928262000327576000855562000372565b82601f106200034257805160ff191683800117855562000372565b8280016001018555821562000372579182015b828111156200037257825182559160200191906001019062000355565b5062000380929150620003dc565b5090565b82805482825590600052602060002090810192821562000372579160200282015b828111156200037257825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620003a5565b5b80821115620003805760008155600101620003dd565b600082601f83011262000404578081fd5b81516001600160401b0380821115620004215762000421620005e7565b6040516020601f8401601f1916820181018381118382101715620004495762000449620005e7565b604052838252858401810187101562000460578485fd5b8492505b8383101562000483578583018101518284018201529182019162000464565b838311156200049457848185840101525b5095945050505050565b600080600080600060a08688031215620004b6578081fd5b85516001600160401b0380821115620004cd578283fd5b620004db89838a01620003f3565b96506020880151915080821115620004f1578283fd5b620004ff89838a01620003f3565b9550604088015191508082111562000515578283fd5b6200052389838a01620003f3565b9450606088015191508082111562000539578283fd5b506200054888828901620003f3565b608088015190935090506001600160a01b038116811462000567578182fd5b809150509295509295909350565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600281046001821680620005bf57607f821691505b60208210811415620005e157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6134ef806200060d6000396000f3fe6080604052600436106103765760003560e01c806351830227116101d1578063a475b5dd11610102578063c9a5df0b116100a0578063e985e9c51161006f578063e985e9c514610941578063edec5f2714610961578063f2c4ce1e14610981578063f2fde38b146109a157610376565b8063c9a5df0b146108cc578063d0eb26b0146108ec578063d5abeb011461090c578063da3ef23f1461092157610376565b8063ba4e5c49116100dc578063ba4e5c4914610862578063ba7d2c7614610882578063c668286214610897578063c87b56dd146108ac57610376565b8063a475b5dd1461080d578063b4ccd3c214610822578063b88d4fde1461084257610376565b8063715018a61161016f57806395d89b411161014957806395d89b41146107b05780639c70b512146107c5578063a0712d68146107da578063a22cb465146107ed57610376565b8063715018a61461077e5780637e2085f4146107935780638da5cb5b1461079b57610376565b8063623330ae116101ab578063623330ae146107095780636352211e146107295780636c0360eb1461074957806370a082311461075e57610376565b806351830227146106bf57806355f804b3146106d45780635c975abb146106f457610376565b8063255b6441116102ab5780633c95276411610249578063438b630011610223578063438b630014610632578063441d86f11461065f57806344a0d68a1461067f5780634f6ccce71461069f57610376565b80633c952764146105ea5780633ccfd60b1461060a57806342842e0e1461061257610376565b8063375a069a11610285578063375a069a1461058257806338518bfe146105955780633ab1a494146105aa5780633af32abf146105ca57610376565b8063255b64411461052d5780632c12e4c11461054d5780632f745c591461056257610376565b80630c3f64bf1161031857806318160ddd116102f257806318160ddd146104c357806318cae269146104d857806321e3afde146104f857806323b872dd1461050d57610376565b80630c3f64bf1461046c57806313faede61461048c5780631581b600146104ae57610376565b8063081812fc11610354578063081812fc146103f5578063081c8c4414610422578063095ea7b3146104375780630ad8dcb61461045757610376565b806301ffc9a71461037b57806302329a29146103b157806306fdde03146103d3575b600080fd5b34801561038757600080fd5b5061039b610396366004612921565b6109c1565b6040516103a89190612b3d565b60405180910390f35b3480156103bd57600080fd5b506103d16103cc366004612907565b6109ee565b005b3480156103df57600080fd5b506103e8610a49565b6040516103a89190612b48565b34801561040157600080fd5b5061041561041036600461299f565b610adb565b6040516103a89190612aa8565b34801561042e57600080fd5b506103e8610b1e565b34801561044357600080fd5b506103d161045236600461286f565b610bac565b34801561046357600080fd5b506103d1610c44565b34801561047857600080fd5b5061039b610487366004612746565b610c8f565b34801561049857600080fd5b506104a1610d08565b6040516103a89190613354565b3480156104ba57600080fd5b50610415610d0e565b3480156104cf57600080fd5b506104a1610d1d565b3480156104e457600080fd5b506104a16104f3366004612746565b610d23565b34801561050457600080fd5b506104a1610d35565b34801561051957600080fd5b506103d1610528366004612792565b610d3b565b34801561053957600080fd5b506103d1610548366004612746565b610d73565b34801561055957600080fd5b50610415610dd4565b34801561056e57600080fd5b506104a161057d36600461286f565b610de3565b6103d161059036600461299f565b610e35565b3480156105a157600080fd5b50610415610f66565b3480156105b657600080fd5b506103d16105c5366004612746565b610f75565b3480156105d657600080fd5b5061039b6105e5366004612746565b610fd6565b3480156105f657600080fd5b506103d1610605366004612907565b611046565b6103d16110a1565b34801561061e57600080fd5b506103d161062d366004612792565b611125565b34801561063e57600080fd5b5061065261064d366004612746565b611140565b6040516103a89190612af9565b34801561066b57600080fd5b506103d161067a36600461299f565b6111fe565b34801561068b57600080fd5b506103d161069a36600461299f565b611242565b3480156106ab57600080fd5b506104a16106ba36600461299f565b611286565b3480156106cb57600080fd5b5061039b6112e1565b3480156106e057600080fd5b506103d16106ef366004612959565b6112ef565b34801561070057600080fd5b5061039b611345565b34801561071557600080fd5b506103d1610724366004612746565b61134e565b34801561073557600080fd5b5061041561074436600461299f565b6113bc565b34801561075557600080fd5b506103e86113f1565b34801561076a57600080fd5b506104a1610779366004612746565b6113fe565b34801561078a57600080fd5b506103d1611442565b6103d16114cb565b3480156107a757600080fd5b50610415611571565b3480156107bc57600080fd5b506103e8611580565b3480156107d157600080fd5b5061039b61158f565b6103d16107e836600461299f565b61159e565b3480156107f957600080fd5b506103d1610808366004612846565b611732565b34801561081957600080fd5b506103d1611800565b34801561082e57600080fd5b5061041561083d36600461299f565b611850565b34801561084e57600080fd5b506103d161085d3660046127cd565b61187a565b34801561086e57600080fd5b5061041561087d36600461299f565b6118b3565b34801561088e57600080fd5b506104a16118c3565b3480156108a357600080fd5b506103e86118c9565b3480156108b857600080fd5b506103e86108c736600461299f565b6118d6565b3480156108d857600080fd5b506103d16108e7366004612898565b6119fd565b3480156108f857600080fd5b506103d161090736600461299f565b611a54565b34801561091857600080fd5b506104a1611a98565b34801561092d57600080fd5b506103d161093c366004612959565b611a9e565b34801561094d57600080fd5b5061039b61095c366004612760565b611af0565b34801561096d57600080fd5b506103d161097c366004612898565b611b1e565b34801561098d57600080fd5b506103d161099c366004612959565b611b75565b3480156109ad57600080fd5b506103d16109bc366004612746565b611bc7565b60006001600160e01b0319821663780e9d6360e01b14806109e657506109e682611c88565b90505b919050565b6109f6611cc8565b6001600160a01b0316610a07611571565b6001600160a01b031614610a365760405162461bcd60e51b8152600401610a2d90613057565b60405180910390fd5b6013805460ff1916911515919091179055565b606060008054610a58906133f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610a84906133f7565b8015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610ae682611ccc565b610b025760405162461bcd60e51b8152600401610a2d9061300b565b506000908152600460205260409020546001600160a01b031690565b600e8054610b2b906133f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b57906133f7565b8015610ba45780601f10610b7957610100808354040283529160200191610ba4565b820191906000526020600020905b815481529060010190602001808311610b8757829003601f168201915b505050505081565b6000610bb7826113bc565b9050806001600160a01b0316836001600160a01b03161415610beb5760405162461bcd60e51b8152600401610a2d90613154565b806001600160a01b0316610bfd611cc8565b6001600160a01b03161480610c195750610c198161095c611cc8565b610c355760405162461bcd60e51b8152600401610a2d90612e26565b610c3f8383611ce9565b505050565b610c4c611cc8565b6001600160a01b0316610c5d610f66565b6001600160a01b031614610c835760405162461bcd60e51b8152600401610a2d90612b5b565b610c8d6000611d57565b565b6000805b601554811015610cff57826001600160a01b031660158281548110610cc857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ced5760019150506109e9565b80610cf781613432565b915050610c93565b50600092915050565b600f5481565b6018546001600160a01b031681565b60085490565b60166020526000908152604090205481565b60125481565b610d4c610d46611cc8565b82611da9565b610d685760405162461bcd60e51b8152600401610a2d90613249565b610c3f838383611e2e565b610d7b611cc8565b6001600160a01b0316610d8c610f66565b6001600160a01b031614610db25760405162461bcd60e51b8152600401610a2d90612b5b565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6017546001600160a01b031681565b6000610dee836113fe565b8210610e0c5760405162461bcd60e51b8152600401610a2d90612be5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60135460ff1615610e585760405162461bcd60e51b8152600401610a2d9061308c565b610e6133610c8f565b610e7d5760405162461bcd60e51b8152600401610a2d90612cc8565b60008111610e9d5760405162461bcd60e51b8152600401610a2d9061331d565b6000610ea7610d1d565b601054909150610eb78383613369565b1115610ed55760405162461bcd60e51b8152600401610a2d90612fa6565b33600090815260166020526040902054601154610ef28483613369565b1115610f105760405162461bcd60e51b8152600401610a2d90612d28565b60015b838111610f6057336000908152601660205260408120805491610f3583613432565b90915550610f4e905033610f498386613369565b611f5b565b80610f5881613432565b915050610f13565b50505050565b600a546001600160a01b031690565b610f7d611cc8565b6001600160a01b0316610f8e610f66565b6001600160a01b031614610fb45760405162461bcd60e51b8152600401610a2d90612b5b565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6000805b601454811015610cff57826001600160a01b03166014828154811061100f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156110345760019150506109e9565b8061103e81613432565b915050610fda565b61104e611cc8565b6001600160a01b031661105f611571565b6001600160a01b0316146110855760405162461bcd60e51b8152600401610a2d90613057565b60138054911515620100000262ff000019909216919091179055565b6018546040516000916001600160a01b03169047906110bf90612aa5565b60006040518083038185875af1925050503d80600081146110fc576040519150601f19603f3d011682016040523d82523d6000602084013e611101565b606091505b50509050806111225760405162461bcd60e51b8152600401610a2d906131f2565b50565b610c3f8383836040518060200160405280600081525061187a565b6060600061114d836113fe565b905060008167ffffffffffffffff81111561117857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111a1578160200160208202803683370190505b50905060005b828110156111f6576111b98582610de3565b8282815181106111d957634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806111ee81613432565b9150506111a7565b509392505050565b611206611cc8565b6001600160a01b0316611217611571565b6001600160a01b03161461123d5760405162461bcd60e51b8152600401610a2d90613057565b601255565b61124a611cc8565b6001600160a01b031661125b611571565b6001600160a01b0316146112815760405162461bcd60e51b8152600401610a2d90613057565b600f55565b6000611290610d1d565b82106112ae5760405162461bcd60e51b8152600401610a2d9061329a565b600882815481106112cf57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b601354610100900460ff1681565b6112f7611cc8565b6001600160a01b0316611308611571565b6001600160a01b03161461132e5760405162461bcd60e51b8152600401610a2d90613057565b805161134190600c9060208401906125a5565b5050565b60135460ff1681565b611356611cc8565b6001600160a01b0316611367610f66565b6001600160a01b03161461138d5760405162461bcd60e51b8152600401610a2d90612b5b565b6001600160a01b0381166113b35760405162461bcd60e51b8152600401610a2d90612f57565b61112281611d57565b6000818152600260205260408120546001600160a01b0316806109e65760405162461bcd60e51b8152600401610a2d90612ecd565b600c8054610b2b906133f7565b60006001600160a01b0382166114265760405162461bcd60e51b8152600401610a2d90612e83565b506001600160a01b031660009081526003602052604090205490565b61144a611cc8565b6001600160a01b031661145b611571565b6001600160a01b0316146114815760405162461bcd60e51b8152600401610a2d90613057565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b60135460ff16156114ee5760405162461bcd60e51b8152600401610a2d9061308c565b6017546001600160a01b031633146115185760405162461bcd60e51b8152600401610a2d90612f16565b6000611522610d1d565b905080610377146115455760405162461bcd60e51b8152600401610a2d90612bae565b33600090815260166020526040812080549161156083613432565b919050555061112233610378611f5b565b600b546001600160a01b031690565b606060018054610a58906133f7565b60135462010000900460ff1681565b60135460ff16156115c15760405162461bcd60e51b8152600401610a2d9061308c565b600081116115e15760405162461bcd60e51b8152600401610a2d9061331d565b60006115eb610d1d565b6010549091506115fb8383613369565b11156116195760405162461bcd60e51b8152600401610a2d90612fa6565b3360009081526016602052604090205460135462010000900460ff1615156001141561168f5761164833610fd6565b6116645760405162461bcd60e51b8152600401610a2d906132e6565b6012546116718483613369565b111561168f5760405162461bcd60e51b8152600401610a2d90613195565b82600f5461169d9190613395565b3410156116bc5760405162461bcd60e51b8152600401610a2d9061321d565b6011546116c98483613369565b11156116e75760405162461bcd60e51b8152600401610a2d90612d28565b60015b838111610f605733600090815260166020526040812080549161170c83613432565b90915550611720905033610f498386613369565b8061172a81613432565b9150506116ea565b61173a611cc8565b6001600160a01b0316826001600160a01b0316141561176b5760405162461bcd60e51b8152600401610a2d90612da3565b8060056000611778611cc8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117bc611cc8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117f49190612b3d565b60405180910390a35050565b611808611cc8565b6001600160a01b0316611819611571565b6001600160a01b03161461183f5760405162461bcd60e51b8152600401610a2d90613057565b6013805461ff001916610100179055565b6015818154811061186057600080fd5b6000918252602090912001546001600160a01b0316905081565b61188b611885611cc8565b83611da9565b6118a75760405162461bcd60e51b8152600401610a2d90613249565b610f6084848484611f75565b6014818154811061186057600080fd5b60115481565b600d8054610b2b906133f7565b60606118e182611ccc565b6118fd5760405162461bcd60e51b8152600401610a2d90613105565b601354610100900460ff1661199e57600e8054611919906133f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611945906133f7565b80156119925780601f1061196757610100808354040283529160200191611992565b820191906000526020600020905b81548152906001019060200180831161197557829003601f168201915b505050505090506109e9565b60006119a8611fa8565b905060008151116119c857604051806020016040528060008152506119f6565b806119d284611fb7565b600d6040516020016119e6939291906129e3565b6040516020818303038152906040525b9392505050565b611a05611cc8565b6001600160a01b0316611a16610f66565b6001600160a01b031614611a3c5760405162461bcd60e51b8152600401610a2d90612b5b565b611a4860156000612629565b610c3f60158383612647565b611a5c611cc8565b6001600160a01b0316611a6d611571565b6001600160a01b031614611a935760405162461bcd60e51b8152600401610a2d90613057565b601155565b60105481565b611aa6611cc8565b6001600160a01b0316611ab7611571565b6001600160a01b031614611add5760405162461bcd60e51b8152600401610a2d90613057565b805161134190600d9060208401906125a5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611b26611cc8565b6001600160a01b0316611b37611571565b6001600160a01b031614611b5d5760405162461bcd60e51b8152600401610a2d90613057565b611b6960146000612629565b610c3f60148383612647565b611b7d611cc8565b6001600160a01b0316611b8e611571565b6001600160a01b031614611bb45760405162461bcd60e51b8152600401610a2d90613057565b805161134190600e9060208401906125a5565b611bcf611cc8565b6001600160a01b0316611be0611571565b6001600160a01b031614611c065760405162461bcd60e51b8152600401610a2d90613057565b6001600160a01b038116611c2c5760405162461bcd60e51b8152600401610a2d90612c82565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b1480611cb957506001600160e01b03198216635b5e139f60e01b145b806109e657506109e6826120d2565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d1e826113bc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f01c494f8bdbd01d8034d623adad50c653985837ee9456fcfea603ac04cc53ce590600090a35050565b6000611db482611ccc565b611dd05760405162461bcd60e51b8152600401610a2d90612dda565b6000611ddb836113bc565b9050806001600160a01b0316846001600160a01b03161480611e165750836001600160a01b0316611e0b84610adb565b6001600160a01b0316145b80611e265750611e268185611af0565b949350505050565b826001600160a01b0316611e41826113bc565b6001600160a01b031614611e675760405162461bcd60e51b8152600401610a2d906130bc565b6001600160a01b038216611e8d5760405162461bcd60e51b8152600401610a2d90612d5f565b611e988383836120eb565b611ea3600082611ce9565b6001600160a01b0383166000908152600360205260408120805460019290611ecc9084906133b4565b90915550506001600160a01b0382166000908152600360205260408120805460019290611efa908490613369565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611341828260405180602001604052806000815250612174565b611f80848484611e2e565b611f8c848484846121a7565b610f605760405162461bcd60e51b8152600401610a2d90612c30565b6060600c8054610a58906133f7565b606081611fdc57506040805180820190915260018152600360fc1b60208201526109e9565b8160005b81156120065780611ff081613432565b9150611fff9050600a83613381565b9150611fe0565b60008167ffffffffffffffff81111561202f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612059576020820181803683370190505b5090505b8415611e265761206e6001836133b4565b915061207b600a8661344d565b612086906030613369565b60f81b8183815181106120a957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506120cb600a86613381565b945061205d565b6001600160e01b031981166301ffc9a760e01b14919050565b6120f6838383610c3f565b6001600160a01b0383166121125761210d816122c2565b612135565b816001600160a01b0316836001600160a01b031614612135576121358382612306565b6001600160a01b0382166121515761214c816123a3565b610c3f565b826001600160a01b0316826001600160a01b031614610c3f57610c3f828261247c565b61217e83836124c0565b61218b60008484846121a7565b610c3f5760405162461bcd60e51b8152600401610a2d90612c30565b60006121bb846001600160a01b031661259f565b156122b757836001600160a01b031663150b7a026121d7611cc8565b8786866040518563ffffffff1660e01b81526004016121f99493929190612abc565b602060405180830381600087803b15801561221357600080fd5b505af1925050508015612243575060408051601f3d908101601f191682019092526122409181019061293d565b60015b61229d573d808015612271576040519150601f19603f3d011682016040523d82523d6000602084013e612276565b606091505b5080516122955760405162461bcd60e51b8152600401610a2d90612c30565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e26565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001612313846113fe565b61231d91906133b4565b600083815260076020526040902054909150808214612370576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123b5906001906133b4565b600083815260096020526040812054600880549394509092849081106123eb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061241a57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061246057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612487836113fe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166124e65760405162461bcd60e51b8152600401610a2d90612fd6565b6124ef81611ccc565b1561250c5760405162461bcd60e51b8152600401610a2d90612cf1565b612518600083836120eb565b6001600160a01b0382166000908152600360205260408120805460019290612541908490613369565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546125b1906133f7565b90600052602060002090601f0160209004810192826125d35760008555612619565b82601f106125ec57805160ff1916838001178555612619565b82800160010185558215612619579182015b828111156126195782518255916020019190600101906125fe565b5061262592915061269a565b5090565b5080546000825590600052602060002090810190611122919061269a565b828054828255906000526020600020908101928215612619579160200282015b828111156126195781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612667565b5b80821115612625576000815560010161269b565b600067ffffffffffffffff808411156126ca576126ca61348d565b604051601f8501601f1916810160200182811182821017156126ee576126ee61348d565b60405284815291508183850186101561270657600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146109e957600080fd5b803580151581146109e957600080fd5b600060208284031215612757578081fd5b6119f68261271f565b60008060408385031215612772578081fd5b61277b8361271f565b91506127896020840161271f565b90509250929050565b6000806000606084860312156127a6578081fd5b6127af8461271f565b92506127bd6020850161271f565b9150604084013590509250925092565b600080600080608085870312156127e2578081fd5b6127eb8561271f565b93506127f96020860161271f565b925060408501359150606085013567ffffffffffffffff81111561281b578182fd5b8501601f8101871361282b578182fd5b61283a878235602084016126af565b91505092959194509250565b60008060408385031215612858578182fd5b6128618361271f565b915061278960208401612736565b60008060408385031215612881578182fd5b61288a8361271f565b946020939093013593505050565b600080602083850312156128aa578182fd5b823567ffffffffffffffff808211156128c1578384fd5b818501915085601f8301126128d4578384fd5b8135818111156128e2578485fd5b86602080830285010111156128f5578485fd5b60209290920196919550909350505050565b600060208284031215612918578081fd5b6119f682612736565b600060208284031215612932578081fd5b81356119f6816134a3565b60006020828403121561294e578081fd5b81516119f6816134a3565b60006020828403121561296a578081fd5b813567ffffffffffffffff811115612980578182fd5b8201601f81018413612990578182fd5b611e26848235602084016126af565b6000602082840312156129b0578081fd5b5035919050565b600081518084526129cf8160208601602086016133cb565b601f01601f19169290920160200192915050565b6000845160206129f68285838a016133cb565b855191840191612a098184848a016133cb565b8554920191839060028104600180831680612a2557607f831692505b858310811415612a4357634e487b7160e01b88526022600452602488fd5b808015612a575760018114612a6857612a94565b60ff19851688528388019550612a94565b612a718b61335d565b895b85811015612a8c5781548a820152908401908801612a73565b505083880195505b50939b9a5050505050505050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612aef908301846129b7565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612b3157835183529284019291840191600101612b15565b50909695505050505050565b901515815260200190565b6000602082526119f660208301846129b7565b60208082526033908201527f436f6d6d756e6974794f776e61626c653a2063616c6c6572206973206e6f74206040820152723a34329031b7b6b6bab734ba3c9037bbb732b960691b606082015260800190565b6020808252601d908201527f4f6e6c7920746f6b656e20233838382063616e206265206d696e746564000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e3ab9b2b91034b9903737ba103232bb60891b604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601c908201527f6d6178204e465420706572206164647265737320657863656564656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526021908201527f6775696c6c65323341646472657373206973206e6f74207468652063616c6c656040820152603960f91b606082015260800190565b6020808252602f908201527f436f6d6d756e6974794f776e61626c653a206e6577206f776e6572206973207460408201526e6865207a65726f206164647265737360881b606082015260800190565b6020808252601690820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601690820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252603a908201527f6d6178204e46542070657220616464726573732065786365656465642077686960408201527f6c65206f6e6c7957686974656c69737465642069732074727565000000000000606082015260800190565b6020808252601190820152701dda5d1a191c985dd85b0819985a5b1959607a1b604082015260600190565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526017908201527f75736572206973206e6f742077686974656c6973746564000000000000000000604082015260600190565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b90815260200190565b60009081526020902090565b6000821982111561337c5761337c613461565b500190565b60008261339057613390613477565b500490565b60008160001904831182151516156133af576133af613461565b500290565b6000828210156133c6576133c6613461565b500390565b60005b838110156133e65781810151838201526020016133ce565b83811115610f605750506000910152565b60028104600182168061340b57607f821691505b6020821081141561342c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561344657613446613461565b5060010190565b60008261345c5761345c613477565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461112257600080fdfea2646970667358221220976fc87f361b3a8c431bdd8eeb8c9291c01b28fc749638f144548b63efa2cfd064736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f18668d5a3246202029e134b57d17333e2bca284000000000000000000000000000000000000000000000000000000000000000f54686520556e7275676761626c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005554e525547000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f756e7267626c6d642d34766233752e6f6e6469676974616c6f6365616e2e6170702f4e6f6e653f69643d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f756e7267626c6d642d34766233752e6f6e6469676974616c6f6365616e2e6170702f70726576696577000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103765760003560e01c806351830227116101d1578063a475b5dd11610102578063c9a5df0b116100a0578063e985e9c51161006f578063e985e9c514610941578063edec5f2714610961578063f2c4ce1e14610981578063f2fde38b146109a157610376565b8063c9a5df0b146108cc578063d0eb26b0146108ec578063d5abeb011461090c578063da3ef23f1461092157610376565b8063ba4e5c49116100dc578063ba4e5c4914610862578063ba7d2c7614610882578063c668286214610897578063c87b56dd146108ac57610376565b8063a475b5dd1461080d578063b4ccd3c214610822578063b88d4fde1461084257610376565b8063715018a61161016f57806395d89b411161014957806395d89b41146107b05780639c70b512146107c5578063a0712d68146107da578063a22cb465146107ed57610376565b8063715018a61461077e5780637e2085f4146107935780638da5cb5b1461079b57610376565b8063623330ae116101ab578063623330ae146107095780636352211e146107295780636c0360eb1461074957806370a082311461075e57610376565b806351830227146106bf57806355f804b3146106d45780635c975abb146106f457610376565b8063255b6441116102ab5780633c95276411610249578063438b630011610223578063438b630014610632578063441d86f11461065f57806344a0d68a1461067f5780634f6ccce71461069f57610376565b80633c952764146105ea5780633ccfd60b1461060a57806342842e0e1461061257610376565b8063375a069a11610285578063375a069a1461058257806338518bfe146105955780633ab1a494146105aa5780633af32abf146105ca57610376565b8063255b64411461052d5780632c12e4c11461054d5780632f745c591461056257610376565b80630c3f64bf1161031857806318160ddd116102f257806318160ddd146104c357806318cae269146104d857806321e3afde146104f857806323b872dd1461050d57610376565b80630c3f64bf1461046c57806313faede61461048c5780631581b600146104ae57610376565b8063081812fc11610354578063081812fc146103f5578063081c8c4414610422578063095ea7b3146104375780630ad8dcb61461045757610376565b806301ffc9a71461037b57806302329a29146103b157806306fdde03146103d3575b600080fd5b34801561038757600080fd5b5061039b610396366004612921565b6109c1565b6040516103a89190612b3d565b60405180910390f35b3480156103bd57600080fd5b506103d16103cc366004612907565b6109ee565b005b3480156103df57600080fd5b506103e8610a49565b6040516103a89190612b48565b34801561040157600080fd5b5061041561041036600461299f565b610adb565b6040516103a89190612aa8565b34801561042e57600080fd5b506103e8610b1e565b34801561044357600080fd5b506103d161045236600461286f565b610bac565b34801561046357600080fd5b506103d1610c44565b34801561047857600080fd5b5061039b610487366004612746565b610c8f565b34801561049857600080fd5b506104a1610d08565b6040516103a89190613354565b3480156104ba57600080fd5b50610415610d0e565b3480156104cf57600080fd5b506104a1610d1d565b3480156104e457600080fd5b506104a16104f3366004612746565b610d23565b34801561050457600080fd5b506104a1610d35565b34801561051957600080fd5b506103d1610528366004612792565b610d3b565b34801561053957600080fd5b506103d1610548366004612746565b610d73565b34801561055957600080fd5b50610415610dd4565b34801561056e57600080fd5b506104a161057d36600461286f565b610de3565b6103d161059036600461299f565b610e35565b3480156105a157600080fd5b50610415610f66565b3480156105b657600080fd5b506103d16105c5366004612746565b610f75565b3480156105d657600080fd5b5061039b6105e5366004612746565b610fd6565b3480156105f657600080fd5b506103d1610605366004612907565b611046565b6103d16110a1565b34801561061e57600080fd5b506103d161062d366004612792565b611125565b34801561063e57600080fd5b5061065261064d366004612746565b611140565b6040516103a89190612af9565b34801561066b57600080fd5b506103d161067a36600461299f565b6111fe565b34801561068b57600080fd5b506103d161069a36600461299f565b611242565b3480156106ab57600080fd5b506104a16106ba36600461299f565b611286565b3480156106cb57600080fd5b5061039b6112e1565b3480156106e057600080fd5b506103d16106ef366004612959565b6112ef565b34801561070057600080fd5b5061039b611345565b34801561071557600080fd5b506103d1610724366004612746565b61134e565b34801561073557600080fd5b5061041561074436600461299f565b6113bc565b34801561075557600080fd5b506103e86113f1565b34801561076a57600080fd5b506104a1610779366004612746565b6113fe565b34801561078a57600080fd5b506103d1611442565b6103d16114cb565b3480156107a757600080fd5b50610415611571565b3480156107bc57600080fd5b506103e8611580565b3480156107d157600080fd5b5061039b61158f565b6103d16107e836600461299f565b61159e565b3480156107f957600080fd5b506103d1610808366004612846565b611732565b34801561081957600080fd5b506103d1611800565b34801561082e57600080fd5b5061041561083d36600461299f565b611850565b34801561084e57600080fd5b506103d161085d3660046127cd565b61187a565b34801561086e57600080fd5b5061041561087d36600461299f565b6118b3565b34801561088e57600080fd5b506104a16118c3565b3480156108a357600080fd5b506103e86118c9565b3480156108b857600080fd5b506103e86108c736600461299f565b6118d6565b3480156108d857600080fd5b506103d16108e7366004612898565b6119fd565b3480156108f857600080fd5b506103d161090736600461299f565b611a54565b34801561091857600080fd5b506104a1611a98565b34801561092d57600080fd5b506103d161093c366004612959565b611a9e565b34801561094d57600080fd5b5061039b61095c366004612760565b611af0565b34801561096d57600080fd5b506103d161097c366004612898565b611b1e565b34801561098d57600080fd5b506103d161099c366004612959565b611b75565b3480156109ad57600080fd5b506103d16109bc366004612746565b611bc7565b60006001600160e01b0319821663780e9d6360e01b14806109e657506109e682611c88565b90505b919050565b6109f6611cc8565b6001600160a01b0316610a07611571565b6001600160a01b031614610a365760405162461bcd60e51b8152600401610a2d90613057565b60405180910390fd5b6013805460ff1916911515919091179055565b606060008054610a58906133f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610a84906133f7565b8015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b5050505050905090565b6000610ae682611ccc565b610b025760405162461bcd60e51b8152600401610a2d9061300b565b506000908152600460205260409020546001600160a01b031690565b600e8054610b2b906133f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b57906133f7565b8015610ba45780601f10610b7957610100808354040283529160200191610ba4565b820191906000526020600020905b815481529060010190602001808311610b8757829003601f168201915b505050505081565b6000610bb7826113bc565b9050806001600160a01b0316836001600160a01b03161415610beb5760405162461bcd60e51b8152600401610a2d90613154565b806001600160a01b0316610bfd611cc8565b6001600160a01b03161480610c195750610c198161095c611cc8565b610c355760405162461bcd60e51b8152600401610a2d90612e26565b610c3f8383611ce9565b505050565b610c4c611cc8565b6001600160a01b0316610c5d610f66565b6001600160a01b031614610c835760405162461bcd60e51b8152600401610a2d90612b5b565b610c8d6000611d57565b565b6000805b601554811015610cff57826001600160a01b031660158281548110610cc857634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415610ced5760019150506109e9565b80610cf781613432565b915050610c93565b50600092915050565b600f5481565b6018546001600160a01b031681565b60085490565b60166020526000908152604090205481565b60125481565b610d4c610d46611cc8565b82611da9565b610d685760405162461bcd60e51b8152600401610a2d90613249565b610c3f838383611e2e565b610d7b611cc8565b6001600160a01b0316610d8c610f66565b6001600160a01b031614610db25760405162461bcd60e51b8152600401610a2d90612b5b565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6017546001600160a01b031681565b6000610dee836113fe565b8210610e0c5760405162461bcd60e51b8152600401610a2d90612be5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60135460ff1615610e585760405162461bcd60e51b8152600401610a2d9061308c565b610e6133610c8f565b610e7d5760405162461bcd60e51b8152600401610a2d90612cc8565b60008111610e9d5760405162461bcd60e51b8152600401610a2d9061331d565b6000610ea7610d1d565b601054909150610eb78383613369565b1115610ed55760405162461bcd60e51b8152600401610a2d90612fa6565b33600090815260166020526040902054601154610ef28483613369565b1115610f105760405162461bcd60e51b8152600401610a2d90612d28565b60015b838111610f6057336000908152601660205260408120805491610f3583613432565b90915550610f4e905033610f498386613369565b611f5b565b80610f5881613432565b915050610f13565b50505050565b600a546001600160a01b031690565b610f7d611cc8565b6001600160a01b0316610f8e610f66565b6001600160a01b031614610fb45760405162461bcd60e51b8152600401610a2d90612b5b565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b6000805b601454811015610cff57826001600160a01b03166014828154811061100f57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156110345760019150506109e9565b8061103e81613432565b915050610fda565b61104e611cc8565b6001600160a01b031661105f611571565b6001600160a01b0316146110855760405162461bcd60e51b8152600401610a2d90613057565b60138054911515620100000262ff000019909216919091179055565b6018546040516000916001600160a01b03169047906110bf90612aa5565b60006040518083038185875af1925050503d80600081146110fc576040519150601f19603f3d011682016040523d82523d6000602084013e611101565b606091505b50509050806111225760405162461bcd60e51b8152600401610a2d906131f2565b50565b610c3f8383836040518060200160405280600081525061187a565b6060600061114d836113fe565b905060008167ffffffffffffffff81111561117857634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156111a1578160200160208202803683370190505b50905060005b828110156111f6576111b98582610de3565b8282815181106111d957634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806111ee81613432565b9150506111a7565b509392505050565b611206611cc8565b6001600160a01b0316611217611571565b6001600160a01b03161461123d5760405162461bcd60e51b8152600401610a2d90613057565b601255565b61124a611cc8565b6001600160a01b031661125b611571565b6001600160a01b0316146112815760405162461bcd60e51b8152600401610a2d90613057565b600f55565b6000611290610d1d565b82106112ae5760405162461bcd60e51b8152600401610a2d9061329a565b600882815481106112cf57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b601354610100900460ff1681565b6112f7611cc8565b6001600160a01b0316611308611571565b6001600160a01b03161461132e5760405162461bcd60e51b8152600401610a2d90613057565b805161134190600c9060208401906125a5565b5050565b60135460ff1681565b611356611cc8565b6001600160a01b0316611367610f66565b6001600160a01b03161461138d5760405162461bcd60e51b8152600401610a2d90612b5b565b6001600160a01b0381166113b35760405162461bcd60e51b8152600401610a2d90612f57565b61112281611d57565b6000818152600260205260408120546001600160a01b0316806109e65760405162461bcd60e51b8152600401610a2d90612ecd565b600c8054610b2b906133f7565b60006001600160a01b0382166114265760405162461bcd60e51b8152600401610a2d90612e83565b506001600160a01b031660009081526003602052604090205490565b61144a611cc8565b6001600160a01b031661145b611571565b6001600160a01b0316146114815760405162461bcd60e51b8152600401610a2d90613057565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b60135460ff16156114ee5760405162461bcd60e51b8152600401610a2d9061308c565b6017546001600160a01b031633146115185760405162461bcd60e51b8152600401610a2d90612f16565b6000611522610d1d565b905080610377146115455760405162461bcd60e51b8152600401610a2d90612bae565b33600090815260166020526040812080549161156083613432565b919050555061112233610378611f5b565b600b546001600160a01b031690565b606060018054610a58906133f7565b60135462010000900460ff1681565b60135460ff16156115c15760405162461bcd60e51b8152600401610a2d9061308c565b600081116115e15760405162461bcd60e51b8152600401610a2d9061331d565b60006115eb610d1d565b6010549091506115fb8383613369565b11156116195760405162461bcd60e51b8152600401610a2d90612fa6565b3360009081526016602052604090205460135462010000900460ff1615156001141561168f5761164833610fd6565b6116645760405162461bcd60e51b8152600401610a2d906132e6565b6012546116718483613369565b111561168f5760405162461bcd60e51b8152600401610a2d90613195565b82600f5461169d9190613395565b3410156116bc5760405162461bcd60e51b8152600401610a2d9061321d565b6011546116c98483613369565b11156116e75760405162461bcd60e51b8152600401610a2d90612d28565b60015b838111610f605733600090815260166020526040812080549161170c83613432565b90915550611720905033610f498386613369565b8061172a81613432565b9150506116ea565b61173a611cc8565b6001600160a01b0316826001600160a01b0316141561176b5760405162461bcd60e51b8152600401610a2d90612da3565b8060056000611778611cc8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117bc611cc8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117f49190612b3d565b60405180910390a35050565b611808611cc8565b6001600160a01b0316611819611571565b6001600160a01b03161461183f5760405162461bcd60e51b8152600401610a2d90613057565b6013805461ff001916610100179055565b6015818154811061186057600080fd5b6000918252602090912001546001600160a01b0316905081565b61188b611885611cc8565b83611da9565b6118a75760405162461bcd60e51b8152600401610a2d90613249565b610f6084848484611f75565b6014818154811061186057600080fd5b60115481565b600d8054610b2b906133f7565b60606118e182611ccc565b6118fd5760405162461bcd60e51b8152600401610a2d90613105565b601354610100900460ff1661199e57600e8054611919906133f7565b80601f0160208091040260200160405190810160405280929190818152602001828054611945906133f7565b80156119925780601f1061196757610100808354040283529160200191611992565b820191906000526020600020905b81548152906001019060200180831161197557829003601f168201915b505050505090506109e9565b60006119a8611fa8565b905060008151116119c857604051806020016040528060008152506119f6565b806119d284611fb7565b600d6040516020016119e6939291906129e3565b6040516020818303038152906040525b9392505050565b611a05611cc8565b6001600160a01b0316611a16610f66565b6001600160a01b031614611a3c5760405162461bcd60e51b8152600401610a2d90612b5b565b611a4860156000612629565b610c3f60158383612647565b611a5c611cc8565b6001600160a01b0316611a6d611571565b6001600160a01b031614611a935760405162461bcd60e51b8152600401610a2d90613057565b601155565b60105481565b611aa6611cc8565b6001600160a01b0316611ab7611571565b6001600160a01b031614611add5760405162461bcd60e51b8152600401610a2d90613057565b805161134190600d9060208401906125a5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611b26611cc8565b6001600160a01b0316611b37611571565b6001600160a01b031614611b5d5760405162461bcd60e51b8152600401610a2d90613057565b611b6960146000612629565b610c3f60148383612647565b611b7d611cc8565b6001600160a01b0316611b8e611571565b6001600160a01b031614611bb45760405162461bcd60e51b8152600401610a2d90613057565b805161134190600e9060208401906125a5565b611bcf611cc8565b6001600160a01b0316611be0611571565b6001600160a01b031614611c065760405162461bcd60e51b8152600401610a2d90613057565b6001600160a01b038116611c2c5760405162461bcd60e51b8152600401610a2d90612c82565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b1480611cb957506001600160e01b03198216635b5e139f60e01b145b806109e657506109e6826120d2565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d1e826113bc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f01c494f8bdbd01d8034d623adad50c653985837ee9456fcfea603ac04cc53ce590600090a35050565b6000611db482611ccc565b611dd05760405162461bcd60e51b8152600401610a2d90612dda565b6000611ddb836113bc565b9050806001600160a01b0316846001600160a01b03161480611e165750836001600160a01b0316611e0b84610adb565b6001600160a01b0316145b80611e265750611e268185611af0565b949350505050565b826001600160a01b0316611e41826113bc565b6001600160a01b031614611e675760405162461bcd60e51b8152600401610a2d906130bc565b6001600160a01b038216611e8d5760405162461bcd60e51b8152600401610a2d90612d5f565b611e988383836120eb565b611ea3600082611ce9565b6001600160a01b0383166000908152600360205260408120805460019290611ecc9084906133b4565b90915550506001600160a01b0382166000908152600360205260408120805460019290611efa908490613369565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611341828260405180602001604052806000815250612174565b611f80848484611e2e565b611f8c848484846121a7565b610f605760405162461bcd60e51b8152600401610a2d90612c30565b6060600c8054610a58906133f7565b606081611fdc57506040805180820190915260018152600360fc1b60208201526109e9565b8160005b81156120065780611ff081613432565b9150611fff9050600a83613381565b9150611fe0565b60008167ffffffffffffffff81111561202f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612059576020820181803683370190505b5090505b8415611e265761206e6001836133b4565b915061207b600a8661344d565b612086906030613369565b60f81b8183815181106120a957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506120cb600a86613381565b945061205d565b6001600160e01b031981166301ffc9a760e01b14919050565b6120f6838383610c3f565b6001600160a01b0383166121125761210d816122c2565b612135565b816001600160a01b0316836001600160a01b031614612135576121358382612306565b6001600160a01b0382166121515761214c816123a3565b610c3f565b826001600160a01b0316826001600160a01b031614610c3f57610c3f828261247c565b61217e83836124c0565b61218b60008484846121a7565b610c3f5760405162461bcd60e51b8152600401610a2d90612c30565b60006121bb846001600160a01b031661259f565b156122b757836001600160a01b031663150b7a026121d7611cc8565b8786866040518563ffffffff1660e01b81526004016121f99493929190612abc565b602060405180830381600087803b15801561221357600080fd5b505af1925050508015612243575060408051601f3d908101601f191682019092526122409181019061293d565b60015b61229d573d808015612271576040519150601f19603f3d011682016040523d82523d6000602084013e612276565b606091505b5080516122955760405162461bcd60e51b8152600401610a2d90612c30565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e26565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001612313846113fe565b61231d91906133b4565b600083815260076020526040902054909150808214612370576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123b5906001906133b4565b600083815260096020526040812054600880549394509092849081106123eb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061241a57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061246057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612487836113fe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166124e65760405162461bcd60e51b8152600401610a2d90612fd6565b6124ef81611ccc565b1561250c5760405162461bcd60e51b8152600401610a2d90612cf1565b612518600083836120eb565b6001600160a01b0382166000908152600360205260408120805460019290612541908490613369565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546125b1906133f7565b90600052602060002090601f0160209004810192826125d35760008555612619565b82601f106125ec57805160ff1916838001178555612619565b82800160010185558215612619579182015b828111156126195782518255916020019190600101906125fe565b5061262592915061269a565b5090565b5080546000825590600052602060002090810190611122919061269a565b828054828255906000526020600020908101928215612619579160200282015b828111156126195781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612667565b5b80821115612625576000815560010161269b565b600067ffffffffffffffff808411156126ca576126ca61348d565b604051601f8501601f1916810160200182811182821017156126ee576126ee61348d565b60405284815291508183850186101561270657600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146109e957600080fd5b803580151581146109e957600080fd5b600060208284031215612757578081fd5b6119f68261271f565b60008060408385031215612772578081fd5b61277b8361271f565b91506127896020840161271f565b90509250929050565b6000806000606084860312156127a6578081fd5b6127af8461271f565b92506127bd6020850161271f565b9150604084013590509250925092565b600080600080608085870312156127e2578081fd5b6127eb8561271f565b93506127f96020860161271f565b925060408501359150606085013567ffffffffffffffff81111561281b578182fd5b8501601f8101871361282b578182fd5b61283a878235602084016126af565b91505092959194509250565b60008060408385031215612858578182fd5b6128618361271f565b915061278960208401612736565b60008060408385031215612881578182fd5b61288a8361271f565b946020939093013593505050565b600080602083850312156128aa578182fd5b823567ffffffffffffffff808211156128c1578384fd5b818501915085601f8301126128d4578384fd5b8135818111156128e2578485fd5b86602080830285010111156128f5578485fd5b60209290920196919550909350505050565b600060208284031215612918578081fd5b6119f682612736565b600060208284031215612932578081fd5b81356119f6816134a3565b60006020828403121561294e578081fd5b81516119f6816134a3565b60006020828403121561296a578081fd5b813567ffffffffffffffff811115612980578182fd5b8201601f81018413612990578182fd5b611e26848235602084016126af565b6000602082840312156129b0578081fd5b5035919050565b600081518084526129cf8160208601602086016133cb565b601f01601f19169290920160200192915050565b6000845160206129f68285838a016133cb565b855191840191612a098184848a016133cb565b8554920191839060028104600180831680612a2557607f831692505b858310811415612a4357634e487b7160e01b88526022600452602488fd5b808015612a575760018114612a6857612a94565b60ff19851688528388019550612a94565b612a718b61335d565b895b85811015612a8c5781548a820152908401908801612a73565b505083880195505b50939b9a5050505050505050505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612aef908301846129b7565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612b3157835183529284019291840191600101612b15565b50909695505050505050565b901515815260200190565b6000602082526119f660208301846129b7565b60208082526033908201527f436f6d6d756e6974794f776e61626c653a2063616c6c6572206973206e6f74206040820152723a34329031b7b6b6bab734ba3c9037bbb732b960691b606082015260800190565b6020808252601d908201527f4f6e6c7920746f6b656e20233838382063616e206265206d696e746564000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e3ab9b2b91034b9903737ba103232bb60891b604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601c908201527f6d6178204e465420706572206164647265737320657863656564656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526021908201527f6775696c6c65323341646472657373206973206e6f74207468652063616c6c656040820152603960f91b606082015260800190565b6020808252602f908201527f436f6d6d756e6974794f776e61626c653a206e6577206f776e6572206973207460408201526e6865207a65726f206164647265737360881b606082015260800190565b6020808252601690820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601690820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252603a908201527f6d6178204e46542070657220616464726573732065786365656465642077686960408201527f6c65206f6e6c7957686974656c69737465642069732074727565000000000000606082015260800190565b6020808252601190820152701dda5d1a191c985dd85b0819985a5b1959607a1b604082015260600190565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526017908201527f75736572206973206e6f742077686974656c6973746564000000000000000000604082015260600190565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b90815260200190565b60009081526020902090565b6000821982111561337c5761337c613461565b500190565b60008261339057613390613477565b500490565b60008160001904831182151516156133af576133af613461565b500290565b6000828210156133c6576133c6613461565b500390565b60005b838110156133e65781810151838201526020016133ce565b83811115610f605750506000910152565b60028104600182168061340b57607f821691505b6020821081141561342c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561344657613446613461565b5060010190565b60008261345c5761345c613477565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461112257600080fdfea2646970667358221220976fc87f361b3a8c431bdd8eeb8c9291c01b28fc749638f144548b63efa2cfd064736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f18668d5a3246202029e134b57d17333e2bca284000000000000000000000000000000000000000000000000000000000000000f54686520556e7275676761626c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005554e525547000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f756e7267626c6d642d34766233752e6f6e6469676974616c6f6365616e2e6170702f4e6f6e653f69643d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f756e7267626c6d642d34766233752e6f6e6469676974616c6f6365616e2e6170702f70726576696577000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): The Unruggables
Arg [1] : _symbol (string): UNRUG
Arg [2] : _initBaseURI (string): https://unrgblmd-4vb3u.ondigitalocean.app/None?id=
Arg [3] : _initNotRevealedUri (string): https://unrgblmd-4vb3u.ondigitalocean.app/preview
Arg [4] : _communityOwner (address): 0xF18668d5A3246202029E134b57d17333e2bCA284
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000f18668d5a3246202029e134b57d17333e2bca284
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [6] : 54686520556e7275676761626c65730000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 554e525547000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [10] : 68747470733a2f2f756e7267626c6d642d34766233752e6f6e6469676974616c
Arg [11] : 6f6365616e2e6170702f4e6f6e653f69643d0000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [13] : 68747470733a2f2f756e7267626c6d642d34766233752e6f6e6469676974616c
Arg [14] : 6f6365616e2e6170702f70726576696577000000000000000000000000000000
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.