ETH Price: $3,480.34 (+2.10%)

Contract

0x5B33c435368ea6B3AF3C180edE12fA6f6fdAc8c0
 

Overview

ETH Balance

0.4776445 ETH

Eth Value

$1,662.37 (@ $3,480.34/ETH)

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Approve208506342024-09-28 17:29:3587 days ago1727544575IN
0x5B33c435...f6fdAc8c0
0 ETH0.000349586.80708905
Approve208506192024-09-28 17:26:3587 days ago1727544395IN
0x5B33c435...f6fdAc8c0
0 ETH0.000359486.99983349
Approve208506012024-09-28 17:22:5987 days ago1727544179IN
0x5B33c435...f6fdAc8c0
0 ETH0.000365957.12591846
Set Approval For...204937542024-08-09 21:32:47137 days ago1723239167IN
0x5B33c435...f6fdAc8c0
0 ETH0.000348727.52760338
Set Approval For...204798422024-08-07 22:59:59139 days ago1723071599IN
0x5B33c435...f6fdAc8c0
0 ETH0.000101352.18788475
Set Approval For...195777702024-04-03 20:56:23265 days ago1712177783IN
0x5B33c435...f6fdAc8c0
0 ETH0.0013215728.48334469
Set Approval For...191486672024-02-03 15:17:47325 days ago1706973467IN
0x5B33c435...f6fdAc8c0
0 ETH0.0011775825.41955023
Set Approval For...188722632023-12-26 20:32:11364 days ago1703622731IN
0x5B33c435...f6fdAc8c0
0 ETH0.0008458418.23025709
Set Approval For...188422332023-12-22 15:19:47368 days ago1703258387IN
0x5B33c435...f6fdAc8c0
0 ETH0.001244946.98120189
Set Approval For...188422252023-12-22 15:18:11368 days ago1703258291IN
0x5B33c435...f6fdAc8c0
0 ETH0.0021909447.22062737
Set Approval For...169926382023-04-06 22:56:23628 days ago1680821783IN
0x5B33c435...f6fdAc8c0
0 ETH0.0010773423.25582522
Set Approval For...168805252023-03-22 3:41:47644 days ago1679456507IN
0x5B33c435...f6fdAc8c0
0 ETH0.0004158215.73557898
Set Approval For...168805252023-03-22 3:41:47644 days ago1679456507IN
0x5B33c435...f6fdAc8c0
0 ETH0.0004158215.73557898
Set Approval For...168805252023-03-22 3:41:47644 days ago1679456507IN
0x5B33c435...f6fdAc8c0
0 ETH0.0006948915
Set Approval For...167633142023-03-05 16:14:23660 days ago1678032863IN
0x5B33c435...f6fdAc8c0
0 ETH0.0011837525.55261466
Set Approval For...167140212023-02-26 17:54:59667 days ago1677434099IN
0x5B33c435...f6fdAc8c0
0 ETH0.0014039230.30526884
Set Approval For...166144982023-02-12 18:33:35681 days ago1676226815IN
0x5B33c435...f6fdAc8c0
0 ETH0.0004072716.62493553
Set Approval For...166010262023-02-10 21:24:59683 days ago1676064299IN
0x5B33c435...f6fdAc8c0
0 ETH0.0009979821.54258017
Set Approval For...164921832023-01-26 16:28:11698 days ago1674750491IN
0x5B33c435...f6fdAc8c0
0 ETH0.0020453444.15101708
Set Approval For...164864962023-01-25 21:24:11699 days ago1674681851IN
0x5B33c435...f6fdAc8c0
0 ETH0.0012111826.14485151
Safe Transfer Fr...164864872023-01-25 21:22:23699 days ago1674681743IN
0x5B33c435...f6fdAc8c0
0 ETH0.0019525227.41469689
Set Approval For...164412322023-01-19 13:44:59705 days ago1674135899IN
0x5B33c435...f6fdAc8c0
0 ETH0.0005667921.45806455
Set Approval For...164412312023-01-19 13:44:47705 days ago1674135887IN
0x5B33c435...f6fdAc8c0
0 ETH0.0005098520.88386428
Set Approval For...164412032023-01-19 13:39:11705 days ago1674135551IN
0x5B33c435...f6fdAc8c0
0 ETH0.0008079717.44096587
Safe Transfer Fr...161704462022-12-12 18:35:23743 days ago1670870123IN
0x5B33c435...f6fdAc8c0
0 ETH0.0012563118.91756933
View all transactions

Latest 11 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
161846932022-12-14 18:21:47741 days ago1671042107
0x5B33c435...f6fdAc8c0
0.00495 ETH
160716012022-11-28 22:53:59757 days ago1669676039
0x5B33c435...f6fdAc8c0
0.00175 ETH
160687472022-11-28 13:21:11757 days ago1669641671
0x5B33c435...f6fdAc8c0
0.00095 ETH
160687412022-11-28 13:19:59757 days ago1669641599
0x5B33c435...f6fdAc8c0
0.00095 ETH
159774102022-11-15 19:06:23770 days ago1668539183
0x5B33c435...f6fdAc8c0
0.001 ETH
155094672022-09-10 15:13:24836 days ago1662822804
0x5B33c435...f6fdAc8c0
0.001 ETH
153271242022-08-12 12:59:49865 days ago1660309189
0x5B33c435...f6fdAc8c0
0.002 ETH
153104272022-08-09 21:36:18868 days ago1660080978
0x5B33c435...f6fdAc8c0
0.0015 ETH
152892072022-08-06 14:13:45871 days ago1659795225
0x5B33c435...f6fdAc8c0
0.00145 ETH
147135052022-05-04 22:14:10965 days ago1651702450
0x5B33c435...f6fdAc8c0
2.2961707 ETH
147134912022-05-04 22:11:20965 days ago1651702280
0x5B33c435...f6fdAc8c0
28.31943874 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FuegoFriends

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 17 : FuegoFriends.sol
// SPDX-License-Identifier: AGPL-3.0

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./external/ERC721A.sol";

// @author rollauver.eth

contract FuegoFriends is ERC721A, Ownable, Pausable, PaymentSplitter {
  string public _baseTokenURI;

  bytes32 public _merkleRoot;

  uint256 public _price;
  uint256 public _presalePrice;
  uint256 public _maxSupply;
  uint256 public _maxPerAddress;
  uint256 public _presaleMaxPerAddress;
  uint256 public _publicSaleTime;
  uint256 public _preSaleTime;
  uint256 public _maxTxPerAddress;
  mapping(address => uint256) private _purchases;

  event EarlyPurchase(address indexed addr, uint256 indexed atPrice, uint256 indexed count);
  event Purchase(address indexed addr, uint256 indexed atPrice, uint256 indexed count);

  constructor(
    string memory name,
    string memory symbol,
    string memory baseTokenURI, // baseTokenURI - 0
    uint256[] memory numericValues, // price - 0, presalePrice - 1, maxSupply - 2, maxPerAddress - 3, presaleMaxPerAddress - 4, publicSaleTime - 5, _preSaleTime - 6, _maxTxPerAddress - 7
    bytes32 merkleRoot,
    address[] memory payees,
    uint256[] memory shares
  ) ERC721A(name, symbol, numericValues[2]) PaymentSplitter(payees, shares) {
    _baseTokenURI = baseTokenURI;

    _price = numericValues[0];
    _presalePrice = numericValues[1];
    _maxSupply = numericValues[2];
    _maxPerAddress = numericValues[3];
    _presaleMaxPerAddress = numericValues[4];
    _publicSaleTime = numericValues[5];
    _preSaleTime = numericValues[6];
    _maxTxPerAddress = numericValues[7];

    _merkleRoot = merkleRoot;
  }

  function setSaleInformation(
    uint256 publicSaleTime,
    uint256 preSaleTime,
    uint256 maxPerAddress,
    uint256 presaleMaxPerAddress,
    uint256 price,
    uint256 presalePrice,
    bytes32 merkleRoot,
    uint256 maxTxPerAddress
  ) external onlyOwner {
    _publicSaleTime = publicSaleTime;
    _preSaleTime = preSaleTime;
    _maxPerAddress = maxPerAddress;
    _presaleMaxPerAddress = presaleMaxPerAddress;
    _price = price;
    _presalePrice = presalePrice;
    _merkleRoot = merkleRoot;
    _maxTxPerAddress = maxTxPerAddress;
  }

  function setBaseUri(
    string memory baseUri
  ) external onlyOwner {
    _baseTokenURI = baseUri;
  }

  function setMerkleRoot(bytes32 merkleRoot) external onlyOwner {
    _merkleRoot = merkleRoot;
  }

  function _baseURI() override internal view virtual returns (string memory) {
    return string(
      abi.encodePacked(
        _baseTokenURI,
        Strings.toHexString(uint256(uint160(address(this))), 20),
        '/'
      )
    );
  }

  function mint(address to, uint256 count) external payable onlyOwner {
    ensureMintConditions(count);

    _safeMint(to, count);
  }

  function purchase(uint256 count) external payable whenNotPaused {
    ensurePublicMintConditions(msg.sender, count, _maxPerAddress);
    require(isPublicSaleActive(), "BASE_COLLECTION/CANNOT_MINT");

    _purchase(count, _price);
    emit Purchase(msg.sender, _price, count);
  }

  function earlyPurchase(uint256 count, bytes32[] calldata merkleProof) external payable whenNotPaused {
    ensurePublicMintConditions(msg.sender, count, _presaleMaxPerAddress);
    require(isPreSaleActive() && onEarlyPurchaseList(msg.sender, merkleProof), "BASE_COLLECTION/CANNOT_MINT_PRESALE");

    _purchase(count, _presalePrice);
    emit EarlyPurchase(msg.sender, _presalePrice, count);
  }

  function _purchase(uint256 count, uint256 price) private {
    require(price * count <= msg.value, 'BASE_COLLECTION/INSUFFICIENT_ETH_AMOUNT');

    _purchases[msg.sender] += count;
    _safeMint(msg.sender, count);
  }

  function ensureMintConditions(uint256 count) internal view {
    require(totalSupply() + count <= _maxSupply, "BASE_COLLECTION/EXCEEDS_MAX_SUPPLY");
  }

  function ensurePublicMintConditions(address to, uint256 count, uint256 maxPerAddress) internal view {
    ensureMintConditions(count);

    require((_maxTxPerAddress != 0) && (count <= _maxTxPerAddress), "BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION");
    uint256 totalMintFromAddress = _purchases[to] + count;
    require ((maxPerAddress != 0) && (totalMintFromAddress <= maxPerAddress), "BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY");
  }

  function isPublicSaleActive() public view returns (bool) {
    return (_publicSaleTime != 0 && _publicSaleTime < block.timestamp);
  }

  function isPreSaleActive() public view returns (bool) {
    return (_preSaleTime != 0 && (_preSaleTime < block.timestamp) && (block.timestamp < _publicSaleTime));
  }

  function onEarlyPurchaseList(address addr, bytes32[] calldata merkleProof) public view returns (bool) {
    require(_merkleRoot.length > 0, "BASE_COLLECTION/PRESALE_MINT_LIST_UNSET");

    bytes32 node = keccak256(abi.encodePacked(addr));
    return MerkleProof.verify(merkleProof, _merkleRoot, node);
  }

  function MAX_TOTAL_MINT() public view returns (uint256) {
    return _maxSupply;
  }

  function PRICE() public view returns (uint256) {
    if (isPreSaleActive()) {
      return _presalePrice;
    }

    return _price;
  }

  function MAX_TOTAL_MINT_PER_ADDRESS() public view returns (uint256) {
    if (isPreSaleActive()) {
      return _presaleMaxPerAddress;
    }

    return _maxPerAddress;
  }

  function pause() external onlyOwner {
    _pause();
  }

  function unpause() external onlyOwner {
    _unpause();
  }
}

File 2 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 1;

  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // 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
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

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

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

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

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

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

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

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

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

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * 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
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * 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`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 3 of 17 : 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 4 of 17 : 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 5 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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 9 of 17 : 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 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

    /**
     * @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);
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 17 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 14 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 15 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 16 of 17 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 17 of 17 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256[]","name":"numericValues","type":"uint256[]"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"atPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"count","type":"uint256"}],"name":"EarlyPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"atPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"count","type":"uint256"}],"name":"Purchase","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_TOTAL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_MINT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_preSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presaleMaxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_publicSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"earlyPurchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"onEarlyPurchaseList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"uint256","name":"preSaleTime","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"presaleMaxPerAddress","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"presalePrice","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"maxTxPerAddress","type":"uint256"}],"name":"setSaleInformation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600160005560006007553480156200001b57600080fd5b50604051620047d1380380620047d18339810160408190526200003e916200097a565b818188888760028151811062000058576200005862000a8c565b602002602001015160008111620000f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d7573742062652060448201527f6e6f6e7a65726f0000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b82516200010b906001906020860190620006d1565b50815162000121906002906020850190620006d1565b50608052506200014e90506200013f6401000000006200041c810204565b64010000000062000420810204565b6008805460a060020a60ff02191690558051825114620001f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e64207368617260448201527f6573206c656e677468206d69736d6174636800000000000000000000000000006064820152608401620000ed565b60008251116200025e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620000ed565b60005b8251811015620002d357620002be83828151811062000284576200028462000a8c565b6020026020010151838381518110620002a157620002a162000a8c565b602002602001015162000472640100000000026401000000009004565b80620002ca8162000aea565b91505062000261565b50508551620002eb91506010906020880190620006d1565b508360008151811062000302576200030262000a8c565b60200260200101516012819055508360018151811062000326576200032662000a8c565b6020026020010151601381905550836002815181106200034a576200034a62000a8c565b6020026020010151601481905550836003815181106200036e576200036e62000a8c565b60200260200101516015819055508360048151811062000392576200039262000a8c565b602002602001015160168190555083600581518110620003b657620003b662000a8c565b602002602001015160178190555083600681518110620003da57620003da62000a8c565b602002602001015160188190555083600781518110620003fe57620003fe62000a8c565b602090810291909101015160195550506011555062000b7992505050565b3390565b60088054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600160a060020a0382166200050a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401620000ed565b6000811162000576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620000ed565b600160a060020a0382166000908152600b6020526040902054156200061e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201527f20686173207368617265730000000000000000000000000000000000000000006064820152608401620000ed565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5018054600160a060020a031916600160a060020a0384169081179091556000908152600b602052604090208190556009546200068890829062000b08565b60095560408051600160a060020a0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620006df9062000b23565b90600052602060002090601f0160209004810192826200070357600085556200074e565b82601f106200071e57805160ff19168380011785556200074e565b828001600101855582156200074e579182015b828111156200074e57825182559160200191906001019062000731565b506200075c92915062000760565b5090565b5b808211156200075c576000815560010162000761565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f191681016001604060020a0381118282101715620007d157620007d162000777565b604052919050565b600082601f830112620007eb57600080fd5b81516001604060020a0381111562000807576200080762000777565b60206200081d601f8301601f19168201620007a6565b82815285828487010111156200083257600080fd5b60005b838110156200085257858101830151828201840152820162000835565b83811115620008645760008385840101525b5095945050505050565b60006001604060020a038211156200088a576200088a62000777565b5060209081020190565b600082601f830112620008a657600080fd5b81516020620008bf620008b9836200086e565b620007a6565b82815291810284018101918181019086841115620008dc57600080fd5b8286015b84811015620008f95780518352918301918301620008e0565b509695505050505050565b600082601f8301126200091657600080fd5b8151602062000929620008b9836200086e565b828152918102840181019181810190868411156200094657600080fd5b8286015b84811015620008f9578051600160a060020a03811681146200096c5760008081fd5b83529183019183016200094a565b600080600080600080600060e0888a0312156200099657600080fd5b87516001604060020a0380821115620009ae57600080fd5b620009bc8b838c01620007d9565b985060208a0151915080821115620009d357600080fd5b620009e18b838c01620007d9565b975060408a0151915080821115620009f857600080fd5b62000a068b838c01620007d9565b965060608a015191508082111562000a1d57600080fd5b62000a2b8b838c0162000894565b955060808a0151945060a08a015191508082111562000a4957600080fd5b62000a578b838c0162000904565b935060c08a015191508082111562000a6e57600080fd5b5062000a7d8a828b0162000894565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060001982141562000b015762000b0162000abb565b5060010190565b6000821982111562000b1e5762000b1e62000abb565b500190565b60028104600182168062000b3857607f821691505b6020821081141562000b73577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b608051613c2e62000ba3600039600081816123bb015281816123e50152612b5c0152613c2e6000f3fe608060405260043610610356576000357c0100000000000000000000000000000000000000000000000000000000900480637b96a3b2116101c8578063b88d4fde11610114578063e2ab10ce116100b2578063e985e9c51161008c578063e985e9c514610985578063efef39a1146109ce578063f2fde38b146109e1578063fa156f9a14610a0157600080fd5b8063e2ab10ce14610947578063e2d5ee2d1461095a578063e33b7de31461097057600080fd5b8063cf9e8e69116100ee578063cf9e8e69146108d1578063cfc86f7b146108e6578063d7224ba0146108fb578063d79779b21461091157600080fd5b8063b88d4fde1461085b578063c87b56dd1461087b578063ce7c2ac21461089b57600080fd5b8063904be6da116101815780639d044ed31161015b5780639d044ed3146107f0578063a0bcfc7f14610805578063a22cb46514610825578063b85ef0361461084557600080fd5b8063904be6da1461078f57806395d89b41146107a55780639852595c146107ba57600080fd5b80637b96a3b2146106e75780637cb64759146107075780638456cb59146107275780638b83209b1461073c5780638d859f3e1461075c5780638da5cb5b1461077157600080fd5b80633f4ba83a116102a25780635f0d246a11610240578063696fa41e1161021a578063696fa41e1461067c57806370a0823114610692578063715018a6146106b257806374721235146106c757600080fd5b80635f0d246a146106315780636352211e1461064757806366cfb1f31461066757600080fd5b806342842e0e1161027c57806342842e0e146105b257806348b75044146105d25780634f6ccce7146105f25780635c975abb1461061257600080fd5b80633f4ba83a14610544578063406072a91461055957806340c10f191461059f57600080fd5b80631e84c4131161030f57806323b872dd116102e957806323b872dd146104d95780632f745c59146104f95780632fc37ab2146105195780633a98ef391461052f57600080fd5b80631e84c4131461049857806322f4596f146104ad578063235b6ea1146104c357600080fd5b806301ffc9a7146103a457806306fdde03146103d9578063081812fc146103fb578063095ea7b31461043357806318160ddd14610455578063191655871461047857600080fd5b3661039f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7703360408051600160a060020a0390921682523460208301520160405180910390a1005b600080fd5b3480156103b057600080fd5b506103c46103bf366004613302565b610a17565b60405190151581526020015b60405180910390f35b3480156103e557600080fd5b506103ee610ae8565b6040516103d09190613377565b34801561040757600080fd5b5061041b61041636600461338a565b610b7a565b604051600160a060020a0390911681526020016103d0565b34801561043f57600080fd5b5061045361044e3660046133b8565b610c1d565b005b34801561046157600080fd5b5061046a610d56565b6040519081526020016103d0565b34801561048457600080fd5b506104536104933660046133e4565b610d6c565b3480156104a457600080fd5b506103c4610ea1565b3480156104b957600080fd5b5061046a60145481565b3480156104cf57600080fd5b5061046a60125481565b3480156104e557600080fd5b506104536104f4366004613401565b610ebb565b34801561050557600080fd5b5061046a6105143660046133b8565b610ec6565b34801561052557600080fd5b5061046a60115481565b34801561053b57600080fd5b5060095461046a565b34801561055057600080fd5b5061045361106e565b34801561056557600080fd5b5061046a610574366004613442565b600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b6104536105ad3660046133b8565b6110a5565b3480156105be57600080fd5b506104536105cd366004613401565b6110e9565b3480156105de57600080fd5b506104536105ed366004613442565b611104565b3480156105fe57600080fd5b5061046a61060d36600461338a565b61130b565b34801561061e57600080fd5b5060085460a060020a900460ff166103c4565b34801561063d57600080fd5b5061046a60135481565b34801561065357600080fd5b5061041b61066236600461338a565b611390565b34801561067357600080fd5b5061046a6113a2565b34801561068857600080fd5b5061046a60195481565b34801561069e57600080fd5b5061046a6106ad3660046133e4565b6113bf565b3480156106be57600080fd5b50610453611465565b3480156106d357600080fd5b506104536106e236600461347b565b61149c565b3480156106f357600080fd5b506103c461070236600461351b565b6114ef565b34801561071357600080fd5b5061045361072236600461338a565b61157c565b34801561073357600080fd5b506104536115ae565b34801561074857600080fd5b5061041b61075736600461338a565b6115e3565b34801561076857600080fd5b5061046a611613565b34801561077d57600080fd5b50600854600160a060020a031661041b565b34801561079b57600080fd5b5061046a60165481565b3480156107b157600080fd5b506103ee611630565b3480156107c657600080fd5b5061046a6107d53660046133e4565b600160a060020a03166000908152600c602052604090205490565b3480156107fc57600080fd5b506103c461163f565b34801561081157600080fd5b506104536108203660046135ff565b611665565b34801561083157600080fd5b50610453610840366004613656565b6116a5565b34801561085157600080fd5b5061046a60175481565b34801561086757600080fd5b50610453610876366004613684565b61176d565b34801561088757600080fd5b506103ee61089636600461338a565b6117a9565b3480156108a757600080fd5b5061046a6108b63660046133e4565b600160a060020a03166000908152600b602052604090205490565b3480156108dd57600080fd5b5060145461046a565b3480156108f257600080fd5b506103ee611886565b34801561090757600080fd5b5061046a60075481565b34801561091d57600080fd5b5061046a61092c3660046133e4565b600160a060020a03166000908152600e602052604090205490565b610453610955366004613704565b611914565b34801561096657600080fd5b5061046a60155481565b34801561097c57600080fd5b50600a5461046a565b34801561099157600080fd5b506103c46109a0366004613442565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6104536109dc36600461338a565b611a1f565b3480156109ed57600080fd5b506104536109fc3660046133e4565b611af0565b348015610a0d57600080fd5b5061046a60185481565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a7a5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610aae5750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610ae257507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316145b92915050565b606060018054610af790613737565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390613737565b8015610b705780601f10610b4557610100808354040283529160200191610b70565b820191906000526020600020905b815481529060010190602001808311610b5357829003601f168201915b5050505050905090565b6000610b87826000541190565b610c015760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260056020526040902054600160a060020a031690565b6000610c2882611390565b905080600160a060020a031683600160a060020a03161415610cb55760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b33600160a060020a0382161480610cd15750610cd181336109a0565b610d465760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bf8565b610d51838383611ba8565b505050565b60006001600054610d67919061378e565b905090565b600160a060020a0381166000908152600b6020526040902054610da45760405160e560020a62461bcd028152600401610bf8906137a5565b6000610daf600a5490565b610dba903031613802565b90506000610de78383610de286600160a060020a03166000908152600c602052604090205490565b611c11565b905080610e095760405160e560020a62461bcd028152600401610bf89061381a565b600160a060020a0383166000908152600c602052604081208054839290610e31908490613802565b9250508190555080600a6000828254610e4a9190613802565b90915550610e5a90508382611c57565b60408051600160a060020a0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6000601754600014158015610d6757504260175410905090565b610d51838383611d77565b6000610ed1836113bf565b8210610f485760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b6000610f52610d56565b905060008060005b83811015610ffc57600081815260036020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff169183019190915215610fad57805192505b87600160a060020a031683600160a060020a03161415610fe95786841415610fdb57509350610ae292505050565b83610fe581613877565b9450505b5080610ff481613877565b915050610f5a565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610bf8565b600854600160a060020a0316331461109b5760405160e560020a62461bcd028152600401610bf890613892565b6110a3612142565b565b600854600160a060020a031633146110d25760405160e560020a62461bcd028152600401610bf890613892565b6110db816121fc565b6110e58282612289565b5050565b610d518383836040518060200160405280600081525061176d565b600160a060020a0381166000908152600b602052604090205461113c5760405160e560020a62461bcd028152600401610bf8906137a5565b600160a060020a0382166000908152600e60205260408120546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038516906370a082319060240160206040518083038186803b1580156111ad57600080fd5b505afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e591906138c7565b6111ef9190613802565b905060006112288383610de28787600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b90508061124a5760405160e560020a62461bcd028152600401610bf89061381a565b600160a060020a038085166000908152600f6020908152604080832093871683529290529081208054839290611281908490613802565b9091555050600160a060020a0384166000908152600e6020526040812080548392906112ae908490613802565b909155506112bf90508484836122a3565b60408051600160a060020a038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611315610d56565b821061138c5760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b5090565b600061139b82612323565b5192915050565b60006113ac61163f565b156113b8575060165490565b5060155490565b6000600160a060020a0382166114405760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610bf8565b50600160a060020a03166000908152600460205260409020546001608060020a031690565b600854600160a060020a031633146114925760405160e560020a62461bcd028152600401610bf890613892565b6110a360006124f4565b600854600160a060020a031633146114c95760405160e560020a62461bcd028152600401610bf890613892565b601797909755601895909555601593909355601691909155601255601355601155601955565b60006040516c01000000000000000000000000600160a060020a038616026020820152600090603401604051602081830303815290604052805190602001209050611571848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050612553565b9150505b9392505050565b600854600160a060020a031633146115a95760405160e560020a62461bcd028152600401610bf890613892565b601155565b600854600160a060020a031633146115db5760405160e560020a62461bcd028152600401610bf890613892565b6110a3612569565b6000600d82815481106115f8576115f86138e0565b600091825260209091200154600160a060020a031692915050565b600061161d61163f565b15611629575060135490565b5060125490565b606060028054610af790613737565b6000601854600014158015611655575042601854105b8015610d67575050601754421090565b600854600160a060020a031633146116925760405160e560020a62461bcd028152600401610bf890613892565b80516110e590601090602084019061325c565b600160a060020a0382163314156117015760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bf8565b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611778848484611d77565b611784848484846125e2565b6117a35760405160e560020a62461bcd028152600401610bf8906138f9565b50505050565b60606117b6826000541190565b61182b5760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610bf8565b6000611835612724565b905060008151116118555760405180602001604052806000815250611575565b8061185f84612758565b604051602001611870929190613972565b6040516020818303038152906040529392505050565b6010805461189390613737565b80601f01602080910402602001604051908101604052809291908181526020018280546118bf90613737565b801561190c5780601f106118e15761010080835404028352916020019161190c565b820191906000526020600020905b8154815290600101906020018083116118ef57829003601f168201915b505050505081565b60085460a060020a900460ff16156119415760405160e560020a62461bcd028152600401610bf8906139a1565b61194e3384601654612891565b61195661163f565b801561196857506119683383836114ef565b6119dd5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e545f5052455360448201527f414c4500000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b6119e9836013546129cc565b60135460405184919033907f38bd02858ca92987ff585a4c06998aea8187e96864df1eaf349dec3cfddc0fbb90600090a4505050565b60085460a060020a900460ff1615611a4c5760405160e560020a62461bcd028152600401610bf8906139a1565b611a593382601554612891565b611a61610ea1565b611ab05760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610bf8565b611abc816012546129cc565b60125460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600854600160a060020a03163314611b1d5760405160e560020a62461bcd028152600401610bf890613892565b600160a060020a038116611b9c5760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bf8565b611ba5816124f4565b50565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600160a060020a0384166000908152600b602052604081205490918391611c3b90866139d8565b611c459190613a10565b611c4f919061378e565b949350505050565b3031811115611cab5760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bf8565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611cf8576040519150601f19603f3d011682016040523d82523d6000602084013e611cfd565b606091505b5050905080610d515760405160e560020a62461bcd02815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bf8565b6000611d8282612323565b8051909150600090600160a060020a031633600160a060020a03161480611db9575033611dae84610b7a565b600160a060020a0316145b80611dcb57508151611dcb90336109a0565b905080611e435760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610bf8565b84600160a060020a03168260000151600160a060020a031614611ed15760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610bf8565b600160a060020a038416611f505760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610bf8565b611f606000848460000151611ba8565b600160a060020a0385166000908152600460205260408120805460019290611f929084906001608060020a0316613a24565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a03861660009081526004602052604081208054600194509092611fde91859116613a4c565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600390915294852093518454915190921660a060020a02600160e060020a03199091169190921617179055612066846001613802565b600081815260036020526040902054909150600160a060020a03166120f857612090816000541190565b156120f8576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60085460a060020a900460ff1661219e5760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bf8565b6008805474ff0000000000000000000000000000000000000000191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60145481612208610d56565b6122129190613802565b1115611ba55760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b6110e5828260405180602001604052806000815250612a7d565b60408051600160a060020a038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d51908490612db5565b6040805180820190915260008082526020820152612342826000541190565b6123b75760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610bf8565b60007f000000000000000000000000000000000000000000000000000000000000000083106124185761240a7f00000000000000000000000000000000000000000000000000000000000000008461378e565b612415906001613802565b90505b825b81811061248257600081815260036020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561246f57949350505050565b508061247a81613a6e565b91505061241a565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610bf8565b60088054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826125608584612e9d565b14949350505050565b60085460a060020a900460ff16156125965760405160e560020a62461bcd028152600401610bf8906139a1565b6008805474ff0000000000000000000000000000000000000000191660a060020a1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586121df3390565b6000600160a060020a0384163b15612719576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a029061263f903390899088908890600401613a85565b602060405180830381600087803b15801561265957600080fd5b505af1925050508015612689575060408051601f3d908101601f1916820190925261268691810190613ac1565b60015b6126e6573d8080156126b7576040519150601f19603f3d011682016040523d82523d6000602084013e6126bc565b606091505b5080516126de5760405160e560020a62461bcd028152600401610bf8906138f9565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611c4f565b506001949350505050565b60606010612733306014612f49565b604051602001612744929190613ade565b604051602081830303815290604052905090565b60608161279857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156127c257806127ac81613877565b91506127bb9050600a83613a10565b915061279c565b60008167ffffffffffffffff8111156127dd576127dd613570565b6040519080825280601f01601f191660200182016040528015612807576020820181803683370190505b5090505b8415611c4f5761281c60018361378e565b9150612829600a86613bab565b612834906030613802565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612868576128686138e0565b6020010190600160f860020a031916908160001a90535061288a600a86613a10565b945061280b565b61289a826121fc565b601954158015906128ad57506019548211155b6129225760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e0000000000000000000000000000000000000000006064820152608401610bf8565b600160a060020a0383166000908152601a6020526040812054612946908490613802565b905081158015906129575750818111155b6117a35760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610bf8565b346129d783836139d8565b1115612a4e5760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610bf8565b336000908152601a602052604081208054849290612a6d908490613802565b909155506110e590503383612289565b600054600160a060020a038416612aff5760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b612b0a816000541190565b15612b5a5760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bf8565b7f0000000000000000000000000000000000000000000000000000000000000000831115612bf35760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b600160a060020a0384166000908152600460209081526040918290208251808401845290546001608060020a0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612c5c908790613a4c565b6001608060020a03168152602001858360200151612c7a9190613a4c565b6001608060020a03908116909152600160a060020a03808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612daa576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612d6b60008884886125e2565b612d8a5760405160e560020a62461bcd028152600401610bf8906138f9565b81612d9481613877565b9250508080612da290613877565b915050612d1e565b50600081905561213a565b6000612e0a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525085600160a060020a031661314b9092919063ffffffff16565b805190915015610d515780806020019051810190612e289190613bbf565b610d515760405160e560020a62461bcd02815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bf8565b600081815b8451811015612f41576000858281518110612ebf57612ebf6138e0565b60200260200101519050808311612f01576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612f2e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612f3981613877565b915050612ea2565b509392505050565b60606000612f588360026139d8565b612f63906002613802565b67ffffffffffffffff811115612f7b57612f7b613570565b6040519080825280601f01601f191660200182016040528015612fa5576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612fdc57612fdc6138e0565b6020010190600160f860020a031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613027576130276138e0565b6020010190600160f860020a031916908160001a905350600061304b8460026139d8565b613056906001613802565b90505b60018111156130f9577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110613097576130976138e0565b1a7f0100000000000000000000000000000000000000000000000000000000000000028282815181106130cc576130cc6138e0565b6020010190600160f860020a031916908160001a9053506010909404936130f281613a6e565b9050613059565b5083156115755760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bf8565b6060611c4f848460008585843b6131a75760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bf8565b60008086600160a060020a031685876040516131c39190613bdc565b60006040518083038185875af1925050503d8060008114613200576040519150601f19603f3d011682016040523d82523d6000602084013e613205565b606091505b5091509150613215828286613220565b979650505050505050565b6060831561322f575081611575565b82511561323f5782518084602001fd5b8160405160e560020a62461bcd028152600401610bf89190613377565b82805461326890613737565b90600052602060002090601f01602090048101928261328a57600085556132d0565b82601f106132a357805160ff19168380011785556132d0565b828001600101855582156132d0579182015b828111156132d05782518255916020019190600101906132b5565b5061138c9291505b8082111561138c57600081556001016132d8565b600160e060020a031981168114611ba557600080fd5b60006020828403121561331457600080fd5b8135611575816132ec565b60005b8381101561333a578181015183820152602001613322565b838111156117a35750506000910152565b6000815180845261336381602086016020860161331f565b601f01601f19169290920160200192915050565b602081526000611575602083018461334b565b60006020828403121561339c57600080fd5b5035919050565b600160a060020a0381168114611ba557600080fd5b600080604083850312156133cb57600080fd5b82356133d6816133a3565b946020939093013593505050565b6000602082840312156133f657600080fd5b8135611575816133a3565b60008060006060848603121561341657600080fd5b8335613421816133a3565b92506020840135613431816133a3565b929592945050506040919091013590565b6000806040838503121561345557600080fd5b8235613460816133a3565b91506020830135613470816133a3565b809150509250929050565b600080600080600080600080610100898b03121561349857600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b60008083601f8401126134e257600080fd5b50813567ffffffffffffffff8111156134fa57600080fd5b602083019150836020808302850101111561351457600080fd5b9250929050565b60008060006040848603121561353057600080fd5b833561353b816133a3565b9250602084013567ffffffffffffffff81111561355757600080fd5b613563868287016134d0565b9497909650939450505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff808411156135a4576135a4613570565b604051601f8501601f19908116603f011681019082821181831017156135cc576135cc613570565b816040528093508581528686860111156135e557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561361157600080fd5b813567ffffffffffffffff81111561362857600080fd5b8201601f8101841361363957600080fd5b611c4f84823560208401613589565b8015158114611ba557600080fd5b6000806040838503121561366957600080fd5b8235613674816133a3565b9150602083013561347081613648565b6000806000806080858703121561369a57600080fd5b84356136a5816133a3565b935060208501356136b5816133a3565b925060408501359150606085013567ffffffffffffffff8111156136d857600080fd5b8501601f810187136136e957600080fd5b6136f887823560208401613589565b91505092959194509250565b60008060006040848603121561371957600080fd5b83359250602084013567ffffffffffffffff81111561355757600080fd5b60028104600182168061374b57607f821691505b6020821081141561376f5760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b6000828210156137a0576137a0613775565b500390565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201527f7368617265730000000000000000000000000000000000000000000000000000606082015260800190565b6000821982111561381557613815613775565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201527f647565207061796d656e74000000000000000000000000000000000000000000606082015260800190565b600060001982141561388b5761388b613775565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156138d957600080fd5b5051919050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6000815161396881856020860161331f565b9290920192915050565b6000835161398481846020880161331f565b83519083019061399881836020880161331f565b01949350505050565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60008160001904831182151516156139f2576139f2613775565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082613a1f57613a1f6139f7565b500490565b60006001608060020a0383811690831681811015613a4457613a44613775565b039392505050565b60006001608060020a0380831681851680830382111561399857613998613775565b600081613a7d57613a7d613775565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152613ab7608083018461334b565b9695505050505050565b600060208284031215613ad357600080fd5b8151611575816132ec565b8254600090819060028104600180831680613afa57607f831692505b6020808410821415613b1d5760e060020a634e487b710286526022600452602486fd5b818015613b315760018114613b4257613b6f565b60ff19861689528489019650613b6f565b60008b81526020902060005b86811015613b675781548b820152908501908301613b4e565b505084890196505b505050505050611571613b828286613956565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b600082613bba57613bba6139f7565b500690565b600060208284031215613bd157600080fd5b815161157581613648565b60008251613bee81846020870161331f565b919091019291505056fea264697066735822122010a3617a3eb2647cdfe7570fc8c1a1c9251d284673bea24d877f03ef88235e5a64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0c2b9df2968ea0ab89420d4b2ee36848476d131cf911ad38d68e0bc044434898200000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000d467565676f20467269656e6473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005465545474f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f7777772e667565676f667269656e64732e636f6d2f636f6e7472616374732f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000620552a000000000000000000000000000000000000000000000000000000000620401200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000200000000000000000000000066d68bd1ea5faad1b0ea6a46c463477eed4688770000000000000000000000005790b462bc6f25cc34fc681d24984917533230670000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004b000000000000000000000000000000000000000000000000000000000000039d

Deployed Bytecode

0x608060405260043610610356576000357c0100000000000000000000000000000000000000000000000000000000900480637b96a3b2116101c8578063b88d4fde11610114578063e2ab10ce116100b2578063e985e9c51161008c578063e985e9c514610985578063efef39a1146109ce578063f2fde38b146109e1578063fa156f9a14610a0157600080fd5b8063e2ab10ce14610947578063e2d5ee2d1461095a578063e33b7de31461097057600080fd5b8063cf9e8e69116100ee578063cf9e8e69146108d1578063cfc86f7b146108e6578063d7224ba0146108fb578063d79779b21461091157600080fd5b8063b88d4fde1461085b578063c87b56dd1461087b578063ce7c2ac21461089b57600080fd5b8063904be6da116101815780639d044ed31161015b5780639d044ed3146107f0578063a0bcfc7f14610805578063a22cb46514610825578063b85ef0361461084557600080fd5b8063904be6da1461078f57806395d89b41146107a55780639852595c146107ba57600080fd5b80637b96a3b2146106e75780637cb64759146107075780638456cb59146107275780638b83209b1461073c5780638d859f3e1461075c5780638da5cb5b1461077157600080fd5b80633f4ba83a116102a25780635f0d246a11610240578063696fa41e1161021a578063696fa41e1461067c57806370a0823114610692578063715018a6146106b257806374721235146106c757600080fd5b80635f0d246a146106315780636352211e1461064757806366cfb1f31461066757600080fd5b806342842e0e1161027c57806342842e0e146105b257806348b75044146105d25780634f6ccce7146105f25780635c975abb1461061257600080fd5b80633f4ba83a14610544578063406072a91461055957806340c10f191461059f57600080fd5b80631e84c4131161030f57806323b872dd116102e957806323b872dd146104d95780632f745c59146104f95780632fc37ab2146105195780633a98ef391461052f57600080fd5b80631e84c4131461049857806322f4596f146104ad578063235b6ea1146104c357600080fd5b806301ffc9a7146103a457806306fdde03146103d9578063081812fc146103fb578063095ea7b31461043357806318160ddd14610455578063191655871461047857600080fd5b3661039f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7703360408051600160a060020a0390921682523460208301520160405180910390a1005b600080fd5b3480156103b057600080fd5b506103c46103bf366004613302565b610a17565b60405190151581526020015b60405180910390f35b3480156103e557600080fd5b506103ee610ae8565b6040516103d09190613377565b34801561040757600080fd5b5061041b61041636600461338a565b610b7a565b604051600160a060020a0390911681526020016103d0565b34801561043f57600080fd5b5061045361044e3660046133b8565b610c1d565b005b34801561046157600080fd5b5061046a610d56565b6040519081526020016103d0565b34801561048457600080fd5b506104536104933660046133e4565b610d6c565b3480156104a457600080fd5b506103c4610ea1565b3480156104b957600080fd5b5061046a60145481565b3480156104cf57600080fd5b5061046a60125481565b3480156104e557600080fd5b506104536104f4366004613401565b610ebb565b34801561050557600080fd5b5061046a6105143660046133b8565b610ec6565b34801561052557600080fd5b5061046a60115481565b34801561053b57600080fd5b5060095461046a565b34801561055057600080fd5b5061045361106e565b34801561056557600080fd5b5061046a610574366004613442565b600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b6104536105ad3660046133b8565b6110a5565b3480156105be57600080fd5b506104536105cd366004613401565b6110e9565b3480156105de57600080fd5b506104536105ed366004613442565b611104565b3480156105fe57600080fd5b5061046a61060d36600461338a565b61130b565b34801561061e57600080fd5b5060085460a060020a900460ff166103c4565b34801561063d57600080fd5b5061046a60135481565b34801561065357600080fd5b5061041b61066236600461338a565b611390565b34801561067357600080fd5b5061046a6113a2565b34801561068857600080fd5b5061046a60195481565b34801561069e57600080fd5b5061046a6106ad3660046133e4565b6113bf565b3480156106be57600080fd5b50610453611465565b3480156106d357600080fd5b506104536106e236600461347b565b61149c565b3480156106f357600080fd5b506103c461070236600461351b565b6114ef565b34801561071357600080fd5b5061045361072236600461338a565b61157c565b34801561073357600080fd5b506104536115ae565b34801561074857600080fd5b5061041b61075736600461338a565b6115e3565b34801561076857600080fd5b5061046a611613565b34801561077d57600080fd5b50600854600160a060020a031661041b565b34801561079b57600080fd5b5061046a60165481565b3480156107b157600080fd5b506103ee611630565b3480156107c657600080fd5b5061046a6107d53660046133e4565b600160a060020a03166000908152600c602052604090205490565b3480156107fc57600080fd5b506103c461163f565b34801561081157600080fd5b506104536108203660046135ff565b611665565b34801561083157600080fd5b50610453610840366004613656565b6116a5565b34801561085157600080fd5b5061046a60175481565b34801561086757600080fd5b50610453610876366004613684565b61176d565b34801561088757600080fd5b506103ee61089636600461338a565b6117a9565b3480156108a757600080fd5b5061046a6108b63660046133e4565b600160a060020a03166000908152600b602052604090205490565b3480156108dd57600080fd5b5060145461046a565b3480156108f257600080fd5b506103ee611886565b34801561090757600080fd5b5061046a60075481565b34801561091d57600080fd5b5061046a61092c3660046133e4565b600160a060020a03166000908152600e602052604090205490565b610453610955366004613704565b611914565b34801561096657600080fd5b5061046a60155481565b34801561097c57600080fd5b50600a5461046a565b34801561099157600080fd5b506103c46109a0366004613442565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6104536109dc36600461338a565b611a1f565b3480156109ed57600080fd5b506104536109fc3660046133e4565b611af0565b348015610a0d57600080fd5b5061046a60185481565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a7a5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610aae5750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610ae257507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316145b92915050565b606060018054610af790613737565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2390613737565b8015610b705780601f10610b4557610100808354040283529160200191610b70565b820191906000526020600020905b815481529060010190602001808311610b5357829003601f168201915b5050505050905090565b6000610b87826000541190565b610c015760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260056020526040902054600160a060020a031690565b6000610c2882611390565b905080600160a060020a031683600160a060020a03161415610cb55760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b33600160a060020a0382161480610cd15750610cd181336109a0565b610d465760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bf8565b610d51838383611ba8565b505050565b60006001600054610d67919061378e565b905090565b600160a060020a0381166000908152600b6020526040902054610da45760405160e560020a62461bcd028152600401610bf8906137a5565b6000610daf600a5490565b610dba903031613802565b90506000610de78383610de286600160a060020a03166000908152600c602052604090205490565b611c11565b905080610e095760405160e560020a62461bcd028152600401610bf89061381a565b600160a060020a0383166000908152600c602052604081208054839290610e31908490613802565b9250508190555080600a6000828254610e4a9190613802565b90915550610e5a90508382611c57565b60408051600160a060020a0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6000601754600014158015610d6757504260175410905090565b610d51838383611d77565b6000610ed1836113bf565b8210610f485760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b6000610f52610d56565b905060008060005b83811015610ffc57600081815260036020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff169183019190915215610fad57805192505b87600160a060020a031683600160a060020a03161415610fe95786841415610fdb57509350610ae292505050565b83610fe581613877565b9450505b5080610ff481613877565b915050610f5a565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610bf8565b600854600160a060020a0316331461109b5760405160e560020a62461bcd028152600401610bf890613892565b6110a3612142565b565b600854600160a060020a031633146110d25760405160e560020a62461bcd028152600401610bf890613892565b6110db816121fc565b6110e58282612289565b5050565b610d518383836040518060200160405280600081525061176d565b600160a060020a0381166000908152600b602052604090205461113c5760405160e560020a62461bcd028152600401610bf8906137a5565b600160a060020a0382166000908152600e60205260408120546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038516906370a082319060240160206040518083038186803b1580156111ad57600080fd5b505afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e591906138c7565b6111ef9190613802565b905060006112288383610de28787600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b90508061124a5760405160e560020a62461bcd028152600401610bf89061381a565b600160a060020a038085166000908152600f6020908152604080832093871683529290529081208054839290611281908490613802565b9091555050600160a060020a0384166000908152600e6020526040812080548392906112ae908490613802565b909155506112bf90508484836122a3565b60408051600160a060020a038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611315610d56565b821061138c5760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b5090565b600061139b82612323565b5192915050565b60006113ac61163f565b156113b8575060165490565b5060155490565b6000600160a060020a0382166114405760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610bf8565b50600160a060020a03166000908152600460205260409020546001608060020a031690565b600854600160a060020a031633146114925760405160e560020a62461bcd028152600401610bf890613892565b6110a360006124f4565b600854600160a060020a031633146114c95760405160e560020a62461bcd028152600401610bf890613892565b601797909755601895909555601593909355601691909155601255601355601155601955565b60006040516c01000000000000000000000000600160a060020a038616026020820152600090603401604051602081830303815290604052805190602001209050611571848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050612553565b9150505b9392505050565b600854600160a060020a031633146115a95760405160e560020a62461bcd028152600401610bf890613892565b601155565b600854600160a060020a031633146115db5760405160e560020a62461bcd028152600401610bf890613892565b6110a3612569565b6000600d82815481106115f8576115f86138e0565b600091825260209091200154600160a060020a031692915050565b600061161d61163f565b15611629575060135490565b5060125490565b606060028054610af790613737565b6000601854600014158015611655575042601854105b8015610d67575050601754421090565b600854600160a060020a031633146116925760405160e560020a62461bcd028152600401610bf890613892565b80516110e590601090602084019061325c565b600160a060020a0382163314156117015760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bf8565b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611778848484611d77565b611784848484846125e2565b6117a35760405160e560020a62461bcd028152600401610bf8906138f9565b50505050565b60606117b6826000541190565b61182b5760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610bf8565b6000611835612724565b905060008151116118555760405180602001604052806000815250611575565b8061185f84612758565b604051602001611870929190613972565b6040516020818303038152906040529392505050565b6010805461189390613737565b80601f01602080910402602001604051908101604052809291908181526020018280546118bf90613737565b801561190c5780601f106118e15761010080835404028352916020019161190c565b820191906000526020600020905b8154815290600101906020018083116118ef57829003601f168201915b505050505081565b60085460a060020a900460ff16156119415760405160e560020a62461bcd028152600401610bf8906139a1565b61194e3384601654612891565b61195661163f565b801561196857506119683383836114ef565b6119dd5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e545f5052455360448201527f414c4500000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b6119e9836013546129cc565b60135460405184919033907f38bd02858ca92987ff585a4c06998aea8187e96864df1eaf349dec3cfddc0fbb90600090a4505050565b60085460a060020a900460ff1615611a4c5760405160e560020a62461bcd028152600401610bf8906139a1565b611a593382601554612891565b611a61610ea1565b611ab05760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610bf8565b611abc816012546129cc565b60125460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600854600160a060020a03163314611b1d5760405160e560020a62461bcd028152600401610bf890613892565b600160a060020a038116611b9c5760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bf8565b611ba5816124f4565b50565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600160a060020a0384166000908152600b602052604081205490918391611c3b90866139d8565b611c459190613a10565b611c4f919061378e565b949350505050565b3031811115611cab5760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bf8565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611cf8576040519150601f19603f3d011682016040523d82523d6000602084013e611cfd565b606091505b5050905080610d515760405160e560020a62461bcd02815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bf8565b6000611d8282612323565b8051909150600090600160a060020a031633600160a060020a03161480611db9575033611dae84610b7a565b600160a060020a0316145b80611dcb57508151611dcb90336109a0565b905080611e435760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610bf8565b84600160a060020a03168260000151600160a060020a031614611ed15760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610bf8565b600160a060020a038416611f505760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610bf8565b611f606000848460000151611ba8565b600160a060020a0385166000908152600460205260408120805460019290611f929084906001608060020a0316613a24565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a03861660009081526004602052604081208054600194509092611fde91859116613a4c565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600390915294852093518454915190921660a060020a02600160e060020a03199091169190921617179055612066846001613802565b600081815260036020526040902054909150600160a060020a03166120f857612090816000541190565b156120f8576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60085460a060020a900460ff1661219e5760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bf8565b6008805474ff0000000000000000000000000000000000000000191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60145481612208610d56565b6122129190613802565b1115611ba55760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b6110e5828260405180602001604052806000815250612a7d565b60408051600160a060020a038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d51908490612db5565b6040805180820190915260008082526020820152612342826000541190565b6123b75760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610bf8565b60007f00000000000000000000000000000000000000000000000000000000000004e283106124185761240a7f00000000000000000000000000000000000000000000000000000000000004e28461378e565b612415906001613802565b90505b825b81811061248257600081815260036020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561246f57949350505050565b508061247a81613a6e565b91505061241a565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610bf8565b60088054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826125608584612e9d565b14949350505050565b60085460a060020a900460ff16156125965760405160e560020a62461bcd028152600401610bf8906139a1565b6008805474ff0000000000000000000000000000000000000000191660a060020a1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586121df3390565b6000600160a060020a0384163b15612719576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a029061263f903390899088908890600401613a85565b602060405180830381600087803b15801561265957600080fd5b505af1925050508015612689575060408051601f3d908101601f1916820190925261268691810190613ac1565b60015b6126e6573d8080156126b7576040519150601f19603f3d011682016040523d82523d6000602084013e6126bc565b606091505b5080516126de5760405160e560020a62461bcd028152600401610bf8906138f9565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611c4f565b506001949350505050565b60606010612733306014612f49565b604051602001612744929190613ade565b604051602081830303815290604052905090565b60608161279857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156127c257806127ac81613877565b91506127bb9050600a83613a10565b915061279c565b60008167ffffffffffffffff8111156127dd576127dd613570565b6040519080825280601f01601f191660200182016040528015612807576020820181803683370190505b5090505b8415611c4f5761281c60018361378e565b9150612829600a86613bab565b612834906030613802565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612868576128686138e0565b6020010190600160f860020a031916908160001a90535061288a600a86613a10565b945061280b565b61289a826121fc565b601954158015906128ad57506019548211155b6129225760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e0000000000000000000000000000000000000000006064820152608401610bf8565b600160a060020a0383166000908152601a6020526040812054612946908490613802565b905081158015906129575750818111155b6117a35760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610bf8565b346129d783836139d8565b1115612a4e5760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610bf8565b336000908152601a602052604081208054849290612a6d908490613802565b909155506110e590503383612289565b600054600160a060020a038416612aff5760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b612b0a816000541190565b15612b5a5760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bf8565b7f00000000000000000000000000000000000000000000000000000000000004e2831115612bf35760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610bf8565b600160a060020a0384166000908152600460209081526040918290208251808401845290546001608060020a0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612c5c908790613a4c565b6001608060020a03168152602001858360200151612c7a9190613a4c565b6001608060020a03908116909152600160a060020a03808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612daa576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612d6b60008884886125e2565b612d8a5760405160e560020a62461bcd028152600401610bf8906138f9565b81612d9481613877565b9250508080612da290613877565b915050612d1e565b50600081905561213a565b6000612e0a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525085600160a060020a031661314b9092919063ffffffff16565b805190915015610d515780806020019051810190612e289190613bbf565b610d515760405160e560020a62461bcd02815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bf8565b600081815b8451811015612f41576000858281518110612ebf57612ebf6138e0565b60200260200101519050808311612f01576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612f2e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612f3981613877565b915050612ea2565b509392505050565b60606000612f588360026139d8565b612f63906002613802565b67ffffffffffffffff811115612f7b57612f7b613570565b6040519080825280601f01601f191660200182016040528015612fa5576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612fdc57612fdc6138e0565b6020010190600160f860020a031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613027576130276138e0565b6020010190600160f860020a031916908160001a905350600061304b8460026139d8565b613056906001613802565b90505b60018111156130f9577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110613097576130976138e0565b1a7f0100000000000000000000000000000000000000000000000000000000000000028282815181106130cc576130cc6138e0565b6020010190600160f860020a031916908160001a9053506010909404936130f281613a6e565b9050613059565b5083156115755760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bf8565b6060611c4f848460008585843b6131a75760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bf8565b60008086600160a060020a031685876040516131c39190613bdc565b60006040518083038185875af1925050503d8060008114613200576040519150601f19603f3d011682016040523d82523d6000602084013e613205565b606091505b5091509150613215828286613220565b979650505050505050565b6060831561322f575081611575565b82511561323f5782518084602001fd5b8160405160e560020a62461bcd028152600401610bf89190613377565b82805461326890613737565b90600052602060002090601f01602090048101928261328a57600085556132d0565b82601f106132a357805160ff19168380011785556132d0565b828001600101855582156132d0579182015b828111156132d05782518255916020019190600101906132b5565b5061138c9291505b8082111561138c57600081556001016132d8565b600160e060020a031981168114611ba557600080fd5b60006020828403121561331457600080fd5b8135611575816132ec565b60005b8381101561333a578181015183820152602001613322565b838111156117a35750506000910152565b6000815180845261336381602086016020860161331f565b601f01601f19169290920160200192915050565b602081526000611575602083018461334b565b60006020828403121561339c57600080fd5b5035919050565b600160a060020a0381168114611ba557600080fd5b600080604083850312156133cb57600080fd5b82356133d6816133a3565b946020939093013593505050565b6000602082840312156133f657600080fd5b8135611575816133a3565b60008060006060848603121561341657600080fd5b8335613421816133a3565b92506020840135613431816133a3565b929592945050506040919091013590565b6000806040838503121561345557600080fd5b8235613460816133a3565b91506020830135613470816133a3565b809150509250929050565b600080600080600080600080610100898b03121561349857600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b60008083601f8401126134e257600080fd5b50813567ffffffffffffffff8111156134fa57600080fd5b602083019150836020808302850101111561351457600080fd5b9250929050565b60008060006040848603121561353057600080fd5b833561353b816133a3565b9250602084013567ffffffffffffffff81111561355757600080fd5b613563868287016134d0565b9497909650939450505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff808411156135a4576135a4613570565b604051601f8501601f19908116603f011681019082821181831017156135cc576135cc613570565b816040528093508581528686860111156135e557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561361157600080fd5b813567ffffffffffffffff81111561362857600080fd5b8201601f8101841361363957600080fd5b611c4f84823560208401613589565b8015158114611ba557600080fd5b6000806040838503121561366957600080fd5b8235613674816133a3565b9150602083013561347081613648565b6000806000806080858703121561369a57600080fd5b84356136a5816133a3565b935060208501356136b5816133a3565b925060408501359150606085013567ffffffffffffffff8111156136d857600080fd5b8501601f810187136136e957600080fd5b6136f887823560208401613589565b91505092959194509250565b60008060006040848603121561371957600080fd5b83359250602084013567ffffffffffffffff81111561355757600080fd5b60028104600182168061374b57607f821691505b6020821081141561376f5760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b6000828210156137a0576137a0613775565b500390565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201527f7368617265730000000000000000000000000000000000000000000000000000606082015260800190565b6000821982111561381557613815613775565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201527f647565207061796d656e74000000000000000000000000000000000000000000606082015260800190565b600060001982141561388b5761388b613775565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156138d957600080fd5b5051919050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6000815161396881856020860161331f565b9290920192915050565b6000835161398481846020880161331f565b83519083019061399881836020880161331f565b01949350505050565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60008160001904831182151516156139f2576139f2613775565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082613a1f57613a1f6139f7565b500490565b60006001608060020a0383811690831681811015613a4457613a44613775565b039392505050565b60006001608060020a0380831681851680830382111561399857613998613775565b600081613a7d57613a7d613775565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152613ab7608083018461334b565b9695505050505050565b600060208284031215613ad357600080fd5b8151611575816132ec565b8254600090819060028104600180831680613afa57607f831692505b6020808410821415613b1d5760e060020a634e487b710286526022600452602486fd5b818015613b315760018114613b4257613b6f565b60ff19861689528489019650613b6f565b60008b81526020902060005b86811015613b675781548b820152908501908301613b4e565b505084890196505b505050505050611571613b828286613956565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b600082613bba57613bba6139f7565b500690565b600060208284031215613bd157600080fd5b815161157581613648565b60008251613bee81846020870161331f565b919091019291505056fea264697066735822122010a3617a3eb2647cdfe7570fc8c1a1c9251d284673bea24d877f03ef88235e5a64736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0c2b9df2968ea0ab89420d4b2ee36848476d131cf911ad38d68e0bc044434898200000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000d467565676f20467269656e6473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005465545474f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f7777772e667565676f667269656e64732e636f6d2f636f6e7472616374732f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000620552a000000000000000000000000000000000000000000000000000000000620401200000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000200000000000000000000000066d68bd1ea5faad1b0ea6a46c463477eed4688770000000000000000000000005790b462bc6f25cc34fc681d24984917533230670000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004b000000000000000000000000000000000000000000000000000000000000039d

-----Decoded View---------------
Arg [0] : name (string): Fuego Friends
Arg [1] : symbol (string): FUEGO
Arg [2] : baseTokenURI (string): https://www.fuegofriends.com/contracts/
Arg [3] : numericValues (uint256[]): 50000000000000000,50000000000000000,1250,500,3,1644516000,1644429600,5
Arg [4] : merkleRoot (bytes32): 0xc2b9df2968ea0ab89420d4b2ee36848476d131cf911ad38d68e0bc0444348982
Arg [5] : payees (address[]): 0x66D68BD1eA5faad1b0EA6a46C463477eEd468877,0x5790B462bC6F25Cc34Fc681D2498491753323067
Arg [6] : shares (uint256[]): 75,925

-----Encoded View---------------
29 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : c2b9df2968ea0ab89420d4b2ee36848476d131cf911ad38d68e0bc0444348982
Arg [5] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000340
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [8] : 467565676f20467269656e647300000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 465545474f000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [12] : 68747470733a2f2f7777772e667565676f667269656e64732e636f6d2f636f6e
Arg [13] : 7472616374732f00000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [15] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [16] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [17] : 00000000000000000000000000000000000000000000000000000000000004e2
Arg [18] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [20] : 00000000000000000000000000000000000000000000000000000000620552a0
Arg [21] : 0000000000000000000000000000000000000000000000000000000062040120
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [24] : 00000000000000000000000066d68bd1ea5faad1b0ea6a46c463477eed468877
Arg [25] : 0000000000000000000000005790b462bc6f25cc34fc681d2498491753323067
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [27] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [28] : 000000000000000000000000000000000000000000000000000000000000039d


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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