ETH Price: $4,030.93 (+3.12%)

Contract

0x8ce5Bc42497D01cC752192F9e54B9B393250d3A1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...143652392022-03-11 11:28:261011 days ago1646998106IN
0x8ce5Bc42...93250d3A1
0 ETH0.0010310327.87869244
Claim143622582022-03-11 0:06:091011 days ago1646957169IN
0x8ce5Bc42...93250d3A1
0 ETH0.0030505326.3011578
Set Uri Prefix143598422022-03-10 15:14:421012 days ago1646925282IN
0x8ce5Bc42...93250d3A1
0 ETH0.0029087840.03333144
Claim143402072022-03-07 14:21:351015 days ago1646662895IN
0x8ce5Bc42...93250d3A1
0 ETH0.0041404535.69638675
Claim143335942022-03-06 13:27:191016 days ago1646573239IN
0x8ce5Bc42...93250d3A1
0 ETH0.0011690121.98807466
Claim143335922022-03-06 13:26:331016 days ago1646573193IN
0x8ce5Bc42...93250d3A1
0 ETH0.0021970218.93481145
Claim143297572022-03-05 23:09:271016 days ago1646521767IN
0x8ce5Bc42...93250d3A1
0 ETH0.0060030251.75870339
Claim143283462022-03-05 17:57:001016 days ago1646503020IN
0x8ce5Bc42...93250d3A1
0 ETH0.0055459747.81057635
Claim143275212022-03-05 14:54:121017 days ago1646492052IN
0x8ce5Bc42...93250d3A1
0 ETH0.0016023730.16287748
Claim143275212022-03-05 14:54:121017 days ago1646492052IN
0x8ce5Bc42...93250d3A1
0 ETH0.0016023730.16287748
Claim143273722022-03-05 14:23:041017 days ago1646490184IN
0x8ce5Bc42...93250d3A1
0 ETH0.0036710331.64382452
Claim143270422022-03-05 13:08:341017 days ago1646485714IN
0x8ce5Bc42...93250d3A1
0 ETH0.00255322.00698097
Claim143269712022-03-05 12:53:231017 days ago1646484803IN
0x8ce5Bc42...93250d3A1
0 ETH0.0011001218.35469632
Claim143257202022-03-05 8:12:581017 days ago1646467978IN
0x8ce5Bc42...93250d3A1
0 ETH0.0035249930.38760318
Claim143247692022-03-05 4:29:551017 days ago1646454595IN
0x8ce5Bc42...93250d3A1
0 ETH0.0033433528.81932465
Claim143240382022-03-05 1:41:481017 days ago1646444508IN
0x8ce5Bc42...93250d3A1
0 ETH0.0050504843.53455635
Claim143210442022-03-04 14:34:051018 days ago1646404445IN
0x8ce5Bc42...93250d3A1
0 ETH0.0038180932.90294285
Claim143208072022-03-04 13:44:491018 days ago1646401489IN
0x8ce5Bc42...93250d3A1
0 ETH0.0029056525.0398744
Claim143207342022-03-04 13:27:431018 days ago1646400463IN
0x8ce5Bc42...93250d3A1
0 ETH0.0035604730.69722955
Claim143206902022-03-04 13:17:361018 days ago1646399856IN
0x8ce5Bc42...93250d3A1
0 ETH0.0030086626.46727667
Claim143205422022-03-04 12:46:091018 days ago1646397969IN
0x8ce5Bc42...93250d3A1
0 ETH0.002859824.65156679
Claim143205072022-03-04 12:38:331018 days ago1646397513IN
0x8ce5Bc42...93250d3A1
0 ETH0.0015426625.71228934
Claim143204822022-03-04 12:33:551018 days ago1646397235IN
0x8ce5Bc42...93250d3A1
0 ETH0.0030888623.62219668
Claim143201982022-03-04 11:35:101018 days ago1646393710IN
0x8ce5Bc42...93250d3A1
0 ETH0.0014787827.82703675
Claim143201982022-03-04 11:35:101018 days ago1646393710IN
0x8ce5Bc42...93250d3A1
0 ETH0.0032281327.82703675
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
secondary

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : secondary.sol
pragma solidity >=0.7.0 <0.9.0;

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

contract secondary is Ownable{
    diverse public Diverse;
    bytes32 root;
    mapping(address => uint256) public addressMintedBalance;

    uint256 public maxMintAmount = 1;

    function claim(uint256 _MintAmount,bytes32[]memory proof)public {
        require(Diverse.Totalminted() + _MintAmount <= supply(), "Max premint supply exceeded!");
        require(_verify(_leaf(msg.sender), proof) != false, "Invalid merkle proof");

        uint256 ownerMintedCount = addressMintedBalance[msg.sender];
        require(ownerMintedCount + _MintAmount <= maxMintAmount, "max NFT per address exceeded");

        mintloop(_MintAmount,msg.sender);
    }

    function WithDraw(address payable _Address)public payable onlyOwner{
         Diverse.withdraw(_Address);
     }

      function TransferOwnership(address _NewOwner)public onlyOwner{
       Diverse.transferOwnership(_NewOwner);
     }

     function addaddress(diverse _address)public onlyOwner{
         Diverse = _address;
     }

     function _leaf(address account)
    public pure returns (bytes32)
    {
        return keccak256(abi.encodePacked(account));
    }

    function supply()public view returns(uint256){
        return Diverse.premintSupply();
    }


    function setmaxMintAmount(uint256 _maxMintAmount) public onlyOwner {
    maxMintAmount = _maxMintAmount;
    }


    function _verify(bytes32 leaf, bytes32[] memory proof)
    public view returns (bool)
    {
        return MerkleProof.verify(proof,root, leaf);
    }

    function addroot(bytes32 _root)public onlyOwner{
      root = _root;
    }

    function reveal(bool _state)public onlyOwner{
        Diverse.setRevealed(_state);
    }

    function mintloop(uint256 _maxMintAmount,address _reciver)internal {
        addressMintedBalance[msg.sender]++;
        Diverse.mintForAddress(_maxMintAmount,_reciver);
    }

    function SetUriPrefix(string memory _uriPrefix) public onlyOwner {
     Diverse.setUriPrefix(_uriPrefix);
    }

    function SetPaused(bool _state) public onlyOwner {
     Diverse.setPaused(_state);
    }

     function SetpreMintsupply(uint256 _MaxMintAmount) public onlyOwner {
     Diverse.setpreMintsupply(_MaxMintAmount);
     }

    function withdraw(address _address ) public onlyOwner {
    // This will transfer the remaining contract balance to the owner.
    // Do not remove this otherwise you will not be able to withdraw the funds.
    // =============================================================================
    (bool os, ) = payable(_address).call{value: address(this).balance}("");
    require(os);
    // =============================================================================
  }


}

File 2 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

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) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 14 : diverse.sol
// SPDX-License-Identifier: MIT

//author: dattaraj guttedar || twitter:dattarajguttedr
// www.degen.rocks || twitter:degen_rocks


pragma solidity >=0.7.0 <0.9.0;

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


contract diverse is ERC721, Ownable {
  using Strings for uint256;
  using Counters for Counters.Counter;

  Counters.Counter private supply;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.25 ether;
  uint256 public maxSupply = 5000;
  uint256 public maxMintAmount = 1;
  uint256 public premintSupply = 1500;

  bool public paused = true;
  bool public revealed = false;
  bool public onlyWhitelisted = true;

  bytes32 public root;

  mapping(address => uint256) public addressMintedBalance;

  constructor(bytes32 _setroot) ERC721("Diverse", "Diverse") {
    setHiddenMetadataUri("ipfs://Qma9orYNYue2ohk2KUWCGbP8xr2tLdAxGGX41rezxg6aGz/");
    root = _setroot;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmount, "Invalid mint amount!");
    require(supply.current() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

  function totalSupply() public view returns (uint256) {
    return supply.current();
  }

  function mint(uint256 _mintAmount,bytes32[] calldata proof) public payable mintCompliance(_mintAmount) {
    require(!paused, "The contract is paused!");
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");

    if(onlyWhitelisted == true){
    require(_verify(_leaf(msg.sender), proof) != false, "Invalid merkle proof");
    require(supply.current() + _mintAmount <= premintSupply, "Max premint supply exceeded!");
    }

    uint256 ownerMintedCount = addressMintedBalance[msg.sender];
    require(ownerMintedCount + _mintAmount <= maxMintAmount, "max NFT per address exceeded");
    
    _mintLoop(msg.sender, _mintAmount);
    
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
    _mintLoop(_receiver, _mintAmount);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    if(revealed == false) {
       return bytes(hiddenMetadataUri).length > 0
      ? string(abi.encodePacked(hiddenMetadataUri, _tokenId.toString(), uriSuffix))
        : "";
    }

    string memory currentBaseURI = _baseURI(); 
    return bytes(currentBaseURI).length > 0
      ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

    function _leaf(address account)
    public pure returns (bytes32)
    {
        return keccak256(abi.encodePacked(account));
    }

    function _verify(bytes32 leaf, bytes32[] memory proof)
    public view returns (bool)
    {
        return MerkleProof.verify(proof,root, leaf);
    }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function addroot(bytes32 _root)public onlyOwner{
      root = _root;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setwhitelisted(bool _state)public onlyOwner{
      onlyWhitelisted = _state;
  }

  function setmaxMintAmount(uint256 _maxMintAmount) public onlyOwner {
    maxMintAmount = _maxMintAmount;
  }

  function setpreMintsupply(uint256 _MaxMintAmount) public onlyOwner {
    premintSupply = _MaxMintAmount;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

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

  function getcost() public view returns(uint256){
      return cost;
  }

  function withdraw(address _address ) public onlyOwner {
    // This will transfer the remaining contract balance to the owner.
    // Do not remove this otherwise you will not be able to withdraw the funds.
    // =============================================================================
    (bool os, ) = payable(_address).call{value: address(this).balance}("");
    require(os);
    // =============================================================================
  }

  function _mintLoop(address _receiver, uint256 _mintAmount) internal {
    for (uint256 i = 0; i < _mintAmount; i++) {
      addressMintedBalance[msg.sender]++;
      supply.increment();
      _safeMint(_receiver, supply.current());
    }
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 7 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 8 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 12 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"Diverse","outputs":[{"internalType":"contract diverse","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"SetPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"SetUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MaxMintAmount","type":"uint256"}],"name":"SetpreMintsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_NewOwner","type":"address"}],"name":"TransferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_Address","type":"address"}],"name":"WithDraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"_leaf","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"_verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract diverse","name":"_address","type":"address"}],"name":"addaddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"addroot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600160045534801561001557600080fd5b5061003261002761003760201b60201c565b61003f60201b60201c565b610103565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120d680620001136000396000f3fe60806040526004361061011f5760003560e01c8063715018a6116100a0578063cfaaa26611610064578063cfaaa266146103bd578063db2c43b4146103e6578063e0d53c551461040f578063e1c2abdd1461042b578063f2fde38b146104545761011f565b8063715018a6146102fe5780637f00c7a6146103155780638da5cb5b1461033e578063940cd05b14610369578063c374db9f146103925761011f565b806346e8cdd9116100e757806346e8cdd91461020957806346f265fd1461023257806349912e8d1461026f5780634ad3c0d1146102ac57806351cff8d9146102d55761011f565b8063047fc9aa1461012457806318cae2691461014f578063239c70ae1461018c5780632f52ebb7146101b75780633c70af01146101e0575b600080fd5b34801561013057600080fd5b5061013961047d565b6040516101469190611b7b565b60405180910390f35b34801561015b57600080fd5b506101766004803603810190610171919061164a565b610524565b6040516101839190611b7b565b60405180910390f35b34801561019857600080fd5b506101a161053c565b6040516101ae9190611b7b565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d9919061182a565b610542565b005b3480156101ec57600080fd5b50610207600480360381019061020291906116a4565b610732565b005b34801561021557600080fd5b50610230600480360381019061022b91906116d1565b61083e565b005b34801561023e57600080fd5b50610259600480360381019061025491906116fe565b6108c4565b6040516102669190611a68565b60405180910390f35b34801561027b57600080fd5b506102966004803603810190610291919061164a565b6108db565b6040516102a39190611a83565b60405180910390f35b3480156102b857600080fd5b506102d360048036038101906102ce919061175a565b61090b565b005b3480156102e157600080fd5b506102fc60048036038101906102f7919061164a565b6109cb565b005b34801561030a57600080fd5b50610313610ac1565b005b34801561032157600080fd5b5061033c600480360381019061033791906117d0565b610b49565b005b34801561034a57600080fd5b50610353610bcf565b6040516103609190611a32565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b91906116a4565b610bf8565b005b34801561039e57600080fd5b506103a7610d04565b6040516103b49190611a9e565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df919061164a565b610d2a565b005b3480156103f257600080fd5b5061040d600480360381019061040891906117d0565b610e36565b005b61042960048036038101906104249190611677565b610f42565b005b34801561043757600080fd5b50610452600480360381019061044d9190611787565b61104e565b005b34801561046057600080fd5b5061047b6004803603810190610476919061164a565b61115a565b005b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166374b1ceaf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e757600080fd5b505afa1580156104fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051f91906117fd565b905090565b60036020528060005260406000206000915090505481565b60045481565b61054a61047d565b82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663631f9b5c6040518163ffffffff1660e01b815260040160206040518083038186803b1580156105b357600080fd5b505afa1580156105c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105eb91906117fd565b6105f59190611c68565b1115610636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062d90611b5b565b60405180910390fd5b6000151561064c610646336108db565b836108c4565b1515141561068f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068690611b3b565b60405180910390fd5b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060045483826106e29190611c68565b1115610723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071a90611afb565b60405180910390fd5b61072d8333611252565b505050565b61073a61133a565b73ffffffffffffffffffffffffffffffffffffffff16610758610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a590611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316c38b3c826040518263ffffffff1660e01b81526004016108099190611a68565b600060405180830381600087803b15801561082357600080fd5b505af1158015610837573d6000803e3d6000fd5b5050505050565b61084661133a565b73ffffffffffffffffffffffffffffffffffffffff16610864610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b190611b1b565b60405180910390fd5b8060028190555050565b60006108d38260025485611342565b905092915050565b6000816040516020016108ee9190611a02565b604051602081830303815290604052805190602001209050919050565b61091361133a565b73ffffffffffffffffffffffffffffffffffffffff16610931610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e90611b1b565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6109d361133a565b73ffffffffffffffffffffffffffffffffffffffff166109f1610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3e90611b1b565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1647604051610a6d90611a1d565b60006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610abd57600080fd5b5050565b610ac961133a565b73ffffffffffffffffffffffffffffffffffffffff16610ae7610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3490611b1b565b60405180910390fd5b610b476000611359565b565b610b5161133a565b73ffffffffffffffffffffffffffffffffffffffff16610b6f610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbc90611b1b565b60405180910390fd5b8060048190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c0061133a565b73ffffffffffffffffffffffffffffffffffffffff16610c1e610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e0a80853826040518263ffffffff1660e01b8152600401610ccf9190611a68565b600060405180830381600087803b158015610ce957600080fd5b505af1158015610cfd573d6000803e3d6000fd5b5050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d3261133a565b73ffffffffffffffffffffffffffffffffffffffff16610d50610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d90611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401610e019190611a32565b600060405180830381600087803b158015610e1b57600080fd5b505af1158015610e2f573d6000803e3d6000fd5b5050505050565b610e3e61133a565b73ffffffffffffffffffffffffffffffffffffffff16610e5c610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f58e1964826040518263ffffffff1660e01b8152600401610f0d9190611b7b565b600060405180830381600087803b158015610f2757600080fd5b505af1158015610f3b573d6000803e3d6000fd5b5050505050565b610f4a61133a565b73ffffffffffffffffffffffffffffffffffffffff16610f68610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166351cff8d9826040518263ffffffff1660e01b81526004016110199190611a4d565b600060405180830381600087803b15801561103357600080fd5b505af1158015611047573d6000803e3d6000fd5b5050505050565b61105661133a565b73ffffffffffffffffffffffffffffffffffffffff16611074610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c190611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ec4a659826040518263ffffffff1660e01b81526004016111259190611ab9565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b5050505050565b61116261133a565b73ffffffffffffffffffffffffffffffffffffffff16611180610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90611b1b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d90611adb565b60405180910390fd5b61124f81611359565b50565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906112a290611def565b9190505550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663efbd73f483836040518363ffffffff1660e01b8152600401611304929190611b96565b600060405180830381600087803b15801561131e57600080fd5b505af1158015611332573d6000803e3d6000fd5b505050505050565b600033905090565b60008261134f858461141d565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b845181101561148757600085828151811061144457611443611e8b565b5b602002602001015190508083116114665761145f8382611492565b9250611473565b6114708184611492565b92505b50808061147f90611def565b915050611426565b508091505092915050565b600082600052816020526040600020905092915050565b60006114bc6114b784611be4565b611bbf565b905080838252602082019050828560208602820111156114df576114de611eee565b5b60005b8581101561150f57816114f588826115c8565b8452602084019350602083019250506001810190506114e2565b5050509392505050565b600061152c61152784611c10565b611bbf565b90508281526020810184848401111561154857611547611ef3565b5b611553848285611d7c565b509392505050565b60008135905061156a81612016565b92915050565b60008135905061157f8161202d565b92915050565b600082601f83011261159a57611599611ee9565b5b81356115aa8482602086016114a9565b91505092915050565b6000813590506115c281612044565b92915050565b6000813590506115d78161205b565b92915050565b6000813590506115ec81612072565b92915050565b600082601f83011261160757611606611ee9565b5b8135611617848260208601611519565b91505092915050565b60008135905061162f81612089565b92915050565b60008151905061164481612089565b92915050565b6000602082840312156116605761165f611efd565b5b600061166e8482850161155b565b91505092915050565b60006020828403121561168d5761168c611efd565b5b600061169b84828501611570565b91505092915050565b6000602082840312156116ba576116b9611efd565b5b60006116c8848285016115b3565b91505092915050565b6000602082840312156116e7576116e6611efd565b5b60006116f5848285016115c8565b91505092915050565b6000806040838503121561171557611714611efd565b5b6000611723858286016115c8565b925050602083013567ffffffffffffffff81111561174457611743611ef8565b5b61175085828601611585565b9150509250929050565b6000602082840312156117705761176f611efd565b5b600061177e848285016115dd565b91505092915050565b60006020828403121561179d5761179c611efd565b5b600082013567ffffffffffffffff8111156117bb576117ba611ef8565b5b6117c7848285016115f2565b91505092915050565b6000602082840312156117e6576117e5611efd565b5b60006117f484828501611620565b91505092915050565b60006020828403121561181357611812611efd565b5b600061182184828501611635565b91505092915050565b6000806040838503121561184157611840611efd565b5b600061184f85828601611620565b925050602083013567ffffffffffffffff8111156118705761186f611ef8565b5b61187c85828601611585565b9150509250929050565b61188f81611d34565b82525050565b61189e81611cbe565b82525050565b6118b56118b082611cbe565b611e38565b82525050565b6118c481611ce2565b82525050565b6118d381611cee565b82525050565b6118e281611d46565b82525050565b60006118f382611c41565b6118fd8185611c57565b935061190d818560208601611d8b565b61191681611f02565b840191505092915050565b600061192e602683611c57565b915061193982611f20565b604082019050919050565b6000611951601c83611c57565b915061195c82611f6f565b602082019050919050565b6000611974602083611c57565b915061197f82611f98565b602082019050919050565b6000611997601483611c57565b91506119a282611fc1565b602082019050919050565b60006119ba600083611c4c565b91506119c582611fea565b600082019050919050565b60006119dd601c83611c57565b91506119e882611fed565b602082019050919050565b6119fc81611d2a565b82525050565b6000611a0e82846118a4565b60148201915081905092915050565b6000611a28826119ad565b9150819050919050565b6000602082019050611a476000830184611895565b92915050565b6000602082019050611a626000830184611886565b92915050565b6000602082019050611a7d60008301846118bb565b92915050565b6000602082019050611a9860008301846118ca565b92915050565b6000602082019050611ab360008301846118d9565b92915050565b60006020820190508181036000830152611ad381846118e8565b905092915050565b60006020820190508181036000830152611af481611921565b9050919050565b60006020820190508181036000830152611b1481611944565b9050919050565b60006020820190508181036000830152611b3481611967565b9050919050565b60006020820190508181036000830152611b548161198a565b9050919050565b60006020820190508181036000830152611b74816119d0565b9050919050565b6000602082019050611b9060008301846119f3565b92915050565b6000604082019050611bab60008301856119f3565b611bb86020830184611895565b9392505050565b6000611bc9611bda565b9050611bd58282611dbe565b919050565b6000604051905090565b600067ffffffffffffffff821115611bff57611bfe611eba565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611c2b57611c2a611eba565b5b611c3482611f02565b9050602081019050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611c7382611d2a565b9150611c7e83611d2a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611cb357611cb2611e5c565b5b828201905092915050565b6000611cc982611d0a565b9050919050565b6000611cdb82611d0a565b9050919050565b60008115159050919050565b6000819050919050565b6000611d0382611cbe565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611d3f82611d58565b9050919050565b6000611d5182611d58565b9050919050565b6000611d6382611d6a565b9050919050565b6000611d7582611d0a565b9050919050565b82818337600083830152505050565b60005b83811015611da9578082015181840152602081019050611d8e565b83811115611db8576000848401525b50505050565b611dc782611f02565b810181811067ffffffffffffffff82111715611de657611de5611eba565b5b80604052505050565b6000611dfa82611d2a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e2d57611e2c611e5c565b5b600182019050919050565b6000611e4382611e4a565b9050919050565b6000611e5582611f13565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b50565b7f4d6178207072656d696e7420737570706c792065786365656465642100000000600082015250565b61201f81611cbe565b811461202a57600080fd5b50565b61203681611cd0565b811461204157600080fd5b50565b61204d81611ce2565b811461205857600080fd5b50565b61206481611cee565b811461206f57600080fd5b50565b61207b81611cf8565b811461208657600080fd5b50565b61209281611d2a565b811461209d57600080fd5b5056fea2646970667358221220e28962e3b8d2e87170785e0df7ba82b9b3f3f1f62637f4e2a9e76a76fb89eb9d64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061011f5760003560e01c8063715018a6116100a0578063cfaaa26611610064578063cfaaa266146103bd578063db2c43b4146103e6578063e0d53c551461040f578063e1c2abdd1461042b578063f2fde38b146104545761011f565b8063715018a6146102fe5780637f00c7a6146103155780638da5cb5b1461033e578063940cd05b14610369578063c374db9f146103925761011f565b806346e8cdd9116100e757806346e8cdd91461020957806346f265fd1461023257806349912e8d1461026f5780634ad3c0d1146102ac57806351cff8d9146102d55761011f565b8063047fc9aa1461012457806318cae2691461014f578063239c70ae1461018c5780632f52ebb7146101b75780633c70af01146101e0575b600080fd5b34801561013057600080fd5b5061013961047d565b6040516101469190611b7b565b60405180910390f35b34801561015b57600080fd5b506101766004803603810190610171919061164a565b610524565b6040516101839190611b7b565b60405180910390f35b34801561019857600080fd5b506101a161053c565b6040516101ae9190611b7b565b60405180910390f35b3480156101c357600080fd5b506101de60048036038101906101d9919061182a565b610542565b005b3480156101ec57600080fd5b50610207600480360381019061020291906116a4565b610732565b005b34801561021557600080fd5b50610230600480360381019061022b91906116d1565b61083e565b005b34801561023e57600080fd5b50610259600480360381019061025491906116fe565b6108c4565b6040516102669190611a68565b60405180910390f35b34801561027b57600080fd5b506102966004803603810190610291919061164a565b6108db565b6040516102a39190611a83565b60405180910390f35b3480156102b857600080fd5b506102d360048036038101906102ce919061175a565b61090b565b005b3480156102e157600080fd5b506102fc60048036038101906102f7919061164a565b6109cb565b005b34801561030a57600080fd5b50610313610ac1565b005b34801561032157600080fd5b5061033c600480360381019061033791906117d0565b610b49565b005b34801561034a57600080fd5b50610353610bcf565b6040516103609190611a32565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b91906116a4565b610bf8565b005b34801561039e57600080fd5b506103a7610d04565b6040516103b49190611a9e565b60405180910390f35b3480156103c957600080fd5b506103e460048036038101906103df919061164a565b610d2a565b005b3480156103f257600080fd5b5061040d600480360381019061040891906117d0565b610e36565b005b61042960048036038101906104249190611677565b610f42565b005b34801561043757600080fd5b50610452600480360381019061044d9190611787565b61104e565b005b34801561046057600080fd5b5061047b6004803603810190610476919061164a565b61115a565b005b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166374b1ceaf6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104e757600080fd5b505afa1580156104fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051f91906117fd565b905090565b60036020528060005260406000206000915090505481565b60045481565b61054a61047d565b82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663631f9b5c6040518163ffffffff1660e01b815260040160206040518083038186803b1580156105b357600080fd5b505afa1580156105c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105eb91906117fd565b6105f59190611c68565b1115610636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062d90611b5b565b60405180910390fd5b6000151561064c610646336108db565b836108c4565b1515141561068f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068690611b3b565b60405180910390fd5b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060045483826106e29190611c68565b1115610723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071a90611afb565b60405180910390fd5b61072d8333611252565b505050565b61073a61133a565b73ffffffffffffffffffffffffffffffffffffffff16610758610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a590611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316c38b3c826040518263ffffffff1660e01b81526004016108099190611a68565b600060405180830381600087803b15801561082357600080fd5b505af1158015610837573d6000803e3d6000fd5b5050505050565b61084661133a565b73ffffffffffffffffffffffffffffffffffffffff16610864610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b190611b1b565b60405180910390fd5b8060028190555050565b60006108d38260025485611342565b905092915050565b6000816040516020016108ee9190611a02565b604051602081830303815290604052805190602001209050919050565b61091361133a565b73ffffffffffffffffffffffffffffffffffffffff16610931610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097e90611b1b565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6109d361133a565b73ffffffffffffffffffffffffffffffffffffffff166109f1610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3e90611b1b565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff1647604051610a6d90611a1d565b60006040518083038185875af1925050503d8060008114610aaa576040519150601f19603f3d011682016040523d82523d6000602084013e610aaf565b606091505b5050905080610abd57600080fd5b5050565b610ac961133a565b73ffffffffffffffffffffffffffffffffffffffff16610ae7610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3490611b1b565b60405180910390fd5b610b476000611359565b565b610b5161133a565b73ffffffffffffffffffffffffffffffffffffffff16610b6f610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbc90611b1b565b60405180910390fd5b8060048190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c0061133a565b73ffffffffffffffffffffffffffffffffffffffff16610c1e610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b90611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e0a80853826040518263ffffffff1660e01b8152600401610ccf9190611a68565b600060405180830381600087803b158015610ce957600080fd5b505af1158015610cfd573d6000803e3d6000fd5b5050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d3261133a565b73ffffffffffffffffffffffffffffffffffffffff16610d50610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d90611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401610e019190611a32565b600060405180830381600087803b158015610e1b57600080fd5b505af1158015610e2f573d6000803e3d6000fd5b5050505050565b610e3e61133a565b73ffffffffffffffffffffffffffffffffffffffff16610e5c610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f58e1964826040518263ffffffff1660e01b8152600401610f0d9190611b7b565b600060405180830381600087803b158015610f2757600080fd5b505af1158015610f3b573d6000803e3d6000fd5b5050505050565b610f4a61133a565b73ffffffffffffffffffffffffffffffffffffffff16610f68610bcf565b73ffffffffffffffffffffffffffffffffffffffff1614610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166351cff8d9826040518263ffffffff1660e01b81526004016110199190611a4d565b600060405180830381600087803b15801561103357600080fd5b505af1158015611047573d6000803e3d6000fd5b5050505050565b61105661133a565b73ffffffffffffffffffffffffffffffffffffffff16611074610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c190611b1b565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ec4a659826040518263ffffffff1660e01b81526004016111259190611ab9565b600060405180830381600087803b15801561113f57600080fd5b505af1158015611153573d6000803e3d6000fd5b5050505050565b61116261133a565b73ffffffffffffffffffffffffffffffffffffffff16611180610bcf565b73ffffffffffffffffffffffffffffffffffffffff16146111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cd90611b1b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d90611adb565b60405180910390fd5b61124f81611359565b50565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906112a290611def565b9190505550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663efbd73f483836040518363ffffffff1660e01b8152600401611304929190611b96565b600060405180830381600087803b15801561131e57600080fd5b505af1158015611332573d6000803e3d6000fd5b505050505050565b600033905090565b60008261134f858461141d565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b845181101561148757600085828151811061144457611443611e8b565b5b602002602001015190508083116114665761145f8382611492565b9250611473565b6114708184611492565b92505b50808061147f90611def565b915050611426565b508091505092915050565b600082600052816020526040600020905092915050565b60006114bc6114b784611be4565b611bbf565b905080838252602082019050828560208602820111156114df576114de611eee565b5b60005b8581101561150f57816114f588826115c8565b8452602084019350602083019250506001810190506114e2565b5050509392505050565b600061152c61152784611c10565b611bbf565b90508281526020810184848401111561154857611547611ef3565b5b611553848285611d7c565b509392505050565b60008135905061156a81612016565b92915050565b60008135905061157f8161202d565b92915050565b600082601f83011261159a57611599611ee9565b5b81356115aa8482602086016114a9565b91505092915050565b6000813590506115c281612044565b92915050565b6000813590506115d78161205b565b92915050565b6000813590506115ec81612072565b92915050565b600082601f83011261160757611606611ee9565b5b8135611617848260208601611519565b91505092915050565b60008135905061162f81612089565b92915050565b60008151905061164481612089565b92915050565b6000602082840312156116605761165f611efd565b5b600061166e8482850161155b565b91505092915050565b60006020828403121561168d5761168c611efd565b5b600061169b84828501611570565b91505092915050565b6000602082840312156116ba576116b9611efd565b5b60006116c8848285016115b3565b91505092915050565b6000602082840312156116e7576116e6611efd565b5b60006116f5848285016115c8565b91505092915050565b6000806040838503121561171557611714611efd565b5b6000611723858286016115c8565b925050602083013567ffffffffffffffff81111561174457611743611ef8565b5b61175085828601611585565b9150509250929050565b6000602082840312156117705761176f611efd565b5b600061177e848285016115dd565b91505092915050565b60006020828403121561179d5761179c611efd565b5b600082013567ffffffffffffffff8111156117bb576117ba611ef8565b5b6117c7848285016115f2565b91505092915050565b6000602082840312156117e6576117e5611efd565b5b60006117f484828501611620565b91505092915050565b60006020828403121561181357611812611efd565b5b600061182184828501611635565b91505092915050565b6000806040838503121561184157611840611efd565b5b600061184f85828601611620565b925050602083013567ffffffffffffffff8111156118705761186f611ef8565b5b61187c85828601611585565b9150509250929050565b61188f81611d34565b82525050565b61189e81611cbe565b82525050565b6118b56118b082611cbe565b611e38565b82525050565b6118c481611ce2565b82525050565b6118d381611cee565b82525050565b6118e281611d46565b82525050565b60006118f382611c41565b6118fd8185611c57565b935061190d818560208601611d8b565b61191681611f02565b840191505092915050565b600061192e602683611c57565b915061193982611f20565b604082019050919050565b6000611951601c83611c57565b915061195c82611f6f565b602082019050919050565b6000611974602083611c57565b915061197f82611f98565b602082019050919050565b6000611997601483611c57565b91506119a282611fc1565b602082019050919050565b60006119ba600083611c4c565b91506119c582611fea565b600082019050919050565b60006119dd601c83611c57565b91506119e882611fed565b602082019050919050565b6119fc81611d2a565b82525050565b6000611a0e82846118a4565b60148201915081905092915050565b6000611a28826119ad565b9150819050919050565b6000602082019050611a476000830184611895565b92915050565b6000602082019050611a626000830184611886565b92915050565b6000602082019050611a7d60008301846118bb565b92915050565b6000602082019050611a9860008301846118ca565b92915050565b6000602082019050611ab360008301846118d9565b92915050565b60006020820190508181036000830152611ad381846118e8565b905092915050565b60006020820190508181036000830152611af481611921565b9050919050565b60006020820190508181036000830152611b1481611944565b9050919050565b60006020820190508181036000830152611b3481611967565b9050919050565b60006020820190508181036000830152611b548161198a565b9050919050565b60006020820190508181036000830152611b74816119d0565b9050919050565b6000602082019050611b9060008301846119f3565b92915050565b6000604082019050611bab60008301856119f3565b611bb86020830184611895565b9392505050565b6000611bc9611bda565b9050611bd58282611dbe565b919050565b6000604051905090565b600067ffffffffffffffff821115611bff57611bfe611eba565b5b602082029050602081019050919050565b600067ffffffffffffffff821115611c2b57611c2a611eba565b5b611c3482611f02565b9050602081019050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611c7382611d2a565b9150611c7e83611d2a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611cb357611cb2611e5c565b5b828201905092915050565b6000611cc982611d0a565b9050919050565b6000611cdb82611d0a565b9050919050565b60008115159050919050565b6000819050919050565b6000611d0382611cbe565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611d3f82611d58565b9050919050565b6000611d5182611d58565b9050919050565b6000611d6382611d6a565b9050919050565b6000611d7582611d0a565b9050919050565b82818337600083830152505050565b60005b83811015611da9578082015181840152602081019050611d8e565b83811115611db8576000848401525b50505050565b611dc782611f02565b810181811067ffffffffffffffff82111715611de657611de5611eba565b5b80604052505050565b6000611dfa82611d2a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611e2d57611e2c611e5c565b5b600182019050919050565b6000611e4382611e4a565b9050919050565b6000611e5582611f13565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b50565b7f4d6178207072656d696e7420737570706c792065786365656465642100000000600082015250565b61201f81611cbe565b811461202a57600080fd5b50565b61203681611cd0565b811461204157600080fd5b50565b61204d81611ce2565b811461205857600080fd5b50565b61206481611cee565b811461206f57600080fd5b50565b61207b81611cf8565b811461208657600080fd5b50565b61209281611d2a565b811461209d57600080fd5b5056fea2646970667358221220e28962e3b8d2e87170785e0df7ba82b9b3f3f1f62637f4e2a9e76a76fb89eb9d64736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.