Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,333 DOODLZ
Holders
1,444
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
19 DOODLZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Doodlz
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface INFT { function balanceOf(address owner) external view returns (uint256 balance); } contract Doodlz is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 3333; bool public paused = true; bool public revealed = false; string public baseURI; string public unrevealedURI; INFT public cryptoPolzContract; INFT public polzillaContract; INFT public eggzillaContract; INFT public kongzillaContract; constructor( address _cryptoPolzContractAddress, address _polzillaContractAddress, address _eggzillaContractAddress, address _kongzillaContractAddress ) ERC721A("Doodlz", "DOODLZ") { setUnrevealedURI("ipfs://QmcEcr8cBgXtWtD8EUsbm2TBv4yd5jBi5WWSVS8mpBsSZR"); setCryptoPolzContract(_cryptoPolzContractAddress); setPolzillaContract(_polzillaContractAddress); setEggzillaContract(_eggzillaContractAddress); setKongzillaContract(_kongzillaContractAddress); } function reveal() public onlyOwner { revealed = true; } function flipPause() public onlyOwner { paused = !paused; } function setUnrevealedURI(string memory _unrevealedURI) public onlyOwner { unrevealedURI = _unrevealedURI; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setCryptoPolzContract(address _address) public onlyOwner { cryptoPolzContract = INFT(_address); } function setPolzillaContract(address _address) public onlyOwner { polzillaContract = INFT(_address); } function setEggzillaContract(address _address) public onlyOwner { eggzillaContract = INFT(_address); } function setKongzillaContract(address _address) public onlyOwner { kongzillaContract = INFT(_address); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 0; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require (_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed == false) { return unrevealedURI; } return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } function bonusOf( address _user, bool _hasCryptoPolz, bool _hasPolzilla, bool _hasEggzilla, bool _hasKongzilla ) public view returns (uint256) { uint256 bonus = 0; if (_hasCryptoPolz) { bonus += cryptoPolzContract.balanceOf(_user); } if (_hasPolzilla) { bonus += polzillaContract.balanceOf(_user); } if (_hasEggzilla) { bonus += eggzillaContract.balanceOf(_user); } if (_hasKongzilla) { bonus += kongzillaContract.balanceOf(_user); } return bonus; } function mint() external { require (! paused, "Contract is paused"); require (totalSupply() + 1 <= maxSupply, "Minted out"); require (balanceOf(msg.sender) < 1, "Already claimed"); _safeMint(msg.sender, 1); } function claim( uint256 _quantity, bool _hasCryptoPolz, bool _hasPolzilla, bool _hasEggzilla, bool _hasKongzilla ) external { require (! paused, "Contract is paused"); require (_quantity > 0, "Wasting gas is not allowed"); require (totalSupply() + _quantity <= maxSupply, "Minted out"); require ( balanceOf(msg.sender) + _quantity <= bonusOf( msg.sender, _hasCryptoPolz, _hasPolzilla, _hasEggzilla, _hasKongzilla ) + 1, "Claiming more than allowed" ); _safeMint(msg.sender, _quantity); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert('ERC721A: unable to get token of owner by index'); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); unchecked { for (uint256 curr = tokenId; curr >= 0; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: 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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); require(quantity != 0, 'ERC721A: quantity must be greater than 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1 unchecked { _addressData[to].balance += uint128(quantity); _addressData[to].numberMinted += uint128(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe) { require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } updatedIndex++; } currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, 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('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_cryptoPolzContractAddress","type":"address"},{"internalType":"address","name":"_polzillaContractAddress","type":"address"},{"internalType":"address","name":"_eggzillaContractAddress","type":"address"},{"internalType":"address","name":"_kongzillaContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_hasCryptoPolz","type":"bool"},{"internalType":"bool","name":"_hasPolzilla","type":"bool"},{"internalType":"bool","name":"_hasEggzilla","type":"bool"},{"internalType":"bool","name":"_hasKongzilla","type":"bool"}],"name":"bonusOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bool","name":"_hasCryptoPolz","type":"bool"},{"internalType":"bool","name":"_hasPolzilla","type":"bool"},{"internalType":"bool","name":"_hasEggzilla","type":"bool"},{"internalType":"bool","name":"_hasKongzilla","type":"bool"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cryptoPolzContract","outputs":[{"internalType":"contract INFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggzillaContract","outputs":[{"internalType":"contract INFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kongzillaContract","outputs":[{"internalType":"contract INFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"polzillaContract","outputs":[{"internalType":"contract INFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setCryptoPolzContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setEggzillaContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setKongzillaContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setPolzillaContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052610d056008556009805461ff001960ff199091166001171690553480156200002b57600080fd5b5060405162002dca38038062002dca8339810160408190526200004e9162000461565b604051806040016040528060068152602001652237b7b2363d60d11b815250604051806040016040528060068152602001652227a7a2262d60d11b8152508160019080519060200190620000a49291906200039e565b508051620000ba9060029060208401906200039e565b505050620000d7620000d16200013160201b60201c565b62000135565b620000fb60405180606001604052806035815260200162002d956035913962000187565b6200010684620001ef565b620001118362000257565b6200011c82620002bf565b620001278162000327565b505050506200052f565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200019162000131565b6001600160a01b0316620001a46200038f565b6001600160a01b031614620001d65760405162461bcd60e51b8152600401620001cd90620004bd565b60405180910390fd5b8051620001eb90600b9060208401906200039e565b5050565b620001f962000131565b6001600160a01b03166200020c6200038f565b6001600160a01b031614620002355760405162461bcd60e51b8152600401620001cd90620004bd565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6200026162000131565b6001600160a01b0316620002746200038f565b6001600160a01b0316146200029d5760405162461bcd60e51b8152600401620001cd90620004bd565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b620002c962000131565b6001600160a01b0316620002dc6200038f565b6001600160a01b031614620003055760405162461bcd60e51b8152600401620001cd90620004bd565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6200033162000131565b6001600160a01b0316620003446200038f565b6001600160a01b0316146200036d5760405162461bcd60e51b8152600401620001cd90620004bd565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031690565b828054620003ac90620004f2565b90600052602060002090601f016020900481019282620003d057600085556200041b565b82601f10620003eb57805160ff19168380011785556200041b565b828001600101855582156200041b579182015b828111156200041b578251825591602001919060010190620003fe565b50620004299291506200042d565b5090565b5b808211156200042957600081556001016200042e565b80516001600160a01b03811681146200045c57600080fd5b919050565b6000806000806080858703121562000477578384fd5b620004828562000444565b9350620004926020860162000444565b9250620004a26040860162000444565b9150620004b26060860162000444565b905092959194509250565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6002810460018216806200050757607f821691505b602082108114156200052957634e487b7160e01b600052602260045260246000fd5b50919050565b612856806200053f6000396000f3fe608060405234801561001057600080fd5b50600436106102475760003560e01c80636f2ed0821161013b578063b88d4fde116100b8578063e985e9c51161007c578063e985e9c514610481578063f2fde38b14610494578063fa0a0f01146104a7578063fcbd4be7146104af578063fe2c7fee146104c257610247565b8063b88d4fde1461042d578063c6a5dc3014610440578063c87b56dd14610453578063d5abeb0114610466578063e0793cb81461046e57610247565b80638da5cb5b116100ff5780638da5cb5b146103fa57806395d89b4114610402578063a22cb4651461040a578063a475b5dd1461041d578063b444367a1461042557610247565b80636f2ed082146103b15780637035bf18146103c457806370a08231146103cc578063715018a6146103df5780637bf7a65f146103e757610247565b80632f745c59116101c9578063518302271161018d578063518302271461037357806355f804b31461037b5780635c975abb1461038e5780636352211e146103965780636c0360eb146103a957610247565b80632f745c5914610312578063385df6491461032557806342842e0e1461032d578063438b6300146103405780634f6ccce71461036057610247565b806308833ea61161021057806308833ea6146102c7578063095ea7b3146102cf5780631249c58b146102e257806318160ddd146102ea57806323b872dd146102ff57610247565b8062e445901461024c57806301ffc9a71461026a57806303959c761461028a57806306fdde031461029f578063081812fc146102b4575b600080fd5b6102546104d5565b604051610261919061203c565b60405180910390f35b61027d610278366004611e60565b6104e4565b60405161026191906120c7565b61029d610298366004611ca3565b610547565b005b6102a76105b1565b60405161026191906120d2565b6102546102c2366004611ede565b610643565b610254610686565b61029d6102dd366004611e37565b610695565b61029d61072e565b6102f26107ba565b60405161026191906126da565b61029d61030d366004611cf6565b6107c0565b6102f2610320366004611e37565b6107cb565b61029d6108b6565b61029d61033b366004611cf6565b610909565b61035361034e366004611ca3565b610924565b6040516102619190612083565b6102f261036e366004611ede565b610a20565b61027d610a4c565b61029d610389366004611e98565b610a5a565b61027d610ab0565b6102546103a4366004611ede565b610ab9565b6102a7610acb565b61029d6103bf366004611ca3565b610b59565b6102a7610bba565b6102f26103da366004611ca3565b610bc7565b61029d610c14565b61029d6103f5366004611ca3565b610c5d565b610254610cbe565b6102a7610ccd565b61029d610418366004611daa565b610cdc565b61029d610daa565b610254610dfa565b61029d61043b366004611d31565b610e09565b6102f261044e366004611dd3565b610e42565b6102a7610461366004611ede565b61109b565b6102f2611195565b61029d61047c366004611f0e565b61119b565b61027d61048f366004611cc4565b61126d565b61029d6104a2366004611ca3565b61129b565b61025461130c565b61029d6104bd366004611ca3565b61131b565b61029d6104d0366004611e98565b61137c565b600f546001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b148061051557506001600160e01b03198216635b5e139f60e01b145b8061053057506001600160e01b0319821663780e9d6360e01b145b8061053f575061053f826113ce565b90505b919050565b61054f6113e7565b6001600160a01b0316610560610cbe565b6001600160a01b03161461058f5760405162461bcd60e51b8152600401610586906123c4565b60405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546105c09061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec9061275e565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b5050505050905090565b600061064e826113eb565b61066a5760405162461bcd60e51b81526004016105869061268d565b506000908152600560205260409020546001600160a01b031690565b600e546001600160a01b031681565b60006106a082610ab9565b9050806001600160a01b0316836001600160a01b031614156106d45760405162461bcd60e51b8152600401610586906124d1565b806001600160a01b03166106e66113e7565b6001600160a01b0316148061070257506107028161048f6113e7565b61071e5760405162461bcd60e51b8152600401610586906122ad565b6107298383836113f2565b505050565b60095460ff16156107515760405162461bcd60e51b815260040161058690612661565b60085461075c6107ba565b6107679060016126ef565b11156107855760405162461bcd60e51b815260040161058690612566565b600161079033610bc7565b106107ad5760405162461bcd60e51b815260040161058690612355565b6107b833600161144e565b565b60005490565b610729838383611468565b60006107d683610bc7565b82106107f45760405162461bcd60e51b8152600401610586906120e5565b60006107fe6107ba565b905060008060005b83811015610897576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561085957805192505b876001600160a01b0316836001600160a01b0316141561088e5786841415610887575093506108b092505050565b6001909301925b50600101610806565b5060405162461bcd60e51b815260040161058690612613565b92915050565b6108be6113e7565b6001600160a01b03166108cf610cbe565b6001600160a01b0316146108f55760405162461bcd60e51b8152600401610586906123c4565b6009805460ff19811660ff90911615179055565b61072983838360405180602001604052806000815250610e09565b6060600061093183610bc7565b905060008167ffffffffffffffff81111561095c57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610985578160200160208202803683370190505b5090506000805b838110801561099d57506008548211155b15610a165760006109ad83610ab9565b9050866001600160a01b0316816001600160a01b03161415610a0357828483815181106109ea57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152816109ff81612799565b9250505b82610a0d81612799565b9350505061098c565b5090949350505050565b6000610a2a6107ba565b8210610a485760405162461bcd60e51b815260040161058690612225565b5090565b600954610100900460ff1681565b610a626113e7565b6001600160a01b0316610a73610cbe565b6001600160a01b031614610a995760405162461bcd60e51b8152600401610586906123c4565b8051610aac90600a906020840190611b60565b5050565b60095460ff1681565b6000610ac4826116ce565b5192915050565b600a8054610ad89061275e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b049061275e565b8015610b515780601f10610b2657610100808354040283529160200191610b51565b820191906000526020600020905b815481529060010190602001808311610b3457829003601f168201915b505050505081565b610b616113e7565b6001600160a01b0316610b72610cbe565b6001600160a01b031614610b985760405162461bcd60e51b8152600401610586906123c4565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600b8054610ad89061275e565b60006001600160a01b038216610bef5760405162461bcd60e51b81526004016105869061230a565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610c1c6113e7565b6001600160a01b0316610c2d610cbe565b6001600160a01b031614610c535760405162461bcd60e51b8152600401610586906123c4565b6107b86000611756565b610c656113e7565b6001600160a01b0316610c76610cbe565b6001600160a01b031614610c9c5760405162461bcd60e51b8152600401610586906123c4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031690565b6060600280546105c09061275e565b610ce46113e7565b6001600160a01b0316826001600160a01b03161415610d155760405162461bcd60e51b815260040161058690612448565b8060066000610d226113e7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610d666113e7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d9e91906120c7565b60405180910390a35050565b610db26113e7565b6001600160a01b0316610dc3610cbe565b6001600160a01b031614610de95760405162461bcd60e51b8152600401610586906123c4565b6009805461ff001916610100179055565b600d546001600160a01b031681565b610e14848484611468565b610e20848484846117a8565b610e3c5760405162461bcd60e51b815260040161058690612513565b50505050565b6000808515610ed857600c546040516370a0823160e01b81526001600160a01b03909116906370a0823190610e7b908a9060040161203c565b60206040518083038186803b158015610e9357600080fd5b505afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611ef6565b610ed590826126ef565b90505b8415610f6b57600d546040516370a0823160e01b81526001600160a01b03909116906370a0823190610f0e908a9060040161203c565b60206040518083038186803b158015610f2657600080fd5b505afa158015610f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5e9190611ef6565b610f6890826126ef565b90505b8315610ffe57600e546040516370a0823160e01b81526001600160a01b03909116906370a0823190610fa1908a9060040161203c565b60206040518083038186803b158015610fb957600080fd5b505afa158015610fcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff19190611ef6565b610ffb90826126ef565b90505b821561109157600f546040516370a0823160e01b81526001600160a01b03909116906370a0823190611034908a9060040161203c565b60206040518083038186803b15801561104c57600080fd5b505afa158015611060573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110849190611ef6565b61108e90826126ef565b90505b9695505050505050565b60606110a6826113eb565b6110c25760405162461bcd60e51b8152600401610586906123f9565b600954610100900460ff1661116357600b80546110de9061275e565b80601f016020809104026020016040519081016040528092919081815260200182805461110a9061275e565b80156111575780601f1061112c57610100808354040283529160200191611157565b820191906000526020600020905b81548152906001019060200180831161113a57829003601f168201915b50505050509050610542565b600a61116e836118c4565b60405160200161117f929190611f8e565b6040516020818303038152906040529050919050565b60085481565b60095460ff16156111be5760405162461bcd60e51b815260040161058690612661565b600085116111de5760405162461bcd60e51b815260040161058690612127565b600854856111ea6107ba565b6111f491906126ef565b11156112125760405162461bcd60e51b815260040161058690612566565b61121f3385858585610e42565b61122a9060016126ef565b8561123433610bc7565b61123e91906126ef565b111561125c5760405162461bcd60e51b8152600401610586906121ee565b611266338661144e565b5050505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6112a36113e7565b6001600160a01b03166112b4610cbe565b6001600160a01b0316146112da5760405162461bcd60e51b8152600401610586906123c4565b6001600160a01b0381166113005760405162461bcd60e51b81526004016105869061215e565b61130981611756565b50565b600c546001600160a01b031681565b6113236113e7565b6001600160a01b0316611334610cbe565b6001600160a01b03161461135a5760405162461bcd60e51b8152600401610586906123c4565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6113846113e7565b6001600160a01b0316611395610cbe565b6001600160a01b0316146113bb5760405162461bcd60e51b8152600401610586906123c4565b8051610aac90600b906020840190611b60565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b6000541190565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610aac8282604051806020016040528060008152506119df565b6000611473826116ce565b9050600081600001516001600160a01b031661148d6113e7565b6001600160a01b031614806114c257506114a56113e7565b6001600160a01b03166114b784610643565b6001600160a01b0316145b806114d6575081516114d69061048f6113e7565b9050806114f55760405162461bcd60e51b81526004016105869061247f565b846001600160a01b031682600001516001600160a01b03161461152a5760405162461bcd60e51b81526004016105869061237e565b6001600160a01b0384166115505760405162461bcd60e51b815260040161058690612268565b61155d8585856001610e3c565b61156d60008484600001516113f2565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160a01b03191690911767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff160217905590860180835291205490911661167f57611621816113eb565b1561167f578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b0267ffffffffffffffff60a01b196001600160a01b039094166001600160a01b031990931692909217929092161790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112668585856001610e3c565b6116d6611be0565b6116df826113eb565b6116fb5760405162461bcd60e51b8152600401610586906121a4565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561174c5791506105429050565b50600019016116fd565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006117bc846001600160a01b03166119ec565b156118b857836001600160a01b031663150b7a026117d86113e7565b8786866040518563ffffffff1660e01b81526004016117fa9493929190612050565b602060405180830381600087803b15801561181457600080fd5b505af1925050508015611844575060408051601f3d908101601f1916820190925261184191810190611e7c565b60015b61189e573d808015611872576040519150601f19603f3d011682016040523d82523d6000602084013e611877565b606091505b5080516118965760405162461bcd60e51b815260040161058690612513565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118bc565b5060015b949350505050565b6060816118e957506040805180820190915260018152600360fc1b6020820152610542565b8160005b811561191357806118fd81612799565b915061190c9050600a83612707565b91506118ed565b60008167ffffffffffffffff81111561193c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611966576020820181803683370190505b5090505b84156118bc5761197b60018361271b565b9150611988600a866127b4565b6119939060306126ef565b60f81b8183815181106119b657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506119d8600a86612707565b945061196a565b61072983838360016119f2565b3b151590565b6000546001600160a01b038516611a1b5760405162461bcd60e51b81526004016105869061258a565b83611a385760405162461bcd60e51b8152600401610586906125cb565b611a456000868387610e3c565b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160801b039182168b01821617808216600160801b9182900483168c01909216021790558483526003909152812080546001600160a01b03191690921767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff16021790915581905b85811015611b4e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611b4257611b2660008884886117a8565b611b425760405162461bcd60e51b815260040161058690612513565b60019182019101611ad3565b50600090815561126690868387610e3c565b828054611b6c9061275e565b90600052602060002090601f016020900481019282611b8e5760008555611bd4565b82601f10611ba757805160ff1916838001178555611bd4565b82800160010185558215611bd4579182015b82811115611bd4578251825591602001919060010190611bb9565b50610a48929150611bf7565b604080518082019091526000808252602082015290565b5b80821115610a485760008155600101611bf8565b600067ffffffffffffffff80841115611c2757611c276127f4565b604051601f8501601f191681016020018281118282101715611c4b57611c4b6127f4565b604052848152915081838501861015611c6357600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461054257600080fd5b8035801515811461054257600080fd5b600060208284031215611cb4578081fd5b611cbd82611c7c565b9392505050565b60008060408385031215611cd6578081fd5b611cdf83611c7c565b9150611ced60208401611c7c565b90509250929050565b600080600060608486031215611d0a578081fd5b611d1384611c7c565b9250611d2160208501611c7c565b9150604084013590509250925092565b60008060008060808587031215611d46578081fd5b611d4f85611c7c565b9350611d5d60208601611c7c565b925060408501359150606085013567ffffffffffffffff811115611d7f578182fd5b8501601f81018713611d8f578182fd5b611d9e87823560208401611c0c565b91505092959194509250565b60008060408385031215611dbc578182fd5b611dc583611c7c565b9150611ced60208401611c93565b600080600080600060a08688031215611dea578081fd5b611df386611c7c565b9450611e0160208701611c93565b9350611e0f60408701611c93565b9250611e1d60608701611c93565b9150611e2b60808701611c93565b90509295509295909350565b60008060408385031215611e49578182fd5b611e5283611c7c565b946020939093013593505050565b600060208284031215611e71578081fd5b8135611cbd8161280a565b600060208284031215611e8d578081fd5b8151611cbd8161280a565b600060208284031215611ea9578081fd5b813567ffffffffffffffff811115611ebf578182fd5b8201601f81018413611ecf578182fd5b6118bc84823560208401611c0c565b600060208284031215611eef578081fd5b5035919050565b600060208284031215611f07578081fd5b5051919050565b600080600080600060a08688031215611f25578081fd5b85359450611e0160208701611c93565b60008151808452611f4d816020860160208601612732565b601f01601f19169290920160200192915050565b60008151611f73818560208601612732565b9290920192915050565b64173539b7b760d91b815260050190565b8254600090819060028104600180831680611faa57607f831692505b6020808410821415611fca57634e487b7160e01b87526022600452602487fd5b818015611fde5760018114611fef5761201b565b60ff1986168952848901965061201b565b611ff88b6126e3565b885b868110156120135781548b820152908501908301611ffa565b505084890196505b50505050505061203361202e8286611f61565b611f7d565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061109190830184611f35565b6020808252825182820181905260009190848201906040850190845b818110156120bb5783518352928401929184019160010161209f565b50909695505050505050565b901515815260200190565b600060208252611cbd6020830184611f35565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601a908201527f57617374696e6720676173206973206e6f7420616c6c6f776564000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b6020808252601a908201527f436c61696d696e67206d6f7265207468616e20616c6c6f776564000000000000604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b6020808252600f908201526e105b1c9958591e4818db185a5b5959608a1b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252600a9082015269135a5b9d1959081bdd5d60b21b604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243373231413a207175616e74697479206d75737420626520677265617465604082015267072207468616e20360c41b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b90815260200190565b60009081526020902090565b60008219821115612702576127026127c8565b500190565b600082612716576127166127de565b500490565b60008282101561272d5761272d6127c8565b500390565b60005b8381101561274d578181015183820152602001612735565b83811115610e3c5750506000910152565b60028104600182168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127ad576127ad6127c8565b5060010190565b6000826127c3576127c36127de565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461130957600080fdfea2646970667358221220fd1725c093eb7ff13ffe3f0fc07235ee9169de3937f3dbd28318cfb03840896f64736f6c63430008000033697066733a2f2f516d6345637238634267587457744438455573626d32544276347964356a4269355757535653386d704273535a520000000000000000000000009aa03df95b6d3c6edfb53c09a4a8473d0d642d32000000000000000000000000088dafd1c17c5fdfb9f2f7adaa157334435fe7cd000000000000000000000000094c8e76d9e1e2a9c447d115dd1df043947c81260000000000000000000000003b930f45b33dc543bd934aaf0d8156fe5315484e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102475760003560e01c80636f2ed0821161013b578063b88d4fde116100b8578063e985e9c51161007c578063e985e9c514610481578063f2fde38b14610494578063fa0a0f01146104a7578063fcbd4be7146104af578063fe2c7fee146104c257610247565b8063b88d4fde1461042d578063c6a5dc3014610440578063c87b56dd14610453578063d5abeb0114610466578063e0793cb81461046e57610247565b80638da5cb5b116100ff5780638da5cb5b146103fa57806395d89b4114610402578063a22cb4651461040a578063a475b5dd1461041d578063b444367a1461042557610247565b80636f2ed082146103b15780637035bf18146103c457806370a08231146103cc578063715018a6146103df5780637bf7a65f146103e757610247565b80632f745c59116101c9578063518302271161018d578063518302271461037357806355f804b31461037b5780635c975abb1461038e5780636352211e146103965780636c0360eb146103a957610247565b80632f745c5914610312578063385df6491461032557806342842e0e1461032d578063438b6300146103405780634f6ccce71461036057610247565b806308833ea61161021057806308833ea6146102c7578063095ea7b3146102cf5780631249c58b146102e257806318160ddd146102ea57806323b872dd146102ff57610247565b8062e445901461024c57806301ffc9a71461026a57806303959c761461028a57806306fdde031461029f578063081812fc146102b4575b600080fd5b6102546104d5565b604051610261919061203c565b60405180910390f35b61027d610278366004611e60565b6104e4565b60405161026191906120c7565b61029d610298366004611ca3565b610547565b005b6102a76105b1565b60405161026191906120d2565b6102546102c2366004611ede565b610643565b610254610686565b61029d6102dd366004611e37565b610695565b61029d61072e565b6102f26107ba565b60405161026191906126da565b61029d61030d366004611cf6565b6107c0565b6102f2610320366004611e37565b6107cb565b61029d6108b6565b61029d61033b366004611cf6565b610909565b61035361034e366004611ca3565b610924565b6040516102619190612083565b6102f261036e366004611ede565b610a20565b61027d610a4c565b61029d610389366004611e98565b610a5a565b61027d610ab0565b6102546103a4366004611ede565b610ab9565b6102a7610acb565b61029d6103bf366004611ca3565b610b59565b6102a7610bba565b6102f26103da366004611ca3565b610bc7565b61029d610c14565b61029d6103f5366004611ca3565b610c5d565b610254610cbe565b6102a7610ccd565b61029d610418366004611daa565b610cdc565b61029d610daa565b610254610dfa565b61029d61043b366004611d31565b610e09565b6102f261044e366004611dd3565b610e42565b6102a7610461366004611ede565b61109b565b6102f2611195565b61029d61047c366004611f0e565b61119b565b61027d61048f366004611cc4565b61126d565b61029d6104a2366004611ca3565b61129b565b61025461130c565b61029d6104bd366004611ca3565b61131b565b61029d6104d0366004611e98565b61137c565b600f546001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b148061051557506001600160e01b03198216635b5e139f60e01b145b8061053057506001600160e01b0319821663780e9d6360e01b145b8061053f575061053f826113ce565b90505b919050565b61054f6113e7565b6001600160a01b0316610560610cbe565b6001600160a01b03161461058f5760405162461bcd60e51b8152600401610586906123c4565b60405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546105c09061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec9061275e565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b5050505050905090565b600061064e826113eb565b61066a5760405162461bcd60e51b81526004016105869061268d565b506000908152600560205260409020546001600160a01b031690565b600e546001600160a01b031681565b60006106a082610ab9565b9050806001600160a01b0316836001600160a01b031614156106d45760405162461bcd60e51b8152600401610586906124d1565b806001600160a01b03166106e66113e7565b6001600160a01b0316148061070257506107028161048f6113e7565b61071e5760405162461bcd60e51b8152600401610586906122ad565b6107298383836113f2565b505050565b60095460ff16156107515760405162461bcd60e51b815260040161058690612661565b60085461075c6107ba565b6107679060016126ef565b11156107855760405162461bcd60e51b815260040161058690612566565b600161079033610bc7565b106107ad5760405162461bcd60e51b815260040161058690612355565b6107b833600161144e565b565b60005490565b610729838383611468565b60006107d683610bc7565b82106107f45760405162461bcd60e51b8152600401610586906120e5565b60006107fe6107ba565b905060008060005b83811015610897576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561085957805192505b876001600160a01b0316836001600160a01b0316141561088e5786841415610887575093506108b092505050565b6001909301925b50600101610806565b5060405162461bcd60e51b815260040161058690612613565b92915050565b6108be6113e7565b6001600160a01b03166108cf610cbe565b6001600160a01b0316146108f55760405162461bcd60e51b8152600401610586906123c4565b6009805460ff19811660ff90911615179055565b61072983838360405180602001604052806000815250610e09565b6060600061093183610bc7565b905060008167ffffffffffffffff81111561095c57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610985578160200160208202803683370190505b5090506000805b838110801561099d57506008548211155b15610a165760006109ad83610ab9565b9050866001600160a01b0316816001600160a01b03161415610a0357828483815181106109ea57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152816109ff81612799565b9250505b82610a0d81612799565b9350505061098c565b5090949350505050565b6000610a2a6107ba565b8210610a485760405162461bcd60e51b815260040161058690612225565b5090565b600954610100900460ff1681565b610a626113e7565b6001600160a01b0316610a73610cbe565b6001600160a01b031614610a995760405162461bcd60e51b8152600401610586906123c4565b8051610aac90600a906020840190611b60565b5050565b60095460ff1681565b6000610ac4826116ce565b5192915050565b600a8054610ad89061275e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b049061275e565b8015610b515780601f10610b2657610100808354040283529160200191610b51565b820191906000526020600020905b815481529060010190602001808311610b3457829003601f168201915b505050505081565b610b616113e7565b6001600160a01b0316610b72610cbe565b6001600160a01b031614610b985760405162461bcd60e51b8152600401610586906123c4565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600b8054610ad89061275e565b60006001600160a01b038216610bef5760405162461bcd60e51b81526004016105869061230a565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b610c1c6113e7565b6001600160a01b0316610c2d610cbe565b6001600160a01b031614610c535760405162461bcd60e51b8152600401610586906123c4565b6107b86000611756565b610c656113e7565b6001600160a01b0316610c76610cbe565b6001600160a01b031614610c9c5760405162461bcd60e51b8152600401610586906123c4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031690565b6060600280546105c09061275e565b610ce46113e7565b6001600160a01b0316826001600160a01b03161415610d155760405162461bcd60e51b815260040161058690612448565b8060066000610d226113e7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610d666113e7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d9e91906120c7565b60405180910390a35050565b610db26113e7565b6001600160a01b0316610dc3610cbe565b6001600160a01b031614610de95760405162461bcd60e51b8152600401610586906123c4565b6009805461ff001916610100179055565b600d546001600160a01b031681565b610e14848484611468565b610e20848484846117a8565b610e3c5760405162461bcd60e51b815260040161058690612513565b50505050565b6000808515610ed857600c546040516370a0823160e01b81526001600160a01b03909116906370a0823190610e7b908a9060040161203c565b60206040518083038186803b158015610e9357600080fd5b505afa158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb9190611ef6565b610ed590826126ef565b90505b8415610f6b57600d546040516370a0823160e01b81526001600160a01b03909116906370a0823190610f0e908a9060040161203c565b60206040518083038186803b158015610f2657600080fd5b505afa158015610f3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5e9190611ef6565b610f6890826126ef565b90505b8315610ffe57600e546040516370a0823160e01b81526001600160a01b03909116906370a0823190610fa1908a9060040161203c565b60206040518083038186803b158015610fb957600080fd5b505afa158015610fcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff19190611ef6565b610ffb90826126ef565b90505b821561109157600f546040516370a0823160e01b81526001600160a01b03909116906370a0823190611034908a9060040161203c565b60206040518083038186803b15801561104c57600080fd5b505afa158015611060573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110849190611ef6565b61108e90826126ef565b90505b9695505050505050565b60606110a6826113eb565b6110c25760405162461bcd60e51b8152600401610586906123f9565b600954610100900460ff1661116357600b80546110de9061275e565b80601f016020809104026020016040519081016040528092919081815260200182805461110a9061275e565b80156111575780601f1061112c57610100808354040283529160200191611157565b820191906000526020600020905b81548152906001019060200180831161113a57829003601f168201915b50505050509050610542565b600a61116e836118c4565b60405160200161117f929190611f8e565b6040516020818303038152906040529050919050565b60085481565b60095460ff16156111be5760405162461bcd60e51b815260040161058690612661565b600085116111de5760405162461bcd60e51b815260040161058690612127565b600854856111ea6107ba565b6111f491906126ef565b11156112125760405162461bcd60e51b815260040161058690612566565b61121f3385858585610e42565b61122a9060016126ef565b8561123433610bc7565b61123e91906126ef565b111561125c5760405162461bcd60e51b8152600401610586906121ee565b611266338661144e565b5050505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6112a36113e7565b6001600160a01b03166112b4610cbe565b6001600160a01b0316146112da5760405162461bcd60e51b8152600401610586906123c4565b6001600160a01b0381166113005760405162461bcd60e51b81526004016105869061215e565b61130981611756565b50565b600c546001600160a01b031681565b6113236113e7565b6001600160a01b0316611334610cbe565b6001600160a01b03161461135a5760405162461bcd60e51b8152600401610586906123c4565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6113846113e7565b6001600160a01b0316611395610cbe565b6001600160a01b0316146113bb5760405162461bcd60e51b8152600401610586906123c4565b8051610aac90600b906020840190611b60565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b6000541190565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610aac8282604051806020016040528060008152506119df565b6000611473826116ce565b9050600081600001516001600160a01b031661148d6113e7565b6001600160a01b031614806114c257506114a56113e7565b6001600160a01b03166114b784610643565b6001600160a01b0316145b806114d6575081516114d69061048f6113e7565b9050806114f55760405162461bcd60e51b81526004016105869061247f565b846001600160a01b031682600001516001600160a01b03161461152a5760405162461bcd60e51b81526004016105869061237e565b6001600160a01b0384166115505760405162461bcd60e51b815260040161058690612268565b61155d8585856001610e3c565b61156d60008484600001516113f2565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160a01b03191690911767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff160217905590860180835291205490911661167f57611621816113eb565b1561167f578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b0267ffffffffffffffff60a01b196001600160a01b039094166001600160a01b031990931692909217929092161790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112668585856001610e3c565b6116d6611be0565b6116df826113eb565b6116fb5760405162461bcd60e51b8152600401610586906121a4565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561174c5791506105429050565b50600019016116fd565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006117bc846001600160a01b03166119ec565b156118b857836001600160a01b031663150b7a026117d86113e7565b8786866040518563ffffffff1660e01b81526004016117fa9493929190612050565b602060405180830381600087803b15801561181457600080fd5b505af1925050508015611844575060408051601f3d908101601f1916820190925261184191810190611e7c565b60015b61189e573d808015611872576040519150601f19603f3d011682016040523d82523d6000602084013e611877565b606091505b5080516118965760405162461bcd60e51b815260040161058690612513565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118bc565b5060015b949350505050565b6060816118e957506040805180820190915260018152600360fc1b6020820152610542565b8160005b811561191357806118fd81612799565b915061190c9050600a83612707565b91506118ed565b60008167ffffffffffffffff81111561193c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611966576020820181803683370190505b5090505b84156118bc5761197b60018361271b565b9150611988600a866127b4565b6119939060306126ef565b60f81b8183815181106119b657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506119d8600a86612707565b945061196a565b61072983838360016119f2565b3b151590565b6000546001600160a01b038516611a1b5760405162461bcd60e51b81526004016105869061258a565b83611a385760405162461bcd60e51b8152600401610586906125cb565b611a456000868387610e3c565b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160801b039182168b01821617808216600160801b9182900483168c01909216021790558483526003909152812080546001600160a01b03191690921767ffffffffffffffff60a01b1916600160a01b4267ffffffffffffffff16021790915581905b85811015611b4e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315611b4257611b2660008884886117a8565b611b425760405162461bcd60e51b815260040161058690612513565b60019182019101611ad3565b50600090815561126690868387610e3c565b828054611b6c9061275e565b90600052602060002090601f016020900481019282611b8e5760008555611bd4565b82601f10611ba757805160ff1916838001178555611bd4565b82800160010185558215611bd4579182015b82811115611bd4578251825591602001919060010190611bb9565b50610a48929150611bf7565b604080518082019091526000808252602082015290565b5b80821115610a485760008155600101611bf8565b600067ffffffffffffffff80841115611c2757611c276127f4565b604051601f8501601f191681016020018281118282101715611c4b57611c4b6127f4565b604052848152915081838501861015611c6357600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461054257600080fd5b8035801515811461054257600080fd5b600060208284031215611cb4578081fd5b611cbd82611c7c565b9392505050565b60008060408385031215611cd6578081fd5b611cdf83611c7c565b9150611ced60208401611c7c565b90509250929050565b600080600060608486031215611d0a578081fd5b611d1384611c7c565b9250611d2160208501611c7c565b9150604084013590509250925092565b60008060008060808587031215611d46578081fd5b611d4f85611c7c565b9350611d5d60208601611c7c565b925060408501359150606085013567ffffffffffffffff811115611d7f578182fd5b8501601f81018713611d8f578182fd5b611d9e87823560208401611c0c565b91505092959194509250565b60008060408385031215611dbc578182fd5b611dc583611c7c565b9150611ced60208401611c93565b600080600080600060a08688031215611dea578081fd5b611df386611c7c565b9450611e0160208701611c93565b9350611e0f60408701611c93565b9250611e1d60608701611c93565b9150611e2b60808701611c93565b90509295509295909350565b60008060408385031215611e49578182fd5b611e5283611c7c565b946020939093013593505050565b600060208284031215611e71578081fd5b8135611cbd8161280a565b600060208284031215611e8d578081fd5b8151611cbd8161280a565b600060208284031215611ea9578081fd5b813567ffffffffffffffff811115611ebf578182fd5b8201601f81018413611ecf578182fd5b6118bc84823560208401611c0c565b600060208284031215611eef578081fd5b5035919050565b600060208284031215611f07578081fd5b5051919050565b600080600080600060a08688031215611f25578081fd5b85359450611e0160208701611c93565b60008151808452611f4d816020860160208601612732565b601f01601f19169290920160200192915050565b60008151611f73818560208601612732565b9290920192915050565b64173539b7b760d91b815260050190565b8254600090819060028104600180831680611faa57607f831692505b6020808410821415611fca57634e487b7160e01b87526022600452602487fd5b818015611fde5760018114611fef5761201b565b60ff1986168952848901965061201b565b611ff88b6126e3565b885b868110156120135781548b820152908501908301611ffa565b505084890196505b50505050505061203361202e8286611f61565b611f7d565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061109190830184611f35565b6020808252825182820181905260009190848201906040850190845b818110156120bb5783518352928401929184019160010161209f565b50909695505050505050565b901515815260200190565b600060208252611cbd6020830184611f35565b60208082526022908201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b6020808252601a908201527f57617374696e6720676173206973206e6f7420616c6c6f776564000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736040820152693a32b73a103a37b5b2b760b11b606082015260800190565b6020808252601a908201527f436c61696d696e67206d6f7265207468616e20616c6c6f776564000000000000604082015260600190565b60208082526023908201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756040820152626e647360e81b606082015260800190565b60208082526025908201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526039908201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606082015260800190565b6020808252602b908201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b6020808252600f908201526e105b1c9958591e4818db185a5b5959608a1b604082015260600190565b60208082526026908201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746040820152651037bbb732b960d11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601a908201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604082015260600190565b60208082526032908201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b60208082526022908201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60408201526132b960f11b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252600a9082015269135a5b9d1959081bdd5d60b21b604082015260600190565b60208082526021908201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526028908201527f455243373231413a207175616e74697479206d75737420626520677265617465604082015267072207468616e20360c41b606082015260800190565b6020808252602e908201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060408201526d0deeedccae440c4f240d2dcc8caf60931b606082015260800190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b6020808252602d908201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560408201526c3c34b9ba32b73a103a37b5b2b760991b606082015260800190565b90815260200190565b60009081526020902090565b60008219821115612702576127026127c8565b500190565b600082612716576127166127de565b500490565b60008282101561272d5761272d6127c8565b500390565b60005b8381101561274d578181015183820152602001612735565b83811115610e3c5750506000910152565b60028104600182168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127ad576127ad6127c8565b5060010190565b6000826127c3576127c36127de565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461130957600080fdfea2646970667358221220fd1725c093eb7ff13ffe3f0fc07235ee9169de3937f3dbd28318cfb03840896f64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009aa03df95b6d3c6edfb53c09a4a8473d0d642d32000000000000000000000000088dafd1c17c5fdfb9f2f7adaa157334435fe7cd000000000000000000000000094c8e76d9e1e2a9c447d115dd1df043947c81260000000000000000000000003b930f45b33dc543bd934aaf0d8156fe5315484e
-----Decoded View---------------
Arg [0] : _cryptoPolzContractAddress (address): 0x9aA03df95b6D3c6edFb53c09A4A8473d0D642D32
Arg [1] : _polzillaContractAddress (address): 0x088dAFd1C17c5FdFB9F2f7aDaa157334435fE7CD
Arg [2] : _eggzillaContractAddress (address): 0x094c8E76d9E1E2a9c447D115dD1DF043947C8126
Arg [3] : _kongzillaContractAddress (address): 0x3b930f45B33dc543Bd934AAF0D8156FE5315484E
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000009aa03df95b6d3c6edfb53c09a4a8473d0d642d32
Arg [1] : 000000000000000000000000088dafd1c17c5fdfb9f2f7adaa157334435fe7cd
Arg [2] : 000000000000000000000000094c8e76d9e1e2a9c447d115dd1df043947c8126
Arg [3] : 0000000000000000000000003b930f45b33dc543bd934aaf0d8156fe5315484e
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.