ERC-721
Overview
Max Total Supply
702 NOM
Holders
242
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 NOMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DemApples
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /* * ////////////////////////////////////////////////////////00///////////////////// * /////////////////////////////////////////////////////0###0///////////////////// * //////////////////////////////////////////////00//0#####0////////////////////// * /////////////////////////////////////////////000#######0/////////////////////// * ////////////////////////////////////////////0#########0//////////////////////// * ///////////////////////////////////////////0#########0///////////////////////// * ////////////////////////0000000000000000000###########0000///////////////////// * //////////////////////0####################################0/////////////////// * ////////////////////0#######################################0////////////////// * ///////////////////0#########################################0///////////////// * //////////////////0###########################################0//////////////// * /////////////////0#####################--------------------####0/////////////// * /////////////////0#####################---- ---- ----####0/////////////// * /////////////////0#####################---- ---- ----####0/////////////// * /////////////////0#####################---- ---- ----####0/////////////// * /////////////////0#####################--------------------####0/////////////// * //////////////////00#########################################00//////////////// * ///////////////////00#######################################00///////////////// * ////////////////////00#### ##############################00////////////////// * /////////////////////00### #############################00/////////////////// * //////////////////////00### ##########################00//////////////////// * ////////////////////////00### ########################00///////////////////// * //////////////////////////00%%%% ###################00/////////////////////// * //////////////////////////////00###################00////////////////////////// * //////////////////////////////////000000000000000////////////////////////////// * /////////////////////////////////////////////////////////////////////////////// * /////////////////////////////////////////////////////////////////////////////// * * * Dem Apples Fam! * * First, we want to give a huge shoutout to @nftchance, @masonnft, * @squeebo_nft, and the entire Nuclear Nerds team. * * A week ago, after the Nuclear Nerds launch with insanely low gas fees, we decided to re-think * and optimize our standard Smart Contract and committed to building something better for our community. * * Without their attention to detail and openness about how they re-wrote the playbook * for NFT smart contracts - none of the optimizations in this Smart Contract would exist * - so a huge thank you to all of them! * * We're so excited to share Dem Apples with you all. * * We are a community for everyone, we are a place for creatives and collectors to come together, * to foster ideas, projects, and relationships. We are creating something truly special, * and we can't wait for you to be apart of it. */ import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721Enumerable.sol"; contract DemApples is ERC721Enumerable, Ownable { string public baseURI; address public theTeam; address public proxyRegistryAddress; bool public saleIsActive = false; uint256 public constant PRICE_PER_TOKEN = 0.05 ether; uint256 public constant MAX_SUPPLY = 5500; uint256 public constant MAX_MINT_AMOUNT = 21; mapping(address => uint8) private _allowList; mapping(address => bool) public projectProxy; constructor( string memory _baseURI, address _proxyRegistryAddress, address _theTeam ) ERC721("Dem Apples", "NOM") { baseURI = _baseURI; proxyRegistryAddress = _proxyRegistryAddress; theTeam = _theTeam; } // Set base URI function setBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; } // Set proxy registry address of opensea function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } // Set the teams address function setTheTeam(address _theTeam) external onlyOwner { theTeam = _theTeam; } // Retrieve tokenURI for a specific tokenID function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } // Number of tokens available to mint for address on whitelist function numAvailableToMint(address addr) external view returns (uint8) { return _allowList[addr]; } // Whitelist minting function function mintPrivateSale(uint256 numberOfTokens) external payable { uint256 ts = totalSupply(); require(numberOfTokens < _allowList[msg.sender], "You are not on the whitelist"); require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed maximum supply"); require(PRICE_PER_TOKEN * numberOfTokens == msg.value, "Ether value sent is not correct"); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, ts + i); } } // Allow anyone in public to mint function mintPublicSale(uint256 numberOfTokens) external payable { uint256 ts = totalSupply(); require(saleIsActive, "Public sale is not yet active"); require(ts + numberOfTokens <= MAX_SUPPLY, "Purchase would exceed maximum supply"); require(numberOfTokens < MAX_MINT_AMOUNT, "Can't purchase that many tokens"); require(PRICE_PER_TOKEN * numberOfTokens == msg.value, "Ether value sent is not correct"); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, ts + i); } } // Set the status of the public sale function setSaleIsActive(bool _newState) public onlyOwner { saleIsActive = _newState; } // Set the allow list for whitelisted users function setAllowList(address[] calldata addresses, uint8 numAllowedToMint) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { _allowList[addresses[i]] = numAllowedToMint; } } // Run airdrop to giveaway winners function runAirdrops(address[] calldata addresses) external onlyOwner { uint256 ts = totalSupply(); for (uint256 i = 0; i < addresses.length; i++) { _safeMint(addresses[i], ts + i); } } // Reserve function reserve(uint256 n) public onlyOwner { uint256 ts = totalSupply(); for (uint256 i = 0; i < n; i++) { _safeMint(msg.sender, ts + i); } } // Withdraw function withdraw() public onlyOwner { (bool success, ) = theTeam.call{value: address(this).balance}(""); require(success, "Failed to send to the Team."); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) return new uint256[](0); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public { for (uint256 i = 0; i < _tokenIds.length; i++) { safeTransferFrom(_from, _to, _tokenIds[i], data_); } } function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){ for(uint256 i; i < _tokenIds.length; ++i ){ if(_owners[_tokenIds[i]] != account) return false; } return true; } // IsApprovedForAll function with opensea proxy registry pre-approved function isApprovedForAll(address _owner, address operator) public view override returns (bool) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true; return super.isApprovedForAll(_owner, operator); } function flipProxyState(address proxyAddress) public onlyOwner { projectProxy[proxyAddress] = !projectProxy[proxyAddress]; } } contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/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 but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @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-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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.7; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; 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 (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } /** * @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 {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 tokenId < _owners.length && _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); _owners.push(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); _owners[tokenId] = address(0); 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); _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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"address","name":"_theTeam","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_AMOUNT","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":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_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":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPrivateSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublicSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numAvailableToMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"runAirdrops","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"setSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_theTeam","type":"address"}],"name":"setTheTeam","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":[],"name":"theTeam","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"tokenId","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":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805460ff60a01b191690553480156200001e57600080fd5b5060405162002e6d38038062002e6d833981016040819052620000419162000223565b604080518082018252600a81526944656d204170706c657360b01b6020808301918252835180850190945260038452624e4f4d60e81b9084015281519192916200008e9160009162000160565b508051620000a490600190602084019062000160565b505050620000c1620000bb6200010a60201b60201c565b6200010e565b8251620000d690600690602086019062000160565b50600880546001600160a01b039384166001600160a01b031991821617909155600780549290931691161790555062000379565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016e9062000326565b90600052602060002090601f016020900481019282620001925760008555620001dd565b82601f10620001ad57805160ff1916838001178555620001dd565b82800160010185558215620001dd579182015b82811115620001dd578251825591602001919060010190620001c0565b50620001eb929150620001ef565b5090565b5b80821115620001eb5760008155600101620001f0565b80516001600160a01b03811681146200021e57600080fd5b919050565b6000806000606084860312156200023957600080fd5b83516001600160401b03808211156200025157600080fd5b818601915086601f8301126200026657600080fd5b8151818111156200027b576200027b62000363565b604051601f8201601f19908116603f01168101908382118183101715620002a657620002a662000363565b81604052828152602093508984848701011115620002c357600080fd5b600091505b82821015620002e75784820184015181830185015290830190620002c8565b82821115620002f95760008484830101525b96506200030b91505086820162000206565b935050506200031d6040850162000206565b90509250925092565b600181811c908216806200033b57607f821691505b602082108114156200035d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612ae480620003896000396000f3fe60806040526004361061025c5760003560e01c80636c0360eb11610144578063c04a2836116100b6578063eb8d24441161007a578063eb8d244414610722578063f158e14714610743578063f2fde38b14610763578063f3993d1114610783578063f73c814b146107a3578063fa9b7018146107c357600080fd5b8063c04a283614610657578063c87b56dd146106a2578063cd7c0326146106c2578063d26ea6c0146106e2578063e985e9c51461070257600080fd5b80638295784d116101085780638295784d146105a9578063833b9499146105c95780638da5cb5b146105e457806395d89b4114610602578063a22cb46514610617578063b88d4fde1461063757600080fd5b80636c0360eb1461052c5780636dd478e31461054157806370a0823114610554578063715018a614610574578063819b25ba1461058957600080fd5b806332cb6b0c116101dd5780634f6ccce7116101a15780634f6ccce71461046957806355f804b3146104895780635a4fee30146104a95780635a5e5d58146104c95780635bab26e2146104dc5780636352211e1461050c57600080fd5b806332cb6b0c146103d15780633ccfd60b146103e757806342842e0e146103fc578063438b63001461041c5780634d44660c1461044957600080fd5b8063095ea7b311610224578063095ea7b31461033257806318160ddd146103525780631cdfd84e1461037157806323b872dd146103915780632f745c59146103b157600080fd5b806301ffc9a71461026157806302020db51461029657806302c88989146102b857806306fdde03146102d8578063081812fc146102fa575b600080fd5b34801561026d57600080fd5b5061028161027c366004612561565b6107d8565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b13660046124a9565b610803565b005b3480156102c457600080fd5b506102b66102d3366004612546565b61089f565b3480156102e457600080fd5b506102ed6108e7565b60405161028d9190612789565b34801561030657600080fd5b5061031a610315366004612600565b610979565b6040516001600160a01b03909116815260200161028d565b34801561033e57600080fd5b506102b661034d36600461247d565b610a01565b34801561035e57600080fd5b506002545b60405190815260200161028d565b34801561037d57600080fd5b5060075461031a906001600160a01b031681565b34801561039d57600080fd5b506102b66103ac366004612354565b610b17565b3480156103bd57600080fd5b506103636103cc36600461247d565b610b48565b3480156103dd57600080fd5b5061036361157c81565b3480156103f357600080fd5b506102b6610bfb565b34801561040857600080fd5b506102b6610417366004612354565b610ccb565b34801561042857600080fd5b5061043c610437366004612215565b610ce6565b60405161028d9190612745565b34801561045557600080fd5b506102816104643660046123f4565b610d9e565b34801561047557600080fd5b50610363610484366004612600565b610e20565b34801561049557600080fd5b506102b66104a43660046125b8565b610e8d565b3480156104b557600080fd5b506102b66104c43660046122cc565b610ece565b6102b66104d7366004612600565b610f18565b3480156104e857600080fd5b506102816104f7366004612215565b600a6020526000908152604090205460ff1681565b34801561051857600080fd5b5061031a610527366004612600565b611084565b34801561053857600080fd5b506102ed611110565b6102b661054f366004612600565b61119e565b34801561056057600080fd5b5061036361056f366004612215565b6112c2565b34801561058057600080fd5b506102b6611390565b34801561059557600080fd5b506102b66105a4366004612600565b6113c6565b3480156105b557600080fd5b506102b66105c43660046124ea565b611428565b3480156105d557600080fd5b5061036366b1a2bc2ec5000081565b3480156105f057600080fd5b506005546001600160a01b031661031a565b34801561060e57600080fd5b506102ed6114c6565b34801561062357600080fd5b506102b6610632366004612448565b6114d5565b34801561064357600080fd5b506102b6610652366004612395565b61159a565b34801561066357600080fd5b50610690610672366004612215565b6001600160a01b031660009081526009602052604090205460ff1690565b60405160ff909116815260200161028d565b3480156106ae57600080fd5b506102ed6106bd366004612600565b6115cc565b3480156106ce57600080fd5b5060085461031a906001600160a01b031681565b3480156106ee57600080fd5b506102b66106fd366004612215565b61164d565b34801561070e57600080fd5b5061028161071d366004612232565b611699565b34801561072e57600080fd5b5060085461028190600160a01b900460ff1681565b34801561074f57600080fd5b506102b661075e366004612215565b61178c565b34801561076f57600080fd5b506102b661077e366004612215565b6117d8565b34801561078f57600080fd5b506102b661079e36600461226b565b611870565b3480156107af57600080fd5b506102b66107be366004612215565b6118b2565b3480156107cf57600080fd5b50610363601581565b60006001600160e01b0319821663780e9d6360e01b14806107fd57506107fd82611905565b92915050565b6005546001600160a01b031633146108365760405162461bcd60e51b815260040161082d9061287d565b60405180910390fd5b600061084160025490565b905060005b828110156108995761088784848381811061086357610863612a57565b90506020020160208101906108789190612215565b6108828385612933565b611955565b80610891816129fc565b915050610846565b50505050565b6005546001600160a01b031633146108c95760405162461bcd60e51b815260040161082d9061287d565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6060600080546108f6906129c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610922906129c1565b801561096f5780601f106109445761010080835404028352916020019161096f565b820191906000526020600020905b81548152906001019060200180831161095257829003601f168201915b5050505050905090565b60006109848261196f565b6109e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161082d565b506000908152600360205260409020546001600160a01b031690565b6000610a0c82611084565b9050806001600160a01b0316836001600160a01b03161415610a7a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161082d565b336001600160a01b0382161480610a965750610a968133611699565b610b085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161082d565b610b1283836119b9565b505050565b610b213382611a27565b610b3d5760405162461bcd60e51b815260040161082d906128b2565b610b12838383611ae9565b6000610b53836112c2565b8210610b715760405162461bcd60e51b815260040161082d9061279c565b6000805b600254811015610be25760028181548110610b9257610b92612a57565b6000918252602090912001546001600160a01b0386811691161415610bd05783821415610bc25791506107fd9050565b81610bcc816129fc565b9250505b80610bda816129fc565b915050610b75565b5060405162461bcd60e51b815260040161082d9061279c565b6005546001600160a01b03163314610c255760405162461bcd60e51b815260040161082d9061287d565b6007546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610c72576040519150601f19603f3d011682016040523d82523d6000602084013e610c77565b606091505b5050905080610cc85760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2073656e6420746f20746865205465616d2e0000000000604482015260640161082d565b50565b610b128383836040518060200160405280600081525061159a565b60606000610cf3836112c2565b905080610d145760408051600080825260208201909252905b509392505050565b6000816001600160401b03811115610d2e57610d2e612a6d565b604051908082528060200260200182016040528015610d57578160200160208202803683370190505b50905060005b82811015610d0c57610d6f8582610b48565b828281518110610d8157610d81612a57565b602090810291909101015280610d96816129fc565b915050610d5d565b6000805b82811015610e1357846001600160a01b03166002858584818110610dc857610dc8612a57565b9050602002013581548110610ddf57610ddf612a57565b6000918252602090912001546001600160a01b031614610e03576000915050610e19565b610e0c816129fc565b9050610da2565b50600190505b9392505050565b6002546000908210610e895760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161082d565b5090565b6005546001600160a01b03163314610eb75760405162461bcd60e51b815260040161082d9061287d565b8051610eca906006906020840190612029565b5050565b60005b8251811015610f1157610eff8585858481518110610ef157610ef1612a57565b60200260200101518561159a565b80610f09816129fc565b915050610ed1565b5050505050565b6000610f2360025490565b600854909150600160a01b900460ff16610f7f5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c65206973206e6f742079657420616374697665000000604482015260640161082d565b61157c610f8c8383612933565b1115610faa5760405162461bcd60e51b815260040161082d90612839565b60158210610ffa5760405162461bcd60e51b815260206004820152601f60248201527f43616e27742070757263686173652074686174206d616e7920746f6b656e7300604482015260640161082d565b3461100c8366b1a2bc2ec5000061295f565b146110595760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161082d565b60005b82811015610b1257611072336108828385612933565b8061107c816129fc565b91505061105c565b6000806002838154811061109a5761109a612a57565b6000918252602090912001546001600160a01b03169050806107fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161082d565b6006805461111d906129c1565b80601f0160208091040260200160405190810160405280929190818152602001828054611149906129c1565b80156111965780601f1061116b57610100808354040283529160200191611196565b820191906000526020600020905b81548152906001019060200180831161117957829003601f168201915b505050505081565b60006111a960025490565b3360009081526009602052604090205490915060ff16821061120d5760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f74206f6e207468652077686974656c69737400000000604482015260640161082d565b61157c61121a8383612933565b11156112385760405162461bcd60e51b815260040161082d90612839565b3461124a8366b1a2bc2ec5000061295f565b146112975760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161082d565b60005b82811015610b12576112b0336108828385612933565b806112ba816129fc565b91505061129a565b60006001600160a01b03821661132d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161082d565b6000805b600254811015611389576002818154811061134e5761134e612a57565b6000918252602090912001546001600160a01b038581169116141561137957611376826129fc565b91505b611382816129fc565b9050611331565b5092915050565b6005546001600160a01b031633146113ba5760405162461bcd60e51b815260040161082d9061287d565b6113c46000611c3f565b565b6005546001600160a01b031633146113f05760405162461bcd60e51b815260040161082d9061287d565b60006113fb60025490565b905060005b82811015610b1257611416336108828385612933565b80611420816129fc565b915050611400565b6005546001600160a01b031633146114525760405162461bcd60e51b815260040161082d9061287d565b60005b8281101561089957816009600086868581811061147457611474612a57565b90506020020160208101906114899190612215565b6001600160a01b031681526020810191909152604001600020805460ff191660ff92909216919091179055806114be816129fc565b915050611455565b6060600180546108f6906129c1565b6001600160a01b03821633141561152e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161082d565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115a43383611a27565b6115c05760405162461bcd60e51b815260040161082d906128b2565b61089984848484611c91565b60606115d78261196f565b61161b5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015260640161082d565b600661162683611cc4565b604051602001611637929190612661565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146116775760405162461bcd60e51b815260040161082d9061287d565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60085460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b1580156116e657600080fd5b505afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e919061259b565b6001600160a01b0316148061174b57506001600160a01b0383166000908152600a602052604090205460ff165b1561175a5760019150506107fd565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146117b65760405162461bcd60e51b815260040161082d9061287d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118025760405162461bcd60e51b815260040161082d9061287d565b6001600160a01b0381166118675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161082d565b610cc881611c3f565b60005b8151811015610899576118a0848484848151811061189357611893612a57565b6020026020010151610b17565b806118aa816129fc565b915050611873565b6005546001600160a01b031633146118dc5760405162461bcd60e51b815260040161082d9061287d565b6001600160a01b03166000908152600a60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b148061193657506001600160e01b03198216635b5e139f60e01b145b806107fd57506301ffc9a760e01b6001600160e01b03198316146107fd565b610eca828260405180602001604052806000815250611dc1565b600254600090821080156107fd575060006001600160a01b03166002838154811061199c5761199c612a57565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119ee82611084565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a328261196f565b611a935760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161082d565b6000611a9e83611084565b9050806001600160a01b0316846001600160a01b03161480611ad95750836001600160a01b0316611ace84610979565b6001600160a01b0316145b8061178457506117848185611699565b826001600160a01b0316611afc82611084565b6001600160a01b031614611b645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161082d565b6001600160a01b038216611bc65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161082d565b611bd16000826119b9565b8160028281548110611be557611be5612a57565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c9c848484611ae9565b611ca884848484611df4565b6108995760405162461bcd60e51b815260040161082d906127e7565b606081611ce85750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d125780611cfc816129fc565b9150611d0b9050600a8361294b565b9150611cec565b6000816001600160401b03811115611d2c57611d2c612a6d565b6040519080825280601f01601f191660200182016040528015611d56576020820181803683370190505b5090505b841561178457611d6b60018361297e565b9150611d78600a86612a17565b611d83906030612933565b60f81b818381518110611d9857611d98612a57565b60200101906001600160f81b031916908160001a905350611dba600a8661294b565b9450611d5a565b611dcb8383611f01565b611dd86000848484611df4565b610b125760405162461bcd60e51b815260040161082d906127e7565b60006001600160a01b0384163b15611ef657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e38903390899088908890600401612708565b602060405180830381600087803b158015611e5257600080fd5b505af1925050508015611e82575060408051601f3d908101601f19168201909252611e7f9181019061257e565b60015b611edc573d808015611eb0576040519150601f19603f3d011682016040523d82523d6000602084013e611eb5565b606091505b508051611ed45760405162461bcd60e51b815260040161082d906127e7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611784565b506001949350505050565b6001600160a01b038216611f575760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161082d565b611f608161196f565b15611fad5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161082d565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612035906129c1565b90600052602060002090601f016020900481019282612057576000855561209d565b82601f1061207057805160ff191683800117855561209d565b8280016001018555821561209d579182015b8281111561209d578251825591602001919060010190612082565b50610e899291505b80821115610e8957600081556001016120a5565b60006001600160401b038311156120d2576120d2612a6d565b6120e5601f8401601f1916602001612903565b90508281528383830111156120f957600080fd5b828260208301376000602084830101529392505050565b60008083601f84011261212257600080fd5b5081356001600160401b0381111561213957600080fd5b6020830191508360208260051b850101111561215457600080fd5b9250929050565b600082601f83011261216c57600080fd5b813560206001600160401b0382111561218757612187612a6d565b8160051b612196828201612903565b8381528281019086840183880185018910156121b157600080fd5b600093505b858410156121d45780358352600193909301929184019184016121b6565b50979650505050505050565b803580151581146121f057600080fd5b919050565b600082601f83011261220657600080fd5b610e19838335602085016120b9565b60006020828403121561222757600080fd5b8135610e1981612a83565b6000806040838503121561224557600080fd5b823561225081612a83565b9150602083013561226081612a83565b809150509250929050565b60008060006060848603121561228057600080fd5b833561228b81612a83565b9250602084013561229b81612a83565b915060408401356001600160401b038111156122b657600080fd5b6122c28682870161215b565b9150509250925092565b600080600080608085870312156122e257600080fd5b84356122ed81612a83565b935060208501356122fd81612a83565b925060408501356001600160401b038082111561231957600080fd5b6123258883890161215b565b9350606087013591508082111561233b57600080fd5b50612348878288016121f5565b91505092959194509250565b60008060006060848603121561236957600080fd5b833561237481612a83565b9250602084013561238481612a83565b929592945050506040919091013590565b600080600080608085870312156123ab57600080fd5b84356123b681612a83565b935060208501356123c681612a83565b92506040850135915060608501356001600160401b038111156123e857600080fd5b612348878288016121f5565b60008060006040848603121561240957600080fd5b833561241481612a83565b925060208401356001600160401b0381111561242f57600080fd5b61243b86828701612110565b9497909650939450505050565b6000806040838503121561245b57600080fd5b823561246681612a83565b9150612474602084016121e0565b90509250929050565b6000806040838503121561249057600080fd5b823561249b81612a83565b946020939093013593505050565b600080602083850312156124bc57600080fd5b82356001600160401b038111156124d257600080fd5b6124de85828601612110565b90969095509350505050565b6000806000604084860312156124ff57600080fd5b83356001600160401b0381111561251557600080fd5b61252186828701612110565b909450925050602084013560ff8116811461253b57600080fd5b809150509250925092565b60006020828403121561255857600080fd5b610e19826121e0565b60006020828403121561257357600080fd5b8135610e1981612a98565b60006020828403121561259057600080fd5b8151610e1981612a98565b6000602082840312156125ad57600080fd5b8151610e1981612a83565b6000602082840312156125ca57600080fd5b81356001600160401b038111156125e057600080fd5b8201601f810184136125f157600080fd5b611784848235602084016120b9565b60006020828403121561261257600080fd5b5035919050565b60008151808452612631816020860160208601612995565b601f01601f19169290920160200192915050565b60008151612657818560208601612995565b9290920192915050565b600080845481600182811c91508083168061267d57607f831692505b602080841082141561269d57634e487b7160e01b86526022600452602486fd5b8180156126b157600181146126c2576126ef565b60ff198616895284890196506126ef565b60008b81526020902060005b868110156126e75781548b8201529085019083016126ce565b505084890196505b5050505050506126ff8185612645565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061273b90830184612619565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561277d57835183529284019291840191600101612761565b50909695505050505050565b602081526000610e196020830184612619565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526024908201527f507572636861736520776f756c6420657863656564206d6178696d756d20737560408201526370706c7960e01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b038111828210171561292b5761292b612a6d565b604052919050565b6000821982111561294657612946612a2b565b500190565b60008261295a5761295a612a41565b500490565b600081600019048311821515161561297957612979612a2b565b500290565b60008282101561299057612990612a2b565b500390565b60005b838110156129b0578181015183820152602001612998565b838111156108995750506000910152565b600181811c908216806129d557607f821691505b602082108114156129f657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a1057612a10612a2b565b5060010190565b600082612a2657612a26612a41565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cc857600080fd5b6001600160e01b031981168114610cc857600080fdfea264697066735822122015b4e982cecbdfd49ab8032712cb5b9ff8f4f6f04653b84bf74c0d87b6ef43bd64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000007dbe9f8662b585f73580d2c018450d0f0871d2950000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6369336278485365764c665367626b3262596d394837624d6170636854784e63664d343535595146383968332f00000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80636c0360eb11610144578063c04a2836116100b6578063eb8d24441161007a578063eb8d244414610722578063f158e14714610743578063f2fde38b14610763578063f3993d1114610783578063f73c814b146107a3578063fa9b7018146107c357600080fd5b8063c04a283614610657578063c87b56dd146106a2578063cd7c0326146106c2578063d26ea6c0146106e2578063e985e9c51461070257600080fd5b80638295784d116101085780638295784d146105a9578063833b9499146105c95780638da5cb5b146105e457806395d89b4114610602578063a22cb46514610617578063b88d4fde1461063757600080fd5b80636c0360eb1461052c5780636dd478e31461054157806370a0823114610554578063715018a614610574578063819b25ba1461058957600080fd5b806332cb6b0c116101dd5780634f6ccce7116101a15780634f6ccce71461046957806355f804b3146104895780635a4fee30146104a95780635a5e5d58146104c95780635bab26e2146104dc5780636352211e1461050c57600080fd5b806332cb6b0c146103d15780633ccfd60b146103e757806342842e0e146103fc578063438b63001461041c5780634d44660c1461044957600080fd5b8063095ea7b311610224578063095ea7b31461033257806318160ddd146103525780631cdfd84e1461037157806323b872dd146103915780632f745c59146103b157600080fd5b806301ffc9a71461026157806302020db51461029657806302c88989146102b857806306fdde03146102d8578063081812fc146102fa575b600080fd5b34801561026d57600080fd5b5061028161027c366004612561565b6107d8565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b13660046124a9565b610803565b005b3480156102c457600080fd5b506102b66102d3366004612546565b61089f565b3480156102e457600080fd5b506102ed6108e7565b60405161028d9190612789565b34801561030657600080fd5b5061031a610315366004612600565b610979565b6040516001600160a01b03909116815260200161028d565b34801561033e57600080fd5b506102b661034d36600461247d565b610a01565b34801561035e57600080fd5b506002545b60405190815260200161028d565b34801561037d57600080fd5b5060075461031a906001600160a01b031681565b34801561039d57600080fd5b506102b66103ac366004612354565b610b17565b3480156103bd57600080fd5b506103636103cc36600461247d565b610b48565b3480156103dd57600080fd5b5061036361157c81565b3480156103f357600080fd5b506102b6610bfb565b34801561040857600080fd5b506102b6610417366004612354565b610ccb565b34801561042857600080fd5b5061043c610437366004612215565b610ce6565b60405161028d9190612745565b34801561045557600080fd5b506102816104643660046123f4565b610d9e565b34801561047557600080fd5b50610363610484366004612600565b610e20565b34801561049557600080fd5b506102b66104a43660046125b8565b610e8d565b3480156104b557600080fd5b506102b66104c43660046122cc565b610ece565b6102b66104d7366004612600565b610f18565b3480156104e857600080fd5b506102816104f7366004612215565b600a6020526000908152604090205460ff1681565b34801561051857600080fd5b5061031a610527366004612600565b611084565b34801561053857600080fd5b506102ed611110565b6102b661054f366004612600565b61119e565b34801561056057600080fd5b5061036361056f366004612215565b6112c2565b34801561058057600080fd5b506102b6611390565b34801561059557600080fd5b506102b66105a4366004612600565b6113c6565b3480156105b557600080fd5b506102b66105c43660046124ea565b611428565b3480156105d557600080fd5b5061036366b1a2bc2ec5000081565b3480156105f057600080fd5b506005546001600160a01b031661031a565b34801561060e57600080fd5b506102ed6114c6565b34801561062357600080fd5b506102b6610632366004612448565b6114d5565b34801561064357600080fd5b506102b6610652366004612395565b61159a565b34801561066357600080fd5b50610690610672366004612215565b6001600160a01b031660009081526009602052604090205460ff1690565b60405160ff909116815260200161028d565b3480156106ae57600080fd5b506102ed6106bd366004612600565b6115cc565b3480156106ce57600080fd5b5060085461031a906001600160a01b031681565b3480156106ee57600080fd5b506102b66106fd366004612215565b61164d565b34801561070e57600080fd5b5061028161071d366004612232565b611699565b34801561072e57600080fd5b5060085461028190600160a01b900460ff1681565b34801561074f57600080fd5b506102b661075e366004612215565b61178c565b34801561076f57600080fd5b506102b661077e366004612215565b6117d8565b34801561078f57600080fd5b506102b661079e36600461226b565b611870565b3480156107af57600080fd5b506102b66107be366004612215565b6118b2565b3480156107cf57600080fd5b50610363601581565b60006001600160e01b0319821663780e9d6360e01b14806107fd57506107fd82611905565b92915050565b6005546001600160a01b031633146108365760405162461bcd60e51b815260040161082d9061287d565b60405180910390fd5b600061084160025490565b905060005b828110156108995761088784848381811061086357610863612a57565b90506020020160208101906108789190612215565b6108828385612933565b611955565b80610891816129fc565b915050610846565b50505050565b6005546001600160a01b031633146108c95760405162461bcd60e51b815260040161082d9061287d565b60088054911515600160a01b0260ff60a01b19909216919091179055565b6060600080546108f6906129c1565b80601f0160208091040260200160405190810160405280929190818152602001828054610922906129c1565b801561096f5780601f106109445761010080835404028352916020019161096f565b820191906000526020600020905b81548152906001019060200180831161095257829003601f168201915b5050505050905090565b60006109848261196f565b6109e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161082d565b506000908152600360205260409020546001600160a01b031690565b6000610a0c82611084565b9050806001600160a01b0316836001600160a01b03161415610a7a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161082d565b336001600160a01b0382161480610a965750610a968133611699565b610b085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161082d565b610b1283836119b9565b505050565b610b213382611a27565b610b3d5760405162461bcd60e51b815260040161082d906128b2565b610b12838383611ae9565b6000610b53836112c2565b8210610b715760405162461bcd60e51b815260040161082d9061279c565b6000805b600254811015610be25760028181548110610b9257610b92612a57565b6000918252602090912001546001600160a01b0386811691161415610bd05783821415610bc25791506107fd9050565b81610bcc816129fc565b9250505b80610bda816129fc565b915050610b75565b5060405162461bcd60e51b815260040161082d9061279c565b6005546001600160a01b03163314610c255760405162461bcd60e51b815260040161082d9061287d565b6007546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610c72576040519150601f19603f3d011682016040523d82523d6000602084013e610c77565b606091505b5050905080610cc85760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f2073656e6420746f20746865205465616d2e0000000000604482015260640161082d565b50565b610b128383836040518060200160405280600081525061159a565b60606000610cf3836112c2565b905080610d145760408051600080825260208201909252905b509392505050565b6000816001600160401b03811115610d2e57610d2e612a6d565b604051908082528060200260200182016040528015610d57578160200160208202803683370190505b50905060005b82811015610d0c57610d6f8582610b48565b828281518110610d8157610d81612a57565b602090810291909101015280610d96816129fc565b915050610d5d565b6000805b82811015610e1357846001600160a01b03166002858584818110610dc857610dc8612a57565b9050602002013581548110610ddf57610ddf612a57565b6000918252602090912001546001600160a01b031614610e03576000915050610e19565b610e0c816129fc565b9050610da2565b50600190505b9392505050565b6002546000908210610e895760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161082d565b5090565b6005546001600160a01b03163314610eb75760405162461bcd60e51b815260040161082d9061287d565b8051610eca906006906020840190612029565b5050565b60005b8251811015610f1157610eff8585858481518110610ef157610ef1612a57565b60200260200101518561159a565b80610f09816129fc565b915050610ed1565b5050505050565b6000610f2360025490565b600854909150600160a01b900460ff16610f7f5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632073616c65206973206e6f742079657420616374697665000000604482015260640161082d565b61157c610f8c8383612933565b1115610faa5760405162461bcd60e51b815260040161082d90612839565b60158210610ffa5760405162461bcd60e51b815260206004820152601f60248201527f43616e27742070757263686173652074686174206d616e7920746f6b656e7300604482015260640161082d565b3461100c8366b1a2bc2ec5000061295f565b146110595760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161082d565b60005b82811015610b1257611072336108828385612933565b8061107c816129fc565b91505061105c565b6000806002838154811061109a5761109a612a57565b6000918252602090912001546001600160a01b03169050806107fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161082d565b6006805461111d906129c1565b80601f0160208091040260200160405190810160405280929190818152602001828054611149906129c1565b80156111965780601f1061116b57610100808354040283529160200191611196565b820191906000526020600020905b81548152906001019060200180831161117957829003601f168201915b505050505081565b60006111a960025490565b3360009081526009602052604090205490915060ff16821061120d5760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f74206f6e207468652077686974656c69737400000000604482015260640161082d565b61157c61121a8383612933565b11156112385760405162461bcd60e51b815260040161082d90612839565b3461124a8366b1a2bc2ec5000061295f565b146112975760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161082d565b60005b82811015610b12576112b0336108828385612933565b806112ba816129fc565b91505061129a565b60006001600160a01b03821661132d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161082d565b6000805b600254811015611389576002818154811061134e5761134e612a57565b6000918252602090912001546001600160a01b038581169116141561137957611376826129fc565b91505b611382816129fc565b9050611331565b5092915050565b6005546001600160a01b031633146113ba5760405162461bcd60e51b815260040161082d9061287d565b6113c46000611c3f565b565b6005546001600160a01b031633146113f05760405162461bcd60e51b815260040161082d9061287d565b60006113fb60025490565b905060005b82811015610b1257611416336108828385612933565b80611420816129fc565b915050611400565b6005546001600160a01b031633146114525760405162461bcd60e51b815260040161082d9061287d565b60005b8281101561089957816009600086868581811061147457611474612a57565b90506020020160208101906114899190612215565b6001600160a01b031681526020810191909152604001600020805460ff191660ff92909216919091179055806114be816129fc565b915050611455565b6060600180546108f6906129c1565b6001600160a01b03821633141561152e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161082d565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115a43383611a27565b6115c05760405162461bcd60e51b815260040161082d906128b2565b61089984848484611c91565b60606115d78261196f565b61161b5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b604482015260640161082d565b600661162683611cc4565b604051602001611637929190612661565b6040516020818303038152906040529050919050565b6005546001600160a01b031633146116775760405162461bcd60e51b815260040161082d9061287d565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60085460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b1580156116e657600080fd5b505afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e919061259b565b6001600160a01b0316148061174b57506001600160a01b0383166000908152600a602052604090205460ff165b1561175a5760019150506107fd565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b031633146117b65760405162461bcd60e51b815260040161082d9061287d565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146118025760405162461bcd60e51b815260040161082d9061287d565b6001600160a01b0381166118675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161082d565b610cc881611c3f565b60005b8151811015610899576118a0848484848151811061189357611893612a57565b6020026020010151610b17565b806118aa816129fc565b915050611873565b6005546001600160a01b031633146118dc5760405162461bcd60e51b815260040161082d9061287d565b6001600160a01b03166000908152600a60205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b148061193657506001600160e01b03198216635b5e139f60e01b145b806107fd57506301ffc9a760e01b6001600160e01b03198316146107fd565b610eca828260405180602001604052806000815250611dc1565b600254600090821080156107fd575060006001600160a01b03166002838154811061199c5761199c612a57565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119ee82611084565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a328261196f565b611a935760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161082d565b6000611a9e83611084565b9050806001600160a01b0316846001600160a01b03161480611ad95750836001600160a01b0316611ace84610979565b6001600160a01b0316145b8061178457506117848185611699565b826001600160a01b0316611afc82611084565b6001600160a01b031614611b645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161082d565b6001600160a01b038216611bc65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161082d565b611bd16000826119b9565b8160028281548110611be557611be5612a57565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c9c848484611ae9565b611ca884848484611df4565b6108995760405162461bcd60e51b815260040161082d906127e7565b606081611ce85750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d125780611cfc816129fc565b9150611d0b9050600a8361294b565b9150611cec565b6000816001600160401b03811115611d2c57611d2c612a6d565b6040519080825280601f01601f191660200182016040528015611d56576020820181803683370190505b5090505b841561178457611d6b60018361297e565b9150611d78600a86612a17565b611d83906030612933565b60f81b818381518110611d9857611d98612a57565b60200101906001600160f81b031916908160001a905350611dba600a8661294b565b9450611d5a565b611dcb8383611f01565b611dd86000848484611df4565b610b125760405162461bcd60e51b815260040161082d906127e7565b60006001600160a01b0384163b15611ef657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e38903390899088908890600401612708565b602060405180830381600087803b158015611e5257600080fd5b505af1925050508015611e82575060408051601f3d908101601f19168201909252611e7f9181019061257e565b60015b611edc573d808015611eb0576040519150601f19603f3d011682016040523d82523d6000602084013e611eb5565b606091505b508051611ed45760405162461bcd60e51b815260040161082d906127e7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611784565b506001949350505050565b6001600160a01b038216611f575760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161082d565b611f608161196f565b15611fad5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161082d565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612035906129c1565b90600052602060002090601f016020900481019282612057576000855561209d565b82601f1061207057805160ff191683800117855561209d565b8280016001018555821561209d579182015b8281111561209d578251825591602001919060010190612082565b50610e899291505b80821115610e8957600081556001016120a5565b60006001600160401b038311156120d2576120d2612a6d565b6120e5601f8401601f1916602001612903565b90508281528383830111156120f957600080fd5b828260208301376000602084830101529392505050565b60008083601f84011261212257600080fd5b5081356001600160401b0381111561213957600080fd5b6020830191508360208260051b850101111561215457600080fd5b9250929050565b600082601f83011261216c57600080fd5b813560206001600160401b0382111561218757612187612a6d565b8160051b612196828201612903565b8381528281019086840183880185018910156121b157600080fd5b600093505b858410156121d45780358352600193909301929184019184016121b6565b50979650505050505050565b803580151581146121f057600080fd5b919050565b600082601f83011261220657600080fd5b610e19838335602085016120b9565b60006020828403121561222757600080fd5b8135610e1981612a83565b6000806040838503121561224557600080fd5b823561225081612a83565b9150602083013561226081612a83565b809150509250929050565b60008060006060848603121561228057600080fd5b833561228b81612a83565b9250602084013561229b81612a83565b915060408401356001600160401b038111156122b657600080fd5b6122c28682870161215b565b9150509250925092565b600080600080608085870312156122e257600080fd5b84356122ed81612a83565b935060208501356122fd81612a83565b925060408501356001600160401b038082111561231957600080fd5b6123258883890161215b565b9350606087013591508082111561233b57600080fd5b50612348878288016121f5565b91505092959194509250565b60008060006060848603121561236957600080fd5b833561237481612a83565b9250602084013561238481612a83565b929592945050506040919091013590565b600080600080608085870312156123ab57600080fd5b84356123b681612a83565b935060208501356123c681612a83565b92506040850135915060608501356001600160401b038111156123e857600080fd5b612348878288016121f5565b60008060006040848603121561240957600080fd5b833561241481612a83565b925060208401356001600160401b0381111561242f57600080fd5b61243b86828701612110565b9497909650939450505050565b6000806040838503121561245b57600080fd5b823561246681612a83565b9150612474602084016121e0565b90509250929050565b6000806040838503121561249057600080fd5b823561249b81612a83565b946020939093013593505050565b600080602083850312156124bc57600080fd5b82356001600160401b038111156124d257600080fd5b6124de85828601612110565b90969095509350505050565b6000806000604084860312156124ff57600080fd5b83356001600160401b0381111561251557600080fd5b61252186828701612110565b909450925050602084013560ff8116811461253b57600080fd5b809150509250925092565b60006020828403121561255857600080fd5b610e19826121e0565b60006020828403121561257357600080fd5b8135610e1981612a98565b60006020828403121561259057600080fd5b8151610e1981612a98565b6000602082840312156125ad57600080fd5b8151610e1981612a83565b6000602082840312156125ca57600080fd5b81356001600160401b038111156125e057600080fd5b8201601f810184136125f157600080fd5b611784848235602084016120b9565b60006020828403121561261257600080fd5b5035919050565b60008151808452612631816020860160208601612995565b601f01601f19169290920160200192915050565b60008151612657818560208601612995565b9290920192915050565b600080845481600182811c91508083168061267d57607f831692505b602080841082141561269d57634e487b7160e01b86526022600452602486fd5b8180156126b157600181146126c2576126ef565b60ff198616895284890196506126ef565b60008b81526020902060005b868110156126e75781548b8201529085019083016126ce565b505084890196505b5050505050506126ff8185612645565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061273b90830184612619565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561277d57835183529284019291840191600101612761565b50909695505050505050565b602081526000610e196020830184612619565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526024908201527f507572636861736520776f756c6420657863656564206d6178696d756d20737560408201526370706c7960e01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b038111828210171561292b5761292b612a6d565b604052919050565b6000821982111561294657612946612a2b565b500190565b60008261295a5761295a612a41565b500490565b600081600019048311821515161561297957612979612a2b565b500290565b60008282101561299057612990612a2b565b500390565b60005b838110156129b0578181015183820152602001612998565b838111156108995750506000910152565b600181811c908216806129d557607f821691505b602082108114156129f657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612a1057612a10612a2b565b5060010190565b600082612a2657612a26612a41565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610cc857600080fd5b6001600160e01b031981168114610cc857600080fdfea264697066735822122015b4e982cecbdfd49ab8032712cb5b9ff8f4f6f04653b84bf74c0d87b6ef43bd64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000007dbe9f8662b585f73580d2c018450d0f0871d2950000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6369336278485365764c665367626b3262596d394837624d6170636854784e63664d343535595146383968332f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://Qmci3bxHSevLfSgbk2bYm9H7bMapchTxNcfM455YQF89h3/
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [2] : _theTeam (address): 0x7dBe9f8662b585f73580d2C018450D0F0871D295
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000007dbe9f8662b585f73580d2c018450d0f0871d295
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d6369336278485365764c665367626b3262596d39483762
Arg [5] : 4d6170636854784e63664d343535595146383968332f00000000000000000000
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.