Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
351 DUCK
Holders
133
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DUCKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
DaoDuck
Compiler Version
v0.8.10+commit.fc410830
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.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract DaoDuck is ERC721, Ownable { bool public ON_SALE; bool public ON_PRESALE; bool public ON_HATCH; bool public ON_MUTATION; uint256 public TOKEN_PRICE = 0.05 ether; uint256 public totalPublicMinted = 0; uint256 public totalMutantMinted = 0; uint256 public totalTokens = 0; uint256 public MAX_TOKENS_PER_WALLET = 2; uint256 public MAX_TOKENS_PER_WALLET_PRESALE = 1; uint256 public MAX_PUBLIC = 299; uint256 public firstMintedToken = 1001; uint256 public firstMutantToken = 10001; address proxyRegistryAddress; string private BASE_URI = "https://enefte.info/duckdao/?token_id="; mapping(address => uint256) public mintsForWallet; mapping(address => uint256) public presaleMintsForWallet; //live IERC1155 public OPENSEA_STORE = IERC1155(0x495f947276749Ce646f68AC8c248420045cb7b5e); mapping(uint256 => bool) public mutatedDucks; mapping(uint256 => bool) public hatchedGenesis; mapping(uint256 => uint256) public mintedEggs; mapping(address => bool) public presaleWhitelist; constructor(address _proxyRegistryAddress) ERC721("DaoDuck", "DUCK") { proxyRegistryAddress = _proxyRegistryAddress; } //starting at firstMintedToken function mint(uint256 numberOfTokens) external payable { require(ON_SALE, "not on sale"); require(totalPublicMinted + numberOfTokens <= MAX_PUBLIC, "Not enough"); require(mintsForWallet[msg.sender] + numberOfTokens <= MAX_TOKENS_PER_WALLET, "Not enough left"); require(TOKEN_PRICE * numberOfTokens <= msg.value, 'missing eth'); for(uint256 i = 0; i < numberOfTokens; i+=1) { _safeMint(msg.sender, firstMintedToken+totalPublicMinted+i); } totalPublicMinted += numberOfTokens; totalTokens += numberOfTokens; mintsForWallet[msg.sender] += numberOfTokens; } //starting at firstMintedToken function mintPresale(uint256 numberOfTokens) external payable { require(ON_PRESALE, "not on presale"); require(totalPublicMinted + numberOfTokens <= MAX_PUBLIC, "Not enough"); require(presaleWhitelist[msg.sender], "not on whitelist"); require(presaleMintsForWallet[msg.sender] + numberOfTokens <= MAX_TOKENS_PER_WALLET_PRESALE, "Not enough left"); require(TOKEN_PRICE * numberOfTokens <= msg.value, 'missing eth'); for(uint256 i = 0; i < numberOfTokens; i+=1) { _safeMint(msg.sender, firstMintedToken+totalPublicMinted+i); } totalPublicMinted += numberOfTokens; totalTokens += numberOfTokens; presaleMintsForWallet[msg.sender] += numberOfTokens; } // starting at 0 function hatch(uint256 _tokenId) external { require(ON_HATCH, "not on hatching"); if(_tokenId > 100000){ require(isValidDuck(_tokenId),"not valid duck"); require(OPENSEA_STORE.balanceOf(msg.sender, _tokenId) > 0,"not own duck"); uint256 id = returnCorrectId(_tokenId); require(!hatchedGenesis[100000+id],"duck already hatched"); _safeMint(msg.sender, id); hatchedGenesis[100000+id] = true; totalTokens += 1; }else{ require(!hatchedGenesis[_tokenId],"duck already hatched"); require(mintedEggs[_tokenId] > 0,"duck not hatchable"); _safeMint(msg.sender, mintedEggs[_tokenId]); hatchedGenesis[_tokenId] = true; totalTokens += 1; } } function mutate(uint256 _tokenId) external { require(ON_MUTATION, "not on mutation"); if(_tokenId > 100000){ require(isValidDuck(_tokenId),"not valid duck"); require(OPENSEA_STORE.balanceOf(msg.sender, _tokenId) > 0,"not own duck"); uint256 id = returnCorrectId(_tokenId); require(!mutatedDucks[100000+id],"duck already mutated"); _safeMint(msg.sender, firstMutantToken+totalMutantMinted+1); mutatedDucks[100000+id] = true; totalTokens += 1; totalMutantMinted += 1; }else{ require(!mutatedDucks[_tokenId],"duck already mutated"); //require(mintedEggs[_tokenId] > 0,"duck not mutatable"); _safeMint(msg.sender, firstMutantToken+totalMutantMinted+1); mutatedDucks[_tokenId] = true; totalTokens += 1; totalMutantMinted += 1; } } function airdrop(uint256 numberOfTokens, address userAddress) external onlyOwner { for(uint256 i = 0; i < numberOfTokens; i+=1) { _safeMint(userAddress, firstMintedToken+totalPublicMinted+i); } totalPublicMinted += numberOfTokens; totalTokens += numberOfTokens; } function addToWhitelist(address[] calldata whitelist) external onlyOwner { for(uint256 i = 0; i < whitelist.length; i+=1) { presaleWhitelist[whitelist[i]] = true; } } function addToMintedEggs(uint256 duckId, uint256 hatchId) public onlyOwner { mintedEggs[duckId] = hatchId; } function startPreSale() external onlyOwner { ON_PRESALE = true; } function stopPreSale() external onlyOwner { ON_PRESALE = false; } function startSale() external onlyOwner { ON_SALE = true; } function stopSale() external onlyOwner { ON_SALE = false; } function startHatch() external onlyOwner { ON_HATCH = true; } function stopHatch() external onlyOwner { ON_HATCH = false; } function startMutate() external onlyOwner { ON_MUTATION = true; } function stopMutate() external onlyOwner { ON_MUTATION = false; } function setTokenPrice(uint256 price) external onlyOwner { TOKEN_PRICE = price; } function setMaxPublic(uint256 maxTokens) external onlyOwner { MAX_PUBLIC = maxTokens; } function setMaxPerWallet(uint256 maxTokens) external onlyOwner { MAX_TOKENS_PER_WALLET = maxTokens; } function setMaxPerWalletPresale(uint256 maxTokens) external onlyOwner { MAX_TOKENS_PER_WALLET_PRESALE = maxTokens; } function setBaseURI(string memory baseURI) external onlyOwner { BASE_URI = baseURI; } function _baseURI() internal view override returns (string memory) { return BASE_URI; } function withdrawBalance(address _wallet) external onlyOwner { uint256 balance = address(this).balance; payable(_wallet).transfer(balance); } function isValidDuck(uint256 _id) internal pure returns(bool) { if (_id >> 96 != 0x000000000000000000000000ed40624deb1202e63d0729b6411ffa0efb333ad9) return false; if (_id & 0x000000000000000000000000000000000000000000000000000000ffffffffff != 1) return false; uint256 id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40; if (id > 120) return false; return true; } function returnCorrectId(uint256 _id) internal pure returns(uint256) { // should return the ID we want to MINT _id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40; if(_id <= 35){ return _id-5; }else if(_id <= 56){ return _id-6; }else if(_id == 57){ return 53; }else if(_id == 58){ return 51; }else if(_id == 59){ return 52; }else if(_id == 60){ return 55; }else if(_id == 61){ return 56; }else if(_id <= 65){ return _id-5; }else if(_id == 66){ return 54; }else if(_id == 67){ return 70; }else if(_id == 68){ return 69; }else if(_id == 69){ return 66; }else if(_id == 71){ return 62; }else if(_id == 72){ return 63; }else if(_id == 73){ return 67; }else if(_id == 74){ return 68; }else if(_id == 75){ return 64; }else if(_id == 78){ return 61; }else if(_id == 79){ return 65; }else if(_id == 80){ return 71; }else if(_id == 82){ return 75; }else if(_id == 83){ return 79; }else if(_id == 84){ return 80; }else if(_id == 86){ return 73; }else if(_id == 92){ return 72; }else if(_id == 91){ return 74; }else if(_id == 90){ return 78; }else if(_id == 88){ return 77; }else if(_id == 87){ return 76; }else if(_id == 93){ return 81; }else if(_id == 94){ return 82; }else if(_id == 95){ return 83; }else if(_id == 102){ return 84; }else if(_id == 103){ return 85; }else if(_id == 97){ return 86; }else if(_id == 98){ return 87; }else if(_id == 99){ return 88; }else if(_id == 100){ return 89; }else if(_id == 101){ return 90; }else if(_id == 104){ return 91; }else if(_id == 105){ return 92; }else if(_id == 106){ return 93; }else if(_id == 107){ return 94; }else if(_id == 108){ return 95; }else if(_id == 109){ return 96; }else if(_id == 110){ return 97; }else if(_id == 111){ return 98; }else if(_id == 112){ return 99; }else if(_id == 113){ return 100; }else if(_id == 114){ return 101; }else{ return _id; } } function tokensOfOwner(address _owner) external view returns(uint[] memory ) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 tokenid; uint256 index; for (tokenid = 0; tokenid < totalTokens; tokenid++) { if(_exists(tokenid)){ if(_owner == ownerOf(tokenid)){ result[index]=tokenid; index+=1; } } } delete index; return result; } } function totalSupply() public view virtual returns(uint256){ return totalTokens; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.0 (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.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `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.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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.0 (token/ERC721/ERC721.sol) 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 { _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.0 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","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_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PER_WALLET_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ON_HATCH","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ON_MUTATION","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ON_PRESALE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ON_SALE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPENSEA_STORE","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"duckId","type":"uint256"},{"internalType":"uint256","name":"hatchId","type":"uint256"}],"name":"addToMintedEggs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"whitelist","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"userAddress","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstMintedToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstMutantToken","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"hatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hatchedGenesis","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedEggs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsForWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mutate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mutatedDucks","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"","type":"address"}],"name":"presaleMintsForWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTokens","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTokens","type":"uint256"}],"name":"setMaxPerWalletPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTokens","type":"uint256"}],"name":"setMaxPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startHatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMutate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopHatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMutate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMutantMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokens","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":"_wallet","type":"address"}],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
66b1a2bc2ec50000600755600060088190556009819055600a556002600b556001600c5561012b600d556103e9600e55612711600f5560e060405260266080818152906200364460a03980516200005f91601191602090910190620001b0565b50601480546001600160a01b03191673495f947276749ce646f68ac8c248420045cb7b5e1790553480156200009357600080fd5b506040516200366a3803806200366a833981016040819052620000b69162000256565b604080518082018252600781526644616f4475636b60c81b6020808301918252835180850190945260048452634455434b60e01b9084015281519192916200010191600091620001b0565b50805162000117906001906020840190620001b0565b505050620001346200012e6200015a60201b60201c565b6200015e565b601080546001600160a01b0319166001600160a01b0392909216919091179055620002c5565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001be9062000288565b90600052602060002090601f016020900481019282620001e257600085556200022d565b82601f10620001fd57805160ff19168380011785556200022d565b828001600101855582156200022d579182015b828111156200022d57825182559160200191906001019062000210565b506200023b9291506200023f565b5090565b5b808211156200023b576000815560010162000240565b6000602082840312156200026957600080fd5b81516001600160a01b03811681146200028157600080fd5b9392505050565b600181811c908216806200029d57607f821691505b60208210811415620002bf57634e487b7160e01b600052602260045260246000fd5b50919050565b61336f80620002d56000396000f3fe60806040526004361061038c5760003560e01c80638da5cb5b116101dc578063c8c1884211610102578063eb8835ab116100a0578063f759867a1161006f578063f759867a14610a70578063f8fb336614610a83578063f950207e14610a98578063fbdb849414610aae57600080fd5b8063eb8835ab146109d0578063ec3c379614610a00578063f27620f714610a30578063f2fde38b14610a5057600080fd5b8063df8e2334116100dc578063df8e233414610925578063e268e4d314610952578063e36b0b3714610972578063e985e9c51461098757600080fd5b8063c8c18842146108d9578063d1bdb1d1146108f9578063d2d8cb671461090f57600080fd5b8063a2f29ee01161017a578063b88d4fde11610149578063b88d4fde1461084c578063ba9b51dc1461086c578063bc63f02e14610899578063c87b56dd146108b957600080fd5b8063a2f29ee0146107f5578063b13301fe1461080b578063b531c47714610821578063b66a0e5d1461083757600080fd5b80639753eac0116101b65780639753eac0146107975780639e91b71d146107ad578063a0712d68146107c2578063a22cb465146107d557600080fd5b80638da5cb5b14610737578063920a91841461075557806395d89b411461078257600080fd5b806342842e0e116102c15780636a61e5fc1161025f578063756af45f1161022e578063756af45f146106b45780637e1c0c09146106d45780637f649783146106ea5780638462151c1461070a57600080fd5b80636a61e5fc1461063f57806370a082311461065f578063713b988b1461067f578063715018a61461069f57600080fd5b806355f804b31161029b57806355f804b3146105c957806356431c4b146105e957806361775cf61461060a5780636352211e1461061f57600080fd5b806342842e0e146105645780634a1b01f21461058457806355dd574c146105b457600080fd5b806316ab68691161032e57806323b872dd1161030857806323b872dd146104f8578063275ac837146105185780632bd888b0146105395780633828914a1461054e57600080fd5b806316ab68691461049857806318160ddd146104b857806321cadc69146104d757600080fd5b8063081812fc1161036a578063081812fc146103ff578063095ea7b3146104375780630fab6da81461045757806311bca4641461047757600080fd5b806301ffc9a71461039157806306fdde03146103c657806307a9685b146103e8575b600080fd5b34801561039d57600080fd5b506103b16103ac366004612cc0565b610ace565b60405190151581526020015b60405180910390f35b3480156103d257600080fd5b506103db610b20565b6040516103bd9190612d35565b3480156103f457600080fd5b506103fd610bb2565b005b34801561040b57600080fd5b5061041f61041a366004612d48565b610bf4565b6040516001600160a01b0390911681526020016103bd565b34801561044357600080fd5b506103fd610452366004612d78565b610c89565b34801561046357600080fd5b506103fd610472366004612d48565b610d9f565b34801561048357600080fd5b506006546103b190600160b01b900460ff1681565b3480156104a457600080fd5b506103fd6104b3366004612da2565b610dce565b3480156104c457600080fd5b50600a545b6040519081526020016103bd565b3480156104e357600080fd5b506006546103b190600160a01b900460ff1681565b34801561050457600080fd5b506103fd610513366004612dc4565b610e0a565b34801561052457600080fd5b506006546103b190600160a81b900460ff1681565b34801561054557600080fd5b506103fd610e3b565b34801561055a57600080fd5b506104c960085481565b34801561057057600080fd5b506103fd61057f366004612dc4565b610e7a565b34801561059057600080fd5b506103b161059f366004612d48565b60166020526000908152604090205460ff1681565b3480156105c057600080fd5b506103fd610e95565b3480156105d557600080fd5b506103fd6105e4366004612e8c565b610ed4565b3480156105f557600080fd5b506006546103b190600160b81b900460ff1681565b34801561061657600080fd5b506103fd610f15565b34801561062b57600080fd5b5061041f61063a366004612d48565b610f54565b34801561064b57600080fd5b506103fd61065a366004612d48565b610fcb565b34801561066b57600080fd5b506104c961067a366004612ed5565b610ffa565b34801561068b57600080fd5b506103fd61069a366004612d48565b611081565b3480156106ab57600080fd5b506103fd611392565b3480156106c057600080fd5b506103fd6106cf366004612ed5565b6113c8565b3480156106e057600080fd5b506104c9600a5481565b3480156106f657600080fd5b506103fd610705366004612ef0565b61142a565b34801561071657600080fd5b5061072a610725366004612ed5565b6114c6565b6040516103bd9190612f65565b34801561074357600080fd5b506006546001600160a01b031661041f565b34801561076157600080fd5b506104c9610770366004612d48565b60176020526000908152604090205481565b34801561078e57600080fd5b506103db6115d2565b3480156107a357600080fd5b506104c9600d5481565b3480156107b957600080fd5b506103fd6115e1565b6103fd6107d0366004612d48565b61161a565b3480156107e157600080fd5b506103fd6107f0366004612fa9565b6117e2565b34801561080157600080fd5b506104c9600c5481565b34801561081757600080fd5b506104c960095481565b34801561082d57600080fd5b506104c9600f5481565b34801561084357600080fd5b506103fd6117ed565b34801561085857600080fd5b506103fd610867366004612fe5565b61182c565b34801561087857600080fd5b506104c9610887366004612ed5565b60126020526000908152604090205481565b3480156108a557600080fd5b506103fd6108b4366004613061565b611864565b3480156108c557600080fd5b506103db6108d4366004612d48565b6118f5565b3480156108e557600080fd5b506103fd6108f4366004612d48565b6119d0565b34801561090557600080fd5b506104c9600b5481565b34801561091b57600080fd5b506104c960075481565b34801561093157600080fd5b506104c9610940366004612ed5565b60136020526000908152604090205481565b34801561095e57600080fd5b506103fd61096d366004612d48565b611cd4565b34801561097e57600080fd5b506103fd611d03565b34801561099357600080fd5b506103b16109a236600461308d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109dc57600080fd5b506103b16109eb366004612ed5565b60186020526000908152604090205460ff1681565b348015610a0c57600080fd5b506103b1610a1b366004612d48565b60156020526000908152604090205460ff1681565b348015610a3c57600080fd5b5060145461041f906001600160a01b031681565b348015610a5c57600080fd5b506103fd610a6b366004612ed5565b611d3c565b6103fd610a7e366004612d48565b611dd4565b348015610a8f57600080fd5b506103fd611fe7565b348015610aa457600080fd5b506104c9600e5481565b348015610aba57600080fd5b506103fd610ac9366004612d48565b612020565b60006001600160e01b031982166380ac58cd60e01b1480610aff57506001600160e01b03198216635b5e139f60e01b145b80610b1a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610b2f906130b7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b906130b7565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b5050505050905090565b6006546001600160a01b03163314610be55760405162461bcd60e51b8152600401610bdc906130ec565b60405180910390fd5b6006805460ff60b81b19169055565b6000818152600260205260408120546001600160a01b0316610c6d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b506000908152600460205260409020546001600160a01b031690565b6000610c9482610f54565b9050806001600160a01b0316836001600160a01b03161415610d025760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bdc565b336001600160a01b0382161480610d1e5750610d1e81336109a2565b610d905760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bdc565b610d9a838361204f565b505050565b6006546001600160a01b03163314610dc95760405162461bcd60e51b8152600401610bdc906130ec565b600c55565b6006546001600160a01b03163314610df85760405162461bcd60e51b8152600401610bdc906130ec565b60009182526017602052604090912055565b610e1433826120bd565b610e305760405162461bcd60e51b8152600401610bdc90613121565b610d9a8383836121b4565b6006546001600160a01b03163314610e655760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60b81b1916600160b81b179055565b610d9a8383836040518060200160405280600081525061182c565b6006546001600160a01b03163314610ebf5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a81b1916600160a81b179055565b6006546001600160a01b03163314610efe5760405162461bcd60e51b8152600401610bdc906130ec565b8051610f11906011906020840190612c1a565b5050565b6006546001600160a01b03163314610f3f5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60b01b1916600160b01b179055565b6000818152600260205260408120546001600160a01b031680610b1a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bdc565b6006546001600160a01b03163314610ff55760405162461bcd60e51b8152600401610bdc906130ec565b600755565b60006001600160a01b0382166110655760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bdc565b506001600160a01b031660009081526003602052604090205490565b600654600160b81b900460ff166110cc5760405162461bcd60e51b815260206004820152600f60248201526e3737ba1037b71036baba30ba34b7b760891b6044820152606401610bdc565b620186a08111156112d6576110e081612354565b61111d5760405162461bcd60e51b815260206004820152600e60248201526d6e6f742076616c6964206475636b60901b6044820152606401610bdc565b601454604051627eeac760e11b8152336004820152602481018390526000916001600160a01b03169062fdd58e90604401602060405180830381865afa15801561116b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118f9190613172565b116111cb5760405162461bcd60e51b815260206004820152600c60248201526b6e6f74206f776e206475636b60a01b6044820152606401610bdc565b60006111d6826123bd565b9050601560006111e983620186a06131a1565b815260208101919091526040016000205460ff16156112415760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481b5d5d185d195960621b6044820152606401610bdc565b61126533600954600f5461125591906131a1565b6112609060016131a1565b61272c565b60016015600061127884620186a06131a1565b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60008282546112b091906131a1565b925050819055506001600960008282546112ca91906131a1565b9091555061138f915050565b60008181526015602052604090205460ff161561132c5760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481b5d5d185d195960621b6044820152606401610bdc565b61134033600954600f5461125591906131a1565b6000818152601560205260408120805460ff19166001908117909155600a80549192909161136f9084906131a1565b9250508190555060016009600082825461138991906131a1565b90915550505b50565b6006546001600160a01b031633146113bc5760405162461bcd60e51b8152600401610bdc906130ec565b6113c66000612746565b565b6006546001600160a01b031633146113f25760405162461bcd60e51b8152600401610bdc906130ec565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610d9a573d6000803e3d6000fd5b6006546001600160a01b031633146114545760405162461bcd60e51b8152600401610bdc906130ec565b60005b81811015610d9a57600160186000858585818110611477576114776131b9565b905060200201602081019061148c9190612ed5565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556114bf6001826131a1565b9050611457565b606060006114d383610ffa565b9050806114f0575050604080516000815260208101909152919050565b60008167ffffffffffffffff81111561150b5761150b612e00565b604051908082528060200260200182016040528015611534578160200160208202803683370190505b5090506000805b600a548210156115c2576000828152600260205260409020546001600160a01b0316156115b05761156b82610f54565b6001600160a01b0316866001600160a01b031614156115b05781838281518110611597576115976131b9565b60209081029190910101526115ad6001826131a1565b90505b816115ba816131cf565b92505061153b565b5090949350505050565b50919050565b606060018054610b2f906130b7565b6006546001600160a01b0316331461160b5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60b01b19169055565b600654600160a01b900460ff166116615760405162461bcd60e51b815260206004820152600b60248201526a6e6f74206f6e2073616c6560a81b6044820152606401610bdc565b600d548160085461167291906131a1565b11156116ad5760405162461bcd60e51b815260206004820152600a60248201526909cdee840cadcdeeaced60b31b6044820152606401610bdc565b600b54336000908152601260205260409020546116cb9083906131a1565b111561170b5760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610bdc565b348160075461171a91906131ea565b11156117565760405162461bcd60e51b815260206004820152600b60248201526a0dad2e6e6d2dcce40cae8d60ab1b6044820152606401610bdc565b60005b81811015611792576117803382600854600e5461177691906131a1565b61126091906131a1565b61178b6001826131a1565b9050611759565b5080600860008282546117a591906131a1565b9250508190555080600a60008282546117be91906131a1565b909155505033600090815260126020526040812080548392906113899084906131a1565b610f11338383612798565b6006546001600160a01b031633146118175760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a01b1916600160a01b179055565b61183633836120bd565b6118525760405162461bcd60e51b8152600401610bdc90613121565b61185e84848484612867565b50505050565b6006546001600160a01b0316331461188e5760405162461bcd60e51b8152600401610bdc906130ec565b60005b828110156118c0576118ae8282600854600e5461177691906131a1565b6118b96001826131a1565b9050611891565b5081600860008282546118d391906131a1565b9250508190555081600a60008282546118ec91906131a1565b90915550505050565b6000818152600260205260409020546060906001600160a01b03166119745760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bdc565b600061197e61289a565b9050600081511161199e57604051806020016040528060008152506119c9565b806119a8846128a9565b6040516020016119b9929190613209565b6040516020818303038152906040525b9392505050565b600654600160b01b900460ff16611a1b5760405162461bcd60e51b815260206004820152600f60248201526e6e6f74206f6e206861746368696e6760881b6044820152606401610bdc565b620186a0811115611be557611a2f81612354565b611a6c5760405162461bcd60e51b815260206004820152600e60248201526d6e6f742076616c6964206475636b60901b6044820152606401610bdc565b601454604051627eeac760e11b8152336004820152602481018390526000916001600160a01b03169062fdd58e90604401602060405180830381865afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190613172565b11611b1a5760405162461bcd60e51b815260206004820152600c60248201526b6e6f74206f776e206475636b60a01b6044820152606401610bdc565b6000611b25826123bd565b905060166000611b3883620186a06131a1565b815260208101919091526040016000205460ff1615611b905760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481a185d18da195960621b6044820152606401610bdc565b611b9a338261272c565b600160166000611bad84620186a06131a1565b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60008282546112ca91906131a1565b60008181526016602052604090205460ff1615611c3b5760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481a185d18da195960621b6044820152606401610bdc565b600081815260176020526040902054611c8b5760405162461bcd60e51b81526020600482015260126024820152716475636b206e6f7420686174636861626c6560701b6044820152606401610bdc565b600081815260176020526040902054611ca590339061272c565b6000818152601660205260408120805460ff19166001908117909155600a8054919290916113899084906131a1565b6006546001600160a01b03163314611cfe5760405162461bcd60e51b8152600401610bdc906130ec565b600b55565b6006546001600160a01b03163314611d2d5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a01b19169055565b6006546001600160a01b03163314611d665760405162461bcd60e51b8152600401610bdc906130ec565b6001600160a01b038116611dcb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bdc565b61138f81612746565b600654600160a81b900460ff16611e1e5760405162461bcd60e51b815260206004820152600e60248201526d6e6f74206f6e2070726573616c6560901b6044820152606401610bdc565b600d5481600854611e2f91906131a1565b1115611e6a5760405162461bcd60e51b815260206004820152600a60248201526909cdee840cadcdeeaced60b31b6044820152606401610bdc565b3360009081526018602052604090205460ff16611ebc5760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081bdb881dda1a5d195b1a5cdd60821b6044820152606401610bdc565b600c5433600090815260136020526040902054611eda9083906131a1565b1115611f1a5760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610bdc565b3481600754611f2991906131ea565b1115611f655760405162461bcd60e51b815260206004820152600b60248201526a0dad2e6e6d2dcce40cae8d60ab1b6044820152606401610bdc565b60005b81811015611f9757611f853382600854600e5461177691906131a1565b611f906001826131a1565b9050611f68565b508060086000828254611faa91906131a1565b9250508190555080600a6000828254611fc391906131a1565b909155505033600090815260136020526040812080548392906113899084906131a1565b6006546001600160a01b031633146120115760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a81b19169055565b6006546001600160a01b0316331461204a5760405162461bcd60e51b8152600401610bdc906130ec565b600d55565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061208482610f54565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166121365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b600061214183610f54565b9050806001600160a01b0316846001600160a01b0316148061217c5750836001600160a01b031661217184610bf4565b6001600160a01b0316145b806121ac57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121c782610f54565b6001600160a01b03161461222f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bdc565b6001600160a01b0382166122915760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bdc565b61229c60008261204f565b6001600160a01b03831660009081526003602052604081208054600192906122c5908490613238565b90915550506001600160a01b03821660009081526003602052604081208054600192906122f39084906131a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000606082901c73ed40624deb1202e63d0729b6411ffa0efb333ad91461237d57506000919050565b8164ffffffffff1660011461239457506000919050565b66ffffffffffffff602883901c1660788111156123b45750600092915050565b50600192915050565b60281c66ffffffffffffff166000602382116123de57610b1a600583613238565b603882116123f157610b1a600683613238565b816039141561240257506035919050565b81603a141561241357506033919050565b81603b141561242457506034919050565b81603c141561243557506037919050565b81603d141561244657506038919050565b6041821161245957610b1a600583613238565b816042141561246a57506036919050565b816043141561247b57506046919050565b816044141561248c57506045919050565b816045141561249d57506042919050565b81604714156124ae5750603e919050565b81604814156124bf5750603f919050565b81604914156124d057506043919050565b81604a14156124e157506044919050565b81604b14156124f257506040919050565b81604e14156125035750603d919050565b81604f141561251457506041919050565b816050141561252557506047919050565b81605214156125365750604b919050565b81605314156125475750604f919050565b816054141561255857506050919050565b816056141561256957506049919050565b81605c141561257a57506048919050565b81605b141561258b5750604a919050565b81605a141561259c5750604e919050565b81605814156125ad5750604d919050565b81605714156125be5750604c919050565b81605d14156125cf57506051919050565b81605e14156125e057506052919050565b81605f14156125f157506053919050565b816066141561260257506054919050565b816067141561261357506055919050565b816061141561262457506056919050565b816062141561263557506057919050565b816063141561264657506058919050565b816064141561265757506059919050565b81606514156126685750605a919050565b81606814156126795750605b919050565b816069141561268a5750605c919050565b81606a141561269b5750605d919050565b81606b14156126ac5750605e919050565b81606c14156126bd5750605f919050565b81606d14156126ce57506060919050565b81606e14156126df57506061919050565b81606f14156126f057506062919050565b816070141561270157506063919050565b816071141561271257506064919050565b816072141561272357506065919050565b5090565b919050565b610f118282604051806020016040528060008152506129a7565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156127fa5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bdc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6128728484846121b4565b61287e848484846129da565b61185e5760405162461bcd60e51b8152600401610bdc9061324f565b606060118054610b2f906130b7565b6060816128cd5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128f757806128e1816131cf565b91506128f09050600a836132b7565b91506128d1565b60008167ffffffffffffffff81111561291257612912612e00565b6040519080825280601f01601f19166020018201604052801561293c576020820181803683370190505b5090505b84156121ac57612951600183613238565b915061295e600a866132cb565b6129699060306131a1565b60f81b81838151811061297e5761297e6131b9565b60200101906001600160f81b031916908160001a9053506129a0600a866132b7565b9450612940565b6129b18383612ad8565b6129be60008484846129da565b610d9a5760405162461bcd60e51b8152600401610bdc9061324f565b60006001600160a01b0384163b15612acd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a1e9033908990889088906004016132df565b6020604051808303816000875af1925050508015612a59575060408051601f3d908101601f19168201909252612a569181019061331c565b60015b612ab3573d808015612a87576040519150601f19603f3d011682016040523d82523d6000602084013e612a8c565b606091505b508051612aab5760405162461bcd60e51b8152600401610bdc9061324f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121ac565b506001949350505050565b6001600160a01b038216612b2e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bdc565b6000818152600260205260409020546001600160a01b031615612b935760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bdc565b6001600160a01b0382166000908152600360205260408120805460019290612bbc9084906131a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612c26906130b7565b90600052602060002090601f016020900481019282612c485760008555612c8e565b82601f10612c6157805160ff1916838001178555612c8e565b82800160010185558215612c8e579182015b82811115612c8e578251825591602001919060010190612c73565b506127239291505b808211156127235760008155600101612c96565b6001600160e01b03198116811461138f57600080fd5b600060208284031215612cd257600080fd5b81356119c981612caa565b60005b83811015612cf8578181015183820152602001612ce0565b8381111561185e5750506000910152565b60008151808452612d21816020860160208601612cdd565b601f01601f19169290920160200192915050565b6020815260006119c96020830184612d09565b600060208284031215612d5a57600080fd5b5035919050565b80356001600160a01b038116811461272757600080fd5b60008060408385031215612d8b57600080fd5b612d9483612d61565b946020939093013593505050565b60008060408385031215612db557600080fd5b50508035926020909101359150565b600080600060608486031215612dd957600080fd5b612de284612d61565b9250612df060208501612d61565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612e3157612e31612e00565b604051601f8501601f19908116603f01168101908282118183101715612e5957612e59612e00565b81604052809350858152868686011115612e7257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612e9e57600080fd5b813567ffffffffffffffff811115612eb557600080fd5b8201601f81018413612ec657600080fd5b6121ac84823560208401612e16565b600060208284031215612ee757600080fd5b6119c982612d61565b60008060208385031215612f0357600080fd5b823567ffffffffffffffff80821115612f1b57600080fd5b818501915085601f830112612f2f57600080fd5b813581811115612f3e57600080fd5b8660208260051b8501011115612f5357600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015612f9d57835183529284019291840191600101612f81565b50909695505050505050565b60008060408385031215612fbc57600080fd5b612fc583612d61565b915060208301358015158114612fda57600080fd5b809150509250929050565b60008060008060808587031215612ffb57600080fd5b61300485612d61565b935061301260208601612d61565b925060408501359150606085013567ffffffffffffffff81111561303557600080fd5b8501601f8101871361304657600080fd5b61305587823560208401612e16565b91505092959194509250565b6000806040838503121561307457600080fd5b8235915061308460208401612d61565b90509250929050565b600080604083850312156130a057600080fd5b6130a983612d61565b915061308460208401612d61565b600181811c908216806130cb57607f821691505b602082108114156115cc57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60006020828403121561318457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156131b4576131b461318b565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156131e3576131e361318b565b5060010190565b60008160001904831182151516156132045761320461318b565b500290565b6000835161321b818460208801612cdd565b83519083019061322f818360208801612cdd565b01949350505050565b60008282101561324a5761324a61318b565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826132c6576132c66132a1565b500490565b6000826132da576132da6132a1565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061331290830184612d09565b9695505050505050565b60006020828403121561332e57600080fd5b81516119c981612caa56fea2646970667358221220c2e1c0ad0cef403db3a29cbb79b87e33d0635e08bd4a6259ba36a248b9317f1a64736f6c634300080a003368747470733a2f2f656e656674652e696e666f2f6475636b64616f2f3f746f6b656e5f69643d000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x60806040526004361061038c5760003560e01c80638da5cb5b116101dc578063c8c1884211610102578063eb8835ab116100a0578063f759867a1161006f578063f759867a14610a70578063f8fb336614610a83578063f950207e14610a98578063fbdb849414610aae57600080fd5b8063eb8835ab146109d0578063ec3c379614610a00578063f27620f714610a30578063f2fde38b14610a5057600080fd5b8063df8e2334116100dc578063df8e233414610925578063e268e4d314610952578063e36b0b3714610972578063e985e9c51461098757600080fd5b8063c8c18842146108d9578063d1bdb1d1146108f9578063d2d8cb671461090f57600080fd5b8063a2f29ee01161017a578063b88d4fde11610149578063b88d4fde1461084c578063ba9b51dc1461086c578063bc63f02e14610899578063c87b56dd146108b957600080fd5b8063a2f29ee0146107f5578063b13301fe1461080b578063b531c47714610821578063b66a0e5d1461083757600080fd5b80639753eac0116101b65780639753eac0146107975780639e91b71d146107ad578063a0712d68146107c2578063a22cb465146107d557600080fd5b80638da5cb5b14610737578063920a91841461075557806395d89b411461078257600080fd5b806342842e0e116102c15780636a61e5fc1161025f578063756af45f1161022e578063756af45f146106b45780637e1c0c09146106d45780637f649783146106ea5780638462151c1461070a57600080fd5b80636a61e5fc1461063f57806370a082311461065f578063713b988b1461067f578063715018a61461069f57600080fd5b806355f804b31161029b57806355f804b3146105c957806356431c4b146105e957806361775cf61461060a5780636352211e1461061f57600080fd5b806342842e0e146105645780634a1b01f21461058457806355dd574c146105b457600080fd5b806316ab68691161032e57806323b872dd1161030857806323b872dd146104f8578063275ac837146105185780632bd888b0146105395780633828914a1461054e57600080fd5b806316ab68691461049857806318160ddd146104b857806321cadc69146104d757600080fd5b8063081812fc1161036a578063081812fc146103ff578063095ea7b3146104375780630fab6da81461045757806311bca4641461047757600080fd5b806301ffc9a71461039157806306fdde03146103c657806307a9685b146103e8575b600080fd5b34801561039d57600080fd5b506103b16103ac366004612cc0565b610ace565b60405190151581526020015b60405180910390f35b3480156103d257600080fd5b506103db610b20565b6040516103bd9190612d35565b3480156103f457600080fd5b506103fd610bb2565b005b34801561040b57600080fd5b5061041f61041a366004612d48565b610bf4565b6040516001600160a01b0390911681526020016103bd565b34801561044357600080fd5b506103fd610452366004612d78565b610c89565b34801561046357600080fd5b506103fd610472366004612d48565b610d9f565b34801561048357600080fd5b506006546103b190600160b01b900460ff1681565b3480156104a457600080fd5b506103fd6104b3366004612da2565b610dce565b3480156104c457600080fd5b50600a545b6040519081526020016103bd565b3480156104e357600080fd5b506006546103b190600160a01b900460ff1681565b34801561050457600080fd5b506103fd610513366004612dc4565b610e0a565b34801561052457600080fd5b506006546103b190600160a81b900460ff1681565b34801561054557600080fd5b506103fd610e3b565b34801561055a57600080fd5b506104c960085481565b34801561057057600080fd5b506103fd61057f366004612dc4565b610e7a565b34801561059057600080fd5b506103b161059f366004612d48565b60166020526000908152604090205460ff1681565b3480156105c057600080fd5b506103fd610e95565b3480156105d557600080fd5b506103fd6105e4366004612e8c565b610ed4565b3480156105f557600080fd5b506006546103b190600160b81b900460ff1681565b34801561061657600080fd5b506103fd610f15565b34801561062b57600080fd5b5061041f61063a366004612d48565b610f54565b34801561064b57600080fd5b506103fd61065a366004612d48565b610fcb565b34801561066b57600080fd5b506104c961067a366004612ed5565b610ffa565b34801561068b57600080fd5b506103fd61069a366004612d48565b611081565b3480156106ab57600080fd5b506103fd611392565b3480156106c057600080fd5b506103fd6106cf366004612ed5565b6113c8565b3480156106e057600080fd5b506104c9600a5481565b3480156106f657600080fd5b506103fd610705366004612ef0565b61142a565b34801561071657600080fd5b5061072a610725366004612ed5565b6114c6565b6040516103bd9190612f65565b34801561074357600080fd5b506006546001600160a01b031661041f565b34801561076157600080fd5b506104c9610770366004612d48565b60176020526000908152604090205481565b34801561078e57600080fd5b506103db6115d2565b3480156107a357600080fd5b506104c9600d5481565b3480156107b957600080fd5b506103fd6115e1565b6103fd6107d0366004612d48565b61161a565b3480156107e157600080fd5b506103fd6107f0366004612fa9565b6117e2565b34801561080157600080fd5b506104c9600c5481565b34801561081757600080fd5b506104c960095481565b34801561082d57600080fd5b506104c9600f5481565b34801561084357600080fd5b506103fd6117ed565b34801561085857600080fd5b506103fd610867366004612fe5565b61182c565b34801561087857600080fd5b506104c9610887366004612ed5565b60126020526000908152604090205481565b3480156108a557600080fd5b506103fd6108b4366004613061565b611864565b3480156108c557600080fd5b506103db6108d4366004612d48565b6118f5565b3480156108e557600080fd5b506103fd6108f4366004612d48565b6119d0565b34801561090557600080fd5b506104c9600b5481565b34801561091b57600080fd5b506104c960075481565b34801561093157600080fd5b506104c9610940366004612ed5565b60136020526000908152604090205481565b34801561095e57600080fd5b506103fd61096d366004612d48565b611cd4565b34801561097e57600080fd5b506103fd611d03565b34801561099357600080fd5b506103b16109a236600461308d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109dc57600080fd5b506103b16109eb366004612ed5565b60186020526000908152604090205460ff1681565b348015610a0c57600080fd5b506103b1610a1b366004612d48565b60156020526000908152604090205460ff1681565b348015610a3c57600080fd5b5060145461041f906001600160a01b031681565b348015610a5c57600080fd5b506103fd610a6b366004612ed5565b611d3c565b6103fd610a7e366004612d48565b611dd4565b348015610a8f57600080fd5b506103fd611fe7565b348015610aa457600080fd5b506104c9600e5481565b348015610aba57600080fd5b506103fd610ac9366004612d48565b612020565b60006001600160e01b031982166380ac58cd60e01b1480610aff57506001600160e01b03198216635b5e139f60e01b145b80610b1a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610b2f906130b7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5b906130b7565b8015610ba85780601f10610b7d57610100808354040283529160200191610ba8565b820191906000526020600020905b815481529060010190602001808311610b8b57829003601f168201915b5050505050905090565b6006546001600160a01b03163314610be55760405162461bcd60e51b8152600401610bdc906130ec565b60405180910390fd5b6006805460ff60b81b19169055565b6000818152600260205260408120546001600160a01b0316610c6d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b506000908152600460205260409020546001600160a01b031690565b6000610c9482610f54565b9050806001600160a01b0316836001600160a01b03161415610d025760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bdc565b336001600160a01b0382161480610d1e5750610d1e81336109a2565b610d905760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bdc565b610d9a838361204f565b505050565b6006546001600160a01b03163314610dc95760405162461bcd60e51b8152600401610bdc906130ec565b600c55565b6006546001600160a01b03163314610df85760405162461bcd60e51b8152600401610bdc906130ec565b60009182526017602052604090912055565b610e1433826120bd565b610e305760405162461bcd60e51b8152600401610bdc90613121565b610d9a8383836121b4565b6006546001600160a01b03163314610e655760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60b81b1916600160b81b179055565b610d9a8383836040518060200160405280600081525061182c565b6006546001600160a01b03163314610ebf5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a81b1916600160a81b179055565b6006546001600160a01b03163314610efe5760405162461bcd60e51b8152600401610bdc906130ec565b8051610f11906011906020840190612c1a565b5050565b6006546001600160a01b03163314610f3f5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60b01b1916600160b01b179055565b6000818152600260205260408120546001600160a01b031680610b1a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bdc565b6006546001600160a01b03163314610ff55760405162461bcd60e51b8152600401610bdc906130ec565b600755565b60006001600160a01b0382166110655760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bdc565b506001600160a01b031660009081526003602052604090205490565b600654600160b81b900460ff166110cc5760405162461bcd60e51b815260206004820152600f60248201526e3737ba1037b71036baba30ba34b7b760891b6044820152606401610bdc565b620186a08111156112d6576110e081612354565b61111d5760405162461bcd60e51b815260206004820152600e60248201526d6e6f742076616c6964206475636b60901b6044820152606401610bdc565b601454604051627eeac760e11b8152336004820152602481018390526000916001600160a01b03169062fdd58e90604401602060405180830381865afa15801561116b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118f9190613172565b116111cb5760405162461bcd60e51b815260206004820152600c60248201526b6e6f74206f776e206475636b60a01b6044820152606401610bdc565b60006111d6826123bd565b9050601560006111e983620186a06131a1565b815260208101919091526040016000205460ff16156112415760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481b5d5d185d195960621b6044820152606401610bdc565b61126533600954600f5461125591906131a1565b6112609060016131a1565b61272c565b60016015600061127884620186a06131a1565b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60008282546112b091906131a1565b925050819055506001600960008282546112ca91906131a1565b9091555061138f915050565b60008181526015602052604090205460ff161561132c5760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481b5d5d185d195960621b6044820152606401610bdc565b61134033600954600f5461125591906131a1565b6000818152601560205260408120805460ff19166001908117909155600a80549192909161136f9084906131a1565b9250508190555060016009600082825461138991906131a1565b90915550505b50565b6006546001600160a01b031633146113bc5760405162461bcd60e51b8152600401610bdc906130ec565b6113c66000612746565b565b6006546001600160a01b031633146113f25760405162461bcd60e51b8152600401610bdc906130ec565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610d9a573d6000803e3d6000fd5b6006546001600160a01b031633146114545760405162461bcd60e51b8152600401610bdc906130ec565b60005b81811015610d9a57600160186000858585818110611477576114776131b9565b905060200201602081019061148c9190612ed5565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556114bf6001826131a1565b9050611457565b606060006114d383610ffa565b9050806114f0575050604080516000815260208101909152919050565b60008167ffffffffffffffff81111561150b5761150b612e00565b604051908082528060200260200182016040528015611534578160200160208202803683370190505b5090506000805b600a548210156115c2576000828152600260205260409020546001600160a01b0316156115b05761156b82610f54565b6001600160a01b0316866001600160a01b031614156115b05781838281518110611597576115976131b9565b60209081029190910101526115ad6001826131a1565b90505b816115ba816131cf565b92505061153b565b5090949350505050565b50919050565b606060018054610b2f906130b7565b6006546001600160a01b0316331461160b5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60b01b19169055565b600654600160a01b900460ff166116615760405162461bcd60e51b815260206004820152600b60248201526a6e6f74206f6e2073616c6560a81b6044820152606401610bdc565b600d548160085461167291906131a1565b11156116ad5760405162461bcd60e51b815260206004820152600a60248201526909cdee840cadcdeeaced60b31b6044820152606401610bdc565b600b54336000908152601260205260409020546116cb9083906131a1565b111561170b5760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610bdc565b348160075461171a91906131ea565b11156117565760405162461bcd60e51b815260206004820152600b60248201526a0dad2e6e6d2dcce40cae8d60ab1b6044820152606401610bdc565b60005b81811015611792576117803382600854600e5461177691906131a1565b61126091906131a1565b61178b6001826131a1565b9050611759565b5080600860008282546117a591906131a1565b9250508190555080600a60008282546117be91906131a1565b909155505033600090815260126020526040812080548392906113899084906131a1565b610f11338383612798565b6006546001600160a01b031633146118175760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a01b1916600160a01b179055565b61183633836120bd565b6118525760405162461bcd60e51b8152600401610bdc90613121565b61185e84848484612867565b50505050565b6006546001600160a01b0316331461188e5760405162461bcd60e51b8152600401610bdc906130ec565b60005b828110156118c0576118ae8282600854600e5461177691906131a1565b6118b96001826131a1565b9050611891565b5081600860008282546118d391906131a1565b9250508190555081600a60008282546118ec91906131a1565b90915550505050565b6000818152600260205260409020546060906001600160a01b03166119745760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bdc565b600061197e61289a565b9050600081511161199e57604051806020016040528060008152506119c9565b806119a8846128a9565b6040516020016119b9929190613209565b6040516020818303038152906040525b9392505050565b600654600160b01b900460ff16611a1b5760405162461bcd60e51b815260206004820152600f60248201526e6e6f74206f6e206861746368696e6760881b6044820152606401610bdc565b620186a0811115611be557611a2f81612354565b611a6c5760405162461bcd60e51b815260206004820152600e60248201526d6e6f742076616c6964206475636b60901b6044820152606401610bdc565b601454604051627eeac760e11b8152336004820152602481018390526000916001600160a01b03169062fdd58e90604401602060405180830381865afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190613172565b11611b1a5760405162461bcd60e51b815260206004820152600c60248201526b6e6f74206f776e206475636b60a01b6044820152606401610bdc565b6000611b25826123bd565b905060166000611b3883620186a06131a1565b815260208101919091526040016000205460ff1615611b905760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481a185d18da195960621b6044820152606401610bdc565b611b9a338261272c565b600160166000611bad84620186a06131a1565b815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600a60008282546112ca91906131a1565b60008181526016602052604090205460ff1615611c3b5760405162461bcd60e51b8152602060048201526014602482015273191d58dac8185b1c9958591e481a185d18da195960621b6044820152606401610bdc565b600081815260176020526040902054611c8b5760405162461bcd60e51b81526020600482015260126024820152716475636b206e6f7420686174636861626c6560701b6044820152606401610bdc565b600081815260176020526040902054611ca590339061272c565b6000818152601660205260408120805460ff19166001908117909155600a8054919290916113899084906131a1565b6006546001600160a01b03163314611cfe5760405162461bcd60e51b8152600401610bdc906130ec565b600b55565b6006546001600160a01b03163314611d2d5760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a01b19169055565b6006546001600160a01b03163314611d665760405162461bcd60e51b8152600401610bdc906130ec565b6001600160a01b038116611dcb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bdc565b61138f81612746565b600654600160a81b900460ff16611e1e5760405162461bcd60e51b815260206004820152600e60248201526d6e6f74206f6e2070726573616c6560901b6044820152606401610bdc565b600d5481600854611e2f91906131a1565b1115611e6a5760405162461bcd60e51b815260206004820152600a60248201526909cdee840cadcdeeaced60b31b6044820152606401610bdc565b3360009081526018602052604090205460ff16611ebc5760405162461bcd60e51b815260206004820152601060248201526f1b9bdd081bdb881dda1a5d195b1a5cdd60821b6044820152606401610bdc565b600c5433600090815260136020526040902054611eda9083906131a1565b1115611f1a5760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610bdc565b3481600754611f2991906131ea565b1115611f655760405162461bcd60e51b815260206004820152600b60248201526a0dad2e6e6d2dcce40cae8d60ab1b6044820152606401610bdc565b60005b81811015611f9757611f853382600854600e5461177691906131a1565b611f906001826131a1565b9050611f68565b508060086000828254611faa91906131a1565b9250508190555080600a6000828254611fc391906131a1565b909155505033600090815260136020526040812080548392906113899084906131a1565b6006546001600160a01b031633146120115760405162461bcd60e51b8152600401610bdc906130ec565b6006805460ff60a81b19169055565b6006546001600160a01b0316331461204a5760405162461bcd60e51b8152600401610bdc906130ec565b600d55565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061208482610f54565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166121365760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bdc565b600061214183610f54565b9050806001600160a01b0316846001600160a01b0316148061217c5750836001600160a01b031661217184610bf4565b6001600160a01b0316145b806121ac57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121c782610f54565b6001600160a01b03161461222f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bdc565b6001600160a01b0382166122915760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bdc565b61229c60008261204f565b6001600160a01b03831660009081526003602052604081208054600192906122c5908490613238565b90915550506001600160a01b03821660009081526003602052604081208054600192906122f39084906131a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000606082901c73ed40624deb1202e63d0729b6411ffa0efb333ad91461237d57506000919050565b8164ffffffffff1660011461239457506000919050565b66ffffffffffffff602883901c1660788111156123b45750600092915050565b50600192915050565b60281c66ffffffffffffff166000602382116123de57610b1a600583613238565b603882116123f157610b1a600683613238565b816039141561240257506035919050565b81603a141561241357506033919050565b81603b141561242457506034919050565b81603c141561243557506037919050565b81603d141561244657506038919050565b6041821161245957610b1a600583613238565b816042141561246a57506036919050565b816043141561247b57506046919050565b816044141561248c57506045919050565b816045141561249d57506042919050565b81604714156124ae5750603e919050565b81604814156124bf5750603f919050565b81604914156124d057506043919050565b81604a14156124e157506044919050565b81604b14156124f257506040919050565b81604e14156125035750603d919050565b81604f141561251457506041919050565b816050141561252557506047919050565b81605214156125365750604b919050565b81605314156125475750604f919050565b816054141561255857506050919050565b816056141561256957506049919050565b81605c141561257a57506048919050565b81605b141561258b5750604a919050565b81605a141561259c5750604e919050565b81605814156125ad5750604d919050565b81605714156125be5750604c919050565b81605d14156125cf57506051919050565b81605e14156125e057506052919050565b81605f14156125f157506053919050565b816066141561260257506054919050565b816067141561261357506055919050565b816061141561262457506056919050565b816062141561263557506057919050565b816063141561264657506058919050565b816064141561265757506059919050565b81606514156126685750605a919050565b81606814156126795750605b919050565b816069141561268a5750605c919050565b81606a141561269b5750605d919050565b81606b14156126ac5750605e919050565b81606c14156126bd5750605f919050565b81606d14156126ce57506060919050565b81606e14156126df57506061919050565b81606f14156126f057506062919050565b816070141561270157506063919050565b816071141561271257506064919050565b816072141561272357506065919050565b5090565b919050565b610f118282604051806020016040528060008152506129a7565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156127fa5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bdc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6128728484846121b4565b61287e848484846129da565b61185e5760405162461bcd60e51b8152600401610bdc9061324f565b606060118054610b2f906130b7565b6060816128cd5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128f757806128e1816131cf565b91506128f09050600a836132b7565b91506128d1565b60008167ffffffffffffffff81111561291257612912612e00565b6040519080825280601f01601f19166020018201604052801561293c576020820181803683370190505b5090505b84156121ac57612951600183613238565b915061295e600a866132cb565b6129699060306131a1565b60f81b81838151811061297e5761297e6131b9565b60200101906001600160f81b031916908160001a9053506129a0600a866132b7565b9450612940565b6129b18383612ad8565b6129be60008484846129da565b610d9a5760405162461bcd60e51b8152600401610bdc9061324f565b60006001600160a01b0384163b15612acd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a1e9033908990889088906004016132df565b6020604051808303816000875af1925050508015612a59575060408051601f3d908101601f19168201909252612a569181019061331c565b60015b612ab3573d808015612a87576040519150601f19603f3d011682016040523d82523d6000602084013e612a8c565b606091505b508051612aab5760405162461bcd60e51b8152600401610bdc9061324f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121ac565b506001949350505050565b6001600160a01b038216612b2e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bdc565b6000818152600260205260409020546001600160a01b031615612b935760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bdc565b6001600160a01b0382166000908152600360205260408120805460019290612bbc9084906131a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612c26906130b7565b90600052602060002090601f016020900481019282612c485760008555612c8e565b82601f10612c6157805160ff1916838001178555612c8e565b82800160010185558215612c8e579182015b82811115612c8e578251825591602001919060010190612c73565b506127239291505b808211156127235760008155600101612c96565b6001600160e01b03198116811461138f57600080fd5b600060208284031215612cd257600080fd5b81356119c981612caa565b60005b83811015612cf8578181015183820152602001612ce0565b8381111561185e5750506000910152565b60008151808452612d21816020860160208601612cdd565b601f01601f19169290920160200192915050565b6020815260006119c96020830184612d09565b600060208284031215612d5a57600080fd5b5035919050565b80356001600160a01b038116811461272757600080fd5b60008060408385031215612d8b57600080fd5b612d9483612d61565b946020939093013593505050565b60008060408385031215612db557600080fd5b50508035926020909101359150565b600080600060608486031215612dd957600080fd5b612de284612d61565b9250612df060208501612d61565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612e3157612e31612e00565b604051601f8501601f19908116603f01168101908282118183101715612e5957612e59612e00565b81604052809350858152868686011115612e7257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612e9e57600080fd5b813567ffffffffffffffff811115612eb557600080fd5b8201601f81018413612ec657600080fd5b6121ac84823560208401612e16565b600060208284031215612ee757600080fd5b6119c982612d61565b60008060208385031215612f0357600080fd5b823567ffffffffffffffff80821115612f1b57600080fd5b818501915085601f830112612f2f57600080fd5b813581811115612f3e57600080fd5b8660208260051b8501011115612f5357600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015612f9d57835183529284019291840191600101612f81565b50909695505050505050565b60008060408385031215612fbc57600080fd5b612fc583612d61565b915060208301358015158114612fda57600080fd5b809150509250929050565b60008060008060808587031215612ffb57600080fd5b61300485612d61565b935061301260208601612d61565b925060408501359150606085013567ffffffffffffffff81111561303557600080fd5b8501601f8101871361304657600080fd5b61305587823560208401612e16565b91505092959194509250565b6000806040838503121561307457600080fd5b8235915061308460208401612d61565b90509250929050565b600080604083850312156130a057600080fd5b6130a983612d61565b915061308460208401612d61565b600181811c908216806130cb57607f821691505b602082108114156115cc57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60006020828403121561318457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156131b4576131b461318b565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156131e3576131e361318b565b5060010190565b60008160001904831182151516156132045761320461318b565b500290565b6000835161321b818460208801612cdd565b83519083019061322f818360208801612cdd565b01949350505050565b60008282101561324a5761324a61318b565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b6000826132c6576132c66132a1565b500490565b6000826132da576132da6132a1565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061331290830184612d09565b9695505050505050565b60006020828403121561332e57600080fd5b81516119c981612caa56fea2646970667358221220c2e1c0ad0cef403db3a29cbb79b87e33d0635e08bd4a6259ba36a248b9317f1a64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
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.