Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,672 SEZ
Holders
1,519
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 SEZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
StrangerEggZ
Compiler Version
v0.8.6+commit.11564f7e
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; /* _____ __ ______ _____ / ___// /__________ _____ ____ ____ _____ / ____/___ _____ /__ / \__ \/ __/ ___/ __ `/ __ \/ __ `/ _ \/ ___/ / __/ / __ `/ __ `/ / / ___/ / /_/ / / /_/ / / / / /_/ / __/ / / /___/ /_/ / /_/ / / /__ /____/\__/_/ \__,_/_/ /_/\__, /\___/_/ /_____/\__, /\__, / /____/ /____/ /____//____/ */ /* * Hi Mom ! * I dedicate this project to you ! If I've made it until here it's thank to you * Thank you for all the things that you did for me, I know it has been really hard sometimes. * Now you will be in the blockchain forever ! * I love you with all my heart <3 * MW */ import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; contract StrangerEggZ is ERC721Enumerable, Ownable, ERC721URIStorage { using Strings for uint256; string baseTokenUri; bool baseUriDefined = false; bool public migrationActive = true; //EggZ pack unit price uint256 private unitPrice1EggPack = 0.06 ether; // 0.06 ether uint256 private unitPrice4EggPack = 0.05 ether; // 0.05 ether uint256 private unitPrice6EggPack = 0.045 ether; // 0.045 ether uint256 private unitPrice12EggPack = 0.035 ether; // 0.035 ether bool public canMint = false; // withdraw addresses address artistAdr = 0xb23D2ca9b0CBDDac6DB8A3ACcd13eCb6726d4Ee7; address sc_dev = 0xda9d7C1c84c7954Ee7F5281cDCddaD359ee072e6; address oldCOntractAddress = 0x11957A61aC1684Efa13f421e380857DC32E366C7; address burnAddress = 0x000000000000000000000000000000000000dEaD; uint256 NB_MINTED_OLD_CONTRACT = 2876; /* Migration reserve 2876 */ uint256 MIGRATION_SUPPLY = 0; uint256 MIGRATION_MAX_SUPPLY = NB_MINTED_OLD_CONTRACT; /* Free EggZ reserve 2876 */ uint256 FREE_EGG_SUPPLY = 0; uint256 FREE_EGG_MAX_SUPPLY = NB_MINTED_OLD_CONTRACT; /* Normal mint reserve 10000 - (2876 + 2876) = 4248 TOTAL SUPPLY*/ uint256 NORMAL_MINT_SUPPLY = 0; // We have 2876 reserved for already minted EggZ in the old smart contract // + we have reserved the same amount to give a free EggZ when migrate uint256 NORMAL_MINT_MAX_SUPPLY = 4248; uint256 NOT_MIG_TOKEN_INDEX = NB_MINTED_OLD_CONTRACT; function migrationSupply() public view returns(uint256) { return MIGRATION_SUPPLY; } function freeEggSupply() public view returns(uint256) { return FREE_EGG_SUPPLY; } function normalSupply() public view returns(uint256) { return NORMAL_MINT_SUPPLY; } function getNextNonMigratedTokenId() public view returns(uint256) { return NOT_MIG_TOKEN_INDEX; } constructor(string memory baseURI) ERC721("Stranger EggZ", "SEZ") { setBaseURI(baseURI); } /********************************************** * * MIGRATION * * *******************************************/ function burnAndMintNewEgg(uint256 tokenId) external { ERC721Enumerable contrat = ERC721Enumerable(oldCOntractAddress); require(contrat.ownerOf(tokenId) == msg.sender); contrat.transferFrom(msg.sender, burnAddress, tokenId); require(contrat.ownerOf(tokenId) == burnAddress); /* Mint the same EggZ from the previous contract */ mintMigratedEgg(tokenId); /* Mint a free Egg */ if(migrationActive) { mintFreeEgg(); } } function migrateEggZ(uint256[] memory tokenIds) external { require(tokenIds.length <= 50, "You can migrate maximum 50 EggZ at a time"); burnTokens(tokenIds); mintEggZOnNewCOntract(tokenIds); if(migrationActive) { mintFreeEggForSender(tokenIds); } } function burnTokens(uint256[] memory tokenIds) internal { ERC721Enumerable contrat = ERC721Enumerable(oldCOntractAddress); for(uint256 i; i < tokenIds.length; i++) { require(contrat.ownerOf(tokenIds[i]) == msg.sender); contrat.transferFrom(msg.sender, burnAddress, tokenIds[i]); } } function mintEggZOnNewCOntract(uint256[] memory tokenIds) internal { ERC721Enumerable contrat = ERC721Enumerable(oldCOntractAddress); for(uint256 i; i < tokenIds.length; i++) { require(contrat.ownerOf(tokenIds[i]) == burnAddress); mintMigratedEgg(tokenIds[i]); } } function mintFreeEggForSender(uint256[] memory tokenIds) internal { for(uint256 i; i < tokenIds.length; i++) { mintFreeEgg(); } } /************************************************* * * METADATA PART * * ***********************************************/ function _baseURI() internal view virtual override returns (string memory) { return baseTokenUri; } /* * The setBaseURI function with a possibility to freeze it ! */ function setBaseURI(string memory baseURI) public onlyOwner() { require(!baseUriDefined, "Base URI has already been set"); baseTokenUri = baseURI; } function lockMetadatas() public onlyOwner() { baseUriDefined = true; } function deactivateMigration() public onlyOwner() { migrationActive = false; } /************************************************* * * MINT PART * * ***********************************************/ /* * Mint one Egg */ function summon1Egg() public payable { summonEggZFromSpace(1,unitPrice1EggPack); } /* * Mint a 4 EggZ Pack */ function summon4PackEggZ() public payable { summonEggZFromSpace(4,unitPrice4EggPack); } /* * Mint a 6 EggZ Pack */ function summon6PackEggZ() public payable { summonEggZFromSpace(6,unitPrice6EggPack); } /* * Mint a 12 EggZ Pack */ function summon12PackEggZ() public payable { summonEggZFromSpace(12,unitPrice12EggPack); } /* * Mint from reserve only allowed after migration done */ /* * Mint one Egg from reserve */ function summon1EggFromReserve() public payable { mintInFreeEggZReserve(1,unitPrice1EggPack); } /* * Mint a 4 EggZ Pack from reserve */ function summon4PackEggZromReserve() public payable { mintInFreeEggZReserve(4,unitPrice4EggPack); } /* * Mint a 6 EggZ Pack from reserve */ function summon6PackEggZromReserve() public payable { mintInFreeEggZReserve(6,unitPrice6EggPack); } /* * Mint a 12 EggZ Pack from reserve */ function summon12PackEggZromReserve() public payable { mintInFreeEggZReserve(12,unitPrice12EggPack); } /* * The mint function */ function summonEggZFromSpace(uint256 num, uint256 price) internal { uint256 supply = totalSupply(); require( canMint, "Sale paused" ); require( NORMAL_MINT_SUPPLY + num <= NORMAL_MINT_MAX_SUPPLY, "No EggZ left :'(" ); require( msg.value >= price * num, "Not enough ether sent" ); for(uint256 i; i < num; i++){ _safeMint( msg.sender, supply + i ); NORMAL_MINT_SUPPLY++; setNotMigTokenId(supply + i); } } function mintInFreeEggZReserve(uint256 num, uint256 price) internal { uint256 supply = totalSupply(); require( !migrationActive, "Can't mint the reserve if migration is not active"); require( FREE_EGG_SUPPLY + num <= FREE_EGG_MAX_SUPPLY, "No EggZ left :'(" ); require( msg.value >= price * num, "Not enough ether sent" ); for(uint256 i; i < num; i++){ _safeMint( msg.sender, supply + i ); FREE_EGG_SUPPLY++; setNotMigTokenId(supply + i); } } function mintMigratedEgg(uint256 tokenId) internal { uint256 supply = totalSupply(); require( MIGRATION_SUPPLY < MIGRATION_MAX_SUPPLY, "Migration reserve empty" ); _safeMint( msg.sender, supply); MIGRATION_SUPPLY++; //We have to do this, so the old EggZ have the same metadata in new contract _setTokenURI(supply, tokenId.toString()); } function mintFreeEgg() internal { uint256 supply = totalSupply(); require( FREE_EGG_SUPPLY < FREE_EGG_MAX_SUPPLY, "No EggZ left :'(" ); _safeMint( msg.sender, supply); FREE_EGG_SUPPLY++; setNotMigTokenId(supply); } function setNotMigTokenId(uint256 supply) internal { _setTokenURI(supply, NOT_MIG_TOKEN_INDEX.toString()); NOT_MIG_TOKEN_INDEX++; } function switchMintStatus() public onlyOwner { canMint = !canMint; } /************************************************* * * UTILITY PART * * ***********************************************/ /* Just in case */ function update1EggPrice(uint256 price) public onlyOwner() { unitPrice1EggPack = price; } function update4EggPrice(uint256 price) public onlyOwner() { unitPrice4EggPack = price; } function update6EggPrice(uint256 price) public onlyOwner() { unitPrice6EggPack = price; } function update12EggPrice(uint256 price) public onlyOwner() { unitPrice12EggPack = price; } function listEggZOfOwner(address _owner) public view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function withdrawAll() public payable onlyOwner { uint256 _each = address(this).balance / 2; require(payable(artistAdr).send(_each)); require(payable(sc_dev).send(_each)); } /* * Overrides to make ERC721Enumerable and ERC721URIStorage compatible */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnAndMintNewEgg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivateMigration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeEggSupply","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":[],"name":"getNextNonMigratedTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"listEggZOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetadatas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"migrateEggZ","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"migrationSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"summon12PackEggZ","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon12PackEggZromReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon1Egg","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon1EggFromReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon4PackEggZ","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon4PackEggZromReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon6PackEggZ","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"summon6PackEggZromReserve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"update12EggPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"update1EggPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"update4EggPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"update6EggPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052600d805461ffff191661010017905566d529ae9e860000600e5566b1a2bc2ec50000600f55669fdf42f6e48000601055667c5850872380006011556012805474b23d2ca9b0cbddac6db8a3accd13ecb6726d4ee7006001600160a81b0319909116179055601380546001600160a01b031990811673da9d7c1c84c7954ee7f5281cdcddad359ee072e6179091556014805482167311957a61ac1684efa13f421e380857dc32e366c71790556015805490911661dead179055610b3c60168190556000601781905560188290556019819055601a829055601b55611098601c55601d55348015620000f357600080fd5b506040516200332e3803806200332e833981016040819052620001169162000375565b604080518082018252600d81526c29ba3930b733b2b91022b3b3ad60991b60208083019182528351808501909452600384526229a2ad60e91b9084015281519192916200016691600091620002cf565b5080516200017c906001906020840190620002cf565b5050506200019962000193620001ab60201b60201c565b620001af565b620001a48162000201565b50620004a4565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620002615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600d5460ff1615620002b65760405162461bcd60e51b815260206004820152601d60248201527f42617365205552492068617320616c7265616479206265656e20736574000000604482015260640162000258565b8051620002cb90600c906020840190620002cf565b5050565b828054620002dd9062000451565b90600052602060002090601f0160209004810192826200030157600085556200034c565b82601f106200031c57805160ff19168380011785556200034c565b828001600101855582156200034c579182015b828111156200034c5782518255916020019190600101906200032f565b506200035a9291506200035e565b5090565b5b808211156200035a57600081556001016200035f565b600060208083850312156200038957600080fd5b82516001600160401b0380821115620003a157600080fd5b818501915085601f830112620003b657600080fd5b815181811115620003cb57620003cb6200048e565b604051601f8201601f19908116603f01168101908382118183101715620003f657620003f66200048e565b8160405282815288868487010111156200040f57600080fd5b600093505b8284101562000433578484018601518185018701529285019262000414565b82841115620004455760008684830101525b98975050505050505050565b600181811c908216806200046657607f821691505b602082108114156200048857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612e7a80620004b46000396000f3fe6080604052600436106102725760003560e01c80636352211e1161014f578063a22cb465116100c1578063cf7efa4d1161007a578063cf7efa4d146106a3578063d02c35bb146106ab578063d336b727146106b3578063e985e9c5146106c8578063f1dda89314610711578063f2fde38b1461071957600080fd5b8063a22cb465146105f4578063a5441a3e14610614578063a987c35d14610634578063b88d4fde14610649578063beb9716d14610669578063c87b56dd1461068357600080fd5b8063715018a611610113578063715018a61461056557806371bbbb2e1461057a578063853828b61461059a5780638da5cb5b146105a25780638ed6b016146105c057806395d89b41146105df57600080fd5b80636352211e146104f55780636dc2978a14610515578063702e8c4b1461051d57806370a08231146105255780637146b0511461054557600080fd5b80632f745c59116101e85780634f6ccce7116101ac5780634f6ccce71461044b57806355f804b31461046b57806357d40b0d1461048b5780635f301d07146104ab57806361b5950d146104cb578063634bae1e146104e057600080fd5b80632f745c59146103a9578063366518cb146103c95780633f722476146103e957806342842e0e1461041657806348b5f2bc1461043657600080fd5b80630a9642ec1161023a5780630a9642ec146103305780630b6b5fcb1461034f57806310098b0a1461036457806318160ddd1461036c578063229faac91461038157806323b872dd1461038957600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce5780630841c40514610306578063095ea7b314610310575b600080fd5b34801561028357600080fd5b506102976102923660046129f5565b610739565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c161074a565b6040516102a39190612b6d565b3480156102da57600080fd5b506102ee6102e9366004612a78565b6107dc565b6040516001600160a01b0390911681526020016102a3565b61030e610869565b005b34801561031c57600080fd5b5061030e61032b36600461291c565b610878565b34801561033c57600080fd5b50601d545b6040519081526020016102a3565b34801561035b57600080fd5b50601754610341565b61030e61098e565b34801561037857600080fd5b50600854610341565b61030e61099b565b34801561039557600080fd5b5061030e6103a4366004612828565b6109a8565b3480156103b557600080fd5b506103416103c436600461291c565b6109d9565b3480156103d557600080fd5b5061030e6103e4366004612a78565b610a6f565b3480156103f557600080fd5b506104096104043660046127b5565b610a9e565b6040516102a39190612b29565b34801561042257600080fd5b5061030e610431366004612828565b610b40565b34801561044257600080fd5b50601b54610341565b34801561045757600080fd5b50610341610466366004612a78565b610b5b565b34801561047757600080fd5b5061030e610486366004612a2f565b610bee565b34801561049757600080fd5b5061030e6104a6366004612948565b610c82565b3480156104b757600080fd5b5061030e6104c6366004612a78565b610d14565b3480156104d757600080fd5b5061030e610d43565b3480156104ec57600080fd5b5061030e610d7c565b34801561050157600080fd5b506102ee610510366004612a78565b610db3565b61030e610e2a565b61030e610e37565b34801561053157600080fd5b506103416105403660046127b5565b610e44565b34801561055157600080fd5b5061030e610560366004612a78565b610ecb565b34801561057157600080fd5b5061030e61107e565b34801561058657600080fd5b5061030e610595366004612a78565b6110b2565b61030e6110e1565b3480156105ae57600080fd5b50600a546001600160a01b03166102ee565b3480156105cc57600080fd5b50600d5461029790610100900460ff1681565b3480156105eb57600080fd5b506102c1611182565b34801561060057600080fd5b5061030e61060f3660046128e9565b611191565b34801561062057600080fd5b5061030e61062f366004612a78565b611256565b34801561064057600080fd5b5061030e611285565b34801561065557600080fd5b5061030e610664366004612869565b6112c3565b34801561067557600080fd5b506012546102979060ff1681565b34801561068f57600080fd5b506102c161069e366004612a78565b6112fb565b61030e611306565b61030e611313565b3480156106bf57600080fd5b50601954610341565b3480156106d457600080fd5b506102976106e33660046127ef565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61030e611320565b34801561072557600080fd5b5061030e6107343660046127b5565b61132d565b6000610744826113c5565b92915050565b60606000805461075990612d41565b80601f016020809104026020016040519081016040528092919081815260200182805461078590612d41565b80156107d25780601f106107a7576101008083540402835291602001916107d2565b820191906000526020600020905b8154815290600101906020018083116107b557829003601f168201915b5050505050905090565b60006107e7826113ea565b61084d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6108766001600e54611407565b565b600061088382610db3565b9050806001600160a01b0316836001600160a01b031614156108f15760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610844565b336001600160a01b038216148061090d575061090d81336106e3565b61097f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610844565b610989838361152d565b505050565b6108766006601054611407565b610876600c60115461159b565b6109b233826116e9565b6109ce5760405162461bcd60e51b815260040161084490612c31565b6109898383836117d3565b60006109e483610e44565b8210610a465760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610844565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610a995760405162461bcd60e51b815260040161084490612bfc565b601155565b60606000610aab83610e44565b905060008167ffffffffffffffff811115610ac857610ac8612e03565b604051908082528060200260200182016040528015610af1578160200160208202803683370190505b50905060005b82811015610b3857610b0985826109d9565b828281518110610b1b57610b1b612ded565b602090810291909101015280610b3081612d7c565b915050610af7565b509392505050565b610989838383604051806020016040528060008152506112c3565b6000610b6660085490565b8210610bc95760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610844565b60088281548110610bdc57610bdc612ded565b90600052602060002001549050919050565b600a546001600160a01b03163314610c185760405162461bcd60e51b815260040161084490612bfc565b600d5460ff1615610c6b5760405162461bcd60e51b815260206004820152601d60248201527f42617365205552492068617320616c7265616479206265656e207365740000006044820152606401610844565b8051610c7e90600c9060208401906126c4565b5050565b603281511115610ce65760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206d696772617465206d6178696d756d203530204567675a20604482015268617420612074696d6560b81b6064820152608401610844565b610cef8161197e565b610cf881611b07565b600d54610100900460ff1615610d1157610d1181611c08565b50565b600a546001600160a01b03163314610d3e5760405162461bcd60e51b815260040161084490612bfc565b600f55565b600a546001600160a01b03163314610d6d5760405162461bcd60e51b815260040161084490612bfc565b600d805460ff19166001179055565b600a546001600160a01b03163314610da65760405162461bcd60e51b815260040161084490612bfc565b600d805461ff0019169055565b6000818152600260205260408120546001600160a01b0316806107445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610844565b6108766004600f54611407565b6108766004600f5461159b565b60006001600160a01b038216610eaf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610844565b506001600160a01b031660009081526003602052604090205490565b6014546040516331a9108f60e11b8152600481018390526001600160a01b039091169033908290636352211e9060240160206040518083038186803b158015610f1357600080fd5b505afa158015610f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4b91906127d2565b6001600160a01b031614610f5e57600080fd5b6015546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101849052908216906323b872dd90606401600060405180830381600087803b158015610fb257600080fd5b505af1158015610fc6573d6000803e3d6000fd5b50506015546040516331a9108f60e11b8152600481018690526001600160a01b0391821693509084169150636352211e9060240160206040518083038186803b15801561101257600080fd5b505afa158015611026573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104a91906127d2565b6001600160a01b03161461105d57600080fd5b61106682611c2e565b600d54610100900460ff1615610c7e57610c7e611cbf565b600a546001600160a01b031633146110a85760405162461bcd60e51b815260040161084490612bfc565b6108766000611d17565b600a546001600160a01b031633146110dc5760405162461bcd60e51b815260040161084490612bfc565b601055565b600a546001600160a01b0316331461110b5760405162461bcd60e51b815260040161084490612bfc565b6000611118600247612ccb565b60125460405191925061010090046001600160a01b0316906108fc8315029083906000818181858888f1935050505061115057600080fd5b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050610d1157600080fd5b60606001805461075990612d41565b6001600160a01b0382163314156111ea5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610844565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112805760405162461bcd60e51b815260040161084490612bfc565b600e55565b600a546001600160a01b031633146112af5760405162461bcd60e51b815260040161084490612bfc565b6012805460ff19811660ff90911615179055565b6112cd33836116e9565b6112e95760405162461bcd60e51b815260040161084490612c31565b6112f584848484611d69565b50505050565b606061074482611d9c565b6108766001600e5461159b565b610876600660105461159b565b610876600c601154611407565b600a546001600160a01b031633146113575760405162461bcd60e51b815260040161084490612bfc565b6001600160a01b0381166113bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610844565b610d1181611d17565b60006001600160e01b0319821663780e9d6360e01b1480610744575061074482611efe565b6000908152600260205260409020546001600160a01b0316151590565b600061141260085490565b60125490915060ff166114555760405162461bcd60e51b815260206004820152600b60248201526a14d85b19481c185d5cd95960aa1b6044820152606401610844565b601c5483601b546114669190612cb3565b11156114845760405162461bcd60e51b815260040161084490612bd2565b61148e8383612cdf565b3410156114d55760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610844565b60005b838110156112f5576114f3336114ee8385612cb3565b611f4e565b601b805490600061150383612d7c565b9091555061151b90506115168284612cb3565b611f68565b8061152581612d7c565b9150506114d8565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061156282610db3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115a660085490565b600d54909150610100900460ff161561161b5760405162461bcd60e51b815260206004820152603160248201527f43616e2774206d696e74207468652072657365727665206966206d6967726174604482015270696f6e206973206e6f742061637469766560781b6064820152608401610844565b601a548360195461162c9190612cb3565b111561164a5760405162461bcd60e51b815260040161084490612bd2565b6116548383612cdf565b34101561169b5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610844565b60005b838110156112f5576116b4336114ee8385612cb3565b601980549060006116c483612d7c565b909155506116d790506115168284612cb3565b806116e181612d7c565b91505061169e565b60006116f4826113ea565b6117555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610844565b600061176083610db3565b9050806001600160a01b0316846001600160a01b0316148061179b5750836001600160a01b0316611790846107dc565b6001600160a01b0316145b806117cb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117e682610db3565b6001600160a01b03161461184e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610844565b6001600160a01b0382166118b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610844565b6118bb838383611f8f565b6118c660008261152d565b6001600160a01b03831660009081526003602052604081208054600192906118ef908490612cfe565b90915550506001600160a01b038216600090815260036020526040812080546001929061191d908490612cb3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6014546001600160a01b031660005b825181101561098957336001600160a01b0316826001600160a01b0316636352211e8584815181106119c1576119c1612ded565b60200260200101516040518263ffffffff1660e01b81526004016119e791815260200190565b60206040518083038186803b1580156119ff57600080fd5b505afa158015611a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3791906127d2565b6001600160a01b031614611a4a57600080fd5b816001600160a01b03166323b872dd33601560009054906101000a90046001600160a01b0316868581518110611a8257611a82612ded565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015611adc57600080fd5b505af1158015611af0573d6000803e3d6000fd5b505050508080611aff90612d7c565b91505061198d565b6014546001600160a01b031660005b82518110156109895760155483516001600160a01b0391821691841690636352211e90869085908110611b4b57611b4b612ded565b60200260200101516040518263ffffffff1660e01b8152600401611b7191815260200190565b60206040518083038186803b158015611b8957600080fd5b505afa158015611b9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc191906127d2565b6001600160a01b031614611bd457600080fd5b611bf6838281518110611be957611be9612ded565b6020026020010151611c2e565b80611c0081612d7c565b915050611b16565b60005b8151811015610c7e57611c1c611cbf565b80611c2681612d7c565b915050611c0b565b6000611c3960085490565b905060185460175410611c8e5760405162461bcd60e51b815260206004820152601760248201527f4d6967726174696f6e207265736572766520656d7074790000000000000000006044820152606401610844565b611c983382611f4e565b60178054906000611ca883612d7c565b9190505550610c7e81611cba84611f9a565b612098565b6000611cca60085490565b9050601a5460195410611cef5760405162461bcd60e51b815260040161084490612bd2565b611cf93382611f4e565b60198054906000611d0983612d7c565b9190505550610d1181611f68565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611d748484846117d3565b611d8084848484612123565b6112f55760405162461bcd60e51b815260040161084490612b80565b6060611da7826113ea565b611e0d5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610844565b6000828152600b602052604081208054611e2690612d41565b80601f0160208091040260200160405190810160405280929190818152602001828054611e5290612d41565b8015611e9f5780601f10611e7457610100808354040283529160200191611e9f565b820191906000526020600020905b815481529060010190602001808311611e8257829003601f168201915b505050505090506000611eb0612230565b9050805160001415611ec3575092915050565b815115611ef5578082604051602001611edd929190612abd565b60405160208183030381529060405292505050919050565b6117cb8461223f565b60006001600160e01b031982166380ac58cd60e01b1480611f2f57506001600160e01b03198216635b5e139f60e01b145b8061074457506301ffc9a760e01b6001600160e01b0319831614610744565b610c7e82826040518060200160405280600081525061230a565b611f7781611cba601d54611f9a565b601d8054906000611f8783612d7c565b919050555050565b61098983838361233d565b606081611fbe5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fe85780611fd281612d7c565b9150611fe19050600a83612ccb565b9150611fc2565b60008167ffffffffffffffff81111561200357612003612e03565b6040519080825280601f01601f19166020018201604052801561202d576020820181803683370190505b5090505b84156117cb57612042600183612cfe565b915061204f600a86612d97565b61205a906030612cb3565b60f81b81838151811061206f5761206f612ded565b60200101906001600160f81b031916908160001a905350612091600a86612ccb565b9450612031565b6120a1826113ea565b6121045760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610844565b6000828152600b602090815260409091208251610989928401906126c4565b60006001600160a01b0384163b1561222557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612167903390899088908890600401612aec565b602060405180830381600087803b15801561218157600080fd5b505af19250505080156121b1575060408051601f3d908101601f191682019092526121ae91810190612a12565b60015b61220b573d8080156121df576040519150601f19603f3d011682016040523d82523d6000602084013e6121e4565b606091505b5080516122035760405162461bcd60e51b815260040161084490612b80565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117cb565b506001949350505050565b6060600c805461075990612d41565b606061224a826113ea565b6122ae5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610844565b60006122b8612230565b905060008151116122d85760405180602001604052806000815250612303565b806122e284611f9a565b6040516020016122f3929190612abd565b6040516020818303038152906040525b9392505050565b61231483836123f5565b6123216000848484612123565b6109895760405162461bcd60e51b815260040161084490612b80565b6001600160a01b0383166123985761239381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123bb565b816001600160a01b0316836001600160a01b0316146123bb576123bb8382612534565b6001600160a01b0382166123d257610989816125d1565b826001600160a01b0316826001600160a01b031614610989576109898282612680565b6001600160a01b03821661244b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610844565b612454816113ea565b156124a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610844565b6124ad60008383611f8f565b6001600160a01b03821660009081526003602052604081208054600192906124d6908490612cb3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161254184610e44565b61254b9190612cfe565b60008381526007602052604090205490915080821461259e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906125e390600190612cfe565b6000838152600960205260408120546008805493945090928490811061260b5761260b612ded565b90600052602060002001549050806008838154811061262c5761262c612ded565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061266457612664612dd7565b6001900381819060005260206000200160009055905550505050565b600061268b83610e44565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546126d090612d41565b90600052602060002090601f0160209004810192826126f25760008555612738565b82601f1061270b57805160ff1916838001178555612738565b82800160010185558215612738579182015b8281111561273857825182559160200191906001019061271d565b50612744929150612748565b5090565b5b808211156127445760008155600101612749565b600067ffffffffffffffff83111561277757612777612e03565b61278a601f8401601f1916602001612c82565b905082815283838301111561279e57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156127c757600080fd5b813561230381612e19565b6000602082840312156127e457600080fd5b815161230381612e19565b6000806040838503121561280257600080fd5b823561280d81612e19565b9150602083013561281d81612e19565b809150509250929050565b60008060006060848603121561283d57600080fd5b833561284881612e19565b9250602084013561285881612e19565b929592945050506040919091013590565b6000806000806080858703121561287f57600080fd5b843561288a81612e19565b9350602085013561289a81612e19565b925060408501359150606085013567ffffffffffffffff8111156128bd57600080fd5b8501601f810187136128ce57600080fd5b6128dd8782356020840161275d565b91505092959194509250565b600080604083850312156128fc57600080fd5b823561290781612e19565b91506020830135801515811461281d57600080fd5b6000806040838503121561292f57600080fd5b823561293a81612e19565b946020939093013593505050565b6000602080838503121561295b57600080fd5b823567ffffffffffffffff8082111561297357600080fd5b818501915085601f83011261298757600080fd5b81358181111561299957612999612e03565b8060051b91506129aa848301612c82565b8181528481019084860184860187018a10156129c557600080fd5b600095505b838610156129e85780358352600195909501949186019186016129ca565b5098975050505050505050565b600060208284031215612a0757600080fd5b813561230381612e2e565b600060208284031215612a2457600080fd5b815161230381612e2e565b600060208284031215612a4157600080fd5b813567ffffffffffffffff811115612a5857600080fd5b8201601f81018413612a6957600080fd5b6117cb8482356020840161275d565b600060208284031215612a8a57600080fd5b5035919050565b60008151808452612aa9816020860160208601612d15565b601f01601f19169290920160200192915050565b60008351612acf818460208801612d15565b835190830190612ae3818360208801612d15565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b1f90830184612a91565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612b6157835183529284019291840191600101612b45565b50909695505050505050565b6020815260006123036020830184612a91565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f09cde408aceceb440d8cacce840744e560831b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612cab57612cab612e03565b604052919050565b60008219821115612cc657612cc6612dab565b500190565b600082612cda57612cda612dc1565b500490565b6000816000190483118215151615612cf957612cf9612dab565b500290565b600082821015612d1057612d10612dab565b500390565b60005b83811015612d30578181015183820152602001612d18565b838111156112f55750506000910152565b600181811c90821680612d5557607f821691505b60208210811415612d7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612d9057612d90612dab565b5060010190565b600082612da657612da6612dc1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d1157600080fd5b6001600160e01b031981168114610d1157600080fdfea26469706673582212203a1fc18570f799854e5db8735e62d2cba4c2b2f736f0ce332be35d5f67f2ebf664736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d533142394b385375693641744c7576696a6959587632476a74347268784b594163426e68474a726847504a662f00000000000000000000
Deployed Bytecode
0x6080604052600436106102725760003560e01c80636352211e1161014f578063a22cb465116100c1578063cf7efa4d1161007a578063cf7efa4d146106a3578063d02c35bb146106ab578063d336b727146106b3578063e985e9c5146106c8578063f1dda89314610711578063f2fde38b1461071957600080fd5b8063a22cb465146105f4578063a5441a3e14610614578063a987c35d14610634578063b88d4fde14610649578063beb9716d14610669578063c87b56dd1461068357600080fd5b8063715018a611610113578063715018a61461056557806371bbbb2e1461057a578063853828b61461059a5780638da5cb5b146105a25780638ed6b016146105c057806395d89b41146105df57600080fd5b80636352211e146104f55780636dc2978a14610515578063702e8c4b1461051d57806370a08231146105255780637146b0511461054557600080fd5b80632f745c59116101e85780634f6ccce7116101ac5780634f6ccce71461044b57806355f804b31461046b57806357d40b0d1461048b5780635f301d07146104ab57806361b5950d146104cb578063634bae1e146104e057600080fd5b80632f745c59146103a9578063366518cb146103c95780633f722476146103e957806342842e0e1461041657806348b5f2bc1461043657600080fd5b80630a9642ec1161023a5780630a9642ec146103305780630b6b5fcb1461034f57806310098b0a1461036457806318160ddd1461036c578063229faac91461038157806323b872dd1461038957600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce5780630841c40514610306578063095ea7b314610310575b600080fd5b34801561028357600080fd5b506102976102923660046129f5565b610739565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c161074a565b6040516102a39190612b6d565b3480156102da57600080fd5b506102ee6102e9366004612a78565b6107dc565b6040516001600160a01b0390911681526020016102a3565b61030e610869565b005b34801561031c57600080fd5b5061030e61032b36600461291c565b610878565b34801561033c57600080fd5b50601d545b6040519081526020016102a3565b34801561035b57600080fd5b50601754610341565b61030e61098e565b34801561037857600080fd5b50600854610341565b61030e61099b565b34801561039557600080fd5b5061030e6103a4366004612828565b6109a8565b3480156103b557600080fd5b506103416103c436600461291c565b6109d9565b3480156103d557600080fd5b5061030e6103e4366004612a78565b610a6f565b3480156103f557600080fd5b506104096104043660046127b5565b610a9e565b6040516102a39190612b29565b34801561042257600080fd5b5061030e610431366004612828565b610b40565b34801561044257600080fd5b50601b54610341565b34801561045757600080fd5b50610341610466366004612a78565b610b5b565b34801561047757600080fd5b5061030e610486366004612a2f565b610bee565b34801561049757600080fd5b5061030e6104a6366004612948565b610c82565b3480156104b757600080fd5b5061030e6104c6366004612a78565b610d14565b3480156104d757600080fd5b5061030e610d43565b3480156104ec57600080fd5b5061030e610d7c565b34801561050157600080fd5b506102ee610510366004612a78565b610db3565b61030e610e2a565b61030e610e37565b34801561053157600080fd5b506103416105403660046127b5565b610e44565b34801561055157600080fd5b5061030e610560366004612a78565b610ecb565b34801561057157600080fd5b5061030e61107e565b34801561058657600080fd5b5061030e610595366004612a78565b6110b2565b61030e6110e1565b3480156105ae57600080fd5b50600a546001600160a01b03166102ee565b3480156105cc57600080fd5b50600d5461029790610100900460ff1681565b3480156105eb57600080fd5b506102c1611182565b34801561060057600080fd5b5061030e61060f3660046128e9565b611191565b34801561062057600080fd5b5061030e61062f366004612a78565b611256565b34801561064057600080fd5b5061030e611285565b34801561065557600080fd5b5061030e610664366004612869565b6112c3565b34801561067557600080fd5b506012546102979060ff1681565b34801561068f57600080fd5b506102c161069e366004612a78565b6112fb565b61030e611306565b61030e611313565b3480156106bf57600080fd5b50601954610341565b3480156106d457600080fd5b506102976106e33660046127ef565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61030e611320565b34801561072557600080fd5b5061030e6107343660046127b5565b61132d565b6000610744826113c5565b92915050565b60606000805461075990612d41565b80601f016020809104026020016040519081016040528092919081815260200182805461078590612d41565b80156107d25780601f106107a7576101008083540402835291602001916107d2565b820191906000526020600020905b8154815290600101906020018083116107b557829003601f168201915b5050505050905090565b60006107e7826113ea565b61084d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6108766001600e54611407565b565b600061088382610db3565b9050806001600160a01b0316836001600160a01b031614156108f15760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610844565b336001600160a01b038216148061090d575061090d81336106e3565b61097f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610844565b610989838361152d565b505050565b6108766006601054611407565b610876600c60115461159b565b6109b233826116e9565b6109ce5760405162461bcd60e51b815260040161084490612c31565b6109898383836117d3565b60006109e483610e44565b8210610a465760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610844565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610a995760405162461bcd60e51b815260040161084490612bfc565b601155565b60606000610aab83610e44565b905060008167ffffffffffffffff811115610ac857610ac8612e03565b604051908082528060200260200182016040528015610af1578160200160208202803683370190505b50905060005b82811015610b3857610b0985826109d9565b828281518110610b1b57610b1b612ded565b602090810291909101015280610b3081612d7c565b915050610af7565b509392505050565b610989838383604051806020016040528060008152506112c3565b6000610b6660085490565b8210610bc95760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610844565b60088281548110610bdc57610bdc612ded565b90600052602060002001549050919050565b600a546001600160a01b03163314610c185760405162461bcd60e51b815260040161084490612bfc565b600d5460ff1615610c6b5760405162461bcd60e51b815260206004820152601d60248201527f42617365205552492068617320616c7265616479206265656e207365740000006044820152606401610844565b8051610c7e90600c9060208401906126c4565b5050565b603281511115610ce65760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206d696772617465206d6178696d756d203530204567675a20604482015268617420612074696d6560b81b6064820152608401610844565b610cef8161197e565b610cf881611b07565b600d54610100900460ff1615610d1157610d1181611c08565b50565b600a546001600160a01b03163314610d3e5760405162461bcd60e51b815260040161084490612bfc565b600f55565b600a546001600160a01b03163314610d6d5760405162461bcd60e51b815260040161084490612bfc565b600d805460ff19166001179055565b600a546001600160a01b03163314610da65760405162461bcd60e51b815260040161084490612bfc565b600d805461ff0019169055565b6000818152600260205260408120546001600160a01b0316806107445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610844565b6108766004600f54611407565b6108766004600f5461159b565b60006001600160a01b038216610eaf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610844565b506001600160a01b031660009081526003602052604090205490565b6014546040516331a9108f60e11b8152600481018390526001600160a01b039091169033908290636352211e9060240160206040518083038186803b158015610f1357600080fd5b505afa158015610f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4b91906127d2565b6001600160a01b031614610f5e57600080fd5b6015546040516323b872dd60e01b81523360048201526001600160a01b03918216602482015260448101849052908216906323b872dd90606401600060405180830381600087803b158015610fb257600080fd5b505af1158015610fc6573d6000803e3d6000fd5b50506015546040516331a9108f60e11b8152600481018690526001600160a01b0391821693509084169150636352211e9060240160206040518083038186803b15801561101257600080fd5b505afa158015611026573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104a91906127d2565b6001600160a01b03161461105d57600080fd5b61106682611c2e565b600d54610100900460ff1615610c7e57610c7e611cbf565b600a546001600160a01b031633146110a85760405162461bcd60e51b815260040161084490612bfc565b6108766000611d17565b600a546001600160a01b031633146110dc5760405162461bcd60e51b815260040161084490612bfc565b601055565b600a546001600160a01b0316331461110b5760405162461bcd60e51b815260040161084490612bfc565b6000611118600247612ccb565b60125460405191925061010090046001600160a01b0316906108fc8315029083906000818181858888f1935050505061115057600080fd5b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050610d1157600080fd5b60606001805461075990612d41565b6001600160a01b0382163314156111ea5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610844565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146112805760405162461bcd60e51b815260040161084490612bfc565b600e55565b600a546001600160a01b031633146112af5760405162461bcd60e51b815260040161084490612bfc565b6012805460ff19811660ff90911615179055565b6112cd33836116e9565b6112e95760405162461bcd60e51b815260040161084490612c31565b6112f584848484611d69565b50505050565b606061074482611d9c565b6108766001600e5461159b565b610876600660105461159b565b610876600c601154611407565b600a546001600160a01b031633146113575760405162461bcd60e51b815260040161084490612bfc565b6001600160a01b0381166113bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610844565b610d1181611d17565b60006001600160e01b0319821663780e9d6360e01b1480610744575061074482611efe565b6000908152600260205260409020546001600160a01b0316151590565b600061141260085490565b60125490915060ff166114555760405162461bcd60e51b815260206004820152600b60248201526a14d85b19481c185d5cd95960aa1b6044820152606401610844565b601c5483601b546114669190612cb3565b11156114845760405162461bcd60e51b815260040161084490612bd2565b61148e8383612cdf565b3410156114d55760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610844565b60005b838110156112f5576114f3336114ee8385612cb3565b611f4e565b601b805490600061150383612d7c565b9091555061151b90506115168284612cb3565b611f68565b8061152581612d7c565b9150506114d8565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061156282610db3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115a660085490565b600d54909150610100900460ff161561161b5760405162461bcd60e51b815260206004820152603160248201527f43616e2774206d696e74207468652072657365727665206966206d6967726174604482015270696f6e206973206e6f742061637469766560781b6064820152608401610844565b601a548360195461162c9190612cb3565b111561164a5760405162461bcd60e51b815260040161084490612bd2565b6116548383612cdf565b34101561169b5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610844565b60005b838110156112f5576116b4336114ee8385612cb3565b601980549060006116c483612d7c565b909155506116d790506115168284612cb3565b806116e181612d7c565b91505061169e565b60006116f4826113ea565b6117555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610844565b600061176083610db3565b9050806001600160a01b0316846001600160a01b0316148061179b5750836001600160a01b0316611790846107dc565b6001600160a01b0316145b806117cb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117e682610db3565b6001600160a01b03161461184e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610844565b6001600160a01b0382166118b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610844565b6118bb838383611f8f565b6118c660008261152d565b6001600160a01b03831660009081526003602052604081208054600192906118ef908490612cfe565b90915550506001600160a01b038216600090815260036020526040812080546001929061191d908490612cb3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6014546001600160a01b031660005b825181101561098957336001600160a01b0316826001600160a01b0316636352211e8584815181106119c1576119c1612ded565b60200260200101516040518263ffffffff1660e01b81526004016119e791815260200190565b60206040518083038186803b1580156119ff57600080fd5b505afa158015611a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3791906127d2565b6001600160a01b031614611a4a57600080fd5b816001600160a01b03166323b872dd33601560009054906101000a90046001600160a01b0316868581518110611a8257611a82612ded565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015611adc57600080fd5b505af1158015611af0573d6000803e3d6000fd5b505050508080611aff90612d7c565b91505061198d565b6014546001600160a01b031660005b82518110156109895760155483516001600160a01b0391821691841690636352211e90869085908110611b4b57611b4b612ded565b60200260200101516040518263ffffffff1660e01b8152600401611b7191815260200190565b60206040518083038186803b158015611b8957600080fd5b505afa158015611b9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc191906127d2565b6001600160a01b031614611bd457600080fd5b611bf6838281518110611be957611be9612ded565b6020026020010151611c2e565b80611c0081612d7c565b915050611b16565b60005b8151811015610c7e57611c1c611cbf565b80611c2681612d7c565b915050611c0b565b6000611c3960085490565b905060185460175410611c8e5760405162461bcd60e51b815260206004820152601760248201527f4d6967726174696f6e207265736572766520656d7074790000000000000000006044820152606401610844565b611c983382611f4e565b60178054906000611ca883612d7c565b9190505550610c7e81611cba84611f9a565b612098565b6000611cca60085490565b9050601a5460195410611cef5760405162461bcd60e51b815260040161084490612bd2565b611cf93382611f4e565b60198054906000611d0983612d7c565b9190505550610d1181611f68565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611d748484846117d3565b611d8084848484612123565b6112f55760405162461bcd60e51b815260040161084490612b80565b6060611da7826113ea565b611e0d5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610844565b6000828152600b602052604081208054611e2690612d41565b80601f0160208091040260200160405190810160405280929190818152602001828054611e5290612d41565b8015611e9f5780601f10611e7457610100808354040283529160200191611e9f565b820191906000526020600020905b815481529060010190602001808311611e8257829003601f168201915b505050505090506000611eb0612230565b9050805160001415611ec3575092915050565b815115611ef5578082604051602001611edd929190612abd565b60405160208183030381529060405292505050919050565b6117cb8461223f565b60006001600160e01b031982166380ac58cd60e01b1480611f2f57506001600160e01b03198216635b5e139f60e01b145b8061074457506301ffc9a760e01b6001600160e01b0319831614610744565b610c7e82826040518060200160405280600081525061230a565b611f7781611cba601d54611f9a565b601d8054906000611f8783612d7c565b919050555050565b61098983838361233d565b606081611fbe5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fe85780611fd281612d7c565b9150611fe19050600a83612ccb565b9150611fc2565b60008167ffffffffffffffff81111561200357612003612e03565b6040519080825280601f01601f19166020018201604052801561202d576020820181803683370190505b5090505b84156117cb57612042600183612cfe565b915061204f600a86612d97565b61205a906030612cb3565b60f81b81838151811061206f5761206f612ded565b60200101906001600160f81b031916908160001a905350612091600a86612ccb565b9450612031565b6120a1826113ea565b6121045760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610844565b6000828152600b602090815260409091208251610989928401906126c4565b60006001600160a01b0384163b1561222557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612167903390899088908890600401612aec565b602060405180830381600087803b15801561218157600080fd5b505af19250505080156121b1575060408051601f3d908101601f191682019092526121ae91810190612a12565b60015b61220b573d8080156121df576040519150601f19603f3d011682016040523d82523d6000602084013e6121e4565b606091505b5080516122035760405162461bcd60e51b815260040161084490612b80565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117cb565b506001949350505050565b6060600c805461075990612d41565b606061224a826113ea565b6122ae5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610844565b60006122b8612230565b905060008151116122d85760405180602001604052806000815250612303565b806122e284611f9a565b6040516020016122f3929190612abd565b6040516020818303038152906040525b9392505050565b61231483836123f5565b6123216000848484612123565b6109895760405162461bcd60e51b815260040161084490612b80565b6001600160a01b0383166123985761239381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6123bb565b816001600160a01b0316836001600160a01b0316146123bb576123bb8382612534565b6001600160a01b0382166123d257610989816125d1565b826001600160a01b0316826001600160a01b031614610989576109898282612680565b6001600160a01b03821661244b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610844565b612454816113ea565b156124a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610844565b6124ad60008383611f8f565b6001600160a01b03821660009081526003602052604081208054600192906124d6908490612cb3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161254184610e44565b61254b9190612cfe565b60008381526007602052604090205490915080821461259e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906125e390600190612cfe565b6000838152600960205260408120546008805493945090928490811061260b5761260b612ded565b90600052602060002001549050806008838154811061262c5761262c612ded565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061266457612664612dd7565b6001900381819060005260206000200160009055905550505050565b600061268b83610e44565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546126d090612d41565b90600052602060002090601f0160209004810192826126f25760008555612738565b82601f1061270b57805160ff1916838001178555612738565b82800160010185558215612738579182015b8281111561273857825182559160200191906001019061271d565b50612744929150612748565b5090565b5b808211156127445760008155600101612749565b600067ffffffffffffffff83111561277757612777612e03565b61278a601f8401601f1916602001612c82565b905082815283838301111561279e57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156127c757600080fd5b813561230381612e19565b6000602082840312156127e457600080fd5b815161230381612e19565b6000806040838503121561280257600080fd5b823561280d81612e19565b9150602083013561281d81612e19565b809150509250929050565b60008060006060848603121561283d57600080fd5b833561284881612e19565b9250602084013561285881612e19565b929592945050506040919091013590565b6000806000806080858703121561287f57600080fd5b843561288a81612e19565b9350602085013561289a81612e19565b925060408501359150606085013567ffffffffffffffff8111156128bd57600080fd5b8501601f810187136128ce57600080fd5b6128dd8782356020840161275d565b91505092959194509250565b600080604083850312156128fc57600080fd5b823561290781612e19565b91506020830135801515811461281d57600080fd5b6000806040838503121561292f57600080fd5b823561293a81612e19565b946020939093013593505050565b6000602080838503121561295b57600080fd5b823567ffffffffffffffff8082111561297357600080fd5b818501915085601f83011261298757600080fd5b81358181111561299957612999612e03565b8060051b91506129aa848301612c82565b8181528481019084860184860187018a10156129c557600080fd5b600095505b838610156129e85780358352600195909501949186019186016129ca565b5098975050505050505050565b600060208284031215612a0757600080fd5b813561230381612e2e565b600060208284031215612a2457600080fd5b815161230381612e2e565b600060208284031215612a4157600080fd5b813567ffffffffffffffff811115612a5857600080fd5b8201601f81018413612a6957600080fd5b6117cb8482356020840161275d565b600060208284031215612a8a57600080fd5b5035919050565b60008151808452612aa9816020860160208601612d15565b601f01601f19169290920160200192915050565b60008351612acf818460208801612d15565b835190830190612ae3818360208801612d15565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b1f90830184612a91565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612b6157835183529284019291840191600101612b45565b50909695505050505050565b6020815260006123036020830184612a91565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526010908201526f09cde408aceceb440d8cacce840744e560831b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612cab57612cab612e03565b604052919050565b60008219821115612cc657612cc6612dab565b500190565b600082612cda57612cda612dc1565b500490565b6000816000190483118215151615612cf957612cf9612dab565b500290565b600082821015612d1057612d10612dab565b500390565b60005b83811015612d30578181015183820152602001612d18565b838111156112f55750506000910152565b600181811c90821680612d5557607f821691505b60208210811415612d7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612d9057612d90612dab565b5060010190565b600082612da657612da6612dc1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d1157600080fd5b6001600160e01b031981168114610d1157600080fdfea26469706673582212203a1fc18570f799854e5db8735e62d2cba4c2b2f736f0ce332be35d5f67f2ebf664736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d533142394b385375693641744c7576696a6959587632476a74347268784b594163426e68474a726847504a662f00000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmS1B9K8Sui6AtLuvijiYXv2Gjt4rhxKYAcBnhGJrhGPJf/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d533142394b385375693641744c7576696a695958763247
Arg [3] : 6a74347268784b594163426e68474a726847504a662f00000000000000000000
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.