ETH Price: $3,417.90 (+3.19%)

Token

Alien Bees Club (ABC)
 

Overview

Max Total Supply

7,777 ABC

Holders

512

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ABC
0xc6eb8dbef97fbc5b1f324ef84f060bb509aedbae
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AlienBees

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : AlienBees.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";    
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./RandomlyAssigned.sol";

contract AlienBees is ERC721, Ownable, ReentrancyGuard, RandomlyAssigned{
    uint256 public constant _totalSupply = 7777;
    uint256 public constant mintPrice = 30000000000000000;//0.003 ETH
    uint256 public reservedNFTLimit = 100;
    uint256 public publicLimit = 5;
    uint256 public HPLimit = 7;
    uint256 public WhiteListedLimit = 7;

    uint256 public reservedTokensMinted;

    string public baseURI;
    string public constant provenanceHash = "cca31106a60c4e9d9a3b690dfadf880ea66571f2f2374d634c52ef5645d2c7c7";
    string public placeholderURI = "https://ipfs.io/ipfs/QmVhPw9nvZq2xhHS9GHQstbGgLKMKF4VbAjtdg3CFXe7aC";

    bool public publicSale;
    bool public HPSale;
    bool public whiteListSale;
    bool internal isRevealed;
    
    address public constant HPContractAddress = 0x3606b0B69a36d7B46Db004A58dea74Ea2b885F0b;
    address public constant reservedWalletAddress = 0xE6546AD0CEfc3f57CF3b4Bba7cB55c53B78A4261;
    
    mapping(address => bool) public whiteListedWallets;
    mapping(address => uint256) public mintedTokensByAddress;

    constructor() ERC721("Alien Bees Club", "ABC") RandomlyAssigned(_totalSupply, 1){ }

    function setHivePalsSale(bool flag) external onlyOwner{
        HPSale = flag;
    }

    function setWhiteListedSale(bool flag) external onlyOwner{
        whiteListSale = flag;
    }

    function setPublicSale(bool flag) external onlyOwner{
        publicSale = flag;
    }

    function addNewWalletsForWhiteList(address[] memory WhiteListAddress) external onlyOwner{  
        for(uint32 i =0; i < WhiteListAddress.length; i++){
            whiteListedWallets[WhiteListAddress[i]] = true;
        }
    }

    function hpUserBalanceCheck() public view returns(uint256) {
        uint256 balance = (IERC721(HPContractAddress).balanceOf(msg.sender)); 
        return balance;
    }

    function mintBee(uint256 quantity) public payable nonReentrant {
        require((HPSale == true || whiteListSale == true || publicSale == true), "Minting is not live.");
        require((quantity + tokenCount() + reservedNFTLimit - reservedTokensMinted) <= totalSupply(), "Mint Completed"); 
        require(msg.value >= (mintPrice * quantity), "Insufficient funds passed to mint requested quantity.");
        uint256 balance = (IERC721(HPContractAddress).balanceOf(msg.sender)); 
        require(publicSale == true || (HPSale == true && balance > 0) || (whiteListSale == true && whiteListedWallets[msg.sender] == true)
            , "Minting is not live.");
        uint256 tokensMintedByUser = mintedTokensByAddress[msg.sender];
        uint256 totalMintLimit = 0;
        
        totalMintLimit += (balance > 0 && HPSale == true) ?  HPLimit: 0;
        totalMintLimit += (whiteListedWallets[msg.sender] == true && whiteListSale == true) ? WhiteListedLimit : 0;
        totalMintLimit += (publicSale == true) ? publicLimit : 0;

        require((tokensMintedByUser + quantity) <= totalMintLimit, "Your mint limit has been met.");
        for (uint256 i = 1; i <= quantity; i++) {
            uint256 id = nextToken();
            _safeMint(msg.sender, id);
        }
        mintedTokensByAddress[msg.sender] += quantity;
        if(msg.value > (mintPrice * quantity)){
            payable(msg.sender).transfer(msg.value - (mintPrice * quantity));
        }
    }

    function mintReserved(uint256 quantity) public {
        require(reservedWalletAddress == msg.sender, "Permission Denied.");
        require((quantity + tokenCount()) <= totalSupply(), "All NFTs are already minted");
        require( (reservedTokensMinted + quantity) <= reservedNFTLimit, "You cannot mint more reserved NFTs.");

        for (uint256 i = 1; i <= quantity; i++) {
            uint256 id = nextToken();
            _safeMint(msg.sender, id);
        }
        reservedTokensMinted += quantity;
        mintedTokensByAddress[msg.sender] += quantity;
    }

    function freeMint(address[] memory walletAddresses) public onlyOwner {
        require((tokenCount() + walletAddresses.length + reservedNFTLimit - reservedTokensMinted) <= totalSupply(), "You cannot mint more thann total supply.");

        for (uint256 i = 0; i < walletAddresses.length; i++) {
            uint256 id = nextToken();
            _safeMint(walletAddresses[i], id);
        }
    }

    function freeMintBatch(address[] memory walletAddresses, uint8[] memory quantities) public onlyOwner {
        require(walletAddresses.length == quantities.length, "Input data length mismatched. Check input length.");
        uint256 totalQuantityToMint = 0;

        for (uint256 i = 0; i < quantities.length; i++) {
            totalQuantityToMint += quantities[i];
        }
        require((totalQuantityToMint + tokenCount() + reservedNFTLimit - reservedTokensMinted) <= totalSupply(), "Mint Completed");

        for (uint256 i = 0; i < walletAddresses.length; i++) {
            for (uint256 j = 0; j < quantities[i]; j++) {
                uint256 id = nextToken();
                _safeMint(walletAddresses[i], id);
            }
        }
    }

    function updateBaseURI(string memory _baseuri) public onlyOwner{
        require(bytes(_baseuri).length > 0, "Base URI cannot be empty.");
        baseURI   =   _baseuri;
    }

    function updateRevealStatus(bool _isRevealed) external onlyOwner{
        isRevealed = _isRevealed;
    }

    function updatePlaceholderURI(string memory _placeholderURI) external onlyOwner {
        require(bytes(_placeholderURI).length > 0, "Placeholder URI cannot be empty.");
        placeholderURI = _placeholderURI;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token");
        return (isRevealed == true) ? string(abi.encodePacked(baseURI, Strings.toString(tokenId),".json")) : placeholderURI ;
    }

    function updateMintLimit(uint256 saleType, uint256 newLimit) public onlyOwner{
        require(newLimit > 0, "Limit should be greater than 0.");
        require(saleType == 1 || saleType == 2 || saleType == 3, "Invalid sale type.");
        if(saleType == 1){
            publicLimit  = newLimit;
        }else if(saleType == 2 ){
            HPLimit = newLimit;
        }else if(saleType == 3){
            WhiteListedLimit = newLimit;
        }
    }

    function withdraw() public payable onlyOwner{  
        payable(msg.sender).transfer(address(this).balance);
    }

    receive() external payable {}
    fallback() external payable {}
}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

File 3 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 4 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 5 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 6 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 15 : RandomlyAssigned.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./WithLimitedSupply.sol";
abstract contract RandomlyAssigned is WithLimitedSupply {
    mapping(uint256 => uint256) private tokenMatrix;
    uint256 private startFrom;
    constructor (uint256 _totalSupply, uint256 _startFrom) WithLimitedSupply(_totalSupply){
        startFrom = _startFrom;
    }
    function nextToken() internal override ensureAvailability returns (uint256) {
        uint256 maxIndex = totalSupply() - tokenCount();
        uint256 random = uint256(keccak256(abi.encodePacked(msg.sender, block.coinbase, block.difficulty, block.gaslimit, block.timestamp))) % maxIndex;
        uint256 value;
        if (tokenMatrix[random] == 0) {
            value = random;
        } else {
            value = tokenMatrix[random];
        }
        if (tokenMatrix[maxIndex - 1] == 0) {
            tokenMatrix[random] = maxIndex - 1;
        } else {
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }
        super.nextToken();
        return value + startFrom;
    }
}

File 8 of 15 : Context.sol
// 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;
    }
}

File 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 15 : IERC721Metadata.sol
// 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);
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : ERC165.sol
// 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;
    }
}

File 13 of 15 : IERC165.sol
// 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);
}

File 14 of 15 : WithLimitedSupply.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Counters.sol";
abstract contract WithLimitedSupply {
    using Counters for Counters.Counter;
    event SupplyChanged(uint256 indexed supply);
    Counters.Counter private _tokenCount;
    uint256 private _totalSupply;
    constructor (uint256 totalSupply_) {
        _totalSupply = totalSupply_;
    }
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }
    function tokenCount() public view returns (uint256) {
        return _tokenCount.current();
    }
    function availableTokenCount() public view returns (uint256) {
        return totalSupply() - tokenCount();
    }
    function nextToken() internal virtual returns (uint256) {
        uint256 token = _tokenCount.current();
        _tokenCount.increment();
        return token;
    }

    modifier ensureAvailability() {
        require(availableTokenCount() > 0, "No more tokens available");
        _;
    }

    modifier ensureAvailabilityFor(uint256 amount) {
        require(availableTokenCount() >= amount, "Requested number of tokens not available");
        _;
    }

    function _setSupply(uint256 _supply) internal virtual {
        require(_supply > tokenCount(), "Can't set the supply to less than the current token count");
        _totalSupply = _supply;
        emit SupplyChanged(totalSupply());
    }
}

File 15 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"uint256","name":"supply","type":"uint256"}],"name":"SupplyChanged","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"HPContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HPLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HPSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WhiteListedLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"WhiteListAddress","type":"address[]"}],"name":"addNewWalletsForWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"walletAddresses","type":"address[]"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletAddresses","type":"address[]"},{"internalType":"uint8[]","name":"quantities","type":"uint8[]"}],"name":"freeMintBatch","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":[],"name":"hpUserBalanceCheck","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintBee","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedTokensByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedNFTLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bool","name":"flag","type":"bool"}],"name":"setHivePalsSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"setWhiteListedSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseuri","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleType","type":"uint256"},{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"updateMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_placeholderURI","type":"string"}],"name":"updatePlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"updateRevealStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whiteListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListedWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6064600c556005600d556007600e819055600f5561010060405260436080818152906200310b60a03980516200003e9160129160209091019062000142565b503480156200004c57600080fd5b50604080518082018252600f81526e20b634b2b7102132b2b99021b63ab160891b60208083019182528351808501909452600384526241424360e81b908401528151611e619360019385939092620000a79160009162000142565b508051620000bd90600190602084019062000142565b505050620000da620000d4620000ec60201b60201c565b620000f0565b6001600755600955600b555062000225565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015090620001e8565b90600052602060002090601f016020900481019282620001745760008555620001bf565b82601f106200018f57805160ff1916838001178555620001bf565b82800160010185558215620001bf579182015b82811115620001bf578251825591602001919060010190620001a2565b50620001cd929150620001d1565b5090565b5b80821115620001cd5760008155600101620001d2565b600181811c90821680620001fd57607f821691505b602082108114156200021f57634e487b7160e01b600052602260045260246000fd5b50919050565b612ed680620002356000396000f3fe6080604052600436106102af5760003560e01c8063715018a611610166578063ae4d673e116100d3578063cc5111491161008f578063e985e9c51161006c578063e985e9c514610812578063f2fde38b1461085b578063f3e388211461087b578063f44c2a751461089157005b8063cc511149146107ba578063d08c85f5146107e7578063e14ca353146107fd57005b8063ae4d673e146106fd578063b88d4fde14610725578063be483ee214610745578063c2dedf9c14610765578063c6ab67a314610785578063c87b56dd1461079a57005b80639a5d140b116101225780639a5d140b146106525780639f181b5e14610672578063a22cb46514610687578063a4331d2d146106a7578063a77c26f5146106bd578063ab4eb362146106dd57005b8063715018a6146105b55780637313cba9146105ca57806386a173ee146105df5780638da5cb5b146105ff578063931688cb1461061d57806395d89b411461063d57005b806333bc1c5c1161021c5780635aca1bb6116101d857806363fcd4fe116101b557806363fcd4fe146105455780636817c76c146105655780636c0360eb1461058057806370a082311461059557005b80635aca1bb6146104d55780635c624220146104f55780636352211e1461052557005b806333bc1c5c1461043e5780633ccfd60b146104585780633eaaf86b1461046057806342842e0e1461047657806344387dcb1461049657806352bd9d0e146104b557005b8063150f885e1161026b578063150f885e146103a157806318160ddd146103c157806323b872dd146103d6578063255a4425146103f65780632ab475d7146104165780632c5a39eb1461042957005b806301ffc9a7146102b8578063049e992f146102ed57806306fdde0314610311578063081812fc14610333578063095ea7b31461036b5780630d0625721461038b57005b366102b657005b005b3480156102c457600080fd5b506102d86102d33660046129d6565b6108b9565b60405190151581526020015b60405180910390f35b3480156102f957600080fd5b50610303600c5481565b6040519081526020016102e4565b34801561031d57600080fd5b5061032661090b565b6040516102e49190612be4565b34801561033f57600080fd5b5061035361034e366004612a54565b61099d565b6040516001600160a01b0390911681526020016102e4565b34801561037757600080fd5b506102b6610386366004612896565b6109c4565b34801561039757600080fd5b50610303600f5481565b3480156103ad57600080fd5b506102b66103bc366004612a84565b610adf565b3480156103cd57600080fd5b50600954610303565b3480156103e257600080fd5b506102b66103f13660046127b9565b610bc3565b34801561040257600080fd5b506102b66104113660046128f2565b610bf4565b6102b6610424366004612a54565b610dd7565b34801561043557600080fd5b506103036112a3565b34801561044a57600080fd5b506013546102d89060ff1681565b6102b661132a565b34801561046c57600080fd5b50610303611e6181565b34801561048257600080fd5b506102b66104913660046127b9565b611361565b3480156104a257600080fd5b506013546102d890610100900460ff1681565b3480156104c157600080fd5b506102b66104d03660046128bf565b61137c565b3480156104e157600080fd5b506102b66104f03660046129bc565b611406565b34801561050157600080fd5b506102d8610510366004612766565b60146020526000908152604090205460ff1681565b34801561053157600080fd5b50610353610540366004612a54565b611421565b34801561055157600080fd5b506102b6610560366004612a0e565b611481565b34801561057157600080fd5b50610303666a94d74f43000081565b34801561058c57600080fd5b506103266114ed565b3480156105a157600080fd5b506103036105b0366004612766565b61157b565b3480156105c157600080fd5b506102b6611601565b3480156105d657600080fd5b50610326611615565b3480156105eb57600080fd5b506013546102d89062010000900460ff1681565b34801561060b57600080fd5b506006546001600160a01b0316610353565b34801561062957600080fd5b506102b6610638366004612a0e565b611622565b34801561064957600080fd5b5061032661168e565b34801561065e57600080fd5b506102b661066d366004612a54565b61169d565b34801561067e57600080fd5b50610303611835565b34801561069357600080fd5b506102b66106a236600461286d565b611845565b3480156106b357600080fd5b50610303600d5481565b3480156106c957600080fd5b506102b66106d83660046129bc565b611850565b3480156106e957600080fd5b506102b66106f83660046128bf565b611874565b34801561070957600080fd5b5061035373e6546ad0cefc3f57cf3b4bba7cb55c53b78a426181565b34801561073157600080fd5b506102b66107403660046127f4565b61195a565b34801561075157600080fd5b506102b66107603660046129bc565b61198c565b34801561077157600080fd5b506102b66107803660046129bc565b6119ae565b34801561079157600080fd5b506103266119d4565b3480156107a657600080fd5b506103266107b5366004612a54565b6119f0565b3480156107c657600080fd5b506103036107d5366004612766565b60156020526000908152604090205481565b3480156107f357600080fd5b50610303600e5481565b34801561080957600080fd5b50610303611b46565b34801561081e57600080fd5b506102d861082d366004612787565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561086757600080fd5b506102b6610876366004612766565b611b5d565b34801561088757600080fd5b5061030360105481565b34801561089d57600080fd5b50610353733606b0b69a36d7b46db004a58dea74ea2b885f0b81565b60006001600160e01b031982166380ac58cd60e01b14806108ea57506001600160e01b03198216635b5e139f60e01b145b8061090557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461091a90612d7a565b80601f016020809104026020016040519081016040528092919081815260200182805461094690612d7a565b80156109935780601f1061096857610100808354040283529160200191610993565b820191906000526020600020905b81548152906001019060200180831161097657829003601f168201915b5050505050905090565b60006109a882611bd3565b506000908152600460205260409020546001600160a01b031690565b60006109cf82611421565b9050806001600160a01b0316836001600160a01b03161415610a425760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a5e5750610a5e813361082d565b610ad05760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a39565b610ada8383611c32565b505050565b610ae7611ca0565b60008111610b375760405162461bcd60e51b815260206004820152601f60248201527f4c696d69742073686f756c642062652067726561746572207468616e20302e006044820152606401610a39565b8160011480610b465750816002145b80610b515750816003145b610b925760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b21039b0b632903a3cb8329760711b6044820152606401610a39565b8160011415610ba157600d5550565b8160021415610bb057600e5550565b8160031415610bbf57600f8190555b5050565b610bcd3382611cfa565b610be95760405162461bcd60e51b8152600401610a3990612c49565b610ada838383611d79565b610bfc611ca0565b8051825114610c675760405162461bcd60e51b815260206004820152603160248201527f496e7075742064617461206c656e677468206d69736d6174636865642e20436860448201527032b1b59034b7383aba103632b733ba341760791b6064820152608401610a39565b6000805b8251811015610cbe57828181518110610c9457634e487b7160e01b600052603260045260246000fd5b602002602001015160ff1682610caa9190612cec565b915080610cb681612db5565b915050610c6b565b50600954601054600c54610cd0611835565b610cda9085612cec565b610ce49190612cec565b610cee9190612d37565b1115610d2d5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d0810dbdb5c1b195d195960921b6044820152606401610a39565b60005b8351811015610dd15760005b838281518110610d5c57634e487b7160e01b600052603260045260246000fd5b602002602001015160ff16811015610dbe576000610d78611f15565b9050610dab868481518110610d9d57634e487b7160e01b600052603260045260246000fd5b6020026020010151826120ad565b5080610db681612db5565b915050610d3c565b5080610dc981612db5565b915050610d30565b50505050565b60026007541415610e2a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a39565b600260075560135460ff61010090910416151560011480610e58575060135462010000900460ff1615156001145b80610e6a575060135460ff1615156001145b610ead5760405162461bcd60e51b815260206004820152601460248201527326b4b73a34b7339034b9903737ba103634bb329760611b6044820152606401610a39565b600954601054600c54610ebe611835565b610ec89085612cec565b610ed29190612cec565b610edc9190612d37565b1115610f1b5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d0810dbdb5c1b195d195960921b6044820152606401610a39565b610f2c81666a94d74f430000612d18565b341015610f995760405162461bcd60e51b815260206004820152603560248201527f496e73756666696369656e742066756e64732070617373656420746f206d696e6044820152743a103932b8bab2b9ba32b21038bab0b73a34ba3c9760591b6064820152608401610a39565b6040516370a0823160e01b8152336004820152600090733606b0b69a36d7b46db004a58dea74ea2b885f0b906370a082319060240160206040518083038186803b158015610fe657600080fd5b505afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190612a6c565b60135490915060ff1615156001148061104f575060135460ff610100909104161515600114801561104f5750600081115b80611086575060135462010000900460ff161515600114801561108657503360009081526014602052604090205460ff1615156001145b6110c95760405162461bcd60e51b815260206004820152601460248201527326b4b73a34b7339034b9903737ba103634bb329760611b6044820152606401610a39565b336000908152601560205260408120549082158015906110f6575060135460ff6101009091041615156001145b611101576000611105565b600e545b61110f9082612cec565b3360009081526014602052604090205490915060ff1615156001148015611143575060135462010000900460ff1615156001145b61114e576000611152565b600f545b61115c9082612cec565b60135490915060ff161515600114611175576000611179565b600d545b6111839082612cec565b9050806111908584612cec565b11156111de5760405162461bcd60e51b815260206004820152601d60248201527f596f7572206d696e74206c696d697420686173206265656e206d65742e0000006044820152606401610a39565b60015b8481116112115760006111f2611f15565b90506111fe33826120ad565b508061120981612db5565b9150506111e1565b503360009081526015602052604081208054869290611231908490612cec565b90915550611248905084666a94d74f430000612d18565b34111561129857336108fc61126486666a94d74f430000612d18565b61126e9034612d37565b6040518115909202916000818181858888f19350505050158015611296573d6000803e3d6000fd5b505b505060016007555050565b6040516370a0823160e01b81523360048201526000908190733606b0b69a36d7b46db004a58dea74ea2b885f0b906370a082319060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190612a6c565b611332611ca0565b60405133904780156108fc02916000818181858888f1935050505015801561135e573d6000803e3d6000fd5b50565b610ada8383836040518060200160405280600081525061195a565b611384611ca0565b60005b81518163ffffffff161015610bbf57600160146000848463ffffffff16815181106113c257634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806113fe81612dd0565b915050611387565b61140e611ca0565b6013805460ff1916911515919091179055565b6000818152600260205260408120546001600160a01b0316806109055760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a39565b611489611ca0565b60008151116114da5760405162461bcd60e51b815260206004820181905260248201527f506c616365686f6c646572205552492063616e6e6f7420626520656d7074792e6044820152606401610a39565b8051610bbf9060129060208401906125d8565b601180546114fa90612d7a565b80601f016020809104026020016040519081016040528092919081815260200182805461152690612d7a565b80156115735780601f1061154857610100808354040283529160200191611573565b820191906000526020600020905b81548152906001019060200180831161155657829003601f168201915b505050505081565b60006001600160a01b0382166115e55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a39565b506001600160a01b031660009081526003602052604090205490565b611609611ca0565b61161360006120c7565b565b601280546114fa90612d7a565b61162a611ca0565b600081511161167b5760405162461bcd60e51b815260206004820152601960248201527f42617365205552492063616e6e6f7420626520656d7074792e000000000000006044820152606401610a39565b8051610bbf9060119060208401906125d8565b60606001805461091a90612d7a565b73e6546ad0cefc3f57cf3b4bba7cb55c53b78a426133146116f55760405162461bcd60e51b81526020600482015260126024820152712832b936b4b9b9b4b7b7102232b734b2b21760711b6044820152606401610a39565b600954611700611835565b61170a9083612cec565b11156117585760405162461bcd60e51b815260206004820152601b60248201527f416c6c204e4654732061726520616c7265616479206d696e74656400000000006044820152606401610a39565b600c54816010546117699190612cec565b11156117c35760405162461bcd60e51b815260206004820152602360248201527f596f752063616e6e6f74206d696e74206d6f7265207265736572766564204e466044820152622a399760e91b6064820152608401610a39565b60015b8181116117f65760006117d7611f15565b90506117e333826120ad565b50806117ee81612db5565b9150506117c6565b5080601060008282546118099190612cec565b9091555050336000908152601560205260408120805483929061182d908490612cec565b909155505050565b600061184060085490565b905090565b610bbf338383612119565b611858611ca0565b60138054911515620100000262ff000019909216919091179055565b61187c611ca0565b600954601054600c54835161188f611835565b6118999190612cec565b6118a39190612cec565b6118ad9190612d37565b111561190c5760405162461bcd60e51b815260206004820152602860248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e6e20746f74616c6044820152671039bab838363c9760c11b6064820152608401610a39565b60005b8151811015610bbf576000611922611f15565b9050611947838381518110610d9d57634e487b7160e01b600052603260045260246000fd5b508061195281612db5565b91505061190f565b6119643383611cfa565b6119805760405162461bcd60e51b8152600401610a3990612c49565b610dd1848484846121e8565b611994611ca0565b601380549115156101000261ff0019909216919091179055565b6119b6611ca0565b6013805491151563010000000263ff00000019909216919091179055565b604051806060016040528060408152602001612e616040913981565b6000818152600260205260409020546060906001600160a01b0316611a6f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a39565b6013546301000000900460ff161515600114611b155760128054611a9290612d7a565b80601f0160208091040260200160405190810160405280929190818152602001828054611abe90612d7a565b8015611b0b5780601f10611ae057610100808354040283529160200191611b0b565b820191906000526020600020905b815481529060010190602001808311611aee57829003601f168201915b5050505050610905565b6011611b208361221b565b604051602001611b31929190612aed565b60405160208183030381529060405292915050565b6000611b50611835565b6009546118409190612d37565b611b65611ca0565b6001600160a01b038116611bca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a39565b61135e816120c7565b6000818152600260205260409020546001600160a01b031661135e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a39565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c6782611421565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6006546001600160a01b031633146116135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a39565b600080611d0683611421565b9050806001600160a01b0316846001600160a01b03161480611d4d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d715750836001600160a01b0316611d668461099d565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d8c82611421565b6001600160a01b031614611df05760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a39565b6001600160a01b038216611e525760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a39565b611e5d600082611c32565b6001600160a01b0383166000908152600360205260408120805460019290611e86908490612d37565b90915550506001600160a01b0382166000908152600360205260408120805460019290611eb4908490612cec565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080611f20611b46565b11611f6d5760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520746f6b656e7320617661696c61626c6500000000000000006044820152606401610a39565b6000611f77611835565b600954611f849190612d37565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c611feb9190612df4565b6000818152600a60205260408120549192509061200957508061201a565b506000818152600a60205260409020545b600a6000612029600186612d37565b8152602001908152602001600020546000141561205f5761204b600184612d37565b6000838152600a602052604090205561208f565b600a600061206e600186612d37565b81526020808201929092526040908101600090812054858252600a90935220555b612097612335565b50600b546120a59082612cec565b935050505090565b610bbf828260405180602001604052806000815250612356565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561217b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a39565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121f3848484611d79565b6121ff84848484612389565b610dd15760405162461bcd60e51b8152600401610a3990612bf7565b60608161223f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612269578061225381612db5565b91506122629050600a83612d04565b9150612243565b60008167ffffffffffffffff81111561229257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122bc576020820181803683370190505b5090505b8415611d71576122d1600183612d37565b91506122de600a86612df4565b6122e9906030612cec565b60f81b81838151811061230c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061232e600a86612d04565b94506122c0565b60008061234160085490565b9050612351600880546001019055565b919050565b6123608383612496565b61236d6000848484612389565b610ada5760405162461bcd60e51b8152600401610a3990612bf7565b60006001600160a01b0384163b1561248b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123cd903390899088908890600401612ba7565b602060405180830381600087803b1580156123e757600080fd5b505af1925050508015612417575060408051601f3d908101601f19168201909252612414918101906129f2565b60015b612471573d808015612445576040519150601f19603f3d011682016040523d82523d6000602084013e61244a565b606091505b5080516124695760405162461bcd60e51b8152600401610a3990612bf7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d71565b506001949350505050565b6001600160a01b0382166124ec5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a39565b6000818152600260205260409020546001600160a01b0316156125515760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a39565b6001600160a01b038216600090815260036020526040812080546001929061257a908490612cec565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546125e490612d7a565b90600052602060002090601f016020900481019282612606576000855561264c565b82601f1061261f57805160ff191683800117855561264c565b8280016001018555821561264c579182015b8281111561264c578251825591602001919060010190612631565b5061265892915061265c565b5090565b5b80821115612658576000815560010161265d565b600067ffffffffffffffff83111561268b5761268b612e34565b61269e601f8401601f1916602001612c97565b90508281528383830111156126b257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461235157600080fd5b600082601f8301126126f0578081fd5b8135602061270561270083612cc8565b612c97565b80838252828201915082860187848660051b8901011115612724578586fd5b855b8581101561274957612737826126c9565b84529284019290840190600101612726565b5090979650505050505050565b8035801515811461235157600080fd5b600060208284031215612777578081fd5b612780826126c9565b9392505050565b60008060408385031215612799578081fd5b6127a2836126c9565b91506127b0602084016126c9565b90509250929050565b6000806000606084860312156127cd578081fd5b6127d6846126c9565b92506127e4602085016126c9565b9150604084013590509250925092565b60008060008060808587031215612809578081fd5b612812856126c9565b9350612820602086016126c9565b925060408501359150606085013567ffffffffffffffff811115612842578182fd5b8501601f81018713612852578182fd5b61286187823560208401612671565b91505092959194509250565b6000806040838503121561287f578182fd5b612888836126c9565b91506127b060208401612756565b600080604083850312156128a8578182fd5b6128b1836126c9565b946020939093013593505050565b6000602082840312156128d0578081fd5b813567ffffffffffffffff8111156128e6578182fd5b611d71848285016126e0565b60008060408385031215612904578182fd5b823567ffffffffffffffff8082111561291b578384fd5b612927868387016126e0565b935060209150818501358181111561293d578384fd5b85019050601f8101861361294f578283fd5b803561295d61270082612cc8565b80828252848201915084840189868560051b870101111561297c578687fd5b8694505b838510156129ac57803560ff81168114612998578788fd5b835260019490940193918501918501612980565b5080955050505050509250929050565b6000602082840312156129cd578081fd5b61278082612756565b6000602082840312156129e7578081fd5b813561278081612e4a565b600060208284031215612a03578081fd5b815161278081612e4a565b600060208284031215612a1f578081fd5b813567ffffffffffffffff811115612a35578182fd5b8201601f81018413612a45578182fd5b611d7184823560208401612671565b600060208284031215612a65578081fd5b5035919050565b600060208284031215612a7d578081fd5b5051919050565b60008060408385031215612a96578182fd5b50508035926020909101359150565b60008151808452612abd816020860160208601612d4e565b601f01601f19169290920160200192915050565b60008151612ae3818560208601612d4e565b9290920192915050565b600080845482600182811c915080831680612b0957607f831692505b6020808410821415612b2957634e487b7160e01b87526022600452602487fd5b818015612b3d5760018114612b4e57612b7a565b60ff19861689528489019650612b7a565b60008b815260209020885b86811015612b725781548b820152908501908301612b59565b505084890196505b505050505050612b9e612b8d8286612ad1565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bda90830184612aa5565b9695505050505050565b6020815260006127806020830184612aa5565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612cc057612cc0612e34565b604052919050565b600067ffffffffffffffff821115612ce257612ce2612e34565b5060051b60200190565b60008219821115612cff57612cff612e08565b500190565b600082612d1357612d13612e1e565b500490565b6000816000190483118215151615612d3257612d32612e08565b500290565b600082821015612d4957612d49612e08565b500390565b60005b83811015612d69578181015183820152602001612d51565b83811115610dd15750506000910152565b600181811c90821680612d8e57607f821691505b60208210811415612daf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612dc957612dc9612e08565b5060010190565b600063ffffffff80831681811415612dea57612dea612e08565b6001019392505050565b600082612e0357612e03612e1e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461135e57600080fdfe63636133313130366136306334653964396133623639306466616466383830656136363537316632663233373464363334633532656635363435643263376337a2646970667358221220b256cf77be9ba11021b93bd6ef03c681f5664bc57562ce924ac7d9862030795c64736f6c6343000804003368747470733a2f2f697066732e696f2f697066732f516d56685077396e765a7132786848533947485173746247674c4b4d4b46345662416a7464673343465865376143

Deployed Bytecode

0x6080604052600436106102af5760003560e01c8063715018a611610166578063ae4d673e116100d3578063cc5111491161008f578063e985e9c51161006c578063e985e9c514610812578063f2fde38b1461085b578063f3e388211461087b578063f44c2a751461089157005b8063cc511149146107ba578063d08c85f5146107e7578063e14ca353146107fd57005b8063ae4d673e146106fd578063b88d4fde14610725578063be483ee214610745578063c2dedf9c14610765578063c6ab67a314610785578063c87b56dd1461079a57005b80639a5d140b116101225780639a5d140b146106525780639f181b5e14610672578063a22cb46514610687578063a4331d2d146106a7578063a77c26f5146106bd578063ab4eb362146106dd57005b8063715018a6146105b55780637313cba9146105ca57806386a173ee146105df5780638da5cb5b146105ff578063931688cb1461061d57806395d89b411461063d57005b806333bc1c5c1161021c5780635aca1bb6116101d857806363fcd4fe116101b557806363fcd4fe146105455780636817c76c146105655780636c0360eb1461058057806370a082311461059557005b80635aca1bb6146104d55780635c624220146104f55780636352211e1461052557005b806333bc1c5c1461043e5780633ccfd60b146104585780633eaaf86b1461046057806342842e0e1461047657806344387dcb1461049657806352bd9d0e146104b557005b8063150f885e1161026b578063150f885e146103a157806318160ddd146103c157806323b872dd146103d6578063255a4425146103f65780632ab475d7146104165780632c5a39eb1461042957005b806301ffc9a7146102b8578063049e992f146102ed57806306fdde0314610311578063081812fc14610333578063095ea7b31461036b5780630d0625721461038b57005b366102b657005b005b3480156102c457600080fd5b506102d86102d33660046129d6565b6108b9565b60405190151581526020015b60405180910390f35b3480156102f957600080fd5b50610303600c5481565b6040519081526020016102e4565b34801561031d57600080fd5b5061032661090b565b6040516102e49190612be4565b34801561033f57600080fd5b5061035361034e366004612a54565b61099d565b6040516001600160a01b0390911681526020016102e4565b34801561037757600080fd5b506102b6610386366004612896565b6109c4565b34801561039757600080fd5b50610303600f5481565b3480156103ad57600080fd5b506102b66103bc366004612a84565b610adf565b3480156103cd57600080fd5b50600954610303565b3480156103e257600080fd5b506102b66103f13660046127b9565b610bc3565b34801561040257600080fd5b506102b66104113660046128f2565b610bf4565b6102b6610424366004612a54565b610dd7565b34801561043557600080fd5b506103036112a3565b34801561044a57600080fd5b506013546102d89060ff1681565b6102b661132a565b34801561046c57600080fd5b50610303611e6181565b34801561048257600080fd5b506102b66104913660046127b9565b611361565b3480156104a257600080fd5b506013546102d890610100900460ff1681565b3480156104c157600080fd5b506102b66104d03660046128bf565b61137c565b3480156104e157600080fd5b506102b66104f03660046129bc565b611406565b34801561050157600080fd5b506102d8610510366004612766565b60146020526000908152604090205460ff1681565b34801561053157600080fd5b50610353610540366004612a54565b611421565b34801561055157600080fd5b506102b6610560366004612a0e565b611481565b34801561057157600080fd5b50610303666a94d74f43000081565b34801561058c57600080fd5b506103266114ed565b3480156105a157600080fd5b506103036105b0366004612766565b61157b565b3480156105c157600080fd5b506102b6611601565b3480156105d657600080fd5b50610326611615565b3480156105eb57600080fd5b506013546102d89062010000900460ff1681565b34801561060b57600080fd5b506006546001600160a01b0316610353565b34801561062957600080fd5b506102b6610638366004612a0e565b611622565b34801561064957600080fd5b5061032661168e565b34801561065e57600080fd5b506102b661066d366004612a54565b61169d565b34801561067e57600080fd5b50610303611835565b34801561069357600080fd5b506102b66106a236600461286d565b611845565b3480156106b357600080fd5b50610303600d5481565b3480156106c957600080fd5b506102b66106d83660046129bc565b611850565b3480156106e957600080fd5b506102b66106f83660046128bf565b611874565b34801561070957600080fd5b5061035373e6546ad0cefc3f57cf3b4bba7cb55c53b78a426181565b34801561073157600080fd5b506102b66107403660046127f4565b61195a565b34801561075157600080fd5b506102b66107603660046129bc565b61198c565b34801561077157600080fd5b506102b66107803660046129bc565b6119ae565b34801561079157600080fd5b506103266119d4565b3480156107a657600080fd5b506103266107b5366004612a54565b6119f0565b3480156107c657600080fd5b506103036107d5366004612766565b60156020526000908152604090205481565b3480156107f357600080fd5b50610303600e5481565b34801561080957600080fd5b50610303611b46565b34801561081e57600080fd5b506102d861082d366004612787565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561086757600080fd5b506102b6610876366004612766565b611b5d565b34801561088757600080fd5b5061030360105481565b34801561089d57600080fd5b50610353733606b0b69a36d7b46db004a58dea74ea2b885f0b81565b60006001600160e01b031982166380ac58cd60e01b14806108ea57506001600160e01b03198216635b5e139f60e01b145b8061090557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461091a90612d7a565b80601f016020809104026020016040519081016040528092919081815260200182805461094690612d7a565b80156109935780601f1061096857610100808354040283529160200191610993565b820191906000526020600020905b81548152906001019060200180831161097657829003601f168201915b5050505050905090565b60006109a882611bd3565b506000908152600460205260409020546001600160a01b031690565b60006109cf82611421565b9050806001600160a01b0316836001600160a01b03161415610a425760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a5e5750610a5e813361082d565b610ad05760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a39565b610ada8383611c32565b505050565b610ae7611ca0565b60008111610b375760405162461bcd60e51b815260206004820152601f60248201527f4c696d69742073686f756c642062652067726561746572207468616e20302e006044820152606401610a39565b8160011480610b465750816002145b80610b515750816003145b610b925760405162461bcd60e51b815260206004820152601260248201527124b73b30b634b21039b0b632903a3cb8329760711b6044820152606401610a39565b8160011415610ba157600d5550565b8160021415610bb057600e5550565b8160031415610bbf57600f8190555b5050565b610bcd3382611cfa565b610be95760405162461bcd60e51b8152600401610a3990612c49565b610ada838383611d79565b610bfc611ca0565b8051825114610c675760405162461bcd60e51b815260206004820152603160248201527f496e7075742064617461206c656e677468206d69736d6174636865642e20436860448201527032b1b59034b7383aba103632b733ba341760791b6064820152608401610a39565b6000805b8251811015610cbe57828181518110610c9457634e487b7160e01b600052603260045260246000fd5b602002602001015160ff1682610caa9190612cec565b915080610cb681612db5565b915050610c6b565b50600954601054600c54610cd0611835565b610cda9085612cec565b610ce49190612cec565b610cee9190612d37565b1115610d2d5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d0810dbdb5c1b195d195960921b6044820152606401610a39565b60005b8351811015610dd15760005b838281518110610d5c57634e487b7160e01b600052603260045260246000fd5b602002602001015160ff16811015610dbe576000610d78611f15565b9050610dab868481518110610d9d57634e487b7160e01b600052603260045260246000fd5b6020026020010151826120ad565b5080610db681612db5565b915050610d3c565b5080610dc981612db5565b915050610d30565b50505050565b60026007541415610e2a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a39565b600260075560135460ff61010090910416151560011480610e58575060135462010000900460ff1615156001145b80610e6a575060135460ff1615156001145b610ead5760405162461bcd60e51b815260206004820152601460248201527326b4b73a34b7339034b9903737ba103634bb329760611b6044820152606401610a39565b600954601054600c54610ebe611835565b610ec89085612cec565b610ed29190612cec565b610edc9190612d37565b1115610f1b5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d0810dbdb5c1b195d195960921b6044820152606401610a39565b610f2c81666a94d74f430000612d18565b341015610f995760405162461bcd60e51b815260206004820152603560248201527f496e73756666696369656e742066756e64732070617373656420746f206d696e6044820152743a103932b8bab2b9ba32b21038bab0b73a34ba3c9760591b6064820152608401610a39565b6040516370a0823160e01b8152336004820152600090733606b0b69a36d7b46db004a58dea74ea2b885f0b906370a082319060240160206040518083038186803b158015610fe657600080fd5b505afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190612a6c565b60135490915060ff1615156001148061104f575060135460ff610100909104161515600114801561104f5750600081115b80611086575060135462010000900460ff161515600114801561108657503360009081526014602052604090205460ff1615156001145b6110c95760405162461bcd60e51b815260206004820152601460248201527326b4b73a34b7339034b9903737ba103634bb329760611b6044820152606401610a39565b336000908152601560205260408120549082158015906110f6575060135460ff6101009091041615156001145b611101576000611105565b600e545b61110f9082612cec565b3360009081526014602052604090205490915060ff1615156001148015611143575060135462010000900460ff1615156001145b61114e576000611152565b600f545b61115c9082612cec565b60135490915060ff161515600114611175576000611179565b600d545b6111839082612cec565b9050806111908584612cec565b11156111de5760405162461bcd60e51b815260206004820152601d60248201527f596f7572206d696e74206c696d697420686173206265656e206d65742e0000006044820152606401610a39565b60015b8481116112115760006111f2611f15565b90506111fe33826120ad565b508061120981612db5565b9150506111e1565b503360009081526015602052604081208054869290611231908490612cec565b90915550611248905084666a94d74f430000612d18565b34111561129857336108fc61126486666a94d74f430000612d18565b61126e9034612d37565b6040518115909202916000818181858888f19350505050158015611296573d6000803e3d6000fd5b505b505060016007555050565b6040516370a0823160e01b81523360048201526000908190733606b0b69a36d7b46db004a58dea74ea2b885f0b906370a082319060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109059190612a6c565b611332611ca0565b60405133904780156108fc02916000818181858888f1935050505015801561135e573d6000803e3d6000fd5b50565b610ada8383836040518060200160405280600081525061195a565b611384611ca0565b60005b81518163ffffffff161015610bbf57600160146000848463ffffffff16815181106113c257634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806113fe81612dd0565b915050611387565b61140e611ca0565b6013805460ff1916911515919091179055565b6000818152600260205260408120546001600160a01b0316806109055760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a39565b611489611ca0565b60008151116114da5760405162461bcd60e51b815260206004820181905260248201527f506c616365686f6c646572205552492063616e6e6f7420626520656d7074792e6044820152606401610a39565b8051610bbf9060129060208401906125d8565b601180546114fa90612d7a565b80601f016020809104026020016040519081016040528092919081815260200182805461152690612d7a565b80156115735780601f1061154857610100808354040283529160200191611573565b820191906000526020600020905b81548152906001019060200180831161155657829003601f168201915b505050505081565b60006001600160a01b0382166115e55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a39565b506001600160a01b031660009081526003602052604090205490565b611609611ca0565b61161360006120c7565b565b601280546114fa90612d7a565b61162a611ca0565b600081511161167b5760405162461bcd60e51b815260206004820152601960248201527f42617365205552492063616e6e6f7420626520656d7074792e000000000000006044820152606401610a39565b8051610bbf9060119060208401906125d8565b60606001805461091a90612d7a565b73e6546ad0cefc3f57cf3b4bba7cb55c53b78a426133146116f55760405162461bcd60e51b81526020600482015260126024820152712832b936b4b9b9b4b7b7102232b734b2b21760711b6044820152606401610a39565b600954611700611835565b61170a9083612cec565b11156117585760405162461bcd60e51b815260206004820152601b60248201527f416c6c204e4654732061726520616c7265616479206d696e74656400000000006044820152606401610a39565b600c54816010546117699190612cec565b11156117c35760405162461bcd60e51b815260206004820152602360248201527f596f752063616e6e6f74206d696e74206d6f7265207265736572766564204e466044820152622a399760e91b6064820152608401610a39565b60015b8181116117f65760006117d7611f15565b90506117e333826120ad565b50806117ee81612db5565b9150506117c6565b5080601060008282546118099190612cec565b9091555050336000908152601560205260408120805483929061182d908490612cec565b909155505050565b600061184060085490565b905090565b610bbf338383612119565b611858611ca0565b60138054911515620100000262ff000019909216919091179055565b61187c611ca0565b600954601054600c54835161188f611835565b6118999190612cec565b6118a39190612cec565b6118ad9190612d37565b111561190c5760405162461bcd60e51b815260206004820152602860248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e6e20746f74616c6044820152671039bab838363c9760c11b6064820152608401610a39565b60005b8151811015610bbf576000611922611f15565b9050611947838381518110610d9d57634e487b7160e01b600052603260045260246000fd5b508061195281612db5565b91505061190f565b6119643383611cfa565b6119805760405162461bcd60e51b8152600401610a3990612c49565b610dd1848484846121e8565b611994611ca0565b601380549115156101000261ff0019909216919091179055565b6119b6611ca0565b6013805491151563010000000263ff00000019909216919091179055565b604051806060016040528060408152602001612e616040913981565b6000818152600260205260409020546060906001600160a01b0316611a6f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a39565b6013546301000000900460ff161515600114611b155760128054611a9290612d7a565b80601f0160208091040260200160405190810160405280929190818152602001828054611abe90612d7a565b8015611b0b5780601f10611ae057610100808354040283529160200191611b0b565b820191906000526020600020905b815481529060010190602001808311611aee57829003601f168201915b5050505050610905565b6011611b208361221b565b604051602001611b31929190612aed565b60405160208183030381529060405292915050565b6000611b50611835565b6009546118409190612d37565b611b65611ca0565b6001600160a01b038116611bca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a39565b61135e816120c7565b6000818152600260205260409020546001600160a01b031661135e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a39565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c6782611421565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6006546001600160a01b031633146116135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a39565b600080611d0683611421565b9050806001600160a01b0316846001600160a01b03161480611d4d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d715750836001600160a01b0316611d668461099d565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d8c82611421565b6001600160a01b031614611df05760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a39565b6001600160a01b038216611e525760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a39565b611e5d600082611c32565b6001600160a01b0383166000908152600360205260408120805460019290611e86908490612d37565b90915550506001600160a01b0382166000908152600360205260408120805460019290611eb4908490612cec565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080611f20611b46565b11611f6d5760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520746f6b656e7320617661696c61626c6500000000000000006044820152606401610a39565b6000611f77611835565b600954611f849190612d37565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c611feb9190612df4565b6000818152600a60205260408120549192509061200957508061201a565b506000818152600a60205260409020545b600a6000612029600186612d37565b8152602001908152602001600020546000141561205f5761204b600184612d37565b6000838152600a602052604090205561208f565b600a600061206e600186612d37565b81526020808201929092526040908101600090812054858252600a90935220555b612097612335565b50600b546120a59082612cec565b935050505090565b610bbf828260405180602001604052806000815250612356565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561217b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a39565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121f3848484611d79565b6121ff84848484612389565b610dd15760405162461bcd60e51b8152600401610a3990612bf7565b60608161223f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612269578061225381612db5565b91506122629050600a83612d04565b9150612243565b60008167ffffffffffffffff81111561229257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122bc576020820181803683370190505b5090505b8415611d71576122d1600183612d37565b91506122de600a86612df4565b6122e9906030612cec565b60f81b81838151811061230c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061232e600a86612d04565b94506122c0565b60008061234160085490565b9050612351600880546001019055565b919050565b6123608383612496565b61236d6000848484612389565b610ada5760405162461bcd60e51b8152600401610a3990612bf7565b60006001600160a01b0384163b1561248b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123cd903390899088908890600401612ba7565b602060405180830381600087803b1580156123e757600080fd5b505af1925050508015612417575060408051601f3d908101601f19168201909252612414918101906129f2565b60015b612471573d808015612445576040519150601f19603f3d011682016040523d82523d6000602084013e61244a565b606091505b5080516124695760405162461bcd60e51b8152600401610a3990612bf7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d71565b506001949350505050565b6001600160a01b0382166124ec5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a39565b6000818152600260205260409020546001600160a01b0316156125515760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a39565b6001600160a01b038216600090815260036020526040812080546001929061257a908490612cec565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546125e490612d7a565b90600052602060002090601f016020900481019282612606576000855561264c565b82601f1061261f57805160ff191683800117855561264c565b8280016001018555821561264c579182015b8281111561264c578251825591602001919060010190612631565b5061265892915061265c565b5090565b5b80821115612658576000815560010161265d565b600067ffffffffffffffff83111561268b5761268b612e34565b61269e601f8401601f1916602001612c97565b90508281528383830111156126b257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461235157600080fd5b600082601f8301126126f0578081fd5b8135602061270561270083612cc8565b612c97565b80838252828201915082860187848660051b8901011115612724578586fd5b855b8581101561274957612737826126c9565b84529284019290840190600101612726565b5090979650505050505050565b8035801515811461235157600080fd5b600060208284031215612777578081fd5b612780826126c9565b9392505050565b60008060408385031215612799578081fd5b6127a2836126c9565b91506127b0602084016126c9565b90509250929050565b6000806000606084860312156127cd578081fd5b6127d6846126c9565b92506127e4602085016126c9565b9150604084013590509250925092565b60008060008060808587031215612809578081fd5b612812856126c9565b9350612820602086016126c9565b925060408501359150606085013567ffffffffffffffff811115612842578182fd5b8501601f81018713612852578182fd5b61286187823560208401612671565b91505092959194509250565b6000806040838503121561287f578182fd5b612888836126c9565b91506127b060208401612756565b600080604083850312156128a8578182fd5b6128b1836126c9565b946020939093013593505050565b6000602082840312156128d0578081fd5b813567ffffffffffffffff8111156128e6578182fd5b611d71848285016126e0565b60008060408385031215612904578182fd5b823567ffffffffffffffff8082111561291b578384fd5b612927868387016126e0565b935060209150818501358181111561293d578384fd5b85019050601f8101861361294f578283fd5b803561295d61270082612cc8565b80828252848201915084840189868560051b870101111561297c578687fd5b8694505b838510156129ac57803560ff81168114612998578788fd5b835260019490940193918501918501612980565b5080955050505050509250929050565b6000602082840312156129cd578081fd5b61278082612756565b6000602082840312156129e7578081fd5b813561278081612e4a565b600060208284031215612a03578081fd5b815161278081612e4a565b600060208284031215612a1f578081fd5b813567ffffffffffffffff811115612a35578182fd5b8201601f81018413612a45578182fd5b611d7184823560208401612671565b600060208284031215612a65578081fd5b5035919050565b600060208284031215612a7d578081fd5b5051919050565b60008060408385031215612a96578182fd5b50508035926020909101359150565b60008151808452612abd816020860160208601612d4e565b601f01601f19169290920160200192915050565b60008151612ae3818560208601612d4e565b9290920192915050565b600080845482600182811c915080831680612b0957607f831692505b6020808410821415612b2957634e487b7160e01b87526022600452602487fd5b818015612b3d5760018114612b4e57612b7a565b60ff19861689528489019650612b7a565b60008b815260209020885b86811015612b725781548b820152908501908301612b59565b505084890196505b505050505050612b9e612b8d8286612ad1565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bda90830184612aa5565b9695505050505050565b6020815260006127806020830184612aa5565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612cc057612cc0612e34565b604052919050565b600067ffffffffffffffff821115612ce257612ce2612e34565b5060051b60200190565b60008219821115612cff57612cff612e08565b500190565b600082612d1357612d13612e1e565b500490565b6000816000190483118215151615612d3257612d32612e08565b500290565b600082821015612d4957612d49612e08565b500390565b60005b83811015612d69578181015183820152602001612d51565b83811115610dd15750506000910152565b600181811c90821680612d8e57607f821691505b60208210811415612daf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612dc957612dc9612e08565b5060010190565b600063ffffffff80831681811415612dea57612dea612e08565b6001019392505050565b600082612e0357612e03612e1e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461135e57600080fdfe63636133313130366136306334653964396133623639306466616466383830656136363537316632663233373464363334633532656635363435643263376337a2646970667358221220b256cf77be9ba11021b93bd6ef03c681f5664bc57562ce924ac7d9862030795c64736f6c63430008040033

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.