ETH Price: $2,961.46 (-5.10%)
Gas: 7 Gwei

Token

CryptoVerseSpike (CVSpike)
 

Overview

Max Total Supply

3,333 CVSpike

Holders

1,055

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 CVSpike
0xbc06cd2d92eadc78ecbcd79bde122df85aec500b
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:
CryptoVerse

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

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


pragma solidity 0.8.9;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract CryptoVerse is ERC721, Ownable {
		
    event SetPresaleMerkleRoot(bytes32 root);

    event SetOGMintMerkleRoot(bytes32 root);

    event CryptoVerseMinted(uint tokenId, address sender);

    uint256 public TOTAL_SUPPLY = 3333;

    uint256 public price = 0.03 ether;

    uint256 public presalePrice = 0.02 ether;

    uint256 public MAX_PURCHASE = 3;

    uint256 public MAX_PRESALE_TOKENS = 3;

    uint256 public MAX_OG_TOKENS = 4;

    bool public saleIsActive = false;

    bool public presaleIsActive = false;

    bool public ogMintIsActive = false;

    string private baseURI;

    uint256 private _currentTokenId = 0;

    bytes32 public merkleRoot;
    
    bytes32 public merkleRootOG;

    mapping(address => uint) public whitelistClaimed;
    mapping(address => uint) public whitelistOGClaimed;


    constructor(string memory _baseURI) ERC721("CryptoVerseSpike","CVSpike") {
            setBaseURI(_baseURI);

    }
	
    //PUBLIC MINT 
    function mintSpikesTo(uint numberOfTokens) external payable {
          require(saleIsActive, "Wait for sales to start!");
          require(numberOfTokens <= MAX_PURCHASE, "Too many Spikes to mint!");
          require(_currentTokenId + numberOfTokens <= TOTAL_SUPPLY, "All Spikes has been minted!");
          require(msg.value >= price * numberOfTokens, "insufficient ETH");

          for (uint i = 0; i < numberOfTokens; i++) {
                _safeMint(msg.sender, _currentTokenId+1);
                emit CryptoVerseMinted(_currentTokenId+1, msg.sender);
                _incrementTokenId();
          }
    }

    //RESERVE MINT
    function reserveMint(uint numberOfTokens) external onlyOwner {
            for (uint i = 0; i < numberOfTokens; i++) {
                _safeMint(msg.sender, _currentTokenId+1);
                emit CryptoVerseMinted(_currentTokenId+1, msg.sender);
                _incrementTokenId();
            }
    }

    

    //OG MINT
  	function ogMint(bytes32[] calldata _merkelProof, uint numberOfTokens) external payable {
        uint256 reserved = whitelistOGClaimed[msg.sender];
        require(ogMintIsActive, "Wait for OG mint to start!");
        require(_currentTokenId + numberOfTokens <= TOTAL_SUPPLY, "All Spikes has been minted!");
        require(msg.value >= presalePrice * numberOfTokens, "insufficient ETH");
        require(reserved + numberOfTokens <= MAX_OG_TOKENS,string(abi.encodePacked("You have ", uint2str( MAX_OG_TOKENS - reserved ), " tokens left to mint")));
        require(numberOfTokens <= MAX_OG_TOKENS, "Too many Spikes to mint!");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkelProof, merkleRootOG, leaf), "Invalid proof.");

        reserved = MAX_OG_TOKENS - numberOfTokens;
        
        for (uint i = 0; i < numberOfTokens; i++) {
                _safeMint(msg.sender, _currentTokenId+1);
                emit CryptoVerseMinted(_currentTokenId+1, msg.sender);
                _incrementTokenId();
                whitelistOGClaimed[msg.sender] += 1;
        }
    }

    //WHITELIST MINT
  	function whitelistMint(bytes32[] calldata _merkelProof, uint numberOfTokens) external payable {
        uint256 reserved = whitelistClaimed[msg.sender];
        require(presaleIsActive, "Wait for presale to start!");
        require(_currentTokenId + numberOfTokens <= TOTAL_SUPPLY, "All Spikes has been minted!");
        require(msg.value >= presalePrice * numberOfTokens, "insufficient ETH");
        require(reserved + numberOfTokens <= MAX_PRESALE_TOKENS,string(abi.encodePacked("You have ", uint2str( MAX_PRESALE_TOKENS - reserved ), " tokens left to mint ")));
        require(numberOfTokens <= MAX_PRESALE_TOKENS, "Too many Spikes to mint!");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkelProof, merkleRoot, leaf), "Invalid proof.");

        reserved = MAX_PRESALE_TOKENS - numberOfTokens;

        for (uint i = 0; i < numberOfTokens; i++) {
                _safeMint(msg.sender, _currentTokenId+1);
                emit CryptoVerseMinted(_currentTokenId+1, msg.sender);
                _incrementTokenId();
                whitelistClaimed[msg.sender] += 1;

        }
    }

    function assetsLeft() public view returns (uint256) {
        if (supplyReached()) {
            return 0;
        }   

        return TOTAL_SUPPLY - _currentTokenId;
    }

    function whilteListMintedQty(address userAddress) public view returns (uint) {
        return MAX_PRESALE_TOKENS - whitelistClaimed[userAddress];
    } 

    function OGMintedQty(address userAddress) public view returns (uint) {
        return MAX_OG_TOKENS - whitelistOGClaimed[userAddress];
    } 

    function _incrementTokenId() private {
        _currentTokenId++;
    }

    function supplyReached() public view returns (bool) {
        return _currentTokenId > TOTAL_SUPPLY;
    }

    function totalSupply() public view returns (uint256) {
        return TOTAL_SUPPLY;
    }

    function switchOGSaleIsActive() external onlyOwner {
        ogMintIsActive = !ogMintIsActive;
    }

    function switchSaleIsActive() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function switchPresaleIsActive() external onlyOwner {
        presaleIsActive = !presaleIsActive;
    }

    function setPresaleMerkleRoot(bytes32 root) external onlyOwner {
        merkleRoot = root;
        emit SetPresaleMerkleRoot(root);
    }

    function setOGMintMerkleRoot(bytes32 root) external onlyOwner {
        merkleRootOG = root;
        emit SetOGMintMerkleRoot(root);
    }

    function baseTokenURI() private view returns (string memory) {
        return baseURI;
    }

    function getPrice() public view returns (uint256) {
        return price;
    }

    function setBaseURI(string memory _newUri) public onlyOwner {
      baseURI = _newUri;
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(baseURI, uint2str(_tokenId)));
    }

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

    function uint2str(uint256 _i) internal pure  returns (string memory _uintAsString) {
      if (_i == 0) {
        return "0";
      }
      uint256 j = _i;
      uint256 len;
      while (j != 0) {
        len++;
        j /= 10;
      }
      bytes memory bstr = new bytes(len);
      uint256 k = len;
      while (_i != 0) {
        k = k - 1;
        uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
        bytes1 b1 = bytes1(temp);
        bstr[k] = b1;
        _i /= 10;
      }
      return string(bstr);
    }

}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

File 6 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 7 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 12 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"CryptoVerseMinted","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":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"SetOGMintMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"SetPresaleMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_OG_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"OGMintedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"assetsLeft","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","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":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootOG","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintSpikesTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkelProof","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogMintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setOGMintMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setPresaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyReached","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchOGSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchPresaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"switchSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"whilteListMintedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkelProof","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistOGClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610d05600755666a94d74f43000060085566470de4df8200006009556003600a819055600b556004600c55600d805462ffffff191690556000600f553480156200004d57600080fd5b5060405162002c6038038062002c6083398101604081905262000070916200028a565b604080518082018252601081526f43727970746f56657273655370696b6560801b60208083019182528351808501909452600784526643565370696b6560c81b908401528151919291620000c791600091620001ce565b508051620000dd906001906020840190620001ce565b5050506000620000f26200015260201b60201c565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200014b8162000156565b50620003a3565b3390565b6006546001600160a01b03163314620001b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001ca90600e906020840190620001ce565b5050565b828054620001dc9062000366565b90600052602060002090601f0160209004810192826200020057600085556200024b565b82601f106200021b57805160ff19168380011785556200024b565b828001600101855582156200024b579182015b828111156200024b5782518255916020019190600101906200022e565b50620002599291506200025d565b5090565b5b808211156200025957600081556001016200025e565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200029e57600080fd5b82516001600160401b0380821115620002b657600080fd5b818501915085601f830112620002cb57600080fd5b815181811115620002e057620002e062000274565b604051601f8201601f19908116603f011681019083821181831017156200030b576200030b62000274565b8160405282815288868487010111156200032457600080fd5b600093505b8284101562000348578484018601518185018701529285019262000329565b828411156200035a5760008684830101525b98975050505050505050565b600181811c908216806200037b57607f821691505b602082108114156200039d57634e487b7160e01b600052602260045260246000fd5b50919050565b6128ad80620003b36000396000f3fe60806040526004361061027c5760003560e01c806370a082311161014f578063a035b1fe116100c1578063bf54433c1161007a578063bf54433c146106e9578063c87b56dd14610709578063db4bec4414610729578063e985e9c514610756578063eb8d24441461079f578063f2fde38b146107b957600080fd5b8063a035b1fe14610644578063a0717ebd1461065a578063a22cb4651461067a578063ad6cb3191461069a578063b1a81680146106b0578063b88d4fde146106c957600080fd5b80638500460f116101135780638500460f146105be5780638a1b3695146105d35780638da5cb5b146105e6578063902d55a51461060457806395d89b411461061a57806398d5fdca1461062f57600080fd5b806370a08231146105335780637116abf9146105535780637146bd0814610566578063715018a61461057c57806378fc696c1461059157600080fd5b80632904e6d9116101f357806355f3b9aa116101ac57806355f3b9aa1461049357806355f804b3146104a857806357420099146104c8578063611c4c81146104e85780636352211e146104fe5780636539c6c41461051e57600080fd5b80632904e6d91461040057806329dc7205146104135780632eb4a7ab1461042957806330f72cd41461043f5780633ccfd60b1461045e57806342842e0e1461047357600080fd5b8063095ea7b311610245578063095ea7b3146103565780631342ff4c1461037657806318160ddd146103965780631aba2e06146103ab57806323b872dd146103c057806328d7b276146103e057600080fd5b80620e7fa81461028157806301ffc9a7146102aa57806302ad73e2146102da57806306fdde03146102fc578063081812fc1461031e575b600080fd5b34801561028d57600080fd5b5061029760095481565b6040519081526020015b60405180910390f35b3480156102b657600080fd5b506102ca6102c5366004612094565b6107d9565b60405190151581526020016102a1565b3480156102e657600080fd5b506102fa6102f53660046120b8565b61082b565b005b34801561030857600080fd5b5061031161089a565b6040516102a19190612129565b34801561032a57600080fd5b5061033e6103393660046120b8565b61092c565b6040516001600160a01b0390911681526020016102a1565b34801561036257600080fd5b506102fa610371366004612158565b6109c1565b34801561038257600080fd5b506102fa6103913660046120b8565b610ad7565b3480156103a257600080fd5b50600754610297565b3480156103b757600080fd5b506102fa610b76565b3480156103cc57600080fd5b506102fa6103db366004612182565b610bbf565b3480156103ec57600080fd5b506102fa6103fb3660046120b8565b610bf0565b6102fa61040e3660046121be565b610c4f565b34801561041f57600080fd5b50610297600b5481565b34801561043557600080fd5b5061029760105481565b34801561044b57600080fd5b50600d546102ca90610100900460ff1681565b34801561046a57600080fd5b506102fa610ef8565b34801561047f57600080fd5b506102fa61048e366004612182565b610f51565b34801561049f57600080fd5b506102fa610f6c565b3480156104b457600080fd5b506102fa6104c33660046122c5565b610fb3565b3480156104d457600080fd5b50600d546102ca9062010000900460ff1681565b3480156104f457600080fd5b50610297600c5481565b34801561050a57600080fd5b5061033e6105193660046120b8565b610ff0565b34801561052a57600080fd5b50610297611067565b34801561053f57600080fd5b5061029761054e36600461230e565b611096565b6102fa6105613660046121be565b61111d565b34801561057257600080fd5b50610297600a5481565b34801561058857600080fd5b506102fa6113ba565b34801561059d57600080fd5b506102976105ac36600461230e565b60136020526000908152604090205481565b3480156105ca57600080fd5b506102fa61142e565b6102fa6105e13660046120b8565b61146c565b3480156105f257600080fd5b506006546001600160a01b031661033e565b34801561061057600080fd5b5061029760075481565b34801561062657600080fd5b506103116115a8565b34801561063b57600080fd5b50600854610297565b34801561065057600080fd5b5061029760085481565b34801561066657600080fd5b5061029761067536600461230e565b6115b7565b34801561068657600080fd5b506102fa610695366004612329565b6115dd565b3480156106a657600080fd5b5061029760115481565b3480156106bc57600080fd5b50600754600f54116102ca565b3480156106d557600080fd5b506102fa6106e4366004612365565b6116a2565b3480156106f557600080fd5b5061029761070436600461230e565b6116da565b34801561071557600080fd5b506103116107243660046120b8565b611700565b34801561073557600080fd5b5061029761074436600461230e565b60126020526000908152604090205481565b34801561076257600080fd5b506102ca6107713660046123e1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ab57600080fd5b50600d546102ca9060ff1681565b3480156107c557600080fd5b506102fa6107d436600461230e565b611734565b60006001600160e01b031982166380ac58cd60e01b148061080a57506001600160e01b03198216635b5e139f60e01b145b8061082557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b0316331461085e5760405162461bcd60e51b815260040161085590612414565b60405180910390fd5b60118190556040518181527fb97daa75b3cceac981a6f603a2194e4653a719468e7593c8d0699fb73efb30ee906020015b60405180910390a150565b6060600080546108a990612449565b80601f01602080910402602001604051908101604052809291908181526020018280546108d590612449565b80156109225780601f106108f757610100808354040283529160200191610922565b820191906000526020600020905b81548152906001019060200180831161090557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610855565b506000908152600460205260409020546001600160a01b031690565b60006109cc82610ff0565b9050806001600160a01b0316836001600160a01b03161415610a3a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610855565b336001600160a01b0382161480610a565750610a568133610771565b610ac85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610855565b610ad2838361181f565b505050565b6006546001600160a01b03163314610b015760405162461bcd60e51b815260040161085590612414565b60005b81811015610b7257610b2433600f546001610b1f919061249a565b61188d565b600080516020612858833981519152600f546001610b42919061249a565b604080519182523360208301520160405180910390a1610b606118a7565b80610b6a816124b2565b915050610b04565b5050565b6006546001600160a01b03163314610ba05760405162461bcd60e51b815260040161085590612414565b600d805462ff0000198116620100009182900460ff1615909102179055565b610bc933826118be565b610be55760405162461bcd60e51b8152600401610855906124cd565b610ad28383836119b5565b6006546001600160a01b03163314610c1a5760405162461bcd60e51b815260040161085590612414565b60108190556040518181527f27fda2f09bdfc247a689f64681c7850adf9ddb3086af9cd89b0a7c724b24f7f69060200161088f565b33600090815260126020526040902054600d54610100900460ff16610cb65760405162461bcd60e51b815260206004820152601a60248201527f5761697420666f722070726573616c6520746f207374617274210000000000006044820152606401610855565b60075482600f54610cc7919061249a565b1115610ce55760405162461bcd60e51b81526004016108559061251e565b81600954610cf39190612555565b341015610d125760405162461bcd60e51b815260040161085590612574565b600b54610d1f838361249a565b1115610d3782600b54610d32919061259e565b611b55565b604051602001610d4791906125d1565b60405160208183030381529060405290610d745760405162461bcd60e51b81526004016108559190612129565b50600b54821115610d975760405162461bcd60e51b815260040161085590612621565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610e11858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611c7e565b610e4e5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610855565b82600b54610e5c919061259e565b915060005b83811015610ef057610e7c33600f546001610b1f919061249a565b600080516020612858833981519152600f546001610e9a919061249a565b604080519182523360208301520160405180910390a1610eb86118a7565b336000908152601260205260408120805460019290610ed890849061249a565b90915550819050610ee8816124b2565b915050610e61565b505050505050565b6006546001600160a01b03163314610f225760405162461bcd60e51b815260040161085590612414565b6040514790339082156108fc029083906000818181858888f19350505050158015610b72573d6000803e3d6000fd5b610ad2838383604051806020016040528060008152506116a2565b6006546001600160a01b03163314610f965760405162461bcd60e51b815260040161085590612414565b600d805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b03163314610fdd5760405162461bcd60e51b815260040161085590612414565b8051610b7290600e906020840190611fe2565b6000818152600260205260408120546001600160a01b0316806108255760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610855565b6000611076600754600f541190565b156110815750600090565b600f54600754611091919061259e565b905090565b60006001600160a01b0382166111015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610855565b506001600160a01b031660009081526003602052604090205490565b33600090815260136020526040902054600d5462010000900460ff166111855760405162461bcd60e51b815260206004820152601a60248201527f5761697420666f72204f47206d696e7420746f207374617274210000000000006044820152606401610855565b60075482600f54611196919061249a565b11156111b45760405162461bcd60e51b81526004016108559061251e565b816009546111c29190612555565b3410156111e15760405162461bcd60e51b815260040161085590612574565b600c546111ee838361249a565b111561120182600c54610d32919061259e565b6040516020016112119190612658565b6040516020818303038152906040529061123e5760405162461bcd60e51b81526004016108559190612129565b50600c548211156112615760405162461bcd60e51b815260040161085590612621565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506112db858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050611c7e565b6113185760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610855565b82600c54611326919061259e565b915060005b83811015610ef05761134633600f546001610b1f919061249a565b600080516020612858833981519152600f546001611364919061249a565b604080519182523360208301520160405180910390a16113826118a7565b3360009081526013602052604081208054600192906113a290849061249a565b909155508190506113b2816124b2565b91505061132b565b6006546001600160a01b031633146113e45760405162461bcd60e51b815260040161085590612414565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6006546001600160a01b031633146114585760405162461bcd60e51b815260040161085590612414565b600d805460ff19811660ff90911615179055565b600d5460ff166114be5760405162461bcd60e51b815260206004820152601860248201527f5761697420666f722073616c657320746f2073746172742100000000000000006044820152606401610855565b600a548111156114e05760405162461bcd60e51b815260040161085590612621565b60075481600f546114f1919061249a565b111561150f5760405162461bcd60e51b81526004016108559061251e565b8060085461151d9190612555565b34101561153c5760405162461bcd60e51b815260040161085590612574565b60005b81811015610b725761155a33600f546001610b1f919061249a565b600080516020612858833981519152600f546001611578919061249a565b604080519182523360208301520160405180910390a16115966118a7565b806115a0816124b2565b91505061153f565b6060600180546108a990612449565b6001600160a01b038116600090815260136020526040812054600c54610825919061259e565b6001600160a01b0382163314156116365760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610855565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116ac33836118be565b6116c85760405162461bcd60e51b8152600401610855906124cd565b6116d484848484611d2d565b50505050565b6001600160a01b038116600090815260126020526040812054600b54610825919061259e565b6060600e61170d83611b55565b60405160200161171e9291906126a7565b6040516020818303038152906040529050919050565b6006546001600160a01b0316331461175e5760405162461bcd60e51b815260040161085590612414565b6001600160a01b0381166117c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610855565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061185482610ff0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610b72828260405180602001604052806000815250611d60565b600f80549060006118b7836124b2565b9190505550565b6000818152600260205260408120546001600160a01b03166119375760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610855565b600061194283610ff0565b9050806001600160a01b0316846001600160a01b0316148061197d5750836001600160a01b03166119728461092c565b6001600160a01b0316145b806119ad57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119c882610ff0565b6001600160a01b031614611a305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610855565b6001600160a01b038216611a925760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610855565b611a9d60008261181f565b6001600160a01b0383166000908152600360205260408120805460019290611ac690849061259e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611af490849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606081611b795750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ba35780611b8d816124b2565b9150611b9c9050600a8361274e565b9150611b7d565b60008167ffffffffffffffff811115611bbe57611bbe612239565b6040519080825280601f01601f191660200182016040528015611be8576020820181803683370190505b509050815b8515611c7557611bfe60018261259e565b90506000611c0d600a8861274e565b611c1890600a612555565b611c22908861259e565b611c2d906030612770565b905060008160f81b905080848481518110611c4a57611c4a612795565b60200101906001600160f81b031916908160001a905350611c6c600a8961274e565b97505050611bed565b50949350505050565b600081815b8551811015611d22576000868281518110611ca057611ca0612795565b60200260200101519050808311611ce2576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d0f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d1a816124b2565b915050611c83565b509092149392505050565b611d388484846119b5565b611d4484848484611d93565b6116d45760405162461bcd60e51b8152600401610855906127ab565b611d6a8383611ea0565b611d776000848484611d93565b610ad25760405162461bcd60e51b8152600401610855906127ab565b60006001600160a01b0384163b15611e9557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611dd79033908990889088906004016127fd565b602060405180830381600087803b158015611df157600080fd5b505af1925050508015611e21575060408051601f3d908101601f19168201909252611e1e9181019061283a565b60015b611e7b573d808015611e4f576040519150601f19603f3d011682016040523d82523d6000602084013e611e54565b606091505b508051611e735760405162461bcd60e51b8152600401610855906127ab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119ad565b506001949350505050565b6001600160a01b038216611ef65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610855565b6000818152600260205260409020546001600160a01b031615611f5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610855565b6001600160a01b0382166000908152600360205260408120805460019290611f8490849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611fee90612449565b90600052602060002090601f0160209004810192826120105760008555612056565b82601f1061202957805160ff1916838001178555612056565b82800160010185558215612056579182015b8281111561205657825182559160200191906001019061203b565b50612062929150612066565b5090565b5b808211156120625760008155600101612067565b6001600160e01b03198116811461209157600080fd5b50565b6000602082840312156120a657600080fd5b81356120b18161207b565b9392505050565b6000602082840312156120ca57600080fd5b5035919050565b60005b838110156120ec5781810151838201526020016120d4565b838111156116d45750506000910152565b600081518084526121158160208601602086016120d1565b601f01601f19169290920160200192915050565b6020815260006120b160208301846120fd565b80356001600160a01b038116811461215357600080fd5b919050565b6000806040838503121561216b57600080fd5b6121748361213c565b946020939093013593505050565b60008060006060848603121561219757600080fd5b6121a08461213c565b92506121ae6020850161213c565b9150604084013590509250925092565b6000806000604084860312156121d357600080fd5b833567ffffffffffffffff808211156121eb57600080fd5b818601915086601f8301126121ff57600080fd5b81358181111561220e57600080fd5b8760208260051b850101111561222357600080fd5b6020928301989097509590910135949350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561226a5761226a612239565b604051601f8501601f19908116603f0116810190828211818310171561229257612292612239565b816040528093508581528686860111156122ab57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156122d757600080fd5b813567ffffffffffffffff8111156122ee57600080fd5b8201601f810184136122ff57600080fd5b6119ad8482356020840161224f565b60006020828403121561232057600080fd5b6120b18261213c565b6000806040838503121561233c57600080fd5b6123458361213c565b91506020830135801515811461235a57600080fd5b809150509250929050565b6000806000806080858703121561237b57600080fd5b6123848561213c565b93506123926020860161213c565b925060408501359150606085013567ffffffffffffffff8111156123b557600080fd5b8501601f810187136123c657600080fd5b6123d58782356020840161224f565b91505092959194509250565b600080604083850312156123f457600080fd5b6123fd8361213c565b915061240b6020840161213c565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061245d57607f821691505b6020821081141561247e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156124ad576124ad612484565b500190565b60006000198214156124c6576124c6612484565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f416c6c205370696b657320686173206265656e206d696e746564210000000000604082015260600190565b600081600019048311821515161561256f5761256f612484565b500290565b60208082526010908201526f0d2dce6eaccccd2c6d2cadce8408aa8960831b604082015260600190565b6000828210156125b0576125b0612484565b500390565b600081516125c78185602086016120d1565b9290920192915050565b6802cb7ba903430bb32960bd1b8152600082516125f58160098501602087016120d1565b740103a37b5b2b739903632b33a103a379036b4b73a1605d1b6009939091019283015250601e01919050565b60208082526018908201527f546f6f206d616e79205370696b657320746f206d696e74210000000000000000604082015260600190565b6802cb7ba903430bb32960bd1b81526000825161267c8160098501602087016120d1565b73081d1bdad95b9cc81b19599d081d1bc81b5a5b9d60621b6009939091019283015250601d01919050565b600080845481600182811c9150808316806126c357607f831692505b60208084108214156126e357634e487b7160e01b86526022600452602486fd5b8180156126f7576001811461270857612735565b60ff19861689528489019650612735565b60008b81526020902060005b8681101561272d5781548b820152908501908301612714565b505084890196505b50505050505061274581856125b5565b95945050505050565b60008261276b57634e487b7160e01b600052601260045260246000fd5b500490565b600060ff821660ff84168060ff0382111561278d5761278d612484565b019392505050565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612830908301846120fd565b9695505050505050565b60006020828403121561284c57600080fd5b81516120b18161207b56fe49054460c9ae7c8500f5cb066399bc8572833a562f0fb3c81a360405f70a5de0a26469706673582212204358fce23240817017b385f052f0ce2fc663445019eb0072d2c063a7f9eeff8d64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000076261736555726900000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061027c5760003560e01c806370a082311161014f578063a035b1fe116100c1578063bf54433c1161007a578063bf54433c146106e9578063c87b56dd14610709578063db4bec4414610729578063e985e9c514610756578063eb8d24441461079f578063f2fde38b146107b957600080fd5b8063a035b1fe14610644578063a0717ebd1461065a578063a22cb4651461067a578063ad6cb3191461069a578063b1a81680146106b0578063b88d4fde146106c957600080fd5b80638500460f116101135780638500460f146105be5780638a1b3695146105d35780638da5cb5b146105e6578063902d55a51461060457806395d89b411461061a57806398d5fdca1461062f57600080fd5b806370a08231146105335780637116abf9146105535780637146bd0814610566578063715018a61461057c57806378fc696c1461059157600080fd5b80632904e6d9116101f357806355f3b9aa116101ac57806355f3b9aa1461049357806355f804b3146104a857806357420099146104c8578063611c4c81146104e85780636352211e146104fe5780636539c6c41461051e57600080fd5b80632904e6d91461040057806329dc7205146104135780632eb4a7ab1461042957806330f72cd41461043f5780633ccfd60b1461045e57806342842e0e1461047357600080fd5b8063095ea7b311610245578063095ea7b3146103565780631342ff4c1461037657806318160ddd146103965780631aba2e06146103ab57806323b872dd146103c057806328d7b276146103e057600080fd5b80620e7fa81461028157806301ffc9a7146102aa57806302ad73e2146102da57806306fdde03146102fc578063081812fc1461031e575b600080fd5b34801561028d57600080fd5b5061029760095481565b6040519081526020015b60405180910390f35b3480156102b657600080fd5b506102ca6102c5366004612094565b6107d9565b60405190151581526020016102a1565b3480156102e657600080fd5b506102fa6102f53660046120b8565b61082b565b005b34801561030857600080fd5b5061031161089a565b6040516102a19190612129565b34801561032a57600080fd5b5061033e6103393660046120b8565b61092c565b6040516001600160a01b0390911681526020016102a1565b34801561036257600080fd5b506102fa610371366004612158565b6109c1565b34801561038257600080fd5b506102fa6103913660046120b8565b610ad7565b3480156103a257600080fd5b50600754610297565b3480156103b757600080fd5b506102fa610b76565b3480156103cc57600080fd5b506102fa6103db366004612182565b610bbf565b3480156103ec57600080fd5b506102fa6103fb3660046120b8565b610bf0565b6102fa61040e3660046121be565b610c4f565b34801561041f57600080fd5b50610297600b5481565b34801561043557600080fd5b5061029760105481565b34801561044b57600080fd5b50600d546102ca90610100900460ff1681565b34801561046a57600080fd5b506102fa610ef8565b34801561047f57600080fd5b506102fa61048e366004612182565b610f51565b34801561049f57600080fd5b506102fa610f6c565b3480156104b457600080fd5b506102fa6104c33660046122c5565b610fb3565b3480156104d457600080fd5b50600d546102ca9062010000900460ff1681565b3480156104f457600080fd5b50610297600c5481565b34801561050a57600080fd5b5061033e6105193660046120b8565b610ff0565b34801561052a57600080fd5b50610297611067565b34801561053f57600080fd5b5061029761054e36600461230e565b611096565b6102fa6105613660046121be565b61111d565b34801561057257600080fd5b50610297600a5481565b34801561058857600080fd5b506102fa6113ba565b34801561059d57600080fd5b506102976105ac36600461230e565b60136020526000908152604090205481565b3480156105ca57600080fd5b506102fa61142e565b6102fa6105e13660046120b8565b61146c565b3480156105f257600080fd5b506006546001600160a01b031661033e565b34801561061057600080fd5b5061029760075481565b34801561062657600080fd5b506103116115a8565b34801561063b57600080fd5b50600854610297565b34801561065057600080fd5b5061029760085481565b34801561066657600080fd5b5061029761067536600461230e565b6115b7565b34801561068657600080fd5b506102fa610695366004612329565b6115dd565b3480156106a657600080fd5b5061029760115481565b3480156106bc57600080fd5b50600754600f54116102ca565b3480156106d557600080fd5b506102fa6106e4366004612365565b6116a2565b3480156106f557600080fd5b5061029761070436600461230e565b6116da565b34801561071557600080fd5b506103116107243660046120b8565b611700565b34801561073557600080fd5b5061029761074436600461230e565b60126020526000908152604090205481565b34801561076257600080fd5b506102ca6107713660046123e1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107ab57600080fd5b50600d546102ca9060ff1681565b3480156107c557600080fd5b506102fa6107d436600461230e565b611734565b60006001600160e01b031982166380ac58cd60e01b148061080a57506001600160e01b03198216635b5e139f60e01b145b8061082557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b0316331461085e5760405162461bcd60e51b815260040161085590612414565b60405180910390fd5b60118190556040518181527fb97daa75b3cceac981a6f603a2194e4653a719468e7593c8d0699fb73efb30ee906020015b60405180910390a150565b6060600080546108a990612449565b80601f01602080910402602001604051908101604052809291908181526020018280546108d590612449565b80156109225780601f106108f757610100808354040283529160200191610922565b820191906000526020600020905b81548152906001019060200180831161090557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610855565b506000908152600460205260409020546001600160a01b031690565b60006109cc82610ff0565b9050806001600160a01b0316836001600160a01b03161415610a3a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610855565b336001600160a01b0382161480610a565750610a568133610771565b610ac85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610855565b610ad2838361181f565b505050565b6006546001600160a01b03163314610b015760405162461bcd60e51b815260040161085590612414565b60005b81811015610b7257610b2433600f546001610b1f919061249a565b61188d565b600080516020612858833981519152600f546001610b42919061249a565b604080519182523360208301520160405180910390a1610b606118a7565b80610b6a816124b2565b915050610b04565b5050565b6006546001600160a01b03163314610ba05760405162461bcd60e51b815260040161085590612414565b600d805462ff0000198116620100009182900460ff1615909102179055565b610bc933826118be565b610be55760405162461bcd60e51b8152600401610855906124cd565b610ad28383836119b5565b6006546001600160a01b03163314610c1a5760405162461bcd60e51b815260040161085590612414565b60108190556040518181527f27fda2f09bdfc247a689f64681c7850adf9ddb3086af9cd89b0a7c724b24f7f69060200161088f565b33600090815260126020526040902054600d54610100900460ff16610cb65760405162461bcd60e51b815260206004820152601a60248201527f5761697420666f722070726573616c6520746f207374617274210000000000006044820152606401610855565b60075482600f54610cc7919061249a565b1115610ce55760405162461bcd60e51b81526004016108559061251e565b81600954610cf39190612555565b341015610d125760405162461bcd60e51b815260040161085590612574565b600b54610d1f838361249a565b1115610d3782600b54610d32919061259e565b611b55565b604051602001610d4791906125d1565b60405160208183030381529060405290610d745760405162461bcd60e51b81526004016108559190612129565b50600b54821115610d975760405162461bcd60e51b815260040161085590612621565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610e11858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150849050611c7e565b610e4e5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610855565b82600b54610e5c919061259e565b915060005b83811015610ef057610e7c33600f546001610b1f919061249a565b600080516020612858833981519152600f546001610e9a919061249a565b604080519182523360208301520160405180910390a1610eb86118a7565b336000908152601260205260408120805460019290610ed890849061249a565b90915550819050610ee8816124b2565b915050610e61565b505050505050565b6006546001600160a01b03163314610f225760405162461bcd60e51b815260040161085590612414565b6040514790339082156108fc029083906000818181858888f19350505050158015610b72573d6000803e3d6000fd5b610ad2838383604051806020016040528060008152506116a2565b6006546001600160a01b03163314610f965760405162461bcd60e51b815260040161085590612414565b600d805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b03163314610fdd5760405162461bcd60e51b815260040161085590612414565b8051610b7290600e906020840190611fe2565b6000818152600260205260408120546001600160a01b0316806108255760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610855565b6000611076600754600f541190565b156110815750600090565b600f54600754611091919061259e565b905090565b60006001600160a01b0382166111015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610855565b506001600160a01b031660009081526003602052604090205490565b33600090815260136020526040902054600d5462010000900460ff166111855760405162461bcd60e51b815260206004820152601a60248201527f5761697420666f72204f47206d696e7420746f207374617274210000000000006044820152606401610855565b60075482600f54611196919061249a565b11156111b45760405162461bcd60e51b81526004016108559061251e565b816009546111c29190612555565b3410156111e15760405162461bcd60e51b815260040161085590612574565b600c546111ee838361249a565b111561120182600c54610d32919061259e565b6040516020016112119190612658565b6040516020818303038152906040529061123e5760405162461bcd60e51b81526004016108559190612129565b50600c548211156112615760405162461bcd60e51b815260040161085590612621565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506112db858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050611c7e565b6113185760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610855565b82600c54611326919061259e565b915060005b83811015610ef05761134633600f546001610b1f919061249a565b600080516020612858833981519152600f546001611364919061249a565b604080519182523360208301520160405180910390a16113826118a7565b3360009081526013602052604081208054600192906113a290849061249a565b909155508190506113b2816124b2565b91505061132b565b6006546001600160a01b031633146113e45760405162461bcd60e51b815260040161085590612414565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6006546001600160a01b031633146114585760405162461bcd60e51b815260040161085590612414565b600d805460ff19811660ff90911615179055565b600d5460ff166114be5760405162461bcd60e51b815260206004820152601860248201527f5761697420666f722073616c657320746f2073746172742100000000000000006044820152606401610855565b600a548111156114e05760405162461bcd60e51b815260040161085590612621565b60075481600f546114f1919061249a565b111561150f5760405162461bcd60e51b81526004016108559061251e565b8060085461151d9190612555565b34101561153c5760405162461bcd60e51b815260040161085590612574565b60005b81811015610b725761155a33600f546001610b1f919061249a565b600080516020612858833981519152600f546001611578919061249a565b604080519182523360208301520160405180910390a16115966118a7565b806115a0816124b2565b91505061153f565b6060600180546108a990612449565b6001600160a01b038116600090815260136020526040812054600c54610825919061259e565b6001600160a01b0382163314156116365760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610855565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116ac33836118be565b6116c85760405162461bcd60e51b8152600401610855906124cd565b6116d484848484611d2d565b50505050565b6001600160a01b038116600090815260126020526040812054600b54610825919061259e565b6060600e61170d83611b55565b60405160200161171e9291906126a7565b6040516020818303038152906040529050919050565b6006546001600160a01b0316331461175e5760405162461bcd60e51b815260040161085590612414565b6001600160a01b0381166117c35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610855565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061185482610ff0565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610b72828260405180602001604052806000815250611d60565b600f80549060006118b7836124b2565b9190505550565b6000818152600260205260408120546001600160a01b03166119375760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610855565b600061194283610ff0565b9050806001600160a01b0316846001600160a01b0316148061197d5750836001600160a01b03166119728461092c565b6001600160a01b0316145b806119ad57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166119c882610ff0565b6001600160a01b031614611a305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610855565b6001600160a01b038216611a925760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610855565b611a9d60008261181f565b6001600160a01b0383166000908152600360205260408120805460019290611ac690849061259e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611af490849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606081611b795750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ba35780611b8d816124b2565b9150611b9c9050600a8361274e565b9150611b7d565b60008167ffffffffffffffff811115611bbe57611bbe612239565b6040519080825280601f01601f191660200182016040528015611be8576020820181803683370190505b509050815b8515611c7557611bfe60018261259e565b90506000611c0d600a8861274e565b611c1890600a612555565b611c22908861259e565b611c2d906030612770565b905060008160f81b905080848481518110611c4a57611c4a612795565b60200101906001600160f81b031916908160001a905350611c6c600a8961274e565b97505050611bed565b50949350505050565b600081815b8551811015611d22576000868281518110611ca057611ca0612795565b60200260200101519050808311611ce2576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611d0f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611d1a816124b2565b915050611c83565b509092149392505050565b611d388484846119b5565b611d4484848484611d93565b6116d45760405162461bcd60e51b8152600401610855906127ab565b611d6a8383611ea0565b611d776000848484611d93565b610ad25760405162461bcd60e51b8152600401610855906127ab565b60006001600160a01b0384163b15611e9557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611dd79033908990889088906004016127fd565b602060405180830381600087803b158015611df157600080fd5b505af1925050508015611e21575060408051601f3d908101601f19168201909252611e1e9181019061283a565b60015b611e7b573d808015611e4f576040519150601f19603f3d011682016040523d82523d6000602084013e611e54565b606091505b508051611e735760405162461bcd60e51b8152600401610855906127ab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119ad565b506001949350505050565b6001600160a01b038216611ef65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610855565b6000818152600260205260409020546001600160a01b031615611f5b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610855565b6001600160a01b0382166000908152600360205260408120805460019290611f8490849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611fee90612449565b90600052602060002090601f0160209004810192826120105760008555612056565b82601f1061202957805160ff1916838001178555612056565b82800160010185558215612056579182015b8281111561205657825182559160200191906001019061203b565b50612062929150612066565b5090565b5b808211156120625760008155600101612067565b6001600160e01b03198116811461209157600080fd5b50565b6000602082840312156120a657600080fd5b81356120b18161207b565b9392505050565b6000602082840312156120ca57600080fd5b5035919050565b60005b838110156120ec5781810151838201526020016120d4565b838111156116d45750506000910152565b600081518084526121158160208601602086016120d1565b601f01601f19169290920160200192915050565b6020815260006120b160208301846120fd565b80356001600160a01b038116811461215357600080fd5b919050565b6000806040838503121561216b57600080fd5b6121748361213c565b946020939093013593505050565b60008060006060848603121561219757600080fd5b6121a08461213c565b92506121ae6020850161213c565b9150604084013590509250925092565b6000806000604084860312156121d357600080fd5b833567ffffffffffffffff808211156121eb57600080fd5b818601915086601f8301126121ff57600080fd5b81358181111561220e57600080fd5b8760208260051b850101111561222357600080fd5b6020928301989097509590910135949350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561226a5761226a612239565b604051601f8501601f19908116603f0116810190828211818310171561229257612292612239565b816040528093508581528686860111156122ab57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156122d757600080fd5b813567ffffffffffffffff8111156122ee57600080fd5b8201601f810184136122ff57600080fd5b6119ad8482356020840161224f565b60006020828403121561232057600080fd5b6120b18261213c565b6000806040838503121561233c57600080fd5b6123458361213c565b91506020830135801515811461235a57600080fd5b809150509250929050565b6000806000806080858703121561237b57600080fd5b6123848561213c565b93506123926020860161213c565b925060408501359150606085013567ffffffffffffffff8111156123b557600080fd5b8501601f810187136123c657600080fd5b6123d58782356020840161224f565b91505092959194509250565b600080604083850312156123f457600080fd5b6123fd8361213c565b915061240b6020840161213c565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061245d57607f821691505b6020821081141561247e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156124ad576124ad612484565b500190565b60006000198214156124c6576124c6612484565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f416c6c205370696b657320686173206265656e206d696e746564210000000000604082015260600190565b600081600019048311821515161561256f5761256f612484565b500290565b60208082526010908201526f0d2dce6eaccccd2c6d2cadce8408aa8960831b604082015260600190565b6000828210156125b0576125b0612484565b500390565b600081516125c78185602086016120d1565b9290920192915050565b6802cb7ba903430bb32960bd1b8152600082516125f58160098501602087016120d1565b740103a37b5b2b739903632b33a103a379036b4b73a1605d1b6009939091019283015250601e01919050565b60208082526018908201527f546f6f206d616e79205370696b657320746f206d696e74210000000000000000604082015260600190565b6802cb7ba903430bb32960bd1b81526000825161267c8160098501602087016120d1565b73081d1bdad95b9cc81b19599d081d1bc81b5a5b9d60621b6009939091019283015250601d01919050565b600080845481600182811c9150808316806126c357607f831692505b60208084108214156126e357634e487b7160e01b86526022600452602486fd5b8180156126f7576001811461270857612735565b60ff19861689528489019650612735565b60008b81526020902060005b8681101561272d5781548b820152908501908301612714565b505084890196505b50505050505061274581856125b5565b95945050505050565b60008261276b57634e487b7160e01b600052601260045260246000fd5b500490565b600060ff821660ff84168060ff0382111561278d5761278d612484565b019392505050565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612830908301846120fd565b9695505050505050565b60006020828403121561284c57600080fd5b81516120b18161207b56fe49054460c9ae7c8500f5cb066399bc8572833a562f0fb3c81a360405f70a5de0a26469706673582212204358fce23240817017b385f052f0ce2fc663445019eb0072d2c063a7f9eeff8d64736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000076261736555726900000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): baseUri

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [2] : 6261736555726900000000000000000000000000000000000000000000000000


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.