ETH Price: $3,683.66 (+1.79%)

Token

ERC-20: Premium Dancing Seahorse (PDS)
 

Overview

Max Total Supply

1,403 PDS

Holders

159

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

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

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

Contract Source Code Verified (Exact Match)

Contract Name:
NftPremium

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : premiumnew.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.15;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/token/ERC1155/ERC1155.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';

contract NftPremium is ERC721Enumerable, ReentrancyGuard, Ownable {
  address tokenAddress;
  using Strings for uint256;
  string public baseURI;
  string public baseExtension = '.json';
  string public notRevealedUri;
  address constant VAULT_ADDRESS = 0x3C10D90796Ce828644951c0682012B3fabA52F8f;
  uint256 public constant MAX_SUPPLY = 8888;
  uint256 public constant MAX_MINT_SUPPLY_SALE = 7000;
  uint256 public constant USER_LIMIT = 10;
  bool public revealed = false;
  // mint window variables
  uint256 public price = 2.5 ether;
  uint256 public price_premint1 = 2 ether; 
  uint256 public price_premint2 = 2.5 ether;
  uint256 public makeNftLimit = 7000;
  uint256 public makeNftLimit_premint1 = 5000;
  uint256 public makeNftLimit_premint2 = 7000;
  uint256 public nftSaleCounter = 0;
  uint256 public nftSaleCounter_premint1 = 0;
  uint256 public nftSaleCounter_premint2 = 0;
  bool public saleIsActive = false;
  bool public saleIsActive_premint1 = false;
  bool public saleIsActive_premint2 = false;

  struct UserMakeNft {
    uint256 counter;
  }
  mapping(address => UserMakeNft) userMakeNftStruct;
  mapping(address => UserMakeNft) userMakeNftStruct_premint1;
  mapping(address => UserMakeNft) userMakeNftStruct_premint2;

  event MintedPremium(
    uint256 tokenId,
    uint256 amount,
    address indexed buyer,
    string saleType
  );

  constructor(
    string memory name,
    string memory symbol,
    string memory initBaseURI,
    string memory initNotRevealedUri
  ) ERC721(name, symbol) {
    setBaseURI(initBaseURI);
    setNotRevealedURI(initNotRevealedUri);
  }

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

  function giftNft(
    uint256 mintAmount,
    address _address,
    string memory _saleType
  ) public onlyOwner {
    uint256 supply = totalSupply();
    require(supply + mintAmount <= MAX_SUPPLY, 'Sold out');
    require(mintAmount > 0, 'need to mint at least 1 NFT');

    for (uint256 i = 1; i <= mintAmount; i++) {
      _safeMint(_address, supply + i);
      emit MintedPremium(supply + i, mintAmount, msg.sender, _saleType);
    }
  }

  function setMintPass(address _tokenAddress) external onlyOwner {
    tokenAddress = _tokenAddress;
  }

  /** makeNft for all windows *****************/

  function makeNft(uint256 mintAmount) external payable nonReentrant {
    uint256 supply = totalSupply();
    require(saleIsActive, 'Sale is not active');
    require(supply + mintAmount <= MAX_SUPPLY, 'Sold out');
    require(supply + mintAmount <= MAX_MINT_SUPPLY_SALE, 'Sale Ended');
    require(mintAmount > 0, 'need to mint at least 1 NFT');
    require(msg.value == price * mintAmount, 'Funds Incorrect');
    require(
      nftSaleCounter + mintAmount <= makeNftLimit,
      'NFT Sale Limit Reached'
    );
    require(
      viewUserMakeNftCount(msg.sender) + mintAmount <= USER_LIMIT,
      'you have reached your limit'
    );
    uint256 count = viewUserMakeNftCount(msg.sender);
    for (uint256 i = 1; i <= mintAmount; i++) {
      _safeMint(msg.sender, supply + i);
      emit MintedPremium(supply + i, mintAmount, msg.sender, 'Make NFT');
    }

    addNftCount(mintAmount);
    addMakeNftUserCount(count + mintAmount);
  }

  function makeNft_premint1(uint256 mintAmount) external payable nonReentrant {
    IERC1155 token = IERC1155(tokenAddress);
    require(tokenAddress != address(0), 'Zero address found');
    uint256 supply = totalSupply();
    uint256 brandPass = token.balanceOf(msg.sender, 1);
    uint256 artistPass = token.balanceOf(msg.sender, 2);
    uint256 legendaryPlusPass = token.balanceOf(msg.sender, 3);
    uint256 legendaryPass = token.balanceOf(msg.sender, 4);
    require(
      brandPass >= 1 ||
        artistPass >= 1 ||
        legendaryPlusPass >= 1 ||
        legendaryPass >= 1,
      'No Mintpass found'
    );
    require(saleIsActive_premint1, 'Sale is not active');
    require(supply + mintAmount <= MAX_SUPPLY, 'Sold out');
    require(supply + mintAmount <= MAX_MINT_SUPPLY_SALE, 'Premint Ended');
    require(mintAmount > 0, 'need to mint at least 1 NFT');
    require(msg.value == price_premint1 * mintAmount, 'Funds Incorrect');
    require(
      nftSaleCounter_premint1 + mintAmount <= makeNftLimit_premint1,
      'Premint Sale Limit Reached'
    );
    require(
      viewUserMakeNftCount_premint1(msg.sender) + mintAmount <= USER_LIMIT,
      'you have reached your limit'
    );
    uint256 count = viewUserMakeNftCount_premint1(msg.sender);

    for (uint256 i = 1; i <= mintAmount; i++) {
      _safeMint(msg.sender, supply + i);
      emit MintedPremium(supply + i, mintAmount, msg.sender, 'Premint');
    }
    addNftCount_premint1(mintAmount);
    addMakeNftUserCount_premint1(count + mintAmount);
  }

  function makeNft_premint2(uint256 mintAmount) external payable nonReentrant {
    IERC1155 token = IERC1155(tokenAddress);
    require(tokenAddress != address(0), 'Zero address found');
    uint256 supply = totalSupply();
    uint256 brandPass = token.balanceOf(msg.sender, 1);
    uint256 artistPass = token.balanceOf(msg.sender, 2);
    uint256 legendaryplusPass = token.balanceOf(msg.sender, 3);
    uint256 legendaryPass = token.balanceOf(msg.sender, 4);
    uint256 premiumPass = token.balanceOf(msg.sender, 5);
    require(
      brandPass >= 1 ||
        artistPass >= 1 ||
        legendaryplusPass >= 1 ||
        legendaryPass >= 1 ||
        premiumPass >= 1,
      'No Mintpass found'
    );
    require(saleIsActive_premint2, 'Sale is not active');
    require(supply + mintAmount <= MAX_SUPPLY, 'Sold out');
    require(supply + mintAmount <= MAX_MINT_SUPPLY_SALE, 'Premint Ended');
    require(mintAmount > 0, 'need to mint at least 1 NFT');
    require(
      nftSaleCounter_premint2 + mintAmount <= makeNftLimit_premint2,
      'premint2 Sale Limit Reached'
    );
    require(msg.value == price_premint2 * mintAmount, 'insufficient funds');
    require(
      viewUserMakeNftCount_premint2(msg.sender) + mintAmount <= USER_LIMIT,
      'you have reached your limit'
    );
    uint256 count = viewUserMakeNftCount_premint2(msg.sender);

    for (uint256 i = 1; i <= mintAmount; i++) {
      _safeMint(msg.sender, supply + i);
      emit MintedPremium(supply + i, mintAmount, msg.sender, 'Brand NFT');
    }
    addNftCounts_premint1(mintAmount);
    addMakeNftUserCount_premint2(count + mintAmount);
  }

  /** SaleCounters for all windows ***************/

  function addNftCount(uint256 y) private {
    nftSaleCounter = nftSaleCounter + y;
  }

  function addNftCount_premint1(uint256 y) private {
    nftSaleCounter_premint1 = nftSaleCounter_premint1 + y;
  }

  function addNftCounts_premint1(uint256 y) private {
    nftSaleCounter_premint2 = nftSaleCounter_premint2 + y;
  }

  /**  Usercounts for all windows  **************/

  function addMakeNftUserCount(uint256 counter) private {
    userMakeNftStruct[msg.sender].counter = counter;
  }

  function addMakeNftUserCount_premint1(uint256 counter) private {
    userMakeNftStruct_premint1[msg.sender].counter = counter;
  }

  function addMakeNftUserCount_premint2(uint256 counter) private {
    userMakeNftStruct_premint2[msg.sender].counter = counter;
  }

  /** Limits for all windows ****************/

  function setMakeNftLimit(uint256 newMakeNftLimit) external onlyOwner {
    makeNftLimit = newMakeNftLimit;
  }

  function setMakeNftLimit_premint1(uint256 newmakeNftLimit_premint1)
    external
    onlyOwner
  {
    makeNftLimit_premint1 = newmakeNftLimit_premint1;
  }

  function setMakeNftLimit_premint2(uint256 _newpremint2Limit)
    external
    onlyOwner
  {
    makeNftLimit_premint2 = _newpremint2Limit;
  }

  /** FlipSale for all windows ****************/

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

  function flipSale_premint1() external onlyOwner {
    saleIsActive_premint1 = !saleIsActive_premint1;
  }

  function flipSale_premint2() external onlyOwner {
    saleIsActive_premint2 = !saleIsActive_premint2;
  }

  /** view User Counts for all windows **************/

  function viewUserMakeNftCount(address userAddress)
    public
    view
    returns (uint256)
  {
    return userMakeNftStruct[userAddress].counter;
  }

  function viewUserMakeNftCount_premint1(address userAddress)
    public
    view
    returns (uint256)
  {
    return userMakeNftStruct_premint1[userAddress].counter;
  }

  function viewUserMakeNftCount_premint2(address userAddress)
    public
    view
    returns (uint256)
  {
    return userMakeNftStruct_premint2[userAddress].counter;
  }

  /** view Price for all windows **************/

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

  function viewPrice_premint1() public view returns (uint256) {
    return price_premint1;
  }

  function viewPrice_premint2() public view returns (uint256) {
    return price_premint2;
  }

  /** view IsActive for all windows **************/

  function viewIsActive() public view returns (bool) {
    return saleIsActive;
  }

  function viewIsActive_premint1() public view returns (bool) {
    return saleIsActive_premint1;
  }

  function viewIsActive_premint2() public view returns (bool) {
    return saleIsActive_premint2;
  }

  /** view Limit for all windows **************/

  function viewNftLimit() public view returns (uint256) {
    return makeNftLimit;
  }

  function viewNftLimit_premint1() public view returns (uint256) {
    return makeNftLimit_premint1;
  }

  function viewNftLimit_premint2() public view returns (uint256) {
    return makeNftLimit_premint2;
  }

  /** view Minted Counts for all windows **************/

  function viewNftCount() public view returns (uint256) {
    return nftSaleCounter;
  }

  function viewNftCount_premint1() public view returns (uint256) {
    return nftSaleCounter_premint1;
  }

  function viewNftCount_premint2() public view returns (uint256) {
    return nftSaleCounter_premint2;
  }

  /** view User Limit for all windows **************/

  function viewUserLimit() public pure returns (uint256) {
    return USER_LIMIT;
  }

  function viewUserLimit_premint1() public pure returns (uint256) {
    return USER_LIMIT; 
  }

  function viewUserLimit_premint2() public pure returns (uint256) {
    return USER_LIMIT; 
  }

  /** set Price for all windows **************/

  function setPrice(uint256 _newCost) external onlyOwner {
    price = _newCost;
  }

  // ?? Why is ther eno setPrice for Premint1?
  function setPrice_premint1(uint256 _newCost) external onlyOwner {
    price_premint1 = _newCost;
  }

  function setPrice_premint2(uint256 _newCost) external onlyOwner {
    price_premint2 = _newCost;
  }

  /**************************/

  function reveal() external onlyOwner {
    revealed = true;
  }

  function notreveal() external onlyOwner {
    revealed = false;
  }

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

  function setBaseExtension(string memory newBaseExtension) external onlyOwner {
    baseExtension = newBaseExtension;
  }

  function setNotRevealedURI(string memory newNotRevealedURI) public onlyOwner {
    notRevealedUri = newNotRevealedURI;
  }

  function withdrawAll() external payable onlyOwner {
    (bool success, ) = payable(VAULT_ADDRESS).call{
      value: address(this).balance
    }('');
    require(success);
  }

  function withdrawFixed(uint256 fixedAmount) external payable onlyOwner {
    (bool success, ) = payable(VAULT_ADDRESS).call{value: fixedAmount}('');
    require(success);
  }

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

    if (revealed == false) {
      return notRevealedUri;
    }

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

File 2 of 18 : 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 3 of 18 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

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

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

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

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 4 of 18 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 7 of 18 : 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 8 of 18 : 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 9 of 18 : 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 10 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 18 : 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 12 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 15 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 16 of 18 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 17 of 18 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"initBaseURI","type":"string"},{"internalType":"string","name":"initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"string","name":"saleType","type":"string"}],"name":"MintedPremium","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":"MAX_MINT_SUPPLY_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USER_LIMIT","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale_premint1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale_premint2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_saleType","type":"string"}],"name":"giftNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"makeNft","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"makeNftLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"makeNftLimit_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"makeNftLimit_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"makeNft_premint1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"makeNft_premint2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftSaleCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftSaleCounter_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftSaleCounter_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notreveal","outputs":[],"stateMutability":"nonpayable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleIsActive_premint1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleIsActive_premint2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMakeNftLimit","type":"uint256"}],"name":"setMakeNftLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newmakeNftLimit_premint1","type":"uint256"}],"name":"setMakeNftLimit_premint1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newpremint2Limit","type":"uint256"}],"name":"setMakeNftLimit_premint2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newNotRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPrice_premint1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPrice_premint2","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"viewIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewIsActive_premint1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewIsActive_premint2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewNftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewNftCount_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewNftCount_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewNftLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewNftLimit_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewNftLimit_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewPrice_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewPrice_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewUserLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"viewUserLimit_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"viewUserLimit_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"viewUserMakeNftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"viewUserMakeNftCount_premint1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"viewUserMakeNftCount_premint2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fixedAmount","type":"uint256"}],"name":"withdrawFixed","outputs":[],"stateMutability":"payable","type":"function"}]

60c06040526005608090815264173539b7b760d91b60a052600e90620000269082620002e6565b506010805460ff191690556722b1c8c1227a00006011819055671bc16d674ec80000601255601355611b586014819055611388601555601655600060178190556018819055601955601a805462ffffff191690553480156200008757600080fd5b506040516200459b3803806200459b833981016040819052620000aa91620004dd565b83836000620000ba8382620002e6565b506001620000c98282620002e6565b50506001600a5550620000dc33620000fc565b620000e7826200014e565b620000f28162000196565b50505050620005f5565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600b546001600160a01b03163314620001845760405162461bcd60e51b81526004016200017b90620005ba565b60405180910390fd5b600d620001928282620002e6565b5050565b600b546001600160a01b03163314620001c35760405162461bcd60e51b81526004016200017b90620005ba565b600f620001928282620002e6565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200021257607f821691505b602082108103620002275762000227620001e7565b50919050565b60006200023e6200023b8381565b90565b92915050565b6200024f836200022d565b81546008840282811b60001990911b908116901990911617825550505050565b60006200027e81848462000244565b505050565b818110156200019257620002996000826200026f565b60010162000283565b601f8211156200027e576000818152602090206020601f85010481016020851015620002cb5750805b620002df6020601f86010483018262000283565b5050505050565b81516001600160401b03811115620003025762000302620001d1565b6200030e8254620001fd565b6200031b828285620002a2565b6020601f831160018114620003525760008415620003395750858201515b600019600886021c1981166002860217865550620003ae565b600085815260208120601f198616915b8281101562000384578885015182556020948501946001909201910162000362565b86831015620003a15784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b601f19601f83011681018181106001600160401b0382111715620003de57620003de620001d1565b6040525050565b6000620003f160405190565b9050620003ff8282620003b6565b919050565b60006001600160401b03821115620004205762000420620001d1565b601f19601f83011660200192915050565b60005b838110156200044e57818101518382015260200162000434565b838111156200045e576000848401525b50505050565b60006200047b620004758462000404565b620003e5565b905082815260208101848484011115620004985762000498600080fd5b620004a584828562000431565b509392505050565b600082601f830112620004c357620004c3600080fd5b8151620004d584826020860162000464565b949350505050565b60008060008060808587031215620004f857620004f8600080fd5b84516001600160401b03811115620005135762000513600080fd5b6200052187828801620004ad565b94505060208501516001600160401b03811115620005425762000542600080fd5b6200055087828801620004ad565b93505060408501516001600160401b03811115620005715762000571600080fd5b6200057f87828801620004ad565b92505060608501516001600160401b03811115620005a057620005a0600080fd5b620005ae87828801620004ad565b91505092959194509250565b60208082528181019081527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726040830152606082016200023e565b613f9680620006056000396000f3fe6080604052600436106104525760003560e01c806370a082311161023f578063c668286211610139578063e471ae0a116100b6578063f21acbb31161007a578063f21acbb314610c0a578063f2c4ce1e14610c1d578063f2fde38b14610c3d578063fb66a82e14610c5d578063fdc9cc0a14610c7357600080fd5b8063e471ae0a14610b67578063e61696d814610b7c578063e985e9c514610b92578063eb89372814610bdb578063eb8d244414610bf057600080fd5b8063d910e876116100fd578063d910e87614610b04578063d9bf1a3114610b1a578063da3ef23f14610b2f578063dedc973714610531578063e457aace14610b4f57600080fd5b8063c668286214610a85578063c84af25114610a9a578063c87b56dd14610aaf578063d577309814610acf578063d7dcdcec14610aef57600080fd5b8063a22cb465116101c7578063b02d90731161018b578063b02d907314610a05578063b2a9cfa614610a1a578063b3bce3f314610a3a578063b448702714610a4f578063b88d4fde14610a6557600080fd5b8063a22cb46514610988578063a475b5dd146109a8578063abe7a6de146109bd578063acdd42ee146109d2578063aecd1a91146109f257600080fd5b80638da5cb5b1161020e5780638da5cb5b146108e957806391b7f5ed1461090757806392d902f71461092757806395d89b411461095d578063a035b1fe1461097257600080fd5b806370a0823114610897578063715018a6146108b75780637ba5e621146108cc578063853828b6146108e157600080fd5b80632f745c59116103505780634ebfb155116102d85780636352211e1161029c5780636352211e146107f8578063694ff2fb146108185780636c0360eb1461082d5780636eae3b45146108425780636f6f0f3c1461086157600080fd5b80634ebfb155146107525780634f6ccce71461078857806351830227146107a857806355f804b3146107c25780635b6d17eb146107e257600080fd5b806340df1ae71161031f57806340df1ae7146106bc57806342842e0e146106dc57806346e09657146106fc5780634de2fa671461071c5780634e3811581461073257600080fd5b80632f745c591461065657806332cb6b0c1461067657806338a9a6861461068c57806339a5aac61461069f57600080fd5b806318701ba1116103de5780632341d73f116103a25780632341d73f146105ed57806323b872dd146106025780632554e2ef14610622578063287443c1146105315780632e7261271461064057600080fd5b806318701ba11461056f5780631e74b4291461058257806320377c7a146105985780632188aa7f146105ad5780632190a0b3146105cd57600080fd5b8063081c8c4411610425578063081c8c44146104fa578063095ea7b31461050f578063119dc30d1461053157806318160ddd14610545578063181f585b1461055a57600080fd5b806301d9a8161461045757806301ffc9a71461047e57806306fdde03146104ab578063081812fc146104cd575b600080fd5b34801561046357600080fd5b506017545b6040516104759190612c77565b60405180910390f35b34801561048a57600080fd5b5061049e610499366004612ca7565b610c89565b6040516104759190612cd0565b3480156104b757600080fd5b506104c0610cb4565b6040516104759190612d3c565b3480156104d957600080fd5b506104ed6104e8366004612d5e565b610d46565b6040516104759190612d99565b34801561050657600080fd5b506104c0610d9f565b34801561051b57600080fd5b5061052f61052a366004612dbb565b610e2d565b005b34801561053d57600080fd5b50600a610468565b34801561055157600080fd5b50600854610468565b34801561056657600080fd5b50601254610468565b61052f61057d366004612d5e565b610eb2565b34801561058e57600080fd5b5061046860145481565b3480156105a457600080fd5b5061052f61137d565b3480156105b957600080fd5b5061052f6105c8366004612ef3565b6113c4565b3480156105d957600080fd5b5061052f6105e8366004612d5e565b6114aa565b3480156105f957600080fd5b50601854610468565b34801561060e57600080fd5b5061052f61061d366004612f5e565b6114d9565b34801561062e57600080fd5b50601a5462010000900460ff1661049e565b34801561064c57600080fd5b5061046860125481565b34801561066257600080fd5b50610468610671366004612dbb565b61150a565b34801561068257600080fd5b506104686122b881565b61052f61069a366004612d5e565b61155c565b3480156106ab57600080fd5b50601a54610100900460ff1661049e565b3480156106c857600080fd5b5061052f6106d7366004612d5e565b611607565b3480156106e857600080fd5b5061052f6106f7366004612f5e565b611636565b34801561070857600080fd5b50601a5461049e9062010000900460ff1681565b34801561072857600080fd5b50610468611b5881565b34801561073e57600080fd5b5061052f61074d366004612d5e565b611651565b34801561075e57600080fd5b5061046861076d366004612fa4565b6001600160a01b03166000908152601b602052604090205490565b34801561079457600080fd5b506104686107a3366004612d5e565b611680565b3480156107b457600080fd5b5060105461049e9060ff1681565b3480156107ce57600080fd5b5061052f6107dd366004612fc5565b6116ce565b3480156107ee57600080fd5b5061046860185481565b34801561080457600080fd5b506104ed610813366004612d5e565b611704565b34801561082457600080fd5b50601654610468565b34801561083957600080fd5b506104c0611739565b34801561084e57600080fd5b50601a5461049e90610100900460ff1681565b34801561086d57600080fd5b5061046861087c366004612fa4565b6001600160a01b03166000908152601d602052604090205490565b3480156108a357600080fd5b506104686108b2366004612fa4565b611746565b3480156108c357600080fd5b5061052f61178a565b3480156108d857600080fd5b5061052f6117c0565b61052f6117fe565b3480156108f557600080fd5b50600b546001600160a01b03166104ed565b34801561091357600080fd5b5061052f610922366004612d5e565b6118a8565b34801561093357600080fd5b50610468610942366004612fa4565b6001600160a01b03166000908152601c602052604090205490565b34801561096957600080fd5b506104c06118d7565b34801561097e57600080fd5b5061046860115481565b34801561099457600080fd5b5061052f6109a3366004613013565b6118e6565b3480156109b457600080fd5b5061052f6118f1565b3480156109c957600080fd5b50601554610468565b3480156109de57600080fd5b5061052f6109ed366004612d5e565b61192a565b61052f610a00366004612d5e565b611959565b348015610a1157600080fd5b5061052f611d9e565b348015610a2657600080fd5b5061052f610a35366004612fa4565b611de7565b348015610a4657600080fd5b5061052f611e33565b348015610a5b57600080fd5b5061046860155481565b348015610a7157600080fd5b5061052f610a80366004613046565b611e69565b348015610a9157600080fd5b506104c0611ea1565b348015610aa657600080fd5b50601354610468565b348015610abb57600080fd5b506104c0610aca366004612d5e565b611eae565b348015610adb57600080fd5b5061052f610aea366004612d5e565b611fe5565b348015610afb57600080fd5b50601154610468565b348015610b1057600080fd5b5061046860135481565b348015610b2657600080fd5b50601454610468565b348015610b3b57600080fd5b5061052f610b4a366004612fc5565b612014565b348015610b5b57600080fd5b50601a5460ff1661049e565b348015610b7357600080fd5b50610468600a81565b348015610b8857600080fd5b5061046860165481565b348015610b9e57600080fd5b5061049e610bad3660046130c5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610be757600080fd5b50601954610468565b348015610bfc57600080fd5b50601a5461049e9060ff1681565b61052f610c18366004612d5e565b61204a565b348015610c2957600080fd5b5061052f610c38366004612fc5565b61224c565b348015610c4957600080fd5b5061052f610c58366004612fa4565b612282565b348015610c6957600080fd5b5061046860175481565b348015610c7f57600080fd5b5061046860195481565b60006001600160e01b0319821663780e9d6360e01b1480610cae5750610cae826122db565b92915050565b606060008054610cc39061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054610cef9061310e565b8015610d3c5780601f10610d1157610100808354040283529160200191610d3c565b820191906000526020600020905b815481529060010190602001808311610d1f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d835760405162461bcd60e51b8152600401610d7a90613186565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600f8054610dac9061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd89061310e565b8015610e255780601f10610dfa57610100808354040283529160200191610e25565b820191906000526020600020905b815481529060010190602001808311610e0857829003601f168201915b505050505081565b6000610e3882611704565b9050806001600160a01b0316836001600160a01b031603610e6b5760405162461bcd60e51b8152600401610d7a906131d4565b336001600160a01b0382161480610e875750610e878133610bad565b610ea35760405162461bcd60e51b8152600401610d7a9061323e565b610ead838361232b565b505050565b6002600a5403610ed45760405162461bcd60e51b8152600401610d7a90613285565b6002600a55600c546001600160a01b031680610f025760405162461bcd60e51b8152600401610d7a906132be565b6000610f0d60085490565b90506000826001600160a01b031662fdd58e3360016040518363ffffffff1660e01b8152600401610f3f9291906132e6565b602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f80919061330c565b90506000836001600160a01b031662fdd58e3360026040518363ffffffff1660e01b8152600401610fb29291906132e6565b602060405180830381865afa158015610fcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff3919061330c565b90506000846001600160a01b031662fdd58e3360036040518363ffffffff1660e01b81526004016110259291906132e6565b602060405180830381865afa158015611042573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611066919061330c565b90506000856001600160a01b031662fdd58e3360046040518363ffffffff1660e01b81526004016110989291906132e6565b602060405180830381865afa1580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d9919061330c565b90506000866001600160a01b031662fdd58e3360056040518363ffffffff1660e01b815260040161110b9291906132e6565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061330c565b905060018510158061115f575060018410155b8061116b575060018310155b80611177575060018210155b80611183575060018110155b61119f5760405162461bcd60e51b8152600401610d7a90613355565b601a5462010000900460ff166111c75760405162461bcd60e51b8152600401610d7a9061338e565b6122b86111d489886133b4565b11156111f25760405162461bcd60e51b8152600401610d7a906133eb565b611b586111ff89886133b4565b111561121d5760405162461bcd60e51b8152600401610d7a9061341f565b6000881161123d5760405162461bcd60e51b8152600401610d7a90613463565b6016548860195461124e91906133b4565b111561126c5760405162461bcd60e51b8152600401610d7a906134a7565b8760135461127a91906134b7565b34146112985760405162461bcd60e51b8152600401610d7a906134ff565b336000908152601d6020526040902054600a906112b6908a906133b4565b11156112d45760405162461bcd60e51b8152600401610d7a90613543565b336000908152601d602052604090205460015b89811161134457611301336112fc838b6133b4565b612399565b33600080516020613f4183398151915261131b838b6133b4565b8c60405161132a929190613573565b60405180910390a28061133c8161359f565b9150506112e7565b5061134e896123b3565b61136d61135b8a836133b4565b336000908152601d6020526040902055565b50506001600a5550505050505050565b600b546001600160a01b031633146113a75760405162461bcd60e51b8152600401610d7a906135eb565b601a805461ff001981166101009182900460ff1615909102179055565b600b546001600160a01b031633146113ee5760405162461bcd60e51b8152600401610d7a906135eb565b60006113f960085490565b90506122b861140885836133b4565b11156114265760405162461bcd60e51b8152600401610d7a906133eb565b600084116114465760405162461bcd60e51b8152600401610d7a90613463565b60015b8481116114a35761145e846112fc83856133b4565b33600080516020613f4183398151915261147883856133b4565b8786604051611489939291906135fb565b60405180910390a28061149b8161359f565b915050611449565b5050505050565b600b546001600160a01b031633146114d45760405162461bcd60e51b8152600401610d7a906135eb565b601555565b6114e333826123c7565b6114ff5760405162461bcd60e51b8152600401610d7a9061367f565b610ead838383612479565b600061151583611746565b82106115335760405162461bcd60e51b8152600401610d7a906136d7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146115865760405162461bcd60e51b8152600401610d7a906135eb565b6000733c10d90796ce828644951c0682012b3faba52f8f6001600160a01b0316826040516115b3906136e7565b60006040518083038185875af1925050503d80600081146115f0576040519150601f19603f3d011682016040523d82523d6000602084013e6115f5565b606091505b505090508061160357600080fd5b5050565b600b546001600160a01b031633146116315760405162461bcd60e51b8152600401610d7a906135eb565b601355565b610ead83838360405180602001604052806000815250611e69565b600b546001600160a01b0316331461167b5760405162461bcd60e51b8152600401610d7a906135eb565b601655565b600061168b60085490565b82106116a95760405162461bcd60e51b8152600401610d7a9061373b565b600882815481106116bc576116bc61374b565b90600052602060002001549050919050565b600b546001600160a01b031633146116f85760405162461bcd60e51b8152600401610d7a906135eb565b600d61160382826137eb565b6000818152600260205260408120546001600160a01b031680610cae5760405162461bcd60e51b8152600401610d7a906138f5565b600d8054610dac9061310e565b60006001600160a01b03821661176e5760405162461bcd60e51b8152600401610d7a9061394c565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146117b45760405162461bcd60e51b8152600401610d7a906135eb565b6117be60006125a6565b565b600b546001600160a01b031633146117ea5760405162461bcd60e51b8152600401610d7a906135eb565b601a805460ff19811660ff90911615179055565b600b546001600160a01b031633146118285760405162461bcd60e51b8152600401610d7a906135eb565b6000733c10d90796ce828644951c0682012b3faba52f8f6001600160a01b031647604051611855906136e7565b60006040518083038185875af1925050503d8060008114611892576040519150601f19603f3d011682016040523d82523d6000602084013e611897565b606091505b50509050806118a557600080fd5b50565b600b546001600160a01b031633146118d25760405162461bcd60e51b8152600401610d7a906135eb565b601155565b606060018054610cc39061310e565b6116033383836125f8565b600b546001600160a01b0316331461191b5760405162461bcd60e51b8152600401610d7a906135eb565b6010805460ff19166001179055565b600b546001600160a01b031633146119545760405162461bcd60e51b8152600401610d7a906135eb565b601455565b6002600a540361197b5760405162461bcd60e51b8152600401610d7a90613285565b6002600a55600c546001600160a01b0316806119a95760405162461bcd60e51b8152600401610d7a906132be565b60006119b460085490565b90506000826001600160a01b031662fdd58e3360016040518363ffffffff1660e01b81526004016119e69291906132e6565b602060405180830381865afa158015611a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a27919061330c565b90506000836001600160a01b031662fdd58e3360026040518363ffffffff1660e01b8152600401611a599291906132e6565b602060405180830381865afa158015611a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9a919061330c565b90506000846001600160a01b031662fdd58e3360036040518363ffffffff1660e01b8152600401611acc9291906132e6565b602060405180830381865afa158015611ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0d919061330c565b90506000856001600160a01b031662fdd58e3360046040518363ffffffff1660e01b8152600401611b3f9291906132e6565b602060405180830381865afa158015611b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b80919061330c565b9050600184101580611b93575060018310155b80611b9f575060018210155b80611bab575060018110155b611bc75760405162461bcd60e51b8152600401610d7a90613355565b601a54610100900460ff16611bee5760405162461bcd60e51b8152600401610d7a9061338e565b6122b8611bfb88876133b4565b1115611c195760405162461bcd60e51b8152600401610d7a906133eb565b611b58611c2688876133b4565b1115611c445760405162461bcd60e51b8152600401610d7a9061341f565b60008711611c645760405162461bcd60e51b8152600401610d7a90613463565b86601254611c7291906134b7565b3414611c905760405162461bcd60e51b8152600401610d7a90613982565b60155487601854611ca191906133b4565b1115611cbf5760405162461bcd60e51b8152600401610d7a906139c6565b336000908152601c6020526040902054600a90611cdd9089906133b4565b1115611cfb5760405162461bcd60e51b8152600401610d7a90613543565b336000908152601c602052604090205460015b888111611d6657611d23336112fc838a6133b4565b33600080516020613f41833981519152611d3d838a6133b4565b8b604051611d4c9291906139f4565b60405180910390a280611d5e8161359f565b915050611d0e565b50611d708861269a565b611d8f611d7d89836133b4565b336000908152601c6020526040902055565b50506001600a55505050505050565b600b546001600160a01b03163314611dc85760405162461bcd60e51b8152600401610d7a906135eb565b601a805462ff0000198116620100009182900460ff1615909102179055565b600b546001600160a01b03163314611e115760405162461bcd60e51b8152600401610d7a906135eb565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b03163314611e5d5760405162461bcd60e51b8152600401610d7a906135eb565b6010805460ff19169055565b611e7333836123c7565b611e8f5760405162461bcd60e51b8152600401610d7a9061367f565b611e9b848484846126ae565b50505050565b600e8054610dac9061310e565b6000818152600260205260409020546060906001600160a01b0316611ee55760405162461bcd60e51b8152600401610d7a90613a6c565b60105460ff161515600003611f8657600f8054611f019061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2d9061310e565b8015611f7a5780601f10611f4f57610100808354040283529160200191611f7a565b820191906000526020600020905b815481529060010190602001808311611f5d57829003601f168201915b50505050509050919050565b6000611f906126e1565b90506000815111611fb05760405180602001604052806000815250611fde565b80611fba846126f0565b600e604051602001611fce93929190613b10565b6040516020818303038152906040525b9392505050565b600b546001600160a01b0316331461200f5760405162461bcd60e51b8152600401610d7a906135eb565b601255565b600b546001600160a01b0316331461203e5760405162461bcd60e51b8152600401610d7a906135eb565b600e61160382826137eb565b6002600a540361206c5760405162461bcd60e51b8152600401610d7a90613285565b6002600a55600061207c60085490565b601a5490915060ff166120a15760405162461bcd60e51b8152600401610d7a9061338e565b6122b86120ae83836133b4565b11156120cc5760405162461bcd60e51b8152600401610d7a906133eb565b611b586120d983836133b4565b11156120f75760405162461bcd60e51b8152600401610d7a90613b55565b600082116121175760405162461bcd60e51b8152600401610d7a90613463565b8160115461212591906134b7565b34146121435760405162461bcd60e51b8152600401610d7a90613982565b6014548260175461215491906133b4565b11156121725760405162461bcd60e51b8152600401610d7a90613b92565b336000908152601b6020526040902054600a906121909084906133b4565b11156121ae5760405162461bcd60e51b8152600401610d7a90613543565b336000908152601b602052604090205460015b838111612219576121d6336112fc83866133b4565b33600080516020613f418339815191526121f083866133b4565b866040516121ff929190613bc1565b60405180910390a2806122118161359f565b9150506121c1565b50612223836127f1565b61224261223084836133b4565b336000908152601b6020526040902055565b50506001600a5550565b600b546001600160a01b031633146122765760405162461bcd60e51b8152600401610d7a906135eb565b600f61160382826137eb565b600b546001600160a01b031633146122ac5760405162461bcd60e51b8152600401610d7a906135eb565b6001600160a01b0381166122d25760405162461bcd60e51b8152600401610d7a90613c30565b6118a5816125a6565b60006001600160e01b031982166380ac58cd60e01b148061230c57506001600160e01b03198216635b5e139f60e01b145b80610cae57506301ffc9a760e01b6001600160e01b0319831614610cae565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061236082611704565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611603828260405180602001604052806000815250612805565b806019546123c191906133b4565b60195550565b6000818152600260205260408120546001600160a01b03166123fb5760405162461bcd60e51b8152600401610d7a90613c89565b600061240683611704565b9050806001600160a01b0316846001600160a01b0316148061244d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806124715750836001600160a01b031661246684610d46565b6001600160a01b0316145b949350505050565b826001600160a01b031661248c82611704565b6001600160a01b0316146124b25760405162461bcd60e51b8152600401610d7a90613cdb565b6001600160a01b0382166124d85760405162461bcd60e51b8152600401610d7a90613d2c565b6124e3838383612838565b6124ee60008261232b565b6001600160a01b0383166000908152600360205260408120805460019290612517908490613d3c565b90915550506001600160a01b03821660009081526003602052604081208054600192906125459084906133b4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036126295760405162461bcd60e51b8152600401610d7a90613d87565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061268d908590612cd0565b60405180910390a3505050565b806018546126a891906133b4565b60185550565b6126b9848484612479565b6126c5848484846128f0565b611e9b5760405162461bcd60e51b8152600401610d7a90613de6565b6060600d8054610cc39061310e565b6060816000036127175750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612741578061272b8161359f565b915061273a9050600a83613e0c565b915061271b565b60008167ffffffffffffffff81111561275c5761275c612df8565b6040519080825280601f01601f191660200182016040528015612786576020820181803683370190505b5090505b84156124715761279b600183613d3c565b91506127a8600a86613e20565b6127b39060306133b4565b60f81b8183815181106127c8576127c861374b565b60200101906001600160f81b031916908160001a9053506127ea600a86613e0c565b945061278a565b806017546127ff91906133b4565b60175550565b61280f83836129f1565b61281c60008484846128f0565b610ead5760405162461bcd60e51b8152600401610d7a90613de6565b6001600160a01b0383166128935761288e81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6128b6565b816001600160a01b0316836001600160a01b0316146128b6576128b68382612adf565b6001600160a01b0382166128cd57610ead81612b7c565b826001600160a01b0316826001600160a01b031614610ead57610ead8282612c2b565b60006001600160a01b0384163b156129e657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612934903390899088908890600401613e34565b6020604051808303816000875af192505050801561296f575060408051601f3d908101601f1916820190925261296c91810190613e83565b60015b6129cc573d80801561299d576040519150601f19603f3d011682016040523d82523d6000602084013e6129a2565b606091505b5080516000036129c45760405162461bcd60e51b8152600401610d7a90613de6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612471565b506001949350505050565b6001600160a01b038216612a175760405162461bcd60e51b8152600401610d7a90613ed6565b6000818152600260205260409020546001600160a01b031615612a4c5760405162461bcd60e51b8152600401610d7a90613f1a565b612a5860008383612838565b6001600160a01b0382166000908152600360205260408120805460019290612a819084906133b4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001612aec84611746565b612af69190613d3c565b600083815260076020526040902054909150808214612b49576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b8e90600190613d3c565b60008381526009602052604081205460088054939450909284908110612bb657612bb661374b565b906000526020600020015490508060088381548110612bd757612bd761374b565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612c0f57612c0f613f2a565b6001900381819060005260206000200160009055905550505050565b6000612c3683611746565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b805b82525050565b60208101610cae8284612c6f565b6001600160e01b031981165b81146118a557600080fd5b8035610cae81612c85565b600060208284031215612cbc57612cbc600080fd5b60006124718484612c9c565b801515612c71565b60208101610cae8284612cc8565b60005b83811015612cf9578181015183820152602001612ce1565b83811115611e9b5750506000910152565b6000612d14825190565b808452602084019350612d2b818560208601612cde565b601f01601f19169290920192915050565b60208082528101611fde8184612d0a565b80612c91565b8035610cae81612d4d565b600060208284031215612d7357612d73600080fd5b60006124718484612d53565b60006001600160a01b038216610cae565b612c7181612d7f565b60208101610cae8284612d90565b612c9181612d7f565b8035610cae81612da7565b60008060408385031215612dd157612dd1600080fd5b6000612ddd8585612db0565b9250506020612dee85828601612d53565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715612e3457612e34612df8565b6040525050565b6000612e4660405190565b9050612e528282612e0e565b919050565b600067ffffffffffffffff821115612e7157612e71612df8565b601f19601f83011660200192915050565b82818337506000910152565b6000612ea1612e9c84612e57565b612e3b565b905082815260208101848484011115612ebc57612ebc600080fd5b612ec7848285612e82565b509392505050565b600082601f830112612ee357612ee3600080fd5b8135612471848260208601612e8e565b600080600060608486031215612f0b57612f0b600080fd5b6000612f178686612d53565b9350506020612f2886828701612db0565b925050604084013567ffffffffffffffff811115612f4857612f48600080fd5b612f5486828701612ecf565b9150509250925092565b600080600060608486031215612f7657612f76600080fd5b6000612f828686612db0565b9350506020612f9386828701612db0565b9250506040612f5486828701612d53565b600060208284031215612fb957612fb9600080fd5b60006124718484612db0565b600060208284031215612fda57612fda600080fd5b813567ffffffffffffffff811115612ff457612ff4600080fd5b61247184828501612ecf565b801515612c91565b8035610cae81613000565b6000806040838503121561302957613029600080fd5b60006130358585612db0565b9250506020612dee85828601613008565b6000806000806080858703121561305f5761305f600080fd5b600061306b8787612db0565b945050602061307c87828801612db0565b935050604061308d87828801612d53565b925050606085013567ffffffffffffffff8111156130ad576130ad600080fd5b6130b987828801612ecf565b91505092959194509250565b600080604083850312156130db576130db600080fd5b60006130e78585612db0565b9250506020612dee85828601612db0565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061312257607f821691505b602082108103613134576131346130f8565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b60208082528101610cae8161313a565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b6020820152915061317f565b60208082528101610cae81613196565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020820152915061317f565b60208082528101610cae816131e4565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b60208082528101610cae8161324e565b601281526000602082017116995c9bc81859191c995cdcc8199bdd5b9960721b8152915061327e565b60208082528101610cae81613295565b6000610cae6132da8381565b90565b612c71816132ce565b604081016132f48285612d90565b611fde60208301846132dd565b8051610cae81612d4d565b60006020828403121561332157613321600080fd5b60006124718484613301565b6011815260006020820170139bc8135a5b9d1c185cdcc8199bdd5b99607a1b8152915061327e565b60208082528101610cae8161332d565b601281526000602082017153616c65206973206e6f742061637469766560701b8152915061327e565b60208082528101610cae81613365565b634e487b7160e01b600052601160045260246000fd5b600082198211156133c7576133c761339e565b500190565b600881526000602082016714dbdb19081bdd5d60c21b8152915061327e565b60208082528101610cae816133cc565b600d81526000602082016c141c995b5a5b9d08115b991959609a1b8152915061327e565b60208082528101610cae816133fb565b601b81526000602082017f6e65656420746f206d696e74206174206c656173742031204e465400000000008152915061327e565b60208082528101610cae8161342f565b601b81526000602082017f7072656d696e74322053616c65204c696d6974205265616368656400000000008152915061327e565b60208082528101610cae81613473565b60008160001904831182151516156134d1576134d161339e565b500290565b6012815260006020820171696e73756666696369656e742066756e647360701b8152915061327e565b60208082528101610cae816134d6565b601b81526000602082017f796f752068617665207265616368656420796f7572206c696d697400000000008152915061327e565b60208082528101610cae8161350f565b6009815260006020820168109c985b990813919560ba1b8152915061327e565b606081016135818285612c6f565b61358e6020830184612c6f565b818103604083015261247181613553565b600060001982036135b2576135b261339e565b5060010190565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600061327e565b60208082528101610cae816135b9565b606081016136098286612c6f565b6136166020830185612c6f565b81810360408301526136288184612d0a565b95945050505050565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6020820152915061317f565b60208082528101610cae81613631565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b6020820152915061317f565b60208082528101610cae8161368f565b6000610cae826132da565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b6020820152915061317f565b60208082528101610cae816136f2565b634e487b7160e01b600052603260045260246000fd5b61376a836132ce565b81546008840282811b60001990911b908116901990911617825550505050565b6000610ead818484613761565b81811015611603576137aa60008261378a565b600101613797565b601f821115610ead576000818152602090206020601f850104810160208510156137d95750805b6114a36020601f860104830182613797565b815167ffffffffffffffff81111561380557613805612df8565b61380f825461310e565b61381a8282856137b2565b6020601f83116001811461384e57600084156138365750858201515b600019600886021c19811660028602178655506138a7565b600085815260208120601f198616915b8281101561387e578885015182556020948501946001909201910161385e565b8683101561389a5784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b6020820152915061317f565b60208082528101610cae816138af565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915061317f565b60208082528101610cae81613905565b600f81526000602082016e119d5b991cc8125b98dbdc9c9958dd608a1b8152915061327e565b60208082528101610cae8161395c565b601a81526000602082017f5072656d696e742053616c65204c696d697420526561636865640000000000008152915061327e565b60208082528101610cae81613992565b6007815260006020820166141c995b5a5b9d60ca1b8152915061327e565b60608101613a028285612c6f565b613a0f6020830184612c6f565b8181036040830152612471816139d6565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b6020820152915061317f565b60208082528101610cae81613a20565b6000613a86825190565b613a94818560208601612cde565b9290920192915050565b60008154613aab8161310e565b600182168015613ac25760018114613ad757613b07565b60ff1983168652811515820286019350613b07565b60008581526020902060005b83811015613aff57815488820152600190910190602001613ae3565b838801955050505b50505092915050565b6000613b1c8286613a7c565b9150613b288285613a7c565b91506136288284613a9e565b600a81526000602082016914d85b1948115b99195960b21b8152915061327e565b60208082528101610cae81613b34565b60168152600060208201751391950814d85b1948131a5b5a5d0814995858da195960521b8152915061327e565b60208082528101610cae81613b65565b600881526000602082016713585ad94813919560c21b8152915061327e565b60608101613bcf8285612c6f565b613bdc6020830184612c6f565b818103604083015261247181613ba2565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b6020820152915061317f565b60208082528101610cae81613bed565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061317f565b60208082528101610cae81613c40565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b6020820152915061317f565b60208082528101610cae81613c99565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b6020820152915061317f565b60208082528101610cae81613ceb565b600082821015613d4e57613d4e61339e565b500390565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c6572000000000000008152915061327e565b60208082528101610cae81613d53565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6020820152915061317f565b60208082528101610cae81613d97565b634e487b7160e01b600052601260045260246000fd5b600082613e1b57613e1b613df6565b500490565b600082613e2f57613e2f613df6565b500690565b60808101613e428287612d90565b613e4f6020830186612d90565b613e5c6040830185612c6f565b8181036060830152613e6e8184612d0a565b9695505050505050565b8051610cae81612c85565b600060208284031215613e9857613e98600080fd5b60006124718484613e78565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600061327e565b60208082528101610cae81613ea4565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e746564000000008152915061327e565b60208082528101610cae81613ee6565b634e487b7160e01b600052603160045260246000fdfe8d6dbdc7478c3af08b4f6a70aa9e9f670d946f0e5bd11ee4c46c2f85296b7b8ca2646970667358221220fa2154186e720f8036c6e18d6ea389e805429fe1aee237d7efc451bf64883aa164736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000185072656d69756d2044616e63696e6720536561686f72736500000000000000000000000000000000000000000000000000000000000000000000000000000003504453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106104525760003560e01c806370a082311161023f578063c668286211610139578063e471ae0a116100b6578063f21acbb31161007a578063f21acbb314610c0a578063f2c4ce1e14610c1d578063f2fde38b14610c3d578063fb66a82e14610c5d578063fdc9cc0a14610c7357600080fd5b8063e471ae0a14610b67578063e61696d814610b7c578063e985e9c514610b92578063eb89372814610bdb578063eb8d244414610bf057600080fd5b8063d910e876116100fd578063d910e87614610b04578063d9bf1a3114610b1a578063da3ef23f14610b2f578063dedc973714610531578063e457aace14610b4f57600080fd5b8063c668286214610a85578063c84af25114610a9a578063c87b56dd14610aaf578063d577309814610acf578063d7dcdcec14610aef57600080fd5b8063a22cb465116101c7578063b02d90731161018b578063b02d907314610a05578063b2a9cfa614610a1a578063b3bce3f314610a3a578063b448702714610a4f578063b88d4fde14610a6557600080fd5b8063a22cb46514610988578063a475b5dd146109a8578063abe7a6de146109bd578063acdd42ee146109d2578063aecd1a91146109f257600080fd5b80638da5cb5b1161020e5780638da5cb5b146108e957806391b7f5ed1461090757806392d902f71461092757806395d89b411461095d578063a035b1fe1461097257600080fd5b806370a0823114610897578063715018a6146108b75780637ba5e621146108cc578063853828b6146108e157600080fd5b80632f745c59116103505780634ebfb155116102d85780636352211e1161029c5780636352211e146107f8578063694ff2fb146108185780636c0360eb1461082d5780636eae3b45146108425780636f6f0f3c1461086157600080fd5b80634ebfb155146107525780634f6ccce71461078857806351830227146107a857806355f804b3146107c25780635b6d17eb146107e257600080fd5b806340df1ae71161031f57806340df1ae7146106bc57806342842e0e146106dc57806346e09657146106fc5780634de2fa671461071c5780634e3811581461073257600080fd5b80632f745c591461065657806332cb6b0c1461067657806338a9a6861461068c57806339a5aac61461069f57600080fd5b806318701ba1116103de5780632341d73f116103a25780632341d73f146105ed57806323b872dd146106025780632554e2ef14610622578063287443c1146105315780632e7261271461064057600080fd5b806318701ba11461056f5780631e74b4291461058257806320377c7a146105985780632188aa7f146105ad5780632190a0b3146105cd57600080fd5b8063081c8c4411610425578063081c8c44146104fa578063095ea7b31461050f578063119dc30d1461053157806318160ddd14610545578063181f585b1461055a57600080fd5b806301d9a8161461045757806301ffc9a71461047e57806306fdde03146104ab578063081812fc146104cd575b600080fd5b34801561046357600080fd5b506017545b6040516104759190612c77565b60405180910390f35b34801561048a57600080fd5b5061049e610499366004612ca7565b610c89565b6040516104759190612cd0565b3480156104b757600080fd5b506104c0610cb4565b6040516104759190612d3c565b3480156104d957600080fd5b506104ed6104e8366004612d5e565b610d46565b6040516104759190612d99565b34801561050657600080fd5b506104c0610d9f565b34801561051b57600080fd5b5061052f61052a366004612dbb565b610e2d565b005b34801561053d57600080fd5b50600a610468565b34801561055157600080fd5b50600854610468565b34801561056657600080fd5b50601254610468565b61052f61057d366004612d5e565b610eb2565b34801561058e57600080fd5b5061046860145481565b3480156105a457600080fd5b5061052f61137d565b3480156105b957600080fd5b5061052f6105c8366004612ef3565b6113c4565b3480156105d957600080fd5b5061052f6105e8366004612d5e565b6114aa565b3480156105f957600080fd5b50601854610468565b34801561060e57600080fd5b5061052f61061d366004612f5e565b6114d9565b34801561062e57600080fd5b50601a5462010000900460ff1661049e565b34801561064c57600080fd5b5061046860125481565b34801561066257600080fd5b50610468610671366004612dbb565b61150a565b34801561068257600080fd5b506104686122b881565b61052f61069a366004612d5e565b61155c565b3480156106ab57600080fd5b50601a54610100900460ff1661049e565b3480156106c857600080fd5b5061052f6106d7366004612d5e565b611607565b3480156106e857600080fd5b5061052f6106f7366004612f5e565b611636565b34801561070857600080fd5b50601a5461049e9062010000900460ff1681565b34801561072857600080fd5b50610468611b5881565b34801561073e57600080fd5b5061052f61074d366004612d5e565b611651565b34801561075e57600080fd5b5061046861076d366004612fa4565b6001600160a01b03166000908152601b602052604090205490565b34801561079457600080fd5b506104686107a3366004612d5e565b611680565b3480156107b457600080fd5b5060105461049e9060ff1681565b3480156107ce57600080fd5b5061052f6107dd366004612fc5565b6116ce565b3480156107ee57600080fd5b5061046860185481565b34801561080457600080fd5b506104ed610813366004612d5e565b611704565b34801561082457600080fd5b50601654610468565b34801561083957600080fd5b506104c0611739565b34801561084e57600080fd5b50601a5461049e90610100900460ff1681565b34801561086d57600080fd5b5061046861087c366004612fa4565b6001600160a01b03166000908152601d602052604090205490565b3480156108a357600080fd5b506104686108b2366004612fa4565b611746565b3480156108c357600080fd5b5061052f61178a565b3480156108d857600080fd5b5061052f6117c0565b61052f6117fe565b3480156108f557600080fd5b50600b546001600160a01b03166104ed565b34801561091357600080fd5b5061052f610922366004612d5e565b6118a8565b34801561093357600080fd5b50610468610942366004612fa4565b6001600160a01b03166000908152601c602052604090205490565b34801561096957600080fd5b506104c06118d7565b34801561097e57600080fd5b5061046860115481565b34801561099457600080fd5b5061052f6109a3366004613013565b6118e6565b3480156109b457600080fd5b5061052f6118f1565b3480156109c957600080fd5b50601554610468565b3480156109de57600080fd5b5061052f6109ed366004612d5e565b61192a565b61052f610a00366004612d5e565b611959565b348015610a1157600080fd5b5061052f611d9e565b348015610a2657600080fd5b5061052f610a35366004612fa4565b611de7565b348015610a4657600080fd5b5061052f611e33565b348015610a5b57600080fd5b5061046860155481565b348015610a7157600080fd5b5061052f610a80366004613046565b611e69565b348015610a9157600080fd5b506104c0611ea1565b348015610aa657600080fd5b50601354610468565b348015610abb57600080fd5b506104c0610aca366004612d5e565b611eae565b348015610adb57600080fd5b5061052f610aea366004612d5e565b611fe5565b348015610afb57600080fd5b50601154610468565b348015610b1057600080fd5b5061046860135481565b348015610b2657600080fd5b50601454610468565b348015610b3b57600080fd5b5061052f610b4a366004612fc5565b612014565b348015610b5b57600080fd5b50601a5460ff1661049e565b348015610b7357600080fd5b50610468600a81565b348015610b8857600080fd5b5061046860165481565b348015610b9e57600080fd5b5061049e610bad3660046130c5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610be757600080fd5b50601954610468565b348015610bfc57600080fd5b50601a5461049e9060ff1681565b61052f610c18366004612d5e565b61204a565b348015610c2957600080fd5b5061052f610c38366004612fc5565b61224c565b348015610c4957600080fd5b5061052f610c58366004612fa4565b612282565b348015610c6957600080fd5b5061046860175481565b348015610c7f57600080fd5b5061046860195481565b60006001600160e01b0319821663780e9d6360e01b1480610cae5750610cae826122db565b92915050565b606060008054610cc39061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054610cef9061310e565b8015610d3c5780601f10610d1157610100808354040283529160200191610d3c565b820191906000526020600020905b815481529060010190602001808311610d1f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d835760405162461bcd60e51b8152600401610d7a90613186565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600f8054610dac9061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd89061310e565b8015610e255780601f10610dfa57610100808354040283529160200191610e25565b820191906000526020600020905b815481529060010190602001808311610e0857829003601f168201915b505050505081565b6000610e3882611704565b9050806001600160a01b0316836001600160a01b031603610e6b5760405162461bcd60e51b8152600401610d7a906131d4565b336001600160a01b0382161480610e875750610e878133610bad565b610ea35760405162461bcd60e51b8152600401610d7a9061323e565b610ead838361232b565b505050565b6002600a5403610ed45760405162461bcd60e51b8152600401610d7a90613285565b6002600a55600c546001600160a01b031680610f025760405162461bcd60e51b8152600401610d7a906132be565b6000610f0d60085490565b90506000826001600160a01b031662fdd58e3360016040518363ffffffff1660e01b8152600401610f3f9291906132e6565b602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f80919061330c565b90506000836001600160a01b031662fdd58e3360026040518363ffffffff1660e01b8152600401610fb29291906132e6565b602060405180830381865afa158015610fcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff3919061330c565b90506000846001600160a01b031662fdd58e3360036040518363ffffffff1660e01b81526004016110259291906132e6565b602060405180830381865afa158015611042573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611066919061330c565b90506000856001600160a01b031662fdd58e3360046040518363ffffffff1660e01b81526004016110989291906132e6565b602060405180830381865afa1580156110b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d9919061330c565b90506000866001600160a01b031662fdd58e3360056040518363ffffffff1660e01b815260040161110b9291906132e6565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061330c565b905060018510158061115f575060018410155b8061116b575060018310155b80611177575060018210155b80611183575060018110155b61119f5760405162461bcd60e51b8152600401610d7a90613355565b601a5462010000900460ff166111c75760405162461bcd60e51b8152600401610d7a9061338e565b6122b86111d489886133b4565b11156111f25760405162461bcd60e51b8152600401610d7a906133eb565b611b586111ff89886133b4565b111561121d5760405162461bcd60e51b8152600401610d7a9061341f565b6000881161123d5760405162461bcd60e51b8152600401610d7a90613463565b6016548860195461124e91906133b4565b111561126c5760405162461bcd60e51b8152600401610d7a906134a7565b8760135461127a91906134b7565b34146112985760405162461bcd60e51b8152600401610d7a906134ff565b336000908152601d6020526040902054600a906112b6908a906133b4565b11156112d45760405162461bcd60e51b8152600401610d7a90613543565b336000908152601d602052604090205460015b89811161134457611301336112fc838b6133b4565b612399565b33600080516020613f4183398151915261131b838b6133b4565b8c60405161132a929190613573565b60405180910390a28061133c8161359f565b9150506112e7565b5061134e896123b3565b61136d61135b8a836133b4565b336000908152601d6020526040902055565b50506001600a5550505050505050565b600b546001600160a01b031633146113a75760405162461bcd60e51b8152600401610d7a906135eb565b601a805461ff001981166101009182900460ff1615909102179055565b600b546001600160a01b031633146113ee5760405162461bcd60e51b8152600401610d7a906135eb565b60006113f960085490565b90506122b861140885836133b4565b11156114265760405162461bcd60e51b8152600401610d7a906133eb565b600084116114465760405162461bcd60e51b8152600401610d7a90613463565b60015b8481116114a35761145e846112fc83856133b4565b33600080516020613f4183398151915261147883856133b4565b8786604051611489939291906135fb565b60405180910390a28061149b8161359f565b915050611449565b5050505050565b600b546001600160a01b031633146114d45760405162461bcd60e51b8152600401610d7a906135eb565b601555565b6114e333826123c7565b6114ff5760405162461bcd60e51b8152600401610d7a9061367f565b610ead838383612479565b600061151583611746565b82106115335760405162461bcd60e51b8152600401610d7a906136d7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146115865760405162461bcd60e51b8152600401610d7a906135eb565b6000733c10d90796ce828644951c0682012b3faba52f8f6001600160a01b0316826040516115b3906136e7565b60006040518083038185875af1925050503d80600081146115f0576040519150601f19603f3d011682016040523d82523d6000602084013e6115f5565b606091505b505090508061160357600080fd5b5050565b600b546001600160a01b031633146116315760405162461bcd60e51b8152600401610d7a906135eb565b601355565b610ead83838360405180602001604052806000815250611e69565b600b546001600160a01b0316331461167b5760405162461bcd60e51b8152600401610d7a906135eb565b601655565b600061168b60085490565b82106116a95760405162461bcd60e51b8152600401610d7a9061373b565b600882815481106116bc576116bc61374b565b90600052602060002001549050919050565b600b546001600160a01b031633146116f85760405162461bcd60e51b8152600401610d7a906135eb565b600d61160382826137eb565b6000818152600260205260408120546001600160a01b031680610cae5760405162461bcd60e51b8152600401610d7a906138f5565b600d8054610dac9061310e565b60006001600160a01b03821661176e5760405162461bcd60e51b8152600401610d7a9061394c565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146117b45760405162461bcd60e51b8152600401610d7a906135eb565b6117be60006125a6565b565b600b546001600160a01b031633146117ea5760405162461bcd60e51b8152600401610d7a906135eb565b601a805460ff19811660ff90911615179055565b600b546001600160a01b031633146118285760405162461bcd60e51b8152600401610d7a906135eb565b6000733c10d90796ce828644951c0682012b3faba52f8f6001600160a01b031647604051611855906136e7565b60006040518083038185875af1925050503d8060008114611892576040519150601f19603f3d011682016040523d82523d6000602084013e611897565b606091505b50509050806118a557600080fd5b50565b600b546001600160a01b031633146118d25760405162461bcd60e51b8152600401610d7a906135eb565b601155565b606060018054610cc39061310e565b6116033383836125f8565b600b546001600160a01b0316331461191b5760405162461bcd60e51b8152600401610d7a906135eb565b6010805460ff19166001179055565b600b546001600160a01b031633146119545760405162461bcd60e51b8152600401610d7a906135eb565b601455565b6002600a540361197b5760405162461bcd60e51b8152600401610d7a90613285565b6002600a55600c546001600160a01b0316806119a95760405162461bcd60e51b8152600401610d7a906132be565b60006119b460085490565b90506000826001600160a01b031662fdd58e3360016040518363ffffffff1660e01b81526004016119e69291906132e6565b602060405180830381865afa158015611a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a27919061330c565b90506000836001600160a01b031662fdd58e3360026040518363ffffffff1660e01b8152600401611a599291906132e6565b602060405180830381865afa158015611a76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9a919061330c565b90506000846001600160a01b031662fdd58e3360036040518363ffffffff1660e01b8152600401611acc9291906132e6565b602060405180830381865afa158015611ae9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0d919061330c565b90506000856001600160a01b031662fdd58e3360046040518363ffffffff1660e01b8152600401611b3f9291906132e6565b602060405180830381865afa158015611b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b80919061330c565b9050600184101580611b93575060018310155b80611b9f575060018210155b80611bab575060018110155b611bc75760405162461bcd60e51b8152600401610d7a90613355565b601a54610100900460ff16611bee5760405162461bcd60e51b8152600401610d7a9061338e565b6122b8611bfb88876133b4565b1115611c195760405162461bcd60e51b8152600401610d7a906133eb565b611b58611c2688876133b4565b1115611c445760405162461bcd60e51b8152600401610d7a9061341f565b60008711611c645760405162461bcd60e51b8152600401610d7a90613463565b86601254611c7291906134b7565b3414611c905760405162461bcd60e51b8152600401610d7a90613982565b60155487601854611ca191906133b4565b1115611cbf5760405162461bcd60e51b8152600401610d7a906139c6565b336000908152601c6020526040902054600a90611cdd9089906133b4565b1115611cfb5760405162461bcd60e51b8152600401610d7a90613543565b336000908152601c602052604090205460015b888111611d6657611d23336112fc838a6133b4565b33600080516020613f41833981519152611d3d838a6133b4565b8b604051611d4c9291906139f4565b60405180910390a280611d5e8161359f565b915050611d0e565b50611d708861269a565b611d8f611d7d89836133b4565b336000908152601c6020526040902055565b50506001600a55505050505050565b600b546001600160a01b03163314611dc85760405162461bcd60e51b8152600401610d7a906135eb565b601a805462ff0000198116620100009182900460ff1615909102179055565b600b546001600160a01b03163314611e115760405162461bcd60e51b8152600401610d7a906135eb565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b03163314611e5d5760405162461bcd60e51b8152600401610d7a906135eb565b6010805460ff19169055565b611e7333836123c7565b611e8f5760405162461bcd60e51b8152600401610d7a9061367f565b611e9b848484846126ae565b50505050565b600e8054610dac9061310e565b6000818152600260205260409020546060906001600160a01b0316611ee55760405162461bcd60e51b8152600401610d7a90613a6c565b60105460ff161515600003611f8657600f8054611f019061310e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2d9061310e565b8015611f7a5780601f10611f4f57610100808354040283529160200191611f7a565b820191906000526020600020905b815481529060010190602001808311611f5d57829003601f168201915b50505050509050919050565b6000611f906126e1565b90506000815111611fb05760405180602001604052806000815250611fde565b80611fba846126f0565b600e604051602001611fce93929190613b10565b6040516020818303038152906040525b9392505050565b600b546001600160a01b0316331461200f5760405162461bcd60e51b8152600401610d7a906135eb565b601255565b600b546001600160a01b0316331461203e5760405162461bcd60e51b8152600401610d7a906135eb565b600e61160382826137eb565b6002600a540361206c5760405162461bcd60e51b8152600401610d7a90613285565b6002600a55600061207c60085490565b601a5490915060ff166120a15760405162461bcd60e51b8152600401610d7a9061338e565b6122b86120ae83836133b4565b11156120cc5760405162461bcd60e51b8152600401610d7a906133eb565b611b586120d983836133b4565b11156120f75760405162461bcd60e51b8152600401610d7a90613b55565b600082116121175760405162461bcd60e51b8152600401610d7a90613463565b8160115461212591906134b7565b34146121435760405162461bcd60e51b8152600401610d7a90613982565b6014548260175461215491906133b4565b11156121725760405162461bcd60e51b8152600401610d7a90613b92565b336000908152601b6020526040902054600a906121909084906133b4565b11156121ae5760405162461bcd60e51b8152600401610d7a90613543565b336000908152601b602052604090205460015b838111612219576121d6336112fc83866133b4565b33600080516020613f418339815191526121f083866133b4565b866040516121ff929190613bc1565b60405180910390a2806122118161359f565b9150506121c1565b50612223836127f1565b61224261223084836133b4565b336000908152601b6020526040902055565b50506001600a5550565b600b546001600160a01b031633146122765760405162461bcd60e51b8152600401610d7a906135eb565b600f61160382826137eb565b600b546001600160a01b031633146122ac5760405162461bcd60e51b8152600401610d7a906135eb565b6001600160a01b0381166122d25760405162461bcd60e51b8152600401610d7a90613c30565b6118a5816125a6565b60006001600160e01b031982166380ac58cd60e01b148061230c57506001600160e01b03198216635b5e139f60e01b145b80610cae57506301ffc9a760e01b6001600160e01b0319831614610cae565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061236082611704565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611603828260405180602001604052806000815250612805565b806019546123c191906133b4565b60195550565b6000818152600260205260408120546001600160a01b03166123fb5760405162461bcd60e51b8152600401610d7a90613c89565b600061240683611704565b9050806001600160a01b0316846001600160a01b0316148061244d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806124715750836001600160a01b031661246684610d46565b6001600160a01b0316145b949350505050565b826001600160a01b031661248c82611704565b6001600160a01b0316146124b25760405162461bcd60e51b8152600401610d7a90613cdb565b6001600160a01b0382166124d85760405162461bcd60e51b8152600401610d7a90613d2c565b6124e3838383612838565b6124ee60008261232b565b6001600160a01b0383166000908152600360205260408120805460019290612517908490613d3c565b90915550506001600160a01b03821660009081526003602052604081208054600192906125459084906133b4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036126295760405162461bcd60e51b8152600401610d7a90613d87565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061268d908590612cd0565b60405180910390a3505050565b806018546126a891906133b4565b60185550565b6126b9848484612479565b6126c5848484846128f0565b611e9b5760405162461bcd60e51b8152600401610d7a90613de6565b6060600d8054610cc39061310e565b6060816000036127175750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612741578061272b8161359f565b915061273a9050600a83613e0c565b915061271b565b60008167ffffffffffffffff81111561275c5761275c612df8565b6040519080825280601f01601f191660200182016040528015612786576020820181803683370190505b5090505b84156124715761279b600183613d3c565b91506127a8600a86613e20565b6127b39060306133b4565b60f81b8183815181106127c8576127c861374b565b60200101906001600160f81b031916908160001a9053506127ea600a86613e0c565b945061278a565b806017546127ff91906133b4565b60175550565b61280f83836129f1565b61281c60008484846128f0565b610ead5760405162461bcd60e51b8152600401610d7a90613de6565b6001600160a01b0383166128935761288e81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6128b6565b816001600160a01b0316836001600160a01b0316146128b6576128b68382612adf565b6001600160a01b0382166128cd57610ead81612b7c565b826001600160a01b0316826001600160a01b031614610ead57610ead8282612c2b565b60006001600160a01b0384163b156129e657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612934903390899088908890600401613e34565b6020604051808303816000875af192505050801561296f575060408051601f3d908101601f1916820190925261296c91810190613e83565b60015b6129cc573d80801561299d576040519150601f19603f3d011682016040523d82523d6000602084013e6129a2565b606091505b5080516000036129c45760405162461bcd60e51b8152600401610d7a90613de6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612471565b506001949350505050565b6001600160a01b038216612a175760405162461bcd60e51b8152600401610d7a90613ed6565b6000818152600260205260409020546001600160a01b031615612a4c5760405162461bcd60e51b8152600401610d7a90613f1a565b612a5860008383612838565b6001600160a01b0382166000908152600360205260408120805460019290612a819084906133b4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001612aec84611746565b612af69190613d3c565b600083815260076020526040902054909150808214612b49576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b8e90600190613d3c565b60008381526009602052604081205460088054939450909284908110612bb657612bb661374b565b906000526020600020015490508060088381548110612bd757612bd761374b565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612c0f57612c0f613f2a565b6001900381819060005260206000200160009055905550505050565b6000612c3683611746565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b805b82525050565b60208101610cae8284612c6f565b6001600160e01b031981165b81146118a557600080fd5b8035610cae81612c85565b600060208284031215612cbc57612cbc600080fd5b60006124718484612c9c565b801515612c71565b60208101610cae8284612cc8565b60005b83811015612cf9578181015183820152602001612ce1565b83811115611e9b5750506000910152565b6000612d14825190565b808452602084019350612d2b818560208601612cde565b601f01601f19169290920192915050565b60208082528101611fde8184612d0a565b80612c91565b8035610cae81612d4d565b600060208284031215612d7357612d73600080fd5b60006124718484612d53565b60006001600160a01b038216610cae565b612c7181612d7f565b60208101610cae8284612d90565b612c9181612d7f565b8035610cae81612da7565b60008060408385031215612dd157612dd1600080fd5b6000612ddd8585612db0565b9250506020612dee85828601612d53565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715612e3457612e34612df8565b6040525050565b6000612e4660405190565b9050612e528282612e0e565b919050565b600067ffffffffffffffff821115612e7157612e71612df8565b601f19601f83011660200192915050565b82818337506000910152565b6000612ea1612e9c84612e57565b612e3b565b905082815260208101848484011115612ebc57612ebc600080fd5b612ec7848285612e82565b509392505050565b600082601f830112612ee357612ee3600080fd5b8135612471848260208601612e8e565b600080600060608486031215612f0b57612f0b600080fd5b6000612f178686612d53565b9350506020612f2886828701612db0565b925050604084013567ffffffffffffffff811115612f4857612f48600080fd5b612f5486828701612ecf565b9150509250925092565b600080600060608486031215612f7657612f76600080fd5b6000612f828686612db0565b9350506020612f9386828701612db0565b9250506040612f5486828701612d53565b600060208284031215612fb957612fb9600080fd5b60006124718484612db0565b600060208284031215612fda57612fda600080fd5b813567ffffffffffffffff811115612ff457612ff4600080fd5b61247184828501612ecf565b801515612c91565b8035610cae81613000565b6000806040838503121561302957613029600080fd5b60006130358585612db0565b9250506020612dee85828601613008565b6000806000806080858703121561305f5761305f600080fd5b600061306b8787612db0565b945050602061307c87828801612db0565b935050604061308d87828801612d53565b925050606085013567ffffffffffffffff8111156130ad576130ad600080fd5b6130b987828801612ecf565b91505092959194509250565b600080604083850312156130db576130db600080fd5b60006130e78585612db0565b9250506020612dee85828601612db0565b634e487b7160e01b600052602260045260246000fd5b60028104600182168061312257607f821691505b602082108103613134576131346130f8565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b60208082528101610cae8161313a565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b6020820152915061317f565b60208082528101610cae81613196565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020820152915061317f565b60208082528101610cae816131e4565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b60208082528101610cae8161324e565b601281526000602082017116995c9bc81859191c995cdcc8199bdd5b9960721b8152915061327e565b60208082528101610cae81613295565b6000610cae6132da8381565b90565b612c71816132ce565b604081016132f48285612d90565b611fde60208301846132dd565b8051610cae81612d4d565b60006020828403121561332157613321600080fd5b60006124718484613301565b6011815260006020820170139bc8135a5b9d1c185cdcc8199bdd5b99607a1b8152915061327e565b60208082528101610cae8161332d565b601281526000602082017153616c65206973206e6f742061637469766560701b8152915061327e565b60208082528101610cae81613365565b634e487b7160e01b600052601160045260246000fd5b600082198211156133c7576133c761339e565b500190565b600881526000602082016714dbdb19081bdd5d60c21b8152915061327e565b60208082528101610cae816133cc565b600d81526000602082016c141c995b5a5b9d08115b991959609a1b8152915061327e565b60208082528101610cae816133fb565b601b81526000602082017f6e65656420746f206d696e74206174206c656173742031204e465400000000008152915061327e565b60208082528101610cae8161342f565b601b81526000602082017f7072656d696e74322053616c65204c696d6974205265616368656400000000008152915061327e565b60208082528101610cae81613473565b60008160001904831182151516156134d1576134d161339e565b500290565b6012815260006020820171696e73756666696369656e742066756e647360701b8152915061327e565b60208082528101610cae816134d6565b601b81526000602082017f796f752068617665207265616368656420796f7572206c696d697400000000008152915061327e565b60208082528101610cae8161350f565b6009815260006020820168109c985b990813919560ba1b8152915061327e565b606081016135818285612c6f565b61358e6020830184612c6f565b818103604083015261247181613553565b600060001982036135b2576135b261339e565b5060010190565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600061327e565b60208082528101610cae816135b9565b606081016136098286612c6f565b6136166020830185612c6f565b81810360408301526136288184612d0a565b95945050505050565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6020820152915061317f565b60208082528101610cae81613631565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b6020820152915061317f565b60208082528101610cae8161368f565b6000610cae826132da565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b6020820152915061317f565b60208082528101610cae816136f2565b634e487b7160e01b600052603260045260246000fd5b61376a836132ce565b81546008840282811b60001990911b908116901990911617825550505050565b6000610ead818484613761565b81811015611603576137aa60008261378a565b600101613797565b601f821115610ead576000818152602090206020601f850104810160208510156137d95750805b6114a36020601f860104830182613797565b815167ffffffffffffffff81111561380557613805612df8565b61380f825461310e565b61381a8282856137b2565b6020601f83116001811461384e57600084156138365750858201515b600019600886021c19811660028602178655506138a7565b600085815260208120601f198616915b8281101561387e578885015182556020948501946001909201910161385e565b8683101561389a5784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b6020820152915061317f565b60208082528101610cae816138af565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915061317f565b60208082528101610cae81613905565b600f81526000602082016e119d5b991cc8125b98dbdc9c9958dd608a1b8152915061327e565b60208082528101610cae8161395c565b601a81526000602082017f5072656d696e742053616c65204c696d697420526561636865640000000000008152915061327e565b60208082528101610cae81613992565b6007815260006020820166141c995b5a5b9d60ca1b8152915061327e565b60608101613a028285612c6f565b613a0f6020830184612c6f565b8181036040830152612471816139d6565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b6020820152915061317f565b60208082528101610cae81613a20565b6000613a86825190565b613a94818560208601612cde565b9290920192915050565b60008154613aab8161310e565b600182168015613ac25760018114613ad757613b07565b60ff1983168652811515820286019350613b07565b60008581526020902060005b83811015613aff57815488820152600190910190602001613ae3565b838801955050505b50505092915050565b6000613b1c8286613a7c565b9150613b288285613a7c565b91506136288284613a9e565b600a81526000602082016914d85b1948115b99195960b21b8152915061327e565b60208082528101610cae81613b34565b60168152600060208201751391950814d85b1948131a5b5a5d0814995858da195960521b8152915061327e565b60208082528101610cae81613b65565b600881526000602082016713585ad94813919560c21b8152915061327e565b60608101613bcf8285612c6f565b613bdc6020830184612c6f565b818103604083015261247181613ba2565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b6020820152915061317f565b60208082528101610cae81613bed565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b6020820152915061317f565b60208082528101610cae81613c40565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b6020820152915061317f565b60208082528101610cae81613c99565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b6020820152915061317f565b60208082528101610cae81613ceb565b600082821015613d4e57613d4e61339e565b500390565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c6572000000000000008152915061327e565b60208082528101610cae81613d53565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6020820152915061317f565b60208082528101610cae81613d97565b634e487b7160e01b600052601260045260246000fd5b600082613e1b57613e1b613df6565b500490565b600082613e2f57613e2f613df6565b500690565b60808101613e428287612d90565b613e4f6020830186612d90565b613e5c6040830185612c6f565b8181036060830152613e6e8184612d0a565b9695505050505050565b8051610cae81612c85565b600060208284031215613e9857613e98600080fd5b60006124718484613e78565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600061327e565b60208082528101610cae81613ea4565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e746564000000008152915061327e565b60208082528101610cae81613ee6565b634e487b7160e01b600052603160045260246000fdfe8d6dbdc7478c3af08b4f6a70aa9e9f670d946f0e5bd11ee4c46c2f85296b7b8ca2646970667358221220fa2154186e720f8036c6e18d6ea389e805429fe1aee237d7efc451bf64883aa164736f6c634300080f0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000185072656d69756d2044616e63696e6720536561686f72736500000000000000000000000000000000000000000000000000000000000000000000000000000003504453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012f00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Premium Dancing Seahorse
Arg [1] : symbol (string): PDS
Arg [2] : initBaseURI (string): /
Arg [3] : initNotRevealedUri (string): /

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [5] : 5072656d69756d2044616e63696e6720536561686f7273650000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5044530000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 2f00000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 2f00000000000000000000000000000000000000000000000000000000000000


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.