ERC-721
Overview
Max Total Supply
157 UNO
Holders
53
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 UNOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UniosNft
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/// SPDX-License-Identifier: CC-BY-2.5 pragma solidity 0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; // OZ: Ownership import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; // OZ: ERC721Enumerable import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./interfaces/IERC2981.sol"; contract UniosNft is ERC721, ERC721Enumerable, Ownable, IERC2981 { /// ============ NFT Details ============ address public constant ELECTRIC_COFFIN_WALLET = 0x0aC175E2f719Ea878Ae6F78209b63C9644A11d38; address public constant TEAM_MULTISIG = 0xcAcC3eBb4538313a8b1A5B01593bb5117BB285d4; uint256 public constant MINT_COST = 0.1 ether; uint256 public constant MAX_SUPPLY = 2500; uint256 public constant MAX_MINT_PRESALE = 3; uint256 public constant MAX_MINT = 10; string private baseURI_; bool public saleActive = false; /// ============ Royalty Details ============ struct RoyaltyInfo { address recipient; uint24 amount; } RoyaltyInfo private _royalties; /// @notice bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /// @notice address to number of mints entries mapping(address => uint256) public mintsPerAddress; /// @notice addresses whitelisted for presale - mint presale for full cost mapping(address => bool) public whitelist; /// @notice addresses partners - free to mint, only pay gas fees mapping(address => bool) public partnerWhitelist; /// ============ Events ============ /// @notice Emitted when royalty is successfully set /// @param receiver asddress of minting user /// @param royaltyAmount Number of mints by address event RoyaltySet(address receiver, uint256 royaltyAmount); /// ============ Constructor ============ /// @param _royaltyAddress Royalty Contract Address /// @param _royaltyValue Royalty Value for each sale /// @param _nftName Name of the NFT /// @param _nftSymbol Symbol of the NFT /// @param _baseURI_ baseURI for NFT metadata constructor( address _royaltyAddress, uint256 _royaltyValue, address[10] memory _teamWallets, string memory _nftName, string memory _nftSymbol, string memory _baseURI_ ) ERC721(_nftName, _nftSymbol) { _setRoyalties(_royaltyAddress, _royaltyValue); baseURI_ = _baseURI_; uint count = 0; // mint 3 to each team member for (uint256 i = 0; i < _teamWallets.length; i++) { address member = _teamWallets[i]; _safeMint(member, count); _safeMint(member, count + 1); _safeMint(member, count + 2); count += 3; } uint256 currentSupply = totalSupply(); // 25 for electric coffin wallet - giveaways, etc for (uint256 i = 0; i < 25; i++) { _safeMint(ELECTRIC_COFFIN_WALLET, currentSupply + i); } } /// @notice partner mint - free to mint, only pay gas fees /// @param count number of NFTs for partner to mint function mintPartnerWhitelist(uint256 count) external { require(count <= 2, "only 2 NFTs allowed"); require(partnerWhitelist[msg.sender], "exit"); delete partnerWhitelist[msg.sender]; mintsPerAddress[msg.sender] += count; require(mintsPerAddress[msg.sender] <= MAX_MINT, "max mints hit"); uint256 currentSupply = totalSupply(); require(currentSupply + count < MAX_SUPPLY, "Cannot exceed max supply"); for (uint256 i = 0; i < count; i++) { _safeMint(msg.sender, currentSupply + i); } } /// @notice main sale mint function /// @param count number of NFTs or presale mint (max of 3) function mint(uint256 count) external payable { require(msg.value == MINT_COST * count, "insufficient funds"); mintsPerAddress[msg.sender] += count; if (!saleActive) { require(whitelist[msg.sender], "not whitelisted"); require(mintsPerAddress[msg.sender] <= MAX_MINT_PRESALE, "max presale mints hit"); } else { require(mintsPerAddress[msg.sender] <= MAX_MINT, "max mints hit"); } uint256 currentSupply = totalSupply(); require(currentSupply + count < MAX_SUPPLY, "no more supply"); for (uint256 i = 0; i < count; ++i) { _safeMint(msg.sender, currentSupply + i); } } function userMintCount(address user) external view returns (uint256) { return mintsPerAddress[user]; } /// @dev See {IERC721Metadata-tokenURI}. function _baseURI() internal view virtual override returns (string memory) { return baseURI_; } /// @dev See {IERC721Metadata-tokenURI}. function setBaseURI(string memory _baseURI_) external onlyOwner { baseURI_ = _baseURI_; } /// @notice set the whitelist for presale minting /// @param addresses list of addresses to whitelist function setWhitelist(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { whitelist[addresses[i]] = true; } } function setPartnerWhitelist(address[] memory addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { partnerWhitelist[addresses[i]] = true; } } function isWhitelisted(address addr) external view returns (bool) { return whitelist[addr]; } function partnerIsWhitelisted(address addr) external view returns (bool) { return partnerWhitelist[addr]; } function setSaleStatus(bool saleActive_) external onlyOwner { saleActive = saleActive_; } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "token does not exist."); RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = salePrice * royalties.amount; } function _setRoyalties(address recipient, uint256 value) internal onlyOwner { require(value <= 10000, "ERC2981Royalties: Too high"); _royalties = RoyaltyInfo(recipient, uint24(value)); emit RoyaltySet(recipient, value); } /// @dev See {IERC165-supportsInterface}. function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable, IERC165) returns (bool) { return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, amount); } function withdraw() external onlyOwner { uint256 amount = address(this).balance; payable(TEAM_MULTISIG).transfer(amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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 "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/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}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public 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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { 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` and `to` are never both zero. * * 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.9; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /// /// @dev Interface for the NFT Royalty Standard /// interface IERC2981 is IERC165 { /// ERC165 bytes to add to interface array - set in parent contract /// implementing this standard /// /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a /// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /// _registerInterface(_INTERFACE_ID_ERC2981); /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _salePrice - the sale price of the NFT asset specified by _tokenId /// @return receiver - address of who should be sent the royalty payment /// @return royaltyAmount - the royalty payment amount for _salePrice function royaltyInfo( uint256 _tokenId, uint256 _salePrice ) external view returns ( address receiver, uint256 royaltyAmount ); }
// 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) { return msg.data; } }
// 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 "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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; /** * @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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint256","name":"_royaltyValue","type":"uint256"},{"internalType":"address[10]","name":"_teamWallets","type":"address[10]"},{"internalType":"string","name":"_nftName","type":"string"},{"internalType":"string","name":"_nftSymbol","type":"string"},{"internalType":"string","name":"_baseURI_","type":"string"}],"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":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"name":"RoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ELECTRIC_COFFIN_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_MULTISIG","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintPartnerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"partnerIsWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"partnerWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setPartnerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleActive_","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setWhitelist","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":"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":"user","type":"address"}],"name":"userMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600c805460ff191690553480156200001b57600080fd5b5060405162003aff38038062003aff8339810160408190526200003e9162000b54565b82518390839062000057906000906020850190620009b7565b5080516200006d906001906020840190620009b7565b5050506200008a620000846200019960201b60201c565b6200019d565b620000968686620001ef565b8051620000ab90600b906020840190620009b7565b506000805b600a811015620001345760008682600a8110620000d157620000d162000c7d565b60200201519050620000e481846200031f565b620000fc81620000f685600162000ca9565b6200031f565b6200010e81620000f685600262000ca9565b6200011b60038462000ca9565b92505080806200012b9062000cc4565b915050620000b0565b5060006200014160085490565b905060005b60198110156200018a5762000175730ac175e2f719ea878ae6f78209b63c9644a11d38620000f6838562000ca9565b80620001818162000cc4565b91505062000146565b50505050505050505062000dd8565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200024f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b612710811115620002a35760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f2068696768000000000000604482015260640162000246565b6040805180820182526001600160a01b03841680825262ffffff84166020928301819052600d80546001600160b81b0319168317600160a01b90920291909117905582519081529081018390527fb744dc8fdcd17f69ad99fdabe0fe0ed8fea41193727ed2123d997550eaae918f910160405180910390a15050565b620003418282604051806020016040528060008152506200034560201b60201c565b5050565b620003518383620003bd565b62000360600084848462000513565b620003b85760405162461bcd60e51b8152602060048201526032602482015260008051602062003adf83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000246565b505050565b6001600160a01b038216620004155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000246565b6000818152600260205260409020546001600160a01b0316156200047c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000246565b6200048a600083836200067c565b6001600160a01b0382166000908152600360205260408120805460019290620004b590849062000ca9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000534846001600160a01b03166200069460201b620019a21760201c565b156200067057604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200056e90339089908890889060040162000ce2565b602060405180830381600087803b1580156200058957600080fd5b505af1925050508015620005bc575060408051601f3d908101601f19168201909252620005b99181019062000d38565b60015b62000655573d808015620005ed576040519150601f19603f3d011682016040523d82523d6000602084013e620005f2565b606091505b5080516200064d5760405162461bcd60e51b8152602060048201526032602482015260008051602062003adf83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000246565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000674565b5060015b949350505050565b620003b88383836200069a60201b620019a81760201c565b3b151590565b620006b2838383620003b860201b62000b111760201c565b6001600160a01b03831662000710576200070a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000736565b816001600160a01b0316836001600160a01b031614620007365762000736838262000776565b6001600160a01b0382166200075057620003b88162000823565b826001600160a01b0316826001600160a01b031614620003b857620003b88282620008dd565b6000600162000790846200092e60201b62000f591760201c565b6200079c919062000d6b565b600083815260076020526040902054909150808214620007f0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620008379060019062000d6b565b6000838152600960205260408120546008805493945090928490811062000862576200086262000c7d565b90600052602060002001549050806008838154811062000886576200088662000c7d565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620008c157620008c162000d85565b6001900381819060005260206000200160009055905550505050565b6000620008f5836200092e60201b62000f591760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b0382166200099b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000246565b506001600160a01b031660009081526003602052604090205490565b828054620009c59062000d9b565b90600052602060002090601f016020900481019282620009e9576000855562000a34565b82601f1062000a0457805160ff191683800117855562000a34565b8280016001018555821562000a34579182015b8281111562000a3457825182559160200191906001019062000a17565b5062000a4292915062000a46565b5090565b5b8082111562000a42576000815560010162000a47565b80516001600160a01b038116811462000a7557600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000aad57818101518382015260200162000a93565b8381111562000abd576000848401525b50505050565b600082601f83011262000ad557600080fd5b81516001600160401b038082111562000af25762000af262000a7a565b604051601f8301601f19908116603f0116810190828211818310171562000b1d5762000b1d62000a7a565b8160405283815286602085880101111562000b3757600080fd5b62000b4a84602083016020890162000a90565b9695505050505050565b6000806000806000806101e0878903121562000b6f57600080fd5b62000b7a8762000a5d565b9550602080880151955088605f89011262000b9457600080fd5b60405161014081016001600160401b03808211838310171562000bbb5762000bbb62000a7a565b816040528291506101808b018c81111562000bd557600080fd5b60408c015b8181101562000bfc5762000bee8162000a5d565b845292850192850162000bda565b5083985080519450508084111562000c1357600080fd5b62000c218c858d0162000ac3565b96506101a08b015193508084111562000c3957600080fd5b62000c478c858d0162000ac3565b95506101c08b015193508084111562000c5f57600080fd5b50505062000c7089828a0162000ac3565b9150509295509295509295565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000821982111562000cbf5762000cbf62000c93565b500190565b600060001982141562000cdb5762000cdb62000c93565b5060010190565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000d218160a085016020870162000a90565b601f01601f19169190910160a00195945050505050565b60006020828403121562000d4b57600080fd5b81516001600160e01b03198116811462000d6457600080fd5b9392505050565b60008282101562000d805762000d8062000c93565b500390565b634e487b7160e01b600052603160045260246000fd5b600181811c9082168062000db057607f821691505b6020821081141562000dd257634e487b7160e01b600052602260045260246000fd5b50919050565b612cf78062000de86000396000f3fe6080604052600436106102bb5760003560e01c806370a082311161016e578063b88d4fde116100cb578063dd1fd45e1161007f578063f0292a0311610064578063f0292a031461080e578063f2fde38b14610823578063f42176481461084357600080fd5b8063dd1fd45e146107a5578063e985e9c5146107c557600080fd5b8063c87b56dd116100b0578063c87b56dd14610745578063d71608f414610765578063d897833e1461078557600080fd5b8063b88d4fde14610709578063c662e4811461072957600080fd5b8063978845ee11610122578063a0712d6811610107578063a0712d68146106ae578063a22cb465146106c1578063b788f3a1146106e157600080fd5b8063978845ee146106565780639b19251a1461067e57600080fd5b80637e95eac4116101535780637e95eac41461060e5780638da5cb5b1461062357806395d89b411461064157600080fd5b806370a08231146105d9578063715018a6146105f957600080fd5b806332cb6b0c1161021c5780634f6ccce7116101d057806355f804b3116101b557806355f804b31461057f5780636352211e1461059f57806368428a1b146105bf57600080fd5b80634f6ccce71461052657806352695e821461054657600080fd5b80633af32abf116102015780633af32abf146104b85780633ccfd60b146104f157806342842e0e1461050657600080fd5b806332cb6b0c1461046c5780633950891f1461048257600080fd5b806323b872dd116102735780632e425010116102585780632e425010146103ef5780632f745c591461041f5780633023eba61461043f57600080fd5b806323b872dd146103905780632a55205a146103b057600080fd5b8063081812fc116102a4578063081812fc14610317578063095ea7b31461034f57806318160ddd1461037157600080fd5b806301ffc9a7146102c057806306fdde03146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db3660046126a7565b610863565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b5061030a6108a7565b6040516102ec919061271c565b34801561032357600080fd5b5061033761033236600461272f565b610939565b6040516001600160a01b0390911681526020016102ec565b34801561035b57600080fd5b5061036f61036a366004612764565b6109e4565b005b34801561037d57600080fd5b506008545b6040519081526020016102ec565b34801561039c57600080fd5b5061036f6103ab36600461278e565b610b16565b3480156103bc57600080fd5b506103d06103cb3660046127ca565b610b9d565b604080516001600160a01b0390931683526020830191909152016102ec565b3480156103fb57600080fd5b506102e061040a3660046127ec565b60106020526000908152604090205460ff1681565b34801561042b57600080fd5b5061038261043a366004612764565b610c59565b34801561044b57600080fd5b5061038261045a3660046127ec565b600e6020526000908152604090205481565b34801561047857600080fd5b506103826109c481565b34801561048e57600080fd5b5061038261049d3660046127ec565b6001600160a01b03166000908152600e602052604090205490565b3480156104c457600080fd5b506102e06104d33660046127ec565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156104fd57600080fd5b5061036f610d01565b34801561051257600080fd5b5061036f61052136600461278e565b610da2565b34801561053257600080fd5b5061038261054136600461272f565b610dbd565b34801561055257600080fd5b506102e06105613660046127ec565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561058b57600080fd5b5061036f61059a3660046128a6565b610e61565b3480156105ab57600080fd5b506103376105ba36600461272f565b610ece565b3480156105cb57600080fd5b50600c546102e09060ff1681565b3480156105e557600080fd5b506103826105f43660046127ec565b610f59565b34801561060557600080fd5b5061036f610ff3565b34801561061a57600080fd5b50610382600381565b34801561062f57600080fd5b50600a546001600160a01b0316610337565b34801561064d57600080fd5b5061030a611059565b34801561066257600080fd5b50610337730ac175e2f719ea878ae6f78209b63c9644a11d3881565b34801561068a57600080fd5b506102e06106993660046127ec565b600f6020526000908152604090205460ff1681565b61036f6106bc36600461272f565b611068565b3480156106cd57600080fd5b5061036f6106dc3660046128ff565b6112af565b3480156106ed57600080fd5b5061033773cacc3ebb4538313a8b1a5b01593bb5117bb285d481565b34801561071557600080fd5b5061036f610724366004612932565b611374565b34801561073557600080fd5b5061038267016345785d8a000081565b34801561075157600080fd5b5061030a61076036600461272f565b611402565b34801561077157600080fd5b5061036f6107803660046129ae565b6114eb565b34801561079157600080fd5b5061036f6107a0366004612a5b565b6115ad565b3480156107b157600080fd5b5061036f6107c036600461272f565b61161a565b3480156107d157600080fd5b506102e06107e0366004612a76565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561081a57600080fd5b50610382600a81565b34801561082f57600080fd5b5061036f61083e3660046127ec565b6117f4565b34801561084f57600080fd5b5061036f61085e366004612aa0565b6118d6565b60006001600160e01b031982167f2a55205a0000000000000000000000000000000000000000000000000000000014806108a157506108a182611a60565b92915050565b6060600080546108b690612b15565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290612b15565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109ef82610ece565b9050806001600160a01b0316836001600160a01b03161415610a795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b336001600160a01b0382161480610a955750610a9581336107e0565b610b075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109bf565b610b118383611a9e565b505050565b610b203382611b19565b610b925760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b610b11838383611c21565b60008281526002602052604081205481906001600160a01b0316610c035760405162461bcd60e51b815260206004820152601560248201527f746f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016109bf565b60408051808201909152600d546001600160a01b0381168083527401000000000000000000000000000000000000000090910462ffffff1660208301819052909350610c4f9085612b66565b9150509250929050565b6000610c6483610f59565b8210610cd85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016109bf565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610d5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b604051479073cacc3ebb4538313a8b1a5b01593bb5117bb285d49082156108fc029083906000818181858888f19350505050158015610d9e573d6000803e3d6000fd5b5050565b610b1183838360405180602001604052806000815250611374565b6000610dc860085490565b8210610e3c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016109bf565b60088281548110610e4f57610e4f612b85565b90600052602060002001549050919050565b600a546001600160a01b03163314610ebb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b8051610d9e90600b9060208401906125f8565b6000818152600260205260408120546001600160a01b0316806108a15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109bf565b60006001600160a01b038216610fd75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109bf565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461104d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6110576000611e06565b565b6060600180546108b690612b15565b61107a8167016345785d8a0000612b66565b34146110c85760405162461bcd60e51b815260206004820152601260248201527f696e73756666696369656e742066756e6473000000000000000000000000000060448201526064016109bf565b336000908152600e6020526040812080548392906110e7908490612b9b565b9091555050600c5460ff166111ba57336000908152600f602052604090205460ff166111555760405162461bcd60e51b815260206004820152600f60248201527f6e6f742077686974656c6973746564000000000000000000000000000000000060448201526064016109bf565b336000908152600e6020526040902054600310156111b55760405162461bcd60e51b815260206004820152601560248201527f6d61782070726573616c65206d696e747320686974000000000000000000000060448201526064016109bf565b61121a565b336000908152600e6020526040902054600a101561121a5760405162461bcd60e51b815260206004820152600d60248201527f6d6178206d696e7473206869740000000000000000000000000000000000000060448201526064016109bf565b600061122560085490565b90506109c46112348383612b9b565b106112815760405162461bcd60e51b815260206004820152600e60248201527f6e6f206d6f726520737570706c7900000000000000000000000000000000000060448201526064016109bf565b60005b82811015610b115761129f3361129a8385612b9b565b611e65565b6112a881612bb3565b9050611284565b6001600160a01b0382163314156113085760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109bf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61137e3383611b19565b6113f05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b6113fc84848484611e7f565b50505050565b6000818152600260205260409020546060906001600160a01b031661148f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109bf565b6000611499611f08565b905060008151116114b957604051806020016040528060008152506114e4565b806114c384611f17565b6040516020016114d4929190612bce565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146115455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b60005b8151811015610d9e5760016010600084848151811061156957611569612b85565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806115a581612bb3565b915050611548565b600a546001600160a01b031633146116075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600c805460ff1916911515919091179055565b600281111561166b5760405162461bcd60e51b815260206004820152601360248201527f6f6e6c792032204e46547320616c6c6f7765640000000000000000000000000060448201526064016109bf565b3360009081526010602052604090205460ff166116cc5760405162461bcd60e51b81526004016109bf9060208082526004908201527f6578697400000000000000000000000000000000000000000000000000000000604082015260600190565b336000908152601060209081526040808320805460ff19169055600e909152812080548392906116fd908490612b9b565b9091555050336000908152600e6020526040902054600a10156117625760405162461bcd60e51b815260206004820152600d60248201527f6d6178206d696e7473206869740000000000000000000000000000000000000060448201526064016109bf565b600061176d60085490565b90506109c461177c8383612b9b565b106117c95760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420657863656564206d617820737570706c79000000000000000060448201526064016109bf565b60005b82811015610b11576117e23361129a8385612b9b565b806117ec81612bb3565b9150506117cc565b600a546001600160a01b0316331461184e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6001600160a01b0381166118ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109bf565b6118d381611e06565b50565b600a546001600160a01b031633146119305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b60005b81811015610b11576001600f600085858581811061195357611953612b85565b905060200201602081019061196891906127ec565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061199a81612bb3565b915050611933565b3b151590565b6001600160a01b038316611a03576119fe81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611a26565b816001600160a01b0316836001600160a01b031614611a2657611a268382612049565b6001600160a01b038216611a3d57610b11816120e6565b826001600160a01b0316826001600160a01b031614610b1157610b118282612195565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806108a157506108a1826121d9565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611ae082610ece565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ba35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109bf565b6000611bae83610ece565b9050806001600160a01b0316846001600160a01b03161480611be95750836001600160a01b0316611bde84610939565b6001600160a01b0316145b80611c1957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611c3482610ece565b6001600160a01b031614611cb05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109bf565b6001600160a01b038216611d2b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109bf565b611d36838383612274565b611d41600082611a9e565b6001600160a01b0383166000908152600360205260408120805460019290611d6a908490612bfd565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d98908490612b9b565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d9e82826040518060200160405280600081525061227f565b611e8a848484611c21565b611e9684848484612308565b6113fc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b6060600b80546108b690612b15565b606081611f5757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611f815780611f6b81612bb3565b9150611f7a9050600a83612c2a565b9150611f5b565b60008167ffffffffffffffff811115611f9c57611f9c612807565b6040519080825280601f01601f191660200182016040528015611fc6576020820181803683370190505b5090505b8415611c1957611fdb600183612bfd565b9150611fe8600a86612c3e565b611ff3906030612b9b565b60f81b81838151811061200857612008612b85565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612042600a86612c2a565b9450611fca565b6000600161205684610f59565b6120609190612bfd565b6000838152600760205260409020549091508082146120b3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120f890600190612bfd565b6000838152600960205260408120546008805493945090928490811061212057612120612b85565b90600052602060002001549050806008838154811061214157612141612b85565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061217957612179612c52565b6001900381819060005260206000200160009055905550505050565b60006121a083610f59565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061223c57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108a157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146108a1565b610b118383836119a8565b612289838361249d565b6122966000848484612308565b610b115760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b60006001600160a01b0384163b15612492576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612365903390899088908890600401612c68565b602060405180830381600087803b15801561237f57600080fd5b505af19250505080156123af575060408051601f3d908101601f191682019092526123ac91810190612ca4565b60015b61245f573d8080156123dd576040519150601f19603f3d011682016040523d82523d6000602084013e6123e2565b606091505b5080516124575760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611c19565b506001949350505050565b6001600160a01b0382166124f35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109bf565b6000818152600260205260409020546001600160a01b0316156125585760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109bf565b61256460008383612274565b6001600160a01b038216600090815260036020526040812080546001929061258d908490612b9b565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461260490612b15565b90600052602060002090601f016020900481019282612626576000855561266c565b82601f1061263f57805160ff191683800117855561266c565b8280016001018555821561266c579182015b8281111561266c578251825591602001919060010190612651565b5061267892915061267c565b5090565b5b80821115612678576000815560010161267d565b6001600160e01b0319811681146118d357600080fd5b6000602082840312156126b957600080fd5b81356114e481612691565b60005b838110156126df5781810151838201526020016126c7565b838111156113fc5750506000910152565b600081518084526127088160208601602086016126c4565b601f01601f19169290920160200192915050565b6020815260006114e460208301846126f0565b60006020828403121561274157600080fd5b5035919050565b80356001600160a01b038116811461275f57600080fd5b919050565b6000806040838503121561277757600080fd5b61278083612748565b946020939093013593505050565b6000806000606084860312156127a357600080fd5b6127ac84612748565b92506127ba60208501612748565b9150604084013590509250925092565b600080604083850312156127dd57600080fd5b50508035926020909101359150565b6000602082840312156127fe57600080fd5b6114e482612748565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561284657612846612807565b604052919050565b600067ffffffffffffffff83111561286857612868612807565b61287b6020601f19601f8601160161281d565b905082815283838301111561288f57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156128b857600080fd5b813567ffffffffffffffff8111156128cf57600080fd5b8201601f810184136128e057600080fd5b611c198482356020840161284e565b8035801515811461275f57600080fd5b6000806040838503121561291257600080fd5b61291b83612748565b9150612929602084016128ef565b90509250929050565b6000806000806080858703121561294857600080fd5b61295185612748565b935061295f60208601612748565b925060408501359150606085013567ffffffffffffffff81111561298257600080fd5b8501601f8101871361299357600080fd5b6129a28782356020840161284e565b91505092959194509250565b600060208083850312156129c157600080fd5b823567ffffffffffffffff808211156129d957600080fd5b818501915085601f8301126129ed57600080fd5b8135818111156129ff576129ff612807565b8060051b9150612a1084830161281d565b8181529183018401918481019088841115612a2a57600080fd5b938501935b83851015612a4f57612a4085612748565b82529385019390850190612a2f565b98975050505050505050565b600060208284031215612a6d57600080fd5b6114e4826128ef565b60008060408385031215612a8957600080fd5b612a9283612748565b915061292960208401612748565b60008060208385031215612ab357600080fd5b823567ffffffffffffffff80821115612acb57600080fd5b818501915085601f830112612adf57600080fd5b813581811115612aee57600080fd5b8660208260051b8501011115612b0357600080fd5b60209290920196919550909350505050565b600181811c90821680612b2957607f821691505b60208210811415612b4a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612b8057612b80612b50565b500290565b634e487b7160e01b600052603260045260246000fd5b60008219821115612bae57612bae612b50565b500190565b6000600019821415612bc757612bc7612b50565b5060010190565b60008351612be08184602088016126c4565b835190830190612bf48183602088016126c4565b01949350505050565b600082821015612c0f57612c0f612b50565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612c3957612c39612c14565b500490565b600082612c4d57612c4d612c14565b500690565b634e487b7160e01b600052603160045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c9a60808301846126f0565b9695505050505050565b600060208284031215612cb657600080fd5b81516114e48161269156fea2646970667358221220dfc480c6f1d7a94b7778b2deac146f7f55b519a56fd66e5aa668d427024dd83c64736f6c634300080900334552433732313a207472616e7366657220746f206e6f6e204552433732315265000000000000000000000000cacc3ebb4538313a8b1a5b01593bb5117bb285d40000000000000000000000000000000000000000000000000000000000001388000000000000000000000000079bbfa2103e15a8e0b7fbb7fe2c5ffb317a2b3900000000000000000000000074bb4995d5f1302b55b14bf6c1df9eb39e3f57ce000000000000000000000000e935cdaaceca55a32c34411d014f632d2f40916a000000000000000000000000b4135c81b194cae8dd2c4426527e880f95840acc00000000000000000000000045b3081d91137253306d3fad6ee10d1622f887f40000000000000000000000009a8bd562f2c719e24c1350ba879a78b8a1a1e749000000000000000000000000c09c7f2f3e4d33bb940405b6f6b1f5f56ba7ebaa0000000000000000000000007de2c49faa893b7b15e69168ba9e05da49b1fbce000000000000000000000000b28f260d8a63d5d18e4079a77deeac0ffcc1ec020000000000000000000000001f36692c6e2c85c7d2384abc2e9ff6251522158700000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000005556e696f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003554e4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f6170692e756e696f732e776f726c642f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102bb5760003560e01c806370a082311161016e578063b88d4fde116100cb578063dd1fd45e1161007f578063f0292a0311610064578063f0292a031461080e578063f2fde38b14610823578063f42176481461084357600080fd5b8063dd1fd45e146107a5578063e985e9c5146107c557600080fd5b8063c87b56dd116100b0578063c87b56dd14610745578063d71608f414610765578063d897833e1461078557600080fd5b8063b88d4fde14610709578063c662e4811461072957600080fd5b8063978845ee11610122578063a0712d6811610107578063a0712d68146106ae578063a22cb465146106c1578063b788f3a1146106e157600080fd5b8063978845ee146106565780639b19251a1461067e57600080fd5b80637e95eac4116101535780637e95eac41461060e5780638da5cb5b1461062357806395d89b411461064157600080fd5b806370a08231146105d9578063715018a6146105f957600080fd5b806332cb6b0c1161021c5780634f6ccce7116101d057806355f804b3116101b557806355f804b31461057f5780636352211e1461059f57806368428a1b146105bf57600080fd5b80634f6ccce71461052657806352695e821461054657600080fd5b80633af32abf116102015780633af32abf146104b85780633ccfd60b146104f157806342842e0e1461050657600080fd5b806332cb6b0c1461046c5780633950891f1461048257600080fd5b806323b872dd116102735780632e425010116102585780632e425010146103ef5780632f745c591461041f5780633023eba61461043f57600080fd5b806323b872dd146103905780632a55205a146103b057600080fd5b8063081812fc116102a4578063081812fc14610317578063095ea7b31461034f57806318160ddd1461037157600080fd5b806301ffc9a7146102c057806306fdde03146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db3660046126a7565b610863565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b5061030a6108a7565b6040516102ec919061271c565b34801561032357600080fd5b5061033761033236600461272f565b610939565b6040516001600160a01b0390911681526020016102ec565b34801561035b57600080fd5b5061036f61036a366004612764565b6109e4565b005b34801561037d57600080fd5b506008545b6040519081526020016102ec565b34801561039c57600080fd5b5061036f6103ab36600461278e565b610b16565b3480156103bc57600080fd5b506103d06103cb3660046127ca565b610b9d565b604080516001600160a01b0390931683526020830191909152016102ec565b3480156103fb57600080fd5b506102e061040a3660046127ec565b60106020526000908152604090205460ff1681565b34801561042b57600080fd5b5061038261043a366004612764565b610c59565b34801561044b57600080fd5b5061038261045a3660046127ec565b600e6020526000908152604090205481565b34801561047857600080fd5b506103826109c481565b34801561048e57600080fd5b5061038261049d3660046127ec565b6001600160a01b03166000908152600e602052604090205490565b3480156104c457600080fd5b506102e06104d33660046127ec565b6001600160a01b03166000908152600f602052604090205460ff1690565b3480156104fd57600080fd5b5061036f610d01565b34801561051257600080fd5b5061036f61052136600461278e565b610da2565b34801561053257600080fd5b5061038261054136600461272f565b610dbd565b34801561055257600080fd5b506102e06105613660046127ec565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561058b57600080fd5b5061036f61059a3660046128a6565b610e61565b3480156105ab57600080fd5b506103376105ba36600461272f565b610ece565b3480156105cb57600080fd5b50600c546102e09060ff1681565b3480156105e557600080fd5b506103826105f43660046127ec565b610f59565b34801561060557600080fd5b5061036f610ff3565b34801561061a57600080fd5b50610382600381565b34801561062f57600080fd5b50600a546001600160a01b0316610337565b34801561064d57600080fd5b5061030a611059565b34801561066257600080fd5b50610337730ac175e2f719ea878ae6f78209b63c9644a11d3881565b34801561068a57600080fd5b506102e06106993660046127ec565b600f6020526000908152604090205460ff1681565b61036f6106bc36600461272f565b611068565b3480156106cd57600080fd5b5061036f6106dc3660046128ff565b6112af565b3480156106ed57600080fd5b5061033773cacc3ebb4538313a8b1a5b01593bb5117bb285d481565b34801561071557600080fd5b5061036f610724366004612932565b611374565b34801561073557600080fd5b5061038267016345785d8a000081565b34801561075157600080fd5b5061030a61076036600461272f565b611402565b34801561077157600080fd5b5061036f6107803660046129ae565b6114eb565b34801561079157600080fd5b5061036f6107a0366004612a5b565b6115ad565b3480156107b157600080fd5b5061036f6107c036600461272f565b61161a565b3480156107d157600080fd5b506102e06107e0366004612a76565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561081a57600080fd5b50610382600a81565b34801561082f57600080fd5b5061036f61083e3660046127ec565b6117f4565b34801561084f57600080fd5b5061036f61085e366004612aa0565b6118d6565b60006001600160e01b031982167f2a55205a0000000000000000000000000000000000000000000000000000000014806108a157506108a182611a60565b92915050565b6060600080546108b690612b15565b80601f01602080910402602001604051908101604052809291908181526020018280546108e290612b15565b801561092f5780601f106109045761010080835404028352916020019161092f565b820191906000526020600020905b81548152906001019060200180831161091257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006109ef82610ece565b9050806001600160a01b0316836001600160a01b03161415610a795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b336001600160a01b0382161480610a955750610a9581336107e0565b610b075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109bf565b610b118383611a9e565b505050565b610b203382611b19565b610b925760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b610b11838383611c21565b60008281526002602052604081205481906001600160a01b0316610c035760405162461bcd60e51b815260206004820152601560248201527f746f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016109bf565b60408051808201909152600d546001600160a01b0381168083527401000000000000000000000000000000000000000090910462ffffff1660208301819052909350610c4f9085612b66565b9150509250929050565b6000610c6483610f59565b8210610cd85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016109bf565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610d5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b604051479073cacc3ebb4538313a8b1a5b01593bb5117bb285d49082156108fc029083906000818181858888f19350505050158015610d9e573d6000803e3d6000fd5b5050565b610b1183838360405180602001604052806000815250611374565b6000610dc860085490565b8210610e3c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016109bf565b60088281548110610e4f57610e4f612b85565b90600052602060002001549050919050565b600a546001600160a01b03163314610ebb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b8051610d9e90600b9060208401906125f8565b6000818152600260205260408120546001600160a01b0316806108a15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109bf565b60006001600160a01b038216610fd75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109bf565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461104d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6110576000611e06565b565b6060600180546108b690612b15565b61107a8167016345785d8a0000612b66565b34146110c85760405162461bcd60e51b815260206004820152601260248201527f696e73756666696369656e742066756e6473000000000000000000000000000060448201526064016109bf565b336000908152600e6020526040812080548392906110e7908490612b9b565b9091555050600c5460ff166111ba57336000908152600f602052604090205460ff166111555760405162461bcd60e51b815260206004820152600f60248201527f6e6f742077686974656c6973746564000000000000000000000000000000000060448201526064016109bf565b336000908152600e6020526040902054600310156111b55760405162461bcd60e51b815260206004820152601560248201527f6d61782070726573616c65206d696e747320686974000000000000000000000060448201526064016109bf565b61121a565b336000908152600e6020526040902054600a101561121a5760405162461bcd60e51b815260206004820152600d60248201527f6d6178206d696e7473206869740000000000000000000000000000000000000060448201526064016109bf565b600061122560085490565b90506109c46112348383612b9b565b106112815760405162461bcd60e51b815260206004820152600e60248201527f6e6f206d6f726520737570706c7900000000000000000000000000000000000060448201526064016109bf565b60005b82811015610b115761129f3361129a8385612b9b565b611e65565b6112a881612bb3565b9050611284565b6001600160a01b0382163314156113085760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109bf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61137e3383611b19565b6113f05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b6113fc84848484611e7f565b50505050565b6000818152600260205260409020546060906001600160a01b031661148f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109bf565b6000611499611f08565b905060008151116114b957604051806020016040528060008152506114e4565b806114c384611f17565b6040516020016114d4929190612bce565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146115455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b60005b8151811015610d9e5760016010600084848151811061156957611569612b85565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806115a581612bb3565b915050611548565b600a546001600160a01b031633146116075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600c805460ff1916911515919091179055565b600281111561166b5760405162461bcd60e51b815260206004820152601360248201527f6f6e6c792032204e46547320616c6c6f7765640000000000000000000000000060448201526064016109bf565b3360009081526010602052604090205460ff166116cc5760405162461bcd60e51b81526004016109bf9060208082526004908201527f6578697400000000000000000000000000000000000000000000000000000000604082015260600190565b336000908152601060209081526040808320805460ff19169055600e909152812080548392906116fd908490612b9b565b9091555050336000908152600e6020526040902054600a10156117625760405162461bcd60e51b815260206004820152600d60248201527f6d6178206d696e7473206869740000000000000000000000000000000000000060448201526064016109bf565b600061176d60085490565b90506109c461177c8383612b9b565b106117c95760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420657863656564206d617820737570706c79000000000000000060448201526064016109bf565b60005b82811015610b11576117e23361129a8385612b9b565b806117ec81612bb3565b9150506117cc565b600a546001600160a01b0316331461184e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6001600160a01b0381166118ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109bf565b6118d381611e06565b50565b600a546001600160a01b031633146119305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b60005b81811015610b11576001600f600085858581811061195357611953612b85565b905060200201602081019061196891906127ec565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061199a81612bb3565b915050611933565b3b151590565b6001600160a01b038316611a03576119fe81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611a26565b816001600160a01b0316836001600160a01b031614611a2657611a268382612049565b6001600160a01b038216611a3d57610b11816120e6565b826001600160a01b0316826001600160a01b031614610b1157610b118282612195565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806108a157506108a1826121d9565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611ae082610ece565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ba35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109bf565b6000611bae83610ece565b9050806001600160a01b0316846001600160a01b03161480611be95750836001600160a01b0316611bde84610939565b6001600160a01b0316145b80611c1957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611c3482610ece565b6001600160a01b031614611cb05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109bf565b6001600160a01b038216611d2b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109bf565b611d36838383612274565b611d41600082611a9e565b6001600160a01b0383166000908152600360205260408120805460019290611d6a908490612bfd565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d98908490612b9b565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d9e82826040518060200160405280600081525061227f565b611e8a848484611c21565b611e9684848484612308565b6113fc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b6060600b80546108b690612b15565b606081611f5757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611f815780611f6b81612bb3565b9150611f7a9050600a83612c2a565b9150611f5b565b60008167ffffffffffffffff811115611f9c57611f9c612807565b6040519080825280601f01601f191660200182016040528015611fc6576020820181803683370190505b5090505b8415611c1957611fdb600183612bfd565b9150611fe8600a86612c3e565b611ff3906030612b9b565b60f81b81838151811061200857612008612b85565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612042600a86612c2a565b9450611fca565b6000600161205684610f59565b6120609190612bfd565b6000838152600760205260409020549091508082146120b3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120f890600190612bfd565b6000838152600960205260408120546008805493945090928490811061212057612120612b85565b90600052602060002001549050806008838154811061214157612141612b85565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061217957612179612c52565b6001900381819060005260206000200160009055905550505050565b60006121a083610f59565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061223c57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108a157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146108a1565b610b118383836119a8565b612289838361249d565b6122966000848484612308565b610b115760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b60006001600160a01b0384163b15612492576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612365903390899088908890600401612c68565b602060405180830381600087803b15801561237f57600080fd5b505af19250505080156123af575060408051601f3d908101601f191682019092526123ac91810190612ca4565b60015b61245f573d8080156123dd576040519150601f19603f3d011682016040523d82523d6000602084013e6123e2565b606091505b5080516124575760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611c19565b506001949350505050565b6001600160a01b0382166124f35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109bf565b6000818152600260205260409020546001600160a01b0316156125585760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109bf565b61256460008383612274565b6001600160a01b038216600090815260036020526040812080546001929061258d908490612b9b565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461260490612b15565b90600052602060002090601f016020900481019282612626576000855561266c565b82601f1061263f57805160ff191683800117855561266c565b8280016001018555821561266c579182015b8281111561266c578251825591602001919060010190612651565b5061267892915061267c565b5090565b5b80821115612678576000815560010161267d565b6001600160e01b0319811681146118d357600080fd5b6000602082840312156126b957600080fd5b81356114e481612691565b60005b838110156126df5781810151838201526020016126c7565b838111156113fc5750506000910152565b600081518084526127088160208601602086016126c4565b601f01601f19169290920160200192915050565b6020815260006114e460208301846126f0565b60006020828403121561274157600080fd5b5035919050565b80356001600160a01b038116811461275f57600080fd5b919050565b6000806040838503121561277757600080fd5b61278083612748565b946020939093013593505050565b6000806000606084860312156127a357600080fd5b6127ac84612748565b92506127ba60208501612748565b9150604084013590509250925092565b600080604083850312156127dd57600080fd5b50508035926020909101359150565b6000602082840312156127fe57600080fd5b6114e482612748565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561284657612846612807565b604052919050565b600067ffffffffffffffff83111561286857612868612807565b61287b6020601f19601f8601160161281d565b905082815283838301111561288f57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156128b857600080fd5b813567ffffffffffffffff8111156128cf57600080fd5b8201601f810184136128e057600080fd5b611c198482356020840161284e565b8035801515811461275f57600080fd5b6000806040838503121561291257600080fd5b61291b83612748565b9150612929602084016128ef565b90509250929050565b6000806000806080858703121561294857600080fd5b61295185612748565b935061295f60208601612748565b925060408501359150606085013567ffffffffffffffff81111561298257600080fd5b8501601f8101871361299357600080fd5b6129a28782356020840161284e565b91505092959194509250565b600060208083850312156129c157600080fd5b823567ffffffffffffffff808211156129d957600080fd5b818501915085601f8301126129ed57600080fd5b8135818111156129ff576129ff612807565b8060051b9150612a1084830161281d565b8181529183018401918481019088841115612a2a57600080fd5b938501935b83851015612a4f57612a4085612748565b82529385019390850190612a2f565b98975050505050505050565b600060208284031215612a6d57600080fd5b6114e4826128ef565b60008060408385031215612a8957600080fd5b612a9283612748565b915061292960208401612748565b60008060208385031215612ab357600080fd5b823567ffffffffffffffff80821115612acb57600080fd5b818501915085601f830112612adf57600080fd5b813581811115612aee57600080fd5b8660208260051b8501011115612b0357600080fd5b60209290920196919550909350505050565b600181811c90821680612b2957607f821691505b60208210811415612b4a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612b8057612b80612b50565b500290565b634e487b7160e01b600052603260045260246000fd5b60008219821115612bae57612bae612b50565b500190565b6000600019821415612bc757612bc7612b50565b5060010190565b60008351612be08184602088016126c4565b835190830190612bf48183602088016126c4565b01949350505050565b600082821015612c0f57612c0f612b50565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612c3957612c39612c14565b500490565b600082612c4d57612c4d612c14565b500690565b634e487b7160e01b600052603160045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c9a60808301846126f0565b9695505050505050565b600060208284031215612cb657600080fd5b81516114e48161269156fea2646970667358221220dfc480c6f1d7a94b7778b2deac146f7f55b519a56fd66e5aa668d427024dd83c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000cacc3ebb4538313a8b1a5b01593bb5117bb285d40000000000000000000000000000000000000000000000000000000000001388000000000000000000000000079bbfa2103e15a8e0b7fbb7fe2c5ffb317a2b3900000000000000000000000074bb4995d5f1302b55b14bf6c1df9eb39e3f57ce000000000000000000000000e935cdaaceca55a32c34411d014f632d2f40916a000000000000000000000000b4135c81b194cae8dd2c4426527e880f95840acc00000000000000000000000045b3081d91137253306d3fad6ee10d1622f887f40000000000000000000000009a8bd562f2c719e24c1350ba879a78b8a1a1e749000000000000000000000000c09c7f2f3e4d33bb940405b6f6b1f5f56ba7ebaa0000000000000000000000007de2c49faa893b7b15e69168ba9e05da49b1fbce000000000000000000000000b28f260d8a63d5d18e4079a77deeac0ffcc1ec020000000000000000000000001f36692c6e2c85c7d2384abc2e9ff6251522158700000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000005556e696f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003554e4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f6170692e756e696f732e776f726c642f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _royaltyAddress (address): 0xcAcC3eBb4538313a8b1A5B01593bb5117BB285d4
Arg [1] : _royaltyValue (uint256): 5000
Arg [2] : _teamWallets (address[10]): 0x079bBFa2103e15a8E0B7fBB7FE2c5ffB317A2b39,0x74Bb4995D5F1302b55b14BF6c1Df9eB39e3F57Ce,0xe935CDaaCeCA55a32C34411d014F632D2F40916A,0xB4135c81B194CAE8Dd2c4426527E880F95840Acc,0x45B3081d91137253306D3Fad6eE10D1622F887F4,0x9a8bD562F2c719E24c1350Ba879a78b8a1a1e749,0xc09c7f2F3e4D33Bb940405b6f6b1f5F56BA7ebAA,0x7dE2c49fAa893B7b15e69168bA9e05Da49b1fbCE,0xb28F260d8A63d5D18e4079A77DEEAc0fFCC1Ec02,0x1F36692c6e2c85C7D2384AbC2e9ff62515221587
Arg [3] : _nftName (string): Unios
Arg [4] : _nftSymbol (string): UNO
Arg [5] : _baseURI_ (string): https://api.unios.world/metadata/
-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 000000000000000000000000cacc3ebb4538313a8b1a5b01593bb5117bb285d4
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [2] : 000000000000000000000000079bbfa2103e15a8e0b7fbb7fe2c5ffb317a2b39
Arg [3] : 00000000000000000000000074bb4995d5f1302b55b14bf6c1df9eb39e3f57ce
Arg [4] : 000000000000000000000000e935cdaaceca55a32c34411d014f632d2f40916a
Arg [5] : 000000000000000000000000b4135c81b194cae8dd2c4426527e880f95840acc
Arg [6] : 00000000000000000000000045b3081d91137253306d3fad6ee10d1622f887f4
Arg [7] : 0000000000000000000000009a8bd562f2c719e24c1350ba879a78b8a1a1e749
Arg [8] : 000000000000000000000000c09c7f2f3e4d33bb940405b6f6b1f5f56ba7ebaa
Arg [9] : 0000000000000000000000007de2c49faa893b7b15e69168ba9e05da49b1fbce
Arg [10] : 000000000000000000000000b28f260d8a63d5d18e4079a77deeac0ffcc1ec02
Arg [11] : 0000000000000000000000001f36692c6e2c85c7d2384abc2e9ff62515221587
Arg [12] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [16] : 556e696f73000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [18] : 554e4f0000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [20] : 68747470733a2f2f6170692e756e696f732e776f726c642f6d65746164617461
Arg [21] : 2f00000000000000000000000000000000000000000000000000000000000000
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.