ETH Price: $3,506.80 (+4.03%)
Gas: 4 Gwei

Token

Animalverse Dancing Underwater (ADU)
 

Overview

Max Total Supply

1,708 ADU

Holders

1,493

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ADU
0x744a5c964eb6c7e7f75ec3f6a38cab6cbf04f8f6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

ADU is a tribe in Underwater city that disappeared. but it is rarely mentioned. Within this city, there lived a type of tribe called Animalverse, although it was a forgotten city. But it's a city that has only fun all the time.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AnimalVerse

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

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

// Update 22 June : Upgrade logic of WL mint time before public sale

pragma solidity >=0.7.0 <0.9.0;

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

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

  Counters.Counter private supply;
  Counters.Counter private supplyLegend;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  uint256 public maxSupply = 10000;
  uint256 public legendMaxSupply = 8;
  uint256 public cost = 0.02 ether;   
  uint256 public costLegend = 1 ether; 
  uint256 public maxMintAmountPerTx = 3;
  uint256 public maxNFTPerAccount = 3;
  uint256 public maxFreeMint = 5200;
  uint256 public whitelistEndDate = 1657965600;

  mapping(address => uint256) public addressMintedBalance;
  mapping(address => uint256) public addressGetFreeMint;
  bytes32 public whitelistMerkleRoot;
  address private founder = 0x04ae8CA7B2592Bb65eb1bA489383336841507B0D;

  bool public ALpaused = true;
  bool public revealed = false;

  constructor() ERC721("Animalverse Dancing Underwater", "ADU") {
    setHiddenMetadataUri("ipfs://QmcZHPWn9REq8TNeM1ALNJtPNLXb5K17iLNkpqYGdQXumk/hidden.json");
    for (uint256 i = 0; i <= 7; i++) {
      supply.increment();  // Shift supply to 8
    }
  }

// Modifier 
  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, 'max NFT limit exceeded!');
    _;
  }

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

  function totalSupplyLegend() public view returns (uint256) {
    return supplyLegend.current();
  }

  function mint(uint256 _mintAmount , bytes32[] calldata merkleProof) 
    public 
    payable 
    mintCompliance(_mintAmount)
    nonReentrant 
  {
    require(!ALpaused, "The contract is paused!");
    uint256 ownerMintedCount = addressMintedBalance[msg.sender];

    if(block.timestamp < whitelistEndDate) {
      require(isValidMerkleProof(merkleProof, whitelistMerkleRoot), "This is Whitelist round - you are not whitelisted.");
    }
      
    require(
      ownerMintedCount + _mintAmount <= maxNFTPerAccount,
      "Max NFT per address exceeded."
    );
    require(msg.value >= getCurrentPrice(_mintAmount, merkleProof), "Insufficient funds.");
    require(
      _mintAmount <= maxMintAmountPerTx,
      "Max mint amount per transaction exceeded."
    );

    if (addressGetFreeMint[_msgSender()] == 0){
        if(maxFreeMint == 0){
            maxFreeMint = 0;
        }else{
            maxFreeMint = maxFreeMint - 1;
            addressGetFreeMint[_msgSender()] = addressGetFreeMint[_msgSender()] + 1;
        }  
    }

    _mintLoop(msg.sender, _mintAmount);

    (bool cl, ) = payable(founder).call{value: msg.value}("");
    require(cl);
  }

  function mintLegend(uint256 _mintAmount) 
    public 
    payable 
    nonReentrant 
  {
    require(!ALpaused, "The contract is paused!");
    uint256 ownerMintedCount = addressMintedBalance[msg.sender];
    require(supplyLegend.current() + _mintAmount <= legendMaxSupply, 'Legend : max NFT limit exceeded!');
    require(
      ownerMintedCount + _mintAmount <= maxNFTPerAccount,
      "Max NFT per address exceeded."
    );
    require(msg.value >= costLegend * _mintAmount, "Legend : insufficient funds.");
    require(
      _mintAmount <= maxMintAmountPerTx,
      "Max mint amount per transaction exceeded."
    );

    _mintLegend(msg.sender, _mintAmount);

    (bool cl, ) = payable(founder).call{value: msg.value}("");
    require(cl);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
    _mintLoop(_receiver, _mintAmount);
  }

  function burn(uint256 tokenId) public { 
     require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
  }

  function getCurrentPrice(uint256 _mintAmount, bytes32[] calldata merkleProof) public view returns (uint256) {
    uint256 finalPrice;
    if(block.timestamp < whitelistEndDate) {
      if(isValidMerkleProof(merkleProof,whitelistMerkleRoot) && addressGetFreeMint[_msgSender()] == 0 && maxFreeMint > 0){
          finalPrice = (_mintAmount - 1) * cost;
          return finalPrice;
        } else {
          finalPrice = _mintAmount * cost;
          return finalPrice;
        }
    } else if (addressGetFreeMint[_msgSender()] == 0 && maxFreeMint > 0) {
      finalPrice = (_mintAmount - 1) * cost;
      return finalPrice;
    } else {
      finalPrice = _mintAmount * cost;
          return finalPrice;
    }
  }

  function isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) private view returns (bool) {
        if(MerkleProof.verify(merkleProof,root,keccak256(abi.encodePacked(msg.sender)))){
          return true;
        }else{
          return false;
        }           
  }

  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 <= supply.current()) {
      if (_exists(currentTokenId)) {
        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 hiddenMetadataUri;
    }
    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

// SETTING parameter

  function setPresaleEndDate(uint256 _date) public onlyOwner {
    whitelistEndDate = _date;
  }

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

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

  function setLGCost(uint256 _cost) external onlyOwner {
    costLegend = _cost;
  }

  function setMaxFreeMint(uint256 _max) external onlyOwner {
    maxFreeMint = _max;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) external onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setMaxNFTPerAccount(uint256 _maxNFT) external onlyOwner {
    maxNFTPerAccount = _maxNFT;
  }

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

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

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

  function setALPaused(bool _state) external onlyOwner {
    ALpaused = _state;
  }

  function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        whitelistMerkleRoot = merkleRoot;
  }

  function withdraw() public onlyOwner {
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }

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

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

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

File 2 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 3 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 4 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 5 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 6 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 7 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 8 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 9 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 10 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 11 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 12 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 13 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 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": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"ALpaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressGetFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":[{"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costLegend","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":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"legendMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNFTPerAccount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintLegend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setALPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setLGCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxNFT","type":"uint256"}],"name":"setMaxNFTPerAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_date","type":"uint256"}],"name":"setPresaleEndDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_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":[],"name":"totalSupplyLegend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistEndDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600a916200028f565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600b916200028f565b50612710600d556008600e5566470de4df820000600f55670de0b6b3a7640000601055600360118190556012556114506013556362d28c20601455601880546001600160b01b031916740104ae8ca7b2592bb65eb1ba489383336841507b0d179055348015620000b957600080fd5b50604080518082018252601e81527f416e696d616c76657273652044616e63696e6720556e6465727761746572000060208083019182528351808501909452600384526241445560e81b9084015281519192916200011a916000916200028f565b508051620001309060019060208401906200028f565b5050506200014d62000147620001b860201b60201c565b620001bc565b60016007819055506200017960405180608001604052806041815260200162003296604191396200020e565b60005b60078111620001b1576200019c60086200028660201b62001c3f1760201c565b80620001a88162000335565b9150506200017c565b506200039c565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b031633146200026d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200028290600c9060208401906200028f565b5050565b80546001019055565b8280546200029d906200035f565b90600052602060002090601f016020900481019282620002c157600085556200030c565b82601f10620002dc57805160ff19168380011785556200030c565b828001600101855582156200030c579182015b828111156200030c578251825591602001919060010190620002ef565b506200031a9291506200031e565b5090565b5b808211156200031a57600081556001016200031f565b60006000198214156200035857634e487b7160e01b600052601160045260246000fd5b5060010190565b600181811c908216806200037457607f821691505b602082108114156200039657634e487b7160e01b600052602260045260246000fd5b50919050565b612eea80620003ac6000396000f3fe60806040526004361061031a5760003560e01c80638da5cb5b116101ab578063c87b56dd116100f7578063daef841911610095578063e985e9c51161006f578063e985e9c5146108d9578063eca2494c14610922578063efbd73f414610942578063f2fde38b1461096257600080fd5b8063daef84191461088d578063dfb25a7d146108a3578063e0a80853146108b957600080fd5b8063cc901d07116100d1578063cc901d0714610824578063d39a840a14610844578063d5abeb0114610864578063d6652ea31461087a57600080fd5b8063c87b56dd146107c1578063ca01ed52146107e1578063cc8ceef2146107f757600080fd5b8063a45ba8e711610164578063b071401b1161013e578063b071401b1461074e578063b88d4fde1461076e578063ba41b0c61461078e578063bd32fb66146107a157600080fd5b8063a45ba8e71461070d578063a591252d14610722578063aa98e0c61461073857600080fd5b80638da5cb5b14610663578063934527c41461068157806394354fd0146106a157806395d89b41146106b75780639b135748146106cc578063a22cb465146106ed57600080fd5b806342966c681161026a57806362b99ad411610223578063715018a6116101fd578063715018a6146105f9578063738713431461060e578063742a4c9b146106235780637ec4a6591461064357600080fd5b806362b99ad4146105a45780636352211e146105b957806370a08231146105d957600080fd5b806342966c68146104e1578063438b63001461050157806344a0d68a1461052e5780634fdd43cb1461054e578063518302271461056e5780635503a0e81461058f57600080fd5b806316ba10e0116102d75780631d163d9c116102b15780631d163d9c1461047657806323b872dd1461048c5780633ccfd60b146104ac57806342842e0e146104c157600080fd5b806316ba10e01461041457806318160ddd1461043457806318cae2691461044957600080fd5b806301ffc9a71461031f57806306fdde0314610354578063081812fc14610376578063095ea7b3146103ae5780631351200c146103d057806313faede6146103fe575b600080fd5b34801561032b57600080fd5b5061033f61033a36600461276a565b610982565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b506103696109d4565b60405161034b91906127df565b34801561038257600080fd5b506103966103913660046127f2565b610a66565b6040516001600160a01b03909116815260200161034b565b3480156103ba57600080fd5b506103ce6103c9366004612827565b610b00565b005b3480156103dc57600080fd5b506103f06103eb366004612851565b610c16565b60405190815260200161034b565b34801561040a57600080fd5b506103f0600f5481565b34801561042057600080fd5b506103ce61042f36600461295c565b610cab565b34801561044057600080fd5b506103f0610cec565b34801561045557600080fd5b506103f06104643660046129a5565b60156020526000908152604090205481565b34801561048257600080fd5b506103f060105481565b34801561049857600080fd5b506103ce6104a73660046129c0565b610cfc565b3480156104b857600080fd5b506103ce610d2e565b3480156104cd57600080fd5b506103ce6104dc3660046129c0565b610dcc565b3480156104ed57600080fd5b506103ce6104fc3660046127f2565b610de7565b34801561050d57600080fd5b5061052161051c3660046129a5565b610e5e565b60405161034b91906129fc565b34801561053a57600080fd5b506103ce6105493660046127f2565b610f5d565b34801561055a57600080fd5b506103ce61056936600461295c565b610f8c565b34801561057a57600080fd5b5060185461033f90600160a81b900460ff1681565b34801561059b57600080fd5b50610369610fc9565b3480156105b057600080fd5b50610369611057565b3480156105c557600080fd5b506103966105d43660046127f2565b611064565b3480156105e557600080fd5b506103f06105f43660046129a5565b6110db565b34801561060557600080fd5b506103ce611162565b34801561061a57600080fd5b506103f0611198565b34801561062f57600080fd5b506103ce61063e3660046127f2565b6111a3565b34801561064f57600080fd5b506103ce61065e36600461295c565b6111d2565b34801561066f57600080fd5b506006546001600160a01b0316610396565b34801561068d57600080fd5b506103ce61069c3660046127f2565b61120f565b3480156106ad57600080fd5b506103f060115481565b3480156106c357600080fd5b5061036961123e565b3480156106d857600080fd5b5060185461033f90600160a01b900460ff1681565b3480156106f957600080fd5b506103ce610708366004612a50565b61124d565b34801561071957600080fd5b50610369611258565b34801561072e57600080fd5b506103f060135481565b34801561074457600080fd5b506103f060175481565b34801561075a57600080fd5b506103ce6107693660046127f2565b611265565b34801561077a57600080fd5b506103ce610789366004612a83565b611294565b6103ce61079c366004612851565b6112cc565b3480156107ad57600080fd5b506103ce6107bc3660046127f2565b611667565b3480156107cd57600080fd5b506103696107dc3660046127f2565b611696565b3480156107ed57600080fd5b506103f0600e5481565b34801561080357600080fd5b506103f06108123660046129a5565b60166020526000908152604090205481565b34801561083057600080fd5b506103ce61083f366004612aff565b611816565b34801561085057600080fd5b506103ce61085f3660046127f2565b61185e565b34801561087057600080fd5b506103f0600d5481565b6103ce6108883660046127f2565b61188d565b34801561089957600080fd5b506103f060125481565b3480156108af57600080fd5b506103f060145481565b3480156108c557600080fd5b506103ce6108d4366004612aff565b611afc565b3480156108e557600080fd5b5061033f6108f4366004612b1a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561092e57600080fd5b506103ce61093d3660046127f2565b611b44565b34801561094e57600080fd5b506103ce61095d366004612b44565b611b73565b34801561096e57600080fd5b506103ce61097d3660046129a5565b611ba7565b60006001600160e01b031982166380ac58cd60e01b14806109b357506001600160e01b03198216635b5e139f60e01b145b806109ce57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546109e390612b67565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0f90612b67565b8015610a5c5780601f10610a3157610100808354040283529160200191610a5c565b820191906000526020600020905b815481529060010190602001808311610a3f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ae45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b0b82611064565b9050806001600160a01b0316836001600160a01b03161415610b795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610adb565b336001600160a01b0382161480610b955750610b9581336108f4565b610c075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610adb565b610c118383611c48565b505050565b600080601454421015610c9a57610c308484601754611cb6565b8015610c59575060166000335b6001600160a01b03168152602081019190915260400160002054155b8015610c6757506000601354115b15610c8d57600f54610c7a600187612bb8565b610c849190612bcf565b9150610ca49050565b600f54610c849086612bcf565b6016600033610c3d565b9392505050565b6006546001600160a01b03163314610cd55760405162461bcd60e51b8152600401610adb90612bee565b8051610ce890600b9060208401906126bb565b5050565b6000610cf760085490565b905090565b610d07335b82611d3f565b610d235760405162461bcd60e51b8152600401610adb90612c23565b610c11838383611e36565b6006546001600160a01b03163314610d585760405162461bcd60e51b8152600401610adb90612bee565b6000610d6c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610db6576040519150601f19603f3d011682016040523d82523d6000602084013e610dbb565b606091505b5050905080610dc957600080fd5b50565b610c1183838360405180602001604052806000815250611294565b610df033610d01565b610e555760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610adb565b610dc981611fd2565b60606000610e6b836110db565b905060008167ffffffffffffffff811115610e8857610e886128d0565b604051908082528060200260200182016040528015610eb1578160200160208202803683370190505b509050600160005b8381108015610eca57506008548211155b15610f53576000828152600260205260409020546001600160a01b031615610f41576000610ef783611064565b9050866001600160a01b0316816001600160a01b03161415610f3f5782848381518110610f2657610f26612c74565b602090810291909101015281610f3b81612c8a565b9250505b505b81610f4b81612c8a565b925050610eb9565b5090949350505050565b6006546001600160a01b03163314610f875760405162461bcd60e51b8152600401610adb90612bee565b600f55565b6006546001600160a01b03163314610fb65760405162461bcd60e51b8152600401610adb90612bee565b8051610ce890600c9060208401906126bb565b600b8054610fd690612b67565b80601f016020809104026020016040519081016040528092919081815260200182805461100290612b67565b801561104f5780601f106110245761010080835404028352916020019161104f565b820191906000526020600020905b81548152906001019060200180831161103257829003601f168201915b505050505081565b600a8054610fd690612b67565b6000818152600260205260408120546001600160a01b0316806109ce5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610adb565b60006001600160a01b0382166111465760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610adb565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461118c5760405162461bcd60e51b8152600401610adb90612bee565b611196600061206d565b565b6000610cf760095490565b6006546001600160a01b031633146111cd5760405162461bcd60e51b8152600401610adb90612bee565b601355565b6006546001600160a01b031633146111fc5760405162461bcd60e51b8152600401610adb90612bee565b8051610ce890600a9060208401906126bb565b6006546001600160a01b031633146112395760405162461bcd60e51b8152600401610adb90612bee565b601255565b6060600180546109e390612b67565b610ce83383836120bf565b600c8054610fd690612b67565b6006546001600160a01b0316331461128f5760405162461bcd60e51b8152600401610adb90612bee565b601155565b61129e3383611d3f565b6112ba5760405162461bcd60e51b8152600401610adb90612c23565b6112c68484848461218e565b50505050565b826000811180156112df57506011548111155b6113225760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610adb565b600d548161132e610cec565b6113389190612ca5565b11156113865760405162461bcd60e51b815260206004820152601760248201527f6d6178204e4654206c696d6974206578636565646564210000000000000000006044820152606401610adb565b600260075414156113d95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610adb565b6002600755601854600160a01b900460ff16156114325760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610adb565b336000908152601560205260409020546014544210156114c0576114598484601754611cb6565b6114c05760405162461bcd60e51b815260206004820152603260248201527f546869732069732057686974656c69737420726f756e64202d20796f7520617260448201527132903737ba103bb434ba32b634b9ba32b21760711b6064820152608401610adb565b6012546114cd8683612ca5565b111561151b5760405162461bcd60e51b815260206004820152601d60248201527f4d6178204e46542070657220616464726573732065786365656465642e0000006044820152606401610adb565b611526858585610c16565b34101561156b5760405162461bcd60e51b815260206004820152601360248201527224b739bab33334b1b4b2b73a10333ab732399760691b6044820152606401610adb565b60115485111561158d5760405162461bcd60e51b8152600401610adb90612cbd565b336000908152601660205260409020546115f0576013546115b25760006013556115f0565b60016013546115c19190612bb8565b601355336000908152601660205260409020546115df906001612ca5565b336000908152601660205260409020555b6115fa33866121c1565b6018546040516000916001600160a01b03169034908381818185875af1925050503d8060008114611647576040519150601f19603f3d011682016040523d82523d6000602084013e61164c565b606091505b505090508061165a57600080fd5b5050600160075550505050565b6006546001600160a01b031633146116915760405162461bcd60e51b8152600401610adb90612bee565b601755565b6000818152600260205260409020546060906001600160a01b03166117155760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610adb565b601854600160a81b900460ff166117b857600c805461173390612b67565b80601f016020809104026020016040519081016040528092919081815260200182805461175f90612b67565b80156117ac5780601f10611781576101008083540402835291602001916117ac565b820191906000526020600020905b81548152906001019060200180831161178f57829003601f168201915b50505050509050919050565b60006117c2612227565b905060008151116117e25760405180602001604052806000815250610ca4565b806117ec84612236565b600b60405160200161180093929190612d06565b6040516020818303038152906040529392505050565b6006546001600160a01b031633146118405760405162461bcd60e51b8152600401610adb90612bee565b60188054911515600160a01b0260ff60a01b19909216919091179055565b6006546001600160a01b031633146118885760405162461bcd60e51b8152600401610adb90612bee565b601455565b600260075414156118e05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610adb565b6002600755601854600160a01b900460ff16156119395760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610adb565b33600090815260156020526040902054600e548261195660095490565b6119609190612ca5565b11156119ae5760405162461bcd60e51b815260206004820181905260248201527f4c6567656e64203a206d6178204e4654206c696d6974206578636565646564216044820152606401610adb565b6012546119bb8383612ca5565b1115611a095760405162461bcd60e51b815260206004820152601d60248201527f4d6178204e46542070657220616464726573732065786365656465642e0000006044820152606401610adb565b81601054611a179190612bcf565b341015611a665760405162461bcd60e51b815260206004820152601c60248201527f4c6567656e64203a20696e73756666696369656e742066756e64732e000000006044820152606401610adb565b601154821115611a885760405162461bcd60e51b8152600401610adb90612cbd565b611a923383612334565b6018546040516000916001600160a01b03169034908381818185875af1925050503d8060008114611adf576040519150601f19603f3d011682016040523d82523d6000602084013e611ae4565b606091505b5050905080611af257600080fd5b5050600160075550565b6006546001600160a01b03163314611b265760405162461bcd60e51b8152600401610adb90612bee565b60188054911515600160a81b0260ff60a81b19909216919091179055565b6006546001600160a01b03163314611b6e5760405162461bcd60e51b8152600401610adb90612bee565b601055565b6006546001600160a01b03163314611b9d5760405162461bcd60e51b8152600401610adb90612bee565b610ce881836121c1565b6006546001600160a01b03163314611bd15760405162461bcd60e51b8152600401610adb90612bee565b6001600160a01b038116611c365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610adb565b610dc98161206d565b80546001019055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c7d82611064565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d2a848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b166020820152869250603401905060405160208183030381529060405280519060200120612395565b15611d3757506001610ca4565b506000610ca4565b6000818152600260205260408120546001600160a01b0316611db85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610adb565b6000611dc383611064565b9050806001600160a01b0316846001600160a01b03161480611dfe5750836001600160a01b0316611df384610a66565b6001600160a01b0316145b80611e2e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e4982611064565b6001600160a01b031614611ead5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610adb565b6001600160a01b038216611f0f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610adb565b611f1a600082611c48565b6001600160a01b0383166000908152600360205260408120805460019290611f43908490612bb8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f71908490612ca5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611fdd82611064565b9050611fea600083611c48565b6001600160a01b0381166000908152600360205260408120805460019290612013908490612bb8565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156121215760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610adb565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612199848484611e36565b6121a5848484846123ab565b6112c65760405162461bcd60e51b8152600401610adb90612dca565b60005b81811015610c11576121da600880546001019055565b6001600160a01b03831660009081526015602052604081208054916121fe83612c8a565b91905055506122158361221060085490565b6124b8565b8061221f81612c8a565b9150506121c4565b6060600a80546109e390612b67565b60608161225a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612284578061226e81612c8a565b915061227d9050600a83612e32565b915061225e565b60008167ffffffffffffffff81111561229f5761229f6128d0565b6040519080825280601f01601f1916602001820160405280156122c9576020820181803683370190505b5090505b8415611e2e576122de600183612bb8565b91506122eb600a86612e46565b6122f6906030612ca5565b60f81b81838151811061230b5761230b612c74565b60200101906001600160f81b031916908160001a90535061232d600a86612e32565b94506122cd565b60005b81811015610c115761234d600980546001019055565b6001600160a01b038316600090815260156020526040812080549161237183612c8a565b91905055506123838361221060095490565b8061238d81612c8a565b915050612337565b6000826123a285846124d2565b14949350505050565b60006001600160a01b0384163b156124ad57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123ef903390899088908890600401612e5a565b602060405180830381600087803b15801561240957600080fd5b505af1925050508015612439575060408051601f3d908101601f1916820190925261243691810190612e97565b60015b612493573d808015612467576040519150601f19603f3d011682016040523d82523d6000602084013e61246c565b606091505b50805161248b5760405162461bcd60e51b8152600401610adb90612dca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e2e565b506001949350505050565b610ce8828260405180602001604052806000815250612546565b600081815b845181101561253e5760008582815181106124f4576124f4612c74565b6020026020010151905080831161251a576000838152602082905260409020925061252b565b600081815260208490526040902092505b508061253681612c8a565b9150506124d7565b509392505050565b6125508383612579565b61255d60008484846123ab565b610c115760405162461bcd60e51b8152600401610adb90612dca565b6001600160a01b0382166125cf5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610adb565b6000818152600260205260409020546001600160a01b0316156126345760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610adb565b6001600160a01b038216600090815260036020526040812080546001929061265d908490612ca5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126c790612b67565b90600052602060002090601f0160209004810192826126e9576000855561272f565b82601f1061270257805160ff191683800117855561272f565b8280016001018555821561272f579182015b8281111561272f578251825591602001919060010190612714565b5061273b92915061273f565b5090565b5b8082111561273b5760008155600101612740565b6001600160e01b031981168114610dc957600080fd5b60006020828403121561277c57600080fd5b8135610ca481612754565b60005b838110156127a257818101518382015260200161278a565b838111156112c65750506000910152565b600081518084526127cb816020860160208601612787565b601f01601f19169290920160200192915050565b602081526000610ca460208301846127b3565b60006020828403121561280457600080fd5b5035919050565b80356001600160a01b038116811461282257600080fd5b919050565b6000806040838503121561283a57600080fd5b6128438361280b565b946020939093013593505050565b60008060006040848603121561286657600080fd5b83359250602084013567ffffffffffffffff8082111561288557600080fd5b818601915086601f83011261289957600080fd5b8135818111156128a857600080fd5b8760208260051b85010111156128bd57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612901576129016128d0565b604051601f8501601f19908116603f01168101908282118183101715612929576129296128d0565b8160405280935085815286868601111561294257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561296e57600080fd5b813567ffffffffffffffff81111561298557600080fd5b8201601f8101841361299657600080fd5b611e2e848235602084016128e6565b6000602082840312156129b757600080fd5b610ca48261280b565b6000806000606084860312156129d557600080fd5b6129de8461280b565b92506129ec6020850161280b565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015612a3457835183529284019291840191600101612a18565b50909695505050505050565b8035801515811461282257600080fd5b60008060408385031215612a6357600080fd5b612a6c8361280b565b9150612a7a60208401612a40565b90509250929050565b60008060008060808587031215612a9957600080fd5b612aa28561280b565b9350612ab06020860161280b565b925060408501359150606085013567ffffffffffffffff811115612ad357600080fd5b8501601f81018713612ae457600080fd5b612af3878235602084016128e6565b91505092959194509250565b600060208284031215612b1157600080fd5b610ca482612a40565b60008060408385031215612b2d57600080fd5b612b368361280b565b9150612a7a6020840161280b565b60008060408385031215612b5757600080fd5b82359150612a7a6020840161280b565b600181811c90821680612b7b57607f821691505b60208210811415612b9c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612bca57612bca612ba2565b500390565b6000816000190483118215151615612be957612be9612ba2565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612c9e57612c9e612ba2565b5060010190565b60008219821115612cb857612cb8612ba2565b500190565b60208082526029908201527f4d6178206d696e7420616d6f756e7420706572207472616e73616374696f6e2060408201526832bc31b2b2b232b21760b91b606082015260800190565b600084516020612d198285838a01612787565b855191840191612d2c8184848a01612787565b8554920191600090600181811c9080831680612d4957607f831692505b858310811415612d6757634e487b7160e01b85526022600452602485fd5b808015612d7b5760018114612d8c57612db9565b60ff19851688528388019550612db9565b60008b81526020902060005b85811015612db15781548a820152908401908801612d98565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612e4157612e41612e1c565b500490565b600082612e5557612e55612e1c565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e8d908301846127b3565b9695505050505050565b600060208284031215612ea957600080fd5b8151610ca48161275456fea26469706673582212208cddd5608c6315c937e06080dd0ff66b8898e6466fcac59ecfb6489740be2e3064736f6c63430008090033697066733a2f2f516d635a4850576e3952457138544e654d31414c4e4a74504e4c5862354b3137694c4e6b70715947645158756d6b2f68696464656e2e6a736f6e

Deployed Bytecode

0x60806040526004361061031a5760003560e01c80638da5cb5b116101ab578063c87b56dd116100f7578063daef841911610095578063e985e9c51161006f578063e985e9c5146108d9578063eca2494c14610922578063efbd73f414610942578063f2fde38b1461096257600080fd5b8063daef84191461088d578063dfb25a7d146108a3578063e0a80853146108b957600080fd5b8063cc901d07116100d1578063cc901d0714610824578063d39a840a14610844578063d5abeb0114610864578063d6652ea31461087a57600080fd5b8063c87b56dd146107c1578063ca01ed52146107e1578063cc8ceef2146107f757600080fd5b8063a45ba8e711610164578063b071401b1161013e578063b071401b1461074e578063b88d4fde1461076e578063ba41b0c61461078e578063bd32fb66146107a157600080fd5b8063a45ba8e71461070d578063a591252d14610722578063aa98e0c61461073857600080fd5b80638da5cb5b14610663578063934527c41461068157806394354fd0146106a157806395d89b41146106b75780639b135748146106cc578063a22cb465146106ed57600080fd5b806342966c681161026a57806362b99ad411610223578063715018a6116101fd578063715018a6146105f9578063738713431461060e578063742a4c9b146106235780637ec4a6591461064357600080fd5b806362b99ad4146105a45780636352211e146105b957806370a08231146105d957600080fd5b806342966c68146104e1578063438b63001461050157806344a0d68a1461052e5780634fdd43cb1461054e578063518302271461056e5780635503a0e81461058f57600080fd5b806316ba10e0116102d75780631d163d9c116102b15780631d163d9c1461047657806323b872dd1461048c5780633ccfd60b146104ac57806342842e0e146104c157600080fd5b806316ba10e01461041457806318160ddd1461043457806318cae2691461044957600080fd5b806301ffc9a71461031f57806306fdde0314610354578063081812fc14610376578063095ea7b3146103ae5780631351200c146103d057806313faede6146103fe575b600080fd5b34801561032b57600080fd5b5061033f61033a36600461276a565b610982565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b506103696109d4565b60405161034b91906127df565b34801561038257600080fd5b506103966103913660046127f2565b610a66565b6040516001600160a01b03909116815260200161034b565b3480156103ba57600080fd5b506103ce6103c9366004612827565b610b00565b005b3480156103dc57600080fd5b506103f06103eb366004612851565b610c16565b60405190815260200161034b565b34801561040a57600080fd5b506103f0600f5481565b34801561042057600080fd5b506103ce61042f36600461295c565b610cab565b34801561044057600080fd5b506103f0610cec565b34801561045557600080fd5b506103f06104643660046129a5565b60156020526000908152604090205481565b34801561048257600080fd5b506103f060105481565b34801561049857600080fd5b506103ce6104a73660046129c0565b610cfc565b3480156104b857600080fd5b506103ce610d2e565b3480156104cd57600080fd5b506103ce6104dc3660046129c0565b610dcc565b3480156104ed57600080fd5b506103ce6104fc3660046127f2565b610de7565b34801561050d57600080fd5b5061052161051c3660046129a5565b610e5e565b60405161034b91906129fc565b34801561053a57600080fd5b506103ce6105493660046127f2565b610f5d565b34801561055a57600080fd5b506103ce61056936600461295c565b610f8c565b34801561057a57600080fd5b5060185461033f90600160a81b900460ff1681565b34801561059b57600080fd5b50610369610fc9565b3480156105b057600080fd5b50610369611057565b3480156105c557600080fd5b506103966105d43660046127f2565b611064565b3480156105e557600080fd5b506103f06105f43660046129a5565b6110db565b34801561060557600080fd5b506103ce611162565b34801561061a57600080fd5b506103f0611198565b34801561062f57600080fd5b506103ce61063e3660046127f2565b6111a3565b34801561064f57600080fd5b506103ce61065e36600461295c565b6111d2565b34801561066f57600080fd5b506006546001600160a01b0316610396565b34801561068d57600080fd5b506103ce61069c3660046127f2565b61120f565b3480156106ad57600080fd5b506103f060115481565b3480156106c357600080fd5b5061036961123e565b3480156106d857600080fd5b5060185461033f90600160a01b900460ff1681565b3480156106f957600080fd5b506103ce610708366004612a50565b61124d565b34801561071957600080fd5b50610369611258565b34801561072e57600080fd5b506103f060135481565b34801561074457600080fd5b506103f060175481565b34801561075a57600080fd5b506103ce6107693660046127f2565b611265565b34801561077a57600080fd5b506103ce610789366004612a83565b611294565b6103ce61079c366004612851565b6112cc565b3480156107ad57600080fd5b506103ce6107bc3660046127f2565b611667565b3480156107cd57600080fd5b506103696107dc3660046127f2565b611696565b3480156107ed57600080fd5b506103f0600e5481565b34801561080357600080fd5b506103f06108123660046129a5565b60166020526000908152604090205481565b34801561083057600080fd5b506103ce61083f366004612aff565b611816565b34801561085057600080fd5b506103ce61085f3660046127f2565b61185e565b34801561087057600080fd5b506103f0600d5481565b6103ce6108883660046127f2565b61188d565b34801561089957600080fd5b506103f060125481565b3480156108af57600080fd5b506103f060145481565b3480156108c557600080fd5b506103ce6108d4366004612aff565b611afc565b3480156108e557600080fd5b5061033f6108f4366004612b1a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561092e57600080fd5b506103ce61093d3660046127f2565b611b44565b34801561094e57600080fd5b506103ce61095d366004612b44565b611b73565b34801561096e57600080fd5b506103ce61097d3660046129a5565b611ba7565b60006001600160e01b031982166380ac58cd60e01b14806109b357506001600160e01b03198216635b5e139f60e01b145b806109ce57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546109e390612b67565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0f90612b67565b8015610a5c5780601f10610a3157610100808354040283529160200191610a5c565b820191906000526020600020905b815481529060010190602001808311610a3f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ae45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b0b82611064565b9050806001600160a01b0316836001600160a01b03161415610b795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610adb565b336001600160a01b0382161480610b955750610b9581336108f4565b610c075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610adb565b610c118383611c48565b505050565b600080601454421015610c9a57610c308484601754611cb6565b8015610c59575060166000335b6001600160a01b03168152602081019190915260400160002054155b8015610c6757506000601354115b15610c8d57600f54610c7a600187612bb8565b610c849190612bcf565b9150610ca49050565b600f54610c849086612bcf565b6016600033610c3d565b9392505050565b6006546001600160a01b03163314610cd55760405162461bcd60e51b8152600401610adb90612bee565b8051610ce890600b9060208401906126bb565b5050565b6000610cf760085490565b905090565b610d07335b82611d3f565b610d235760405162461bcd60e51b8152600401610adb90612c23565b610c11838383611e36565b6006546001600160a01b03163314610d585760405162461bcd60e51b8152600401610adb90612bee565b6000610d6c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610db6576040519150601f19603f3d011682016040523d82523d6000602084013e610dbb565b606091505b5050905080610dc957600080fd5b50565b610c1183838360405180602001604052806000815250611294565b610df033610d01565b610e555760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610adb565b610dc981611fd2565b60606000610e6b836110db565b905060008167ffffffffffffffff811115610e8857610e886128d0565b604051908082528060200260200182016040528015610eb1578160200160208202803683370190505b509050600160005b8381108015610eca57506008548211155b15610f53576000828152600260205260409020546001600160a01b031615610f41576000610ef783611064565b9050866001600160a01b0316816001600160a01b03161415610f3f5782848381518110610f2657610f26612c74565b602090810291909101015281610f3b81612c8a565b9250505b505b81610f4b81612c8a565b925050610eb9565b5090949350505050565b6006546001600160a01b03163314610f875760405162461bcd60e51b8152600401610adb90612bee565b600f55565b6006546001600160a01b03163314610fb65760405162461bcd60e51b8152600401610adb90612bee565b8051610ce890600c9060208401906126bb565b600b8054610fd690612b67565b80601f016020809104026020016040519081016040528092919081815260200182805461100290612b67565b801561104f5780601f106110245761010080835404028352916020019161104f565b820191906000526020600020905b81548152906001019060200180831161103257829003601f168201915b505050505081565b600a8054610fd690612b67565b6000818152600260205260408120546001600160a01b0316806109ce5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610adb565b60006001600160a01b0382166111465760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610adb565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461118c5760405162461bcd60e51b8152600401610adb90612bee565b611196600061206d565b565b6000610cf760095490565b6006546001600160a01b031633146111cd5760405162461bcd60e51b8152600401610adb90612bee565b601355565b6006546001600160a01b031633146111fc5760405162461bcd60e51b8152600401610adb90612bee565b8051610ce890600a9060208401906126bb565b6006546001600160a01b031633146112395760405162461bcd60e51b8152600401610adb90612bee565b601255565b6060600180546109e390612b67565b610ce83383836120bf565b600c8054610fd690612b67565b6006546001600160a01b0316331461128f5760405162461bcd60e51b8152600401610adb90612bee565b601155565b61129e3383611d3f565b6112ba5760405162461bcd60e51b8152600401610adb90612c23565b6112c68484848461218e565b50505050565b826000811180156112df57506011548111155b6113225760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610adb565b600d548161132e610cec565b6113389190612ca5565b11156113865760405162461bcd60e51b815260206004820152601760248201527f6d6178204e4654206c696d6974206578636565646564210000000000000000006044820152606401610adb565b600260075414156113d95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610adb565b6002600755601854600160a01b900460ff16156114325760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610adb565b336000908152601560205260409020546014544210156114c0576114598484601754611cb6565b6114c05760405162461bcd60e51b815260206004820152603260248201527f546869732069732057686974656c69737420726f756e64202d20796f7520617260448201527132903737ba103bb434ba32b634b9ba32b21760711b6064820152608401610adb565b6012546114cd8683612ca5565b111561151b5760405162461bcd60e51b815260206004820152601d60248201527f4d6178204e46542070657220616464726573732065786365656465642e0000006044820152606401610adb565b611526858585610c16565b34101561156b5760405162461bcd60e51b815260206004820152601360248201527224b739bab33334b1b4b2b73a10333ab732399760691b6044820152606401610adb565b60115485111561158d5760405162461bcd60e51b8152600401610adb90612cbd565b336000908152601660205260409020546115f0576013546115b25760006013556115f0565b60016013546115c19190612bb8565b601355336000908152601660205260409020546115df906001612ca5565b336000908152601660205260409020555b6115fa33866121c1565b6018546040516000916001600160a01b03169034908381818185875af1925050503d8060008114611647576040519150601f19603f3d011682016040523d82523d6000602084013e61164c565b606091505b505090508061165a57600080fd5b5050600160075550505050565b6006546001600160a01b031633146116915760405162461bcd60e51b8152600401610adb90612bee565b601755565b6000818152600260205260409020546060906001600160a01b03166117155760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610adb565b601854600160a81b900460ff166117b857600c805461173390612b67565b80601f016020809104026020016040519081016040528092919081815260200182805461175f90612b67565b80156117ac5780601f10611781576101008083540402835291602001916117ac565b820191906000526020600020905b81548152906001019060200180831161178f57829003601f168201915b50505050509050919050565b60006117c2612227565b905060008151116117e25760405180602001604052806000815250610ca4565b806117ec84612236565b600b60405160200161180093929190612d06565b6040516020818303038152906040529392505050565b6006546001600160a01b031633146118405760405162461bcd60e51b8152600401610adb90612bee565b60188054911515600160a01b0260ff60a01b19909216919091179055565b6006546001600160a01b031633146118885760405162461bcd60e51b8152600401610adb90612bee565b601455565b600260075414156118e05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610adb565b6002600755601854600160a01b900460ff16156119395760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610adb565b33600090815260156020526040902054600e548261195660095490565b6119609190612ca5565b11156119ae5760405162461bcd60e51b815260206004820181905260248201527f4c6567656e64203a206d6178204e4654206c696d6974206578636565646564216044820152606401610adb565b6012546119bb8383612ca5565b1115611a095760405162461bcd60e51b815260206004820152601d60248201527f4d6178204e46542070657220616464726573732065786365656465642e0000006044820152606401610adb565b81601054611a179190612bcf565b341015611a665760405162461bcd60e51b815260206004820152601c60248201527f4c6567656e64203a20696e73756666696369656e742066756e64732e000000006044820152606401610adb565b601154821115611a885760405162461bcd60e51b8152600401610adb90612cbd565b611a923383612334565b6018546040516000916001600160a01b03169034908381818185875af1925050503d8060008114611adf576040519150601f19603f3d011682016040523d82523d6000602084013e611ae4565b606091505b5050905080611af257600080fd5b5050600160075550565b6006546001600160a01b03163314611b265760405162461bcd60e51b8152600401610adb90612bee565b60188054911515600160a81b0260ff60a81b19909216919091179055565b6006546001600160a01b03163314611b6e5760405162461bcd60e51b8152600401610adb90612bee565b601055565b6006546001600160a01b03163314611b9d5760405162461bcd60e51b8152600401610adb90612bee565b610ce881836121c1565b6006546001600160a01b03163314611bd15760405162461bcd60e51b8152600401610adb90612bee565b6001600160a01b038116611c365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610adb565b610dc98161206d565b80546001019055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c7d82611064565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d2a848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b166020820152869250603401905060405160208183030381529060405280519060200120612395565b15611d3757506001610ca4565b506000610ca4565b6000818152600260205260408120546001600160a01b0316611db85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610adb565b6000611dc383611064565b9050806001600160a01b0316846001600160a01b03161480611dfe5750836001600160a01b0316611df384610a66565b6001600160a01b0316145b80611e2e57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e4982611064565b6001600160a01b031614611ead5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610adb565b6001600160a01b038216611f0f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610adb565b611f1a600082611c48565b6001600160a01b0383166000908152600360205260408120805460019290611f43908490612bb8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f71908490612ca5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611fdd82611064565b9050611fea600083611c48565b6001600160a01b0381166000908152600360205260408120805460019290612013908490612bb8565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156121215760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610adb565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612199848484611e36565b6121a5848484846123ab565b6112c65760405162461bcd60e51b8152600401610adb90612dca565b60005b81811015610c11576121da600880546001019055565b6001600160a01b03831660009081526015602052604081208054916121fe83612c8a565b91905055506122158361221060085490565b6124b8565b8061221f81612c8a565b9150506121c4565b6060600a80546109e390612b67565b60608161225a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612284578061226e81612c8a565b915061227d9050600a83612e32565b915061225e565b60008167ffffffffffffffff81111561229f5761229f6128d0565b6040519080825280601f01601f1916602001820160405280156122c9576020820181803683370190505b5090505b8415611e2e576122de600183612bb8565b91506122eb600a86612e46565b6122f6906030612ca5565b60f81b81838151811061230b5761230b612c74565b60200101906001600160f81b031916908160001a90535061232d600a86612e32565b94506122cd565b60005b81811015610c115761234d600980546001019055565b6001600160a01b038316600090815260156020526040812080549161237183612c8a565b91905055506123838361221060095490565b8061238d81612c8a565b915050612337565b6000826123a285846124d2565b14949350505050565b60006001600160a01b0384163b156124ad57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123ef903390899088908890600401612e5a565b602060405180830381600087803b15801561240957600080fd5b505af1925050508015612439575060408051601f3d908101601f1916820190925261243691810190612e97565b60015b612493573d808015612467576040519150601f19603f3d011682016040523d82523d6000602084013e61246c565b606091505b50805161248b5760405162461bcd60e51b8152600401610adb90612dca565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e2e565b506001949350505050565b610ce8828260405180602001604052806000815250612546565b600081815b845181101561253e5760008582815181106124f4576124f4612c74565b6020026020010151905080831161251a576000838152602082905260409020925061252b565b600081815260208490526040902092505b508061253681612c8a565b9150506124d7565b509392505050565b6125508383612579565b61255d60008484846123ab565b610c115760405162461bcd60e51b8152600401610adb90612dca565b6001600160a01b0382166125cf5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610adb565b6000818152600260205260409020546001600160a01b0316156126345760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610adb565b6001600160a01b038216600090815260036020526040812080546001929061265d908490612ca5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546126c790612b67565b90600052602060002090601f0160209004810192826126e9576000855561272f565b82601f1061270257805160ff191683800117855561272f565b8280016001018555821561272f579182015b8281111561272f578251825591602001919060010190612714565b5061273b92915061273f565b5090565b5b8082111561273b5760008155600101612740565b6001600160e01b031981168114610dc957600080fd5b60006020828403121561277c57600080fd5b8135610ca481612754565b60005b838110156127a257818101518382015260200161278a565b838111156112c65750506000910152565b600081518084526127cb816020860160208601612787565b601f01601f19169290920160200192915050565b602081526000610ca460208301846127b3565b60006020828403121561280457600080fd5b5035919050565b80356001600160a01b038116811461282257600080fd5b919050565b6000806040838503121561283a57600080fd5b6128438361280b565b946020939093013593505050565b60008060006040848603121561286657600080fd5b83359250602084013567ffffffffffffffff8082111561288557600080fd5b818601915086601f83011261289957600080fd5b8135818111156128a857600080fd5b8760208260051b85010111156128bd57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612901576129016128d0565b604051601f8501601f19908116603f01168101908282118183101715612929576129296128d0565b8160405280935085815286868601111561294257600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561296e57600080fd5b813567ffffffffffffffff81111561298557600080fd5b8201601f8101841361299657600080fd5b611e2e848235602084016128e6565b6000602082840312156129b757600080fd5b610ca48261280b565b6000806000606084860312156129d557600080fd5b6129de8461280b565b92506129ec6020850161280b565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b81811015612a3457835183529284019291840191600101612a18565b50909695505050505050565b8035801515811461282257600080fd5b60008060408385031215612a6357600080fd5b612a6c8361280b565b9150612a7a60208401612a40565b90509250929050565b60008060008060808587031215612a9957600080fd5b612aa28561280b565b9350612ab06020860161280b565b925060408501359150606085013567ffffffffffffffff811115612ad357600080fd5b8501601f81018713612ae457600080fd5b612af3878235602084016128e6565b91505092959194509250565b600060208284031215612b1157600080fd5b610ca482612a40565b60008060408385031215612b2d57600080fd5b612b368361280b565b9150612a7a6020840161280b565b60008060408385031215612b5757600080fd5b82359150612a7a6020840161280b565b600181811c90821680612b7b57607f821691505b60208210811415612b9c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612bca57612bca612ba2565b500390565b6000816000190483118215151615612be957612be9612ba2565b500290565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612c9e57612c9e612ba2565b5060010190565b60008219821115612cb857612cb8612ba2565b500190565b60208082526029908201527f4d6178206d696e7420616d6f756e7420706572207472616e73616374696f6e2060408201526832bc31b2b2b232b21760b91b606082015260800190565b600084516020612d198285838a01612787565b855191840191612d2c8184848a01612787565b8554920191600090600181811c9080831680612d4957607f831692505b858310811415612d6757634e487b7160e01b85526022600452602485fd5b808015612d7b5760018114612d8c57612db9565b60ff19851688528388019550612db9565b60008b81526020902060005b85811015612db15781548a820152908401908801612d98565b505083880195505b50939b9a5050505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612e4157612e41612e1c565b500490565b600082612e5557612e55612e1c565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e8d908301846127b3565b9695505050505050565b600060208284031215612ea957600080fd5b8151610ca48161275456fea26469706673582212208cddd5608c6315c937e06080dd0ff66b8898e6466fcac59ecfb6489740be2e3064736f6c63430008090033

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.