ETH Price: $3,518.35 (+5.16%)

Token

Elongevity Enigma (ELONENIGMA)
 

Overview

Max Total Supply

10,000 ELONENIGMA

Holders

1,223

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Enigma has been broken into 10,000 pieces. Each piece is of great value, has its own unique power granting the holder of the piece access to special events and other rewards.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ElongevityEnigma

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : ElongevityEnigma.sol
// SPDX-License-Identifier: MIT
// Author: Nicholas Hickey, Dvorak

pragma solidity >=0.7.0 <0.9.0;

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

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

  Counters.Counter private supply;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.01 ether;
  uint256 public WL = 2500;
  uint256 public currentSupply = 0;
  uint256 public maxSupply = 10000;
  uint256 public maxMintAmountPerTx = 2;


  bool public onlyWhitelisted = true;
  mapping(address => uint256) public addressMintedBalance;
  mapping(address => bool) public isWhitelisted;

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

  constructor() ERC721("Elongevity Enigma", "ELONENIGMA") {
    setHiddenMetadataUri("ipfs://______/replace.json");
  }

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

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

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(!paused, "The mint has not been activated yet!");

    if (msg.sender != owner()) {
        if(onlyWhitelisted == true) {
            require(isWhitelisted[msg.sender], "user is not whitelisted");
            uint256 ownerMintedCount = addressMintedBalance[msg.sender];
            require(ownerMintedCount + _mintAmount <= maxMintAmountPerTx, "max NFT per address exceeded");
        }
        if (addressMintedBalance[msg.sender] + _mintAmount > 2 || supply.current() + _mintAmount > WL) {
	        require(msg.value >= cost * _mintAmount, "insufficient funds");
        }
    }

    _mintLoop(msg.sender, _mintAmount);

  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _mintLoop(_receiver, _mintAmount);
  }

  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))
        : "";
  }

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

  function setUnlocked(bool _state) public onlyOwner {
    unlocked = _state;
  }

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

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

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

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

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

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

  function setOnlyWhitelisted(bool _state) public onlyOwner {
    onlyWhitelisted = _state;
  }
  
  function whitelistUser(address _user, bool _state) public onlyOwner {
    isWhitelisted[_user] = _state;
  }

  function whitelistUsers(address[] calldata _users, bool _state) public onlyOwner {
    for (uint i = 0; i < _users.length; i++) {
      isWhitelisted[_users[i]] = _state;
    }
  }

  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();
      currentSupply += 1;
      addressMintedBalance[msg.sender] += 1;
      _safeMint(_receiver, supply.current());
    }
  }

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

File 2 of 15 : 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 3 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits 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 5 of 15 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) 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, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 15 : 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 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 15 : 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 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

File 13 of 15 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 14 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

pragma solidity ^0.8.0;

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

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

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":"WL","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":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","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"}],"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setUnlocked","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":"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":[{"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":"unlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_user","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"whitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b916008916200023a565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a916009916200023a565b50662386f26fc10000600b556109c4600c556000600d55612710600e556002600f556010805460ff191660019081179091556013805462ffffff191690911790553480156200009857600080fd5b506040805180820182526011815270456c6f6e67657669747920456e69676d6160781b60208083019182528351808501909452600a845269454c4f4e454e49474d4160b01b908401528151919291620000f4916000916200023a565b5080516200010a9060019060208401906200023a565b50505062000127620001216200016c60201b60201c565b62000170565b60408051808201909152601a81527f697066733a2f2f5f5f5f5f5f5f2f7265706c6163652e6a736f6e00000000000060208201526200016690620001c2565b6200031d565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620002215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200023690600a9060208401906200023a565b5050565b8280546200024890620002e0565b90600052602060002090601f0160209004810192826200026c5760008555620002b7565b82601f106200028757805160ff1916838001178555620002b7565b82800160010185558215620002b7579182015b82811115620002b75782518255916020019190600101906200029a565b50620002c5929150620002c9565b5090565b5b80821115620002c55760008155600101620002ca565b600181811c90821680620002f557607f821691505b602082108114156200031757634e487b7160e01b600052602260045260246000fd5b50919050565b61276d806200032d6000396000f3fe6080604052600436106102725760003560e01c806362b99ad41161014f578063a0712d68116100c1578063c87b56dd1161007a578063c87b56dd14610722578063d5abeb0114610742578063e0a8085314610758578063e985e9c514610778578063efbd73f4146107c1578063f2fde38b146107e157600080fd5b8063a0712d681461067a578063a0ca3ee11461068d578063a22cb465146106ad578063a45ba8e7146106cd578063b071401b146106e2578063b88d4fde1461070257600080fd5b8063771282f611610113578063771282f6146105e15780637ec4a659146105f75780638da5cb5b1461061757806394354fd01461063557806395d89b411461064b5780639c70b5121461066057600080fd5b806362b99ad4146105575780636352211e1461056c5780636a5e26501461058c57806370a08231146105ac578063715018a6146105cc57600080fd5b806323b872dd116101e857806344a0d68a116101ac57806344a0d68a146104a95780634fdd43cb146104c957806350f13709146104e957806351830227146105095780635503a0e8146105285780635c975abb1461053d57600080fd5b806323b872dd146104045780633af32abf146104245780633c952764146104545780633ccfd60b1461047457806342842e0e1461048957600080fd5b8063142164c41161023a578063142164c41461034c57806316ba10e01461036c57806316c38b3c1461038c57806318160ddd146103ac57806318cae269146103c15780631a1feb92146103ee57600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806313faede614610328575b600080fd5b34801561028357600080fd5b506102976102923660046122fa565b610801565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610853565b6040516102a391906124e6565b3480156102da57600080fd5b506102ee6102e936600461237d565b6108e5565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610326610321366004612231565b61097f565b005b34801561033457600080fd5b5061033e600b5481565b6040519081526020016102a3565b34801561035857600080fd5b506103266103673660046122df565b610a95565b34801561037857600080fd5b50610326610387366004612334565b610adb565b34801561039857600080fd5b506103266103a73660046122df565b610b1c565b3480156103b857600080fd5b5061033e610b59565b3480156103cd57600080fd5b5061033e6103dc366004612101565b60116020526000908152604090205481565b3480156103fa57600080fd5b5061033e600c5481565b34801561041057600080fd5b5061032661041f36600461214f565b610b69565b34801561043057600080fd5b5061029761043f366004612101565b60126020526000908152604090205460ff1681565b34801561046057600080fd5b5061032661046f3660046122df565b610b9a565b34801561048057600080fd5b50610326610bd7565b34801561049557600080fd5b506103266104a436600461214f565b610c75565b3480156104b557600080fd5b506103266104c436600461237d565b610c90565b3480156104d557600080fd5b506103266104e4366004612334565b610cbf565b3480156104f557600080fd5b5061032661050436600461225b565b610cfc565b34801561051557600080fd5b5060135461029790610100900460ff1681565b34801561053457600080fd5b506102c1610d9d565b34801561054957600080fd5b506013546102979060ff1681565b34801561056357600080fd5b506102c1610e2b565b34801561057857600080fd5b506102ee61058736600461237d565b610e38565b34801561059857600080fd5b506013546102979062010000900460ff1681565b3480156105b857600080fd5b5061033e6105c7366004612101565b610eaf565b3480156105d857600080fd5b50610326610f36565b3480156105ed57600080fd5b5061033e600d5481565b34801561060357600080fd5b50610326610612366004612334565b610f6c565b34801561062357600080fd5b506006546001600160a01b03166102ee565b34801561064157600080fd5b5061033e600f5481565b34801561065757600080fd5b506102c1610fa9565b34801561066c57600080fd5b506010546102979060ff1681565b61032661068836600461237d565b610fb8565b34801561069957600080fd5b506103266106a8366004612207565b6112ca565b3480156106b957600080fd5b506103266106c8366004612207565b61131f565b3480156106d957600080fd5b506102c161132a565b3480156106ee57600080fd5b506103266106fd36600461237d565b611337565b34801561070e57600080fd5b5061032661071d36600461218b565b611366565b34801561072e57600080fd5b506102c161073d36600461237d565b611398565b34801561074e57600080fd5b5061033e600e5481565b34801561076457600080fd5b506103266107733660046122df565b611517565b34801561078457600080fd5b5061029761079336600461211c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107cd57600080fd5b506103266107dc366004612396565b61155b565b3480156107ed57600080fd5b506103266107fc366004612101565b6116b5565b60006001600160e01b031982166380ac58cd60e01b148061083257506001600160e01b03198216635b5e139f60e01b145b8061084d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108629061265f565b80601f016020809104026020016040519081016040528092919081815260200182805461088e9061265f565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109635760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061098a82610e38565b9050806001600160a01b0316836001600160a01b031614156109f85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161095a565b336001600160a01b0382161480610a145750610a148133610793565b610a865760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161095a565b610a90838361174d565b505050565b6006546001600160a01b03163314610abf5760405162461bcd60e51b815260040161095a9061254b565b60138054911515620100000262ff000019909216919091179055565b6006546001600160a01b03163314610b055760405162461bcd60e51b815260040161095a9061254b565b8051610b18906009906020840190611fc6565b5050565b6006546001600160a01b03163314610b465760405162461bcd60e51b815260040161095a9061254b565b6013805460ff1916911515919091179055565b6000610b6460075490565b905090565b610b7333826117bb565b610b8f5760405162461bcd60e51b815260040161095a90612580565b610a908383836118b2565b6006546001600160a01b03163314610bc45760405162461bcd60e51b815260040161095a9061254b565b6010805460ff1916911515919091179055565b6006546001600160a01b03163314610c015760405162461bcd60e51b815260040161095a9061254b565b6000610c156006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c5f576040519150601f19603f3d011682016040523d82523d6000602084013e610c64565b606091505b5050905080610c7257600080fd5b50565b610a9083838360405180602001604052806000815250611366565b6006546001600160a01b03163314610cba5760405162461bcd60e51b815260040161095a9061254b565b600b55565b6006546001600160a01b03163314610ce95760405162461bcd60e51b815260040161095a9061254b565b8051610b1890600a906020840190611fc6565b6006546001600160a01b03163314610d265760405162461bcd60e51b815260040161095a9061254b565b60005b82811015610d97578160126000868685818110610d4857610d486126f5565b9050602002016020810190610d5d9190612101565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d8f8161269a565b915050610d29565b50505050565b60098054610daa9061265f565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd69061265f565b8015610e235780601f10610df857610100808354040283529160200191610e23565b820191906000526020600020905b815481529060010190602001808311610e0657829003601f168201915b505050505081565b60088054610daa9061265f565b6000818152600260205260408120546001600160a01b03168061084d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161095a565b60006001600160a01b038216610f1a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161095a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f605760405162461bcd60e51b815260040161095a9061254b565b610f6a6000611a4e565b565b6006546001600160a01b03163314610f965760405162461bcd60e51b815260040161095a9061254b565b8051610b18906008906020840190611fc6565b6060600180546108629061265f565b80600081118015610fcb5750600f548111155b61100e5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161095a565b600e548161101b60075490565b61102591906125d1565b111561106a5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161095a565b600c548161107760075490565b61108191906125d1565b111580611096575060135462010000900460ff165b6110de5760405162461bcd60e51b8152602060048201526019602482015278526573657276656420737570706c792065786365656465642160381b604482015260640161095a565b60135460ff161561113d5760405162461bcd60e51b8152602060048201526024808201527f546865206d696e7420686173206e6f74206265656e20616374697661746564206044820152637965742160e01b606482015260840161095a565b6006546001600160a01b031633146112c05760105460ff1615156001141561122b573360009081526012602052604090205460ff166111be5760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c6973746564000000000000000000604482015260640161095a565b33600090815260116020526040902054600f546111db84836125d1565b11156112295760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e465420706572206164647265737320657863656564656400000000604482015260640161095a565b505b336000908152601160205260409020546002906112499084906125d1565b11806112695750600c548261125d60075490565b61126791906125d1565b115b156112c05781600b5461127c91906125fd565b3410156112c05760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b604482015260640161095a565b610b183383611aa0565b6006546001600160a01b031633146112f45760405162461bcd60e51b815260040161095a9061254b565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610b18338383611b1b565b600a8054610daa9061265f565b6006546001600160a01b031633146113615760405162461bcd60e51b815260040161095a9061254b565b600f55565b61137033836117bb565b61138c5760405162461bcd60e51b815260040161095a90612580565b610d9784848484611bea565b6000818152600260205260409020546060906001600160a01b03166114175760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161095a565b601354610100900460ff166114b857600a80546114339061265f565b80601f016020809104026020016040519081016040528092919081815260200182805461145f9061265f565b80156114ac5780601f10611481576101008083540402835291602001916114ac565b820191906000526020600020905b81548152906001019060200180831161148f57829003601f168201915b50505050509050919050565b60006114c2611c1d565b905060008151116114e25760405180602001604052806000815250611510565b806114ec84611c2c565b6009604051602001611500939291906123e5565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146115415760405162461bcd60e51b815260040161095a9061254b565b601380549115156101000261ff0019909216919091179055565b8160008111801561156e5750600f548111155b6115b15760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161095a565b600e54816115be60075490565b6115c891906125d1565b111561160d5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161095a565b600c548161161a60075490565b61162491906125d1565b111580611639575060135462010000900460ff165b6116815760405162461bcd60e51b8152602060048201526019602482015278526573657276656420737570706c792065786365656465642160381b604482015260640161095a565b6006546001600160a01b031633146116ab5760405162461bcd60e51b815260040161095a9061254b565b610a908284611aa0565b6006546001600160a01b031633146116df5760405162461bcd60e51b815260040161095a9061254b565b6001600160a01b0381166117445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161095a565b610c7281611a4e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061178282610e38565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118345760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161095a565b600061183f83610e38565b9050806001600160a01b0316846001600160a01b0316148061188657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806118aa5750836001600160a01b031661189f846108e5565b6001600160a01b0316145b949350505050565b826001600160a01b03166118c582610e38565b6001600160a01b0316146119295760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161095a565b6001600160a01b03821661198b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161095a565b61199660008261174d565b6001600160a01b03831660009081526003602052604081208054600192906119bf90849061261c565b90915550506001600160a01b03821660009081526003602052604081208054600192906119ed9084906125d1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610a9057611ab9600780546001019055565b6001600d6000828254611acc91906125d1565b9091555050336000908152601160205260408120805460019290611af19084906125d1565b90915550611b09905083611b0460075490565b611d2a565b80611b138161269a565b915050611aa3565b816001600160a01b0316836001600160a01b03161415611b7d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161095a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611bf58484846118b2565b611c0184848484611d44565b610d975760405162461bcd60e51b815260040161095a906124f9565b6060600880546108629061265f565b606081611c505750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c7a5780611c648161269a565b9150611c739050600a836125e9565b9150611c54565b60008167ffffffffffffffff811115611c9557611c9561270b565b6040519080825280601f01601f191660200182016040528015611cbf576020820181803683370190505b5090505b84156118aa57611cd460018361261c565b9150611ce1600a866126b5565b611cec9060306125d1565b60f81b818381518110611d0157611d016126f5565b60200101906001600160f81b031916908160001a905350611d23600a866125e9565b9450611cc3565b610b18828260405180602001604052806000815250611e51565b60006001600160a01b0384163b15611e4657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d889033908990889088906004016124a9565b602060405180830381600087803b158015611da257600080fd5b505af1925050508015611dd2575060408051601f3d908101601f19168201909252611dcf91810190612317565b60015b611e2c573d808015611e00576040519150601f19603f3d011682016040523d82523d6000602084013e611e05565b606091505b508051611e245760405162461bcd60e51b815260040161095a906124f9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118aa565b506001949350505050565b611e5b8383611e84565b611e686000848484611d44565b610a905760405162461bcd60e51b815260040161095a906124f9565b6001600160a01b038216611eda5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161095a565b6000818152600260205260409020546001600160a01b031615611f3f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161095a565b6001600160a01b0382166000908152600360205260408120805460019290611f689084906125d1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611fd29061265f565b90600052602060002090601f016020900481019282611ff4576000855561203a565b82601f1061200d57805160ff191683800117855561203a565b8280016001018555821561203a579182015b8281111561203a57825182559160200191906001019061201f565b5061204692915061204a565b5090565b5b80821115612046576000815560010161204b565b600067ffffffffffffffff8084111561207a5761207a61270b565b604051601f8501601f19908116603f011681019082821181831017156120a2576120a261270b565b816040528093508581528686860111156120bb57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146120ec57600080fd5b919050565b803580151581146120ec57600080fd5b60006020828403121561211357600080fd5b611510826120d5565b6000806040838503121561212f57600080fd5b612138836120d5565b9150612146602084016120d5565b90509250929050565b60008060006060848603121561216457600080fd5b61216d846120d5565b925061217b602085016120d5565b9150604084013590509250925092565b600080600080608085870312156121a157600080fd5b6121aa856120d5565b93506121b8602086016120d5565b925060408501359150606085013567ffffffffffffffff8111156121db57600080fd5b8501601f810187136121ec57600080fd5b6121fb8782356020840161205f565b91505092959194509250565b6000806040838503121561221a57600080fd5b612223836120d5565b9150612146602084016120f1565b6000806040838503121561224457600080fd5b61224d836120d5565b946020939093013593505050565b60008060006040848603121561227057600080fd5b833567ffffffffffffffff8082111561228857600080fd5b818601915086601f83011261229c57600080fd5b8135818111156122ab57600080fd5b8760208260051b85010111156122c057600080fd5b6020928301955093506122d691860190506120f1565b90509250925092565b6000602082840312156122f157600080fd5b611510826120f1565b60006020828403121561230c57600080fd5b813561151081612721565b60006020828403121561232957600080fd5b815161151081612721565b60006020828403121561234657600080fd5b813567ffffffffffffffff81111561235d57600080fd5b8201601f8101841361236e57600080fd5b6118aa8482356020840161205f565b60006020828403121561238f57600080fd5b5035919050565b600080604083850312156123a957600080fd5b82359150612146602084016120d5565b600081518084526123d1816020860160208601612633565b601f01601f19169290920160200192915050565b6000845160206123f88285838a01612633565b85519184019161240b8184848a01612633565b8554920191600090600181811c908083168061242857607f831692505b85831081141561244657634e487b7160e01b85526022600452602485fd5b80801561245a576001811461246b57612498565b60ff19851688528388019550612498565b60008b81526020902060005b858110156124905781548a820152908401908801612477565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124dc908301846123b9565b9695505050505050565b60208152600061151060208301846123b9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125e4576125e46126c9565b500190565b6000826125f8576125f86126df565b500490565b6000816000190483118215151615612617576126176126c9565b500290565b60008282101561262e5761262e6126c9565b500390565b60005b8381101561264e578181015183820152602001612636565b83811115610d975750506000910152565b600181811c9082168061267357607f821691505b6020821081141561269457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126ae576126ae6126c9565b5060010190565b6000826126c4576126c46126df565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c7257600080fdfea2646970667358221220d7a9820a34cce9753cd98e8680d4044380f9e2fdbf4a4e56cda1900cfce324fd64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102725760003560e01c806362b99ad41161014f578063a0712d68116100c1578063c87b56dd1161007a578063c87b56dd14610722578063d5abeb0114610742578063e0a8085314610758578063e985e9c514610778578063efbd73f4146107c1578063f2fde38b146107e157600080fd5b8063a0712d681461067a578063a0ca3ee11461068d578063a22cb465146106ad578063a45ba8e7146106cd578063b071401b146106e2578063b88d4fde1461070257600080fd5b8063771282f611610113578063771282f6146105e15780637ec4a659146105f75780638da5cb5b1461061757806394354fd01461063557806395d89b411461064b5780639c70b5121461066057600080fd5b806362b99ad4146105575780636352211e1461056c5780636a5e26501461058c57806370a08231146105ac578063715018a6146105cc57600080fd5b806323b872dd116101e857806344a0d68a116101ac57806344a0d68a146104a95780634fdd43cb146104c957806350f13709146104e957806351830227146105095780635503a0e8146105285780635c975abb1461053d57600080fd5b806323b872dd146104045780633af32abf146104245780633c952764146104545780633ccfd60b1461047457806342842e0e1461048957600080fd5b8063142164c41161023a578063142164c41461034c57806316ba10e01461036c57806316c38b3c1461038c57806318160ddd146103ac57806318cae269146103c15780631a1feb92146103ee57600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806313faede614610328575b600080fd5b34801561028357600080fd5b506102976102923660046122fa565b610801565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610853565b6040516102a391906124e6565b3480156102da57600080fd5b506102ee6102e936600461237d565b6108e5565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610326610321366004612231565b61097f565b005b34801561033457600080fd5b5061033e600b5481565b6040519081526020016102a3565b34801561035857600080fd5b506103266103673660046122df565b610a95565b34801561037857600080fd5b50610326610387366004612334565b610adb565b34801561039857600080fd5b506103266103a73660046122df565b610b1c565b3480156103b857600080fd5b5061033e610b59565b3480156103cd57600080fd5b5061033e6103dc366004612101565b60116020526000908152604090205481565b3480156103fa57600080fd5b5061033e600c5481565b34801561041057600080fd5b5061032661041f36600461214f565b610b69565b34801561043057600080fd5b5061029761043f366004612101565b60126020526000908152604090205460ff1681565b34801561046057600080fd5b5061032661046f3660046122df565b610b9a565b34801561048057600080fd5b50610326610bd7565b34801561049557600080fd5b506103266104a436600461214f565b610c75565b3480156104b557600080fd5b506103266104c436600461237d565b610c90565b3480156104d557600080fd5b506103266104e4366004612334565b610cbf565b3480156104f557600080fd5b5061032661050436600461225b565b610cfc565b34801561051557600080fd5b5060135461029790610100900460ff1681565b34801561053457600080fd5b506102c1610d9d565b34801561054957600080fd5b506013546102979060ff1681565b34801561056357600080fd5b506102c1610e2b565b34801561057857600080fd5b506102ee61058736600461237d565b610e38565b34801561059857600080fd5b506013546102979062010000900460ff1681565b3480156105b857600080fd5b5061033e6105c7366004612101565b610eaf565b3480156105d857600080fd5b50610326610f36565b3480156105ed57600080fd5b5061033e600d5481565b34801561060357600080fd5b50610326610612366004612334565b610f6c565b34801561062357600080fd5b506006546001600160a01b03166102ee565b34801561064157600080fd5b5061033e600f5481565b34801561065757600080fd5b506102c1610fa9565b34801561066c57600080fd5b506010546102979060ff1681565b61032661068836600461237d565b610fb8565b34801561069957600080fd5b506103266106a8366004612207565b6112ca565b3480156106b957600080fd5b506103266106c8366004612207565b61131f565b3480156106d957600080fd5b506102c161132a565b3480156106ee57600080fd5b506103266106fd36600461237d565b611337565b34801561070e57600080fd5b5061032661071d36600461218b565b611366565b34801561072e57600080fd5b506102c161073d36600461237d565b611398565b34801561074e57600080fd5b5061033e600e5481565b34801561076457600080fd5b506103266107733660046122df565b611517565b34801561078457600080fd5b5061029761079336600461211c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156107cd57600080fd5b506103266107dc366004612396565b61155b565b3480156107ed57600080fd5b506103266107fc366004612101565b6116b5565b60006001600160e01b031982166380ac58cd60e01b148061083257506001600160e01b03198216635b5e139f60e01b145b8061084d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108629061265f565b80601f016020809104026020016040519081016040528092919081815260200182805461088e9061265f565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166109635760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061098a82610e38565b9050806001600160a01b0316836001600160a01b031614156109f85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161095a565b336001600160a01b0382161480610a145750610a148133610793565b610a865760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161095a565b610a90838361174d565b505050565b6006546001600160a01b03163314610abf5760405162461bcd60e51b815260040161095a9061254b565b60138054911515620100000262ff000019909216919091179055565b6006546001600160a01b03163314610b055760405162461bcd60e51b815260040161095a9061254b565b8051610b18906009906020840190611fc6565b5050565b6006546001600160a01b03163314610b465760405162461bcd60e51b815260040161095a9061254b565b6013805460ff1916911515919091179055565b6000610b6460075490565b905090565b610b7333826117bb565b610b8f5760405162461bcd60e51b815260040161095a90612580565b610a908383836118b2565b6006546001600160a01b03163314610bc45760405162461bcd60e51b815260040161095a9061254b565b6010805460ff1916911515919091179055565b6006546001600160a01b03163314610c015760405162461bcd60e51b815260040161095a9061254b565b6000610c156006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c5f576040519150601f19603f3d011682016040523d82523d6000602084013e610c64565b606091505b5050905080610c7257600080fd5b50565b610a9083838360405180602001604052806000815250611366565b6006546001600160a01b03163314610cba5760405162461bcd60e51b815260040161095a9061254b565b600b55565b6006546001600160a01b03163314610ce95760405162461bcd60e51b815260040161095a9061254b565b8051610b1890600a906020840190611fc6565b6006546001600160a01b03163314610d265760405162461bcd60e51b815260040161095a9061254b565b60005b82811015610d97578160126000868685818110610d4857610d486126f5565b9050602002016020810190610d5d9190612101565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d8f8161269a565b915050610d29565b50505050565b60098054610daa9061265f565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd69061265f565b8015610e235780601f10610df857610100808354040283529160200191610e23565b820191906000526020600020905b815481529060010190602001808311610e0657829003601f168201915b505050505081565b60088054610daa9061265f565b6000818152600260205260408120546001600160a01b03168061084d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161095a565b60006001600160a01b038216610f1a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161095a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f605760405162461bcd60e51b815260040161095a9061254b565b610f6a6000611a4e565b565b6006546001600160a01b03163314610f965760405162461bcd60e51b815260040161095a9061254b565b8051610b18906008906020840190611fc6565b6060600180546108629061265f565b80600081118015610fcb5750600f548111155b61100e5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161095a565b600e548161101b60075490565b61102591906125d1565b111561106a5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161095a565b600c548161107760075490565b61108191906125d1565b111580611096575060135462010000900460ff165b6110de5760405162461bcd60e51b8152602060048201526019602482015278526573657276656420737570706c792065786365656465642160381b604482015260640161095a565b60135460ff161561113d5760405162461bcd60e51b8152602060048201526024808201527f546865206d696e7420686173206e6f74206265656e20616374697661746564206044820152637965742160e01b606482015260840161095a565b6006546001600160a01b031633146112c05760105460ff1615156001141561122b573360009081526012602052604090205460ff166111be5760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c6973746564000000000000000000604482015260640161095a565b33600090815260116020526040902054600f546111db84836125d1565b11156112295760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e465420706572206164647265737320657863656564656400000000604482015260640161095a565b505b336000908152601160205260409020546002906112499084906125d1565b11806112695750600c548261125d60075490565b61126791906125d1565b115b156112c05781600b5461127c91906125fd565b3410156112c05760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b604482015260640161095a565b610b183383611aa0565b6006546001600160a01b031633146112f45760405162461bcd60e51b815260040161095a9061254b565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610b18338383611b1b565b600a8054610daa9061265f565b6006546001600160a01b031633146113615760405162461bcd60e51b815260040161095a9061254b565b600f55565b61137033836117bb565b61138c5760405162461bcd60e51b815260040161095a90612580565b610d9784848484611bea565b6000818152600260205260409020546060906001600160a01b03166114175760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161095a565b601354610100900460ff166114b857600a80546114339061265f565b80601f016020809104026020016040519081016040528092919081815260200182805461145f9061265f565b80156114ac5780601f10611481576101008083540402835291602001916114ac565b820191906000526020600020905b81548152906001019060200180831161148f57829003601f168201915b50505050509050919050565b60006114c2611c1d565b905060008151116114e25760405180602001604052806000815250611510565b806114ec84611c2c565b6009604051602001611500939291906123e5565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146115415760405162461bcd60e51b815260040161095a9061254b565b601380549115156101000261ff0019909216919091179055565b8160008111801561156e5750600f548111155b6115b15760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b604482015260640161095a565b600e54816115be60075490565b6115c891906125d1565b111561160d5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b604482015260640161095a565b600c548161161a60075490565b61162491906125d1565b111580611639575060135462010000900460ff165b6116815760405162461bcd60e51b8152602060048201526019602482015278526573657276656420737570706c792065786365656465642160381b604482015260640161095a565b6006546001600160a01b031633146116ab5760405162461bcd60e51b815260040161095a9061254b565b610a908284611aa0565b6006546001600160a01b031633146116df5760405162461bcd60e51b815260040161095a9061254b565b6001600160a01b0381166117445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161095a565b610c7281611a4e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061178282610e38565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118345760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161095a565b600061183f83610e38565b9050806001600160a01b0316846001600160a01b0316148061188657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806118aa5750836001600160a01b031661189f846108e5565b6001600160a01b0316145b949350505050565b826001600160a01b03166118c582610e38565b6001600160a01b0316146119295760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161095a565b6001600160a01b03821661198b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161095a565b61199660008261174d565b6001600160a01b03831660009081526003602052604081208054600192906119bf90849061261c565b90915550506001600160a01b03821660009081526003602052604081208054600192906119ed9084906125d1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610a9057611ab9600780546001019055565b6001600d6000828254611acc91906125d1565b9091555050336000908152601160205260408120805460019290611af19084906125d1565b90915550611b09905083611b0460075490565b611d2a565b80611b138161269a565b915050611aa3565b816001600160a01b0316836001600160a01b03161415611b7d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161095a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611bf58484846118b2565b611c0184848484611d44565b610d975760405162461bcd60e51b815260040161095a906124f9565b6060600880546108629061265f565b606081611c505750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c7a5780611c648161269a565b9150611c739050600a836125e9565b9150611c54565b60008167ffffffffffffffff811115611c9557611c9561270b565b6040519080825280601f01601f191660200182016040528015611cbf576020820181803683370190505b5090505b84156118aa57611cd460018361261c565b9150611ce1600a866126b5565b611cec9060306125d1565b60f81b818381518110611d0157611d016126f5565b60200101906001600160f81b031916908160001a905350611d23600a866125e9565b9450611cc3565b610b18828260405180602001604052806000815250611e51565b60006001600160a01b0384163b15611e4657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d889033908990889088906004016124a9565b602060405180830381600087803b158015611da257600080fd5b505af1925050508015611dd2575060408051601f3d908101601f19168201909252611dcf91810190612317565b60015b611e2c573d808015611e00576040519150601f19603f3d011682016040523d82523d6000602084013e611e05565b606091505b508051611e245760405162461bcd60e51b815260040161095a906124f9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118aa565b506001949350505050565b611e5b8383611e84565b611e686000848484611d44565b610a905760405162461bcd60e51b815260040161095a906124f9565b6001600160a01b038216611eda5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161095a565b6000818152600260205260409020546001600160a01b031615611f3f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161095a565b6001600160a01b0382166000908152600360205260408120805460019290611f689084906125d1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611fd29061265f565b90600052602060002090601f016020900481019282611ff4576000855561203a565b82601f1061200d57805160ff191683800117855561203a565b8280016001018555821561203a579182015b8281111561203a57825182559160200191906001019061201f565b5061204692915061204a565b5090565b5b80821115612046576000815560010161204b565b600067ffffffffffffffff8084111561207a5761207a61270b565b604051601f8501601f19908116603f011681019082821181831017156120a2576120a261270b565b816040528093508581528686860111156120bb57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146120ec57600080fd5b919050565b803580151581146120ec57600080fd5b60006020828403121561211357600080fd5b611510826120d5565b6000806040838503121561212f57600080fd5b612138836120d5565b9150612146602084016120d5565b90509250929050565b60008060006060848603121561216457600080fd5b61216d846120d5565b925061217b602085016120d5565b9150604084013590509250925092565b600080600080608085870312156121a157600080fd5b6121aa856120d5565b93506121b8602086016120d5565b925060408501359150606085013567ffffffffffffffff8111156121db57600080fd5b8501601f810187136121ec57600080fd5b6121fb8782356020840161205f565b91505092959194509250565b6000806040838503121561221a57600080fd5b612223836120d5565b9150612146602084016120f1565b6000806040838503121561224457600080fd5b61224d836120d5565b946020939093013593505050565b60008060006040848603121561227057600080fd5b833567ffffffffffffffff8082111561228857600080fd5b818601915086601f83011261229c57600080fd5b8135818111156122ab57600080fd5b8760208260051b85010111156122c057600080fd5b6020928301955093506122d691860190506120f1565b90509250925092565b6000602082840312156122f157600080fd5b611510826120f1565b60006020828403121561230c57600080fd5b813561151081612721565b60006020828403121561232957600080fd5b815161151081612721565b60006020828403121561234657600080fd5b813567ffffffffffffffff81111561235d57600080fd5b8201601f8101841361236e57600080fd5b6118aa8482356020840161205f565b60006020828403121561238f57600080fd5b5035919050565b600080604083850312156123a957600080fd5b82359150612146602084016120d5565b600081518084526123d1816020860160208601612633565b601f01601f19169290920160200192915050565b6000845160206123f88285838a01612633565b85519184019161240b8184848a01612633565b8554920191600090600181811c908083168061242857607f831692505b85831081141561244657634e487b7160e01b85526022600452602485fd5b80801561245a576001811461246b57612498565b60ff19851688528388019550612498565b60008b81526020902060005b858110156124905781548a820152908401908801612477565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124dc908301846123b9565b9695505050505050565b60208152600061151060208301846123b9565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125e4576125e46126c9565b500190565b6000826125f8576125f86126df565b500490565b6000816000190483118215151615612617576126176126c9565b500290565b60008282101561262e5761262e6126c9565b500390565b60005b8381101561264e578181015183820152602001612636565b83811115610d975750506000910152565b600181811c9082168061267357607f821691505b6020821081141561269457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126ae576126ae6126c9565b5060010190565b6000826126c4576126c46126df565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c7257600080fdfea2646970667358221220d7a9820a34cce9753cd98e8680d4044380f9e2fdbf4a4e56cda1900cfce324fd64736f6c63430008070033

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.