ETH Price: $3,852.18 (-1.87%)

Silks Genesis Avatar (Silks)
 

Overview

TokenID

3232

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Silks is the first P2E Metaverse powered by the real world of thoroughbred horse racing. The Silks Genesis Avatar Collection consists of 5000 Silks Avatar NFTs, each donning uniforms with their own distinct combination of colors, patterns and traits .

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Silks

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 19 : Silks.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/ERC721AWithRoyalties.sol";

// @author rollauver.eth

contract Silks is Ownable, ERC721AWithRoyalties, 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,
    address royaltyRecipient,
    uint256 royaltyAmount
  ) ERC721AWithRoyalties(name, symbol, numericValues[2], royaltyRecipient, royaltyAmount) 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;
    _maxPerAddress = maxPerAddress;
  }

  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 19 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
  /// @notice Called with the sale price to determine how much royalty
  //          is owed and to whom.
  /// @param _tokenId - the NFT asset queried for royalty information
  /// @param _value - the sale price of the NFT asset specified by _tokenId
  /// @return _receiver - address of who should be sent the royalty payment
  /// @return _royaltyAmount - the royalty payment amount for value sale price
  function royaltyInfo(uint256 _tokenId, uint256 _value)
    external
    view
    returns (address _receiver, uint256 _royaltyAmount);
}

File 3 of 19 : ERC721AWithRoyalties.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721A.sol";
import "./IERC2981Royalties.sol";

// @author rollauver.eth

contract ERC721AWithRoyalties is
  Ownable,
  ERC721A,
  IERC2981Royalties
{
  struct RoyaltyInfo {
    address recipient;
    uint24 amount;
  }
  RoyaltyInfo private _royalties;

  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    address royaltyRecipient,
    uint256 royaltyValue
  ) ERC721A(name_, symbol_, maxBatchSize_) {
    _setRoyalties(royaltyRecipient, royaltyValue);
  }
  
  /// @inheritdoc ERC165
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override
    returns (bool)
  {
    return
      interfaceId == type(IERC2981Royalties).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /// @dev Sets token royalties
  /// @param recipient recipient of the royalties
  /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
  function _setRoyalties(address recipient, uint256 value) internal {
    require(value <= 10000, 'ERC2981Royalties: Too high');
    _royalties = RoyaltyInfo(recipient, uint24(value));
  }

  /// @inheritdoc IERC2981Royalties
  function royaltyInfo(uint256, uint256 value)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount)
  {
    RoyaltyInfo memory royalties = _royalties;
    receiver = royalties.recipient;
    royaltyAmount = (value * royalties.amount) / 10000;
  }

  function updateRoyalties(address recipient, uint256 value) external onlyOwner {
    _setRoyalties(recipient, value);
  }
}

File 4 of 19 : 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 5 of 19 : 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 6 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 19 : 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 13 of 19 : 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 14 of 19 : 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 15 of 19 : 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 16 of 19 : 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 17 of 19 : 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 18 of 19 : 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 19 of 19 : 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[]"},{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526001805560006008553480156200001a57600080fd5b5060405162004ac338038062004ac38339810160408190526200003d9162000a75565b83838a8a8960028151811062000057576200005762000ba4565b60200260200101518686848484620000906200008162000441640100000000026401000000009004565b64010000000062000445810204565b6000811162000126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d7573742062652060448201527f6e6f6e7a65726f0000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b82516200013b906002906020860190620007bd565b50815162000151906003906020850190620007bd565b50608052506200016d9050828264010000000062000495810204565b5050600a805460ff1916905550508151835114905062000210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e64207368617260448201527f6573206c656e677468206d69736d61746368000000000000000000000000000060648201526084016200011d565b60008251116200027d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200011d565b60005b8251811015620002f257620002dd838281518110620002a357620002a362000ba4565b6020026020010151838381518110620002c057620002c062000ba4565b60200260200101516200055e640100000000026401000000009004565b80620002e98162000c02565b91505062000280565b505087516200030a915060129060208a0190620007bd565b508560008151811062000321576200032162000ba4565b60200260200101516014819055508560018151811062000345576200034562000ba4565b60200260200101516015819055508560028151811062000369576200036962000ba4565b6020026020010151601681905550856003815181106200038d576200038d62000ba4565b602002602001015160178190555085600481518110620003b157620003b162000ba4565b602002602001015160188190555085600581518110620003d557620003d562000ba4565b602002602001015160198190555085600681518110620003f957620003f962000ba4565b6020026020010151601a81905550856007815181106200041d576200041d62000ba4565b6020026020010151601b819055508460138190555050505050505050505062000c91565b3390565b60008054600160a060020a03838116600160a060020a0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61271081111562000503576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f206869676800000000000060448201526064016200011d565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805474010000000000000000000000000000000000000000909302600160b860020a0319909316909117919091179055565b600160a060020a038216620005f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201527f7a65726f2061646472657373000000000000000000000000000000000000000060648201526084016200011d565b6000811162000662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200011d565b600160a060020a0382166000908152600d6020526040902054156200070a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201527f206861732073686172657300000000000000000000000000000000000000000060648201526084016200011d565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac802018054600160a060020a031916600160a060020a0384169081179091556000908152600d60205260409020819055600b546200077490829062000c20565b600b5560408051600160a060020a0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054620007cb9062000c3b565b90600052602060002090601f016020900481019282620007ef57600085556200083a565b82601f106200080a57805160ff19168380011785556200083a565b828001600101855582156200083a579182015b828111156200083a5782518255916020019190600101906200081d565b50620008489291506200084c565b5090565b5b808211156200084857600081556001016200084d565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f191681016001604060020a0381118282101715620008bd57620008bd62000863565b604052919050565b600082601f830112620008d757600080fd5b81516001604060020a03811115620008f357620008f362000863565b602062000909601f8301601f1916820162000892565b82815285828487010111156200091e57600080fd5b60005b838110156200093e57858101830151828201840152820162000921565b83811115620009505760008385840101525b5095945050505050565b60006001604060020a0382111562000976576200097662000863565b5060209081020190565b600082601f8301126200099257600080fd5b81516020620009ab620009a5836200095a565b62000892565b82815291810284018101918181019086841115620009c857600080fd5b8286015b84811015620009e55780518352918301918301620009cc565b509695505050505050565b8051600160a060020a038116811462000a0857600080fd5b919050565b600082601f83011262000a1f57600080fd5b8151602062000a32620009a5836200095a565b8281529181028401810191818101908684111562000a4f57600080fd5b8286015b84811015620009e55762000a6781620009f0565b835291830191830162000a53565b60008060008060008060008060006101208a8c03121562000a9557600080fd5b89516001604060020a038082111562000aad57600080fd5b62000abb8d838e01620008c5565b9a5060208c015191508082111562000ad257600080fd5b62000ae08d838e01620008c5565b995060408c015191508082111562000af757600080fd5b62000b058d838e01620008c5565b985060608c015191508082111562000b1c57600080fd5b62000b2a8d838e0162000980565b975060808c0151965060a08c015191508082111562000b4857600080fd5b62000b568d838e0162000a0d565b955060c08c015191508082111562000b6d57600080fd5b5062000b7c8c828d0162000980565b93505062000b8d60e08b01620009f0565b91506101008a015190509295985092959850929598565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600060001982141562000c195762000c1962000bd3565b5060010190565b6000821982111562000c365762000c3662000bd3565b500190565b60028104600182168062000c5057607f821691505b6020821081141562000c8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b608051613e0862000cbb600039600081816124e8015281816125120152612d140152613e086000f3fe60806040526004361061038c576000357c01000000000000000000000000000000000000000000000000000000009004806374721235116101e3578063b88d4fde11610114578063e2ab10ce116100b2578063e985e9c51161008c578063e985e9c514610a13578063efef39a114610a5c578063f2fde38b14610a6f578063fa156f9a14610a8f57600080fd5b8063e2ab10ce146109d5578063e2d5ee2d146109e8578063e33b7de3146109fe57600080fd5b8063cf9e8e69116100ee578063cf9e8e691461095f578063cfc86f7b14610974578063d7224ba014610989578063d79779b21461099f57600080fd5b8063b88d4fde146108e9578063c87b56dd14610909578063ce7c2ac21461092957600080fd5b8063904be6da116101815780639d044ed31161015b5780639d044ed31461087e578063a0bcfc7f14610893578063a22cb465146108b3578063b85ef036146108d357600080fd5b8063904be6da1461081d57806395d89b41146108335780639852595c1461084857600080fd5b80638456cb59116101bd5780638456cb59146107b55780638b83209b146107ca5780638d859f3e146107ea5780638da5cb5b146107ff57600080fd5b806374721235146107555780637b96a3b2146107755780637cb647591461079557600080fd5b80633f4ba83a116102bd5780635f0d246a1161025b578063696fa41e11610235578063696fa41e146106ea5780636c2f5acd1461070057806370a0823114610720578063715018a61461074057600080fd5b80635f0d246a1461069f5780636352211e146106b557806366cfb1f3146106d557600080fd5b806342842e0e1161029757806342842e0e1461062757806348b75044146106475780634f6ccce7146106675780635c975abb1461068757600080fd5b80633f4ba83a146105b9578063406072a9146105ce57806340c10f191461061457600080fd5b806322f4596f1161032a5780632a55205a116103045780632a55205a1461052f5780632f745c591461056e5780632fc37ab21461058e5780633a98ef39146105a457600080fd5b806322f4596f146104e3578063235b6ea1146104f957806323b872dd1461050f57600080fd5b8063095ea7b311610366578063095ea7b31461046957806318160ddd1461048b57806319165587146104ae5780631e84c413146104ce57600080fd5b806301ffc9a7146103da57806306fdde031461040f578063081812fc1461043157600080fd5b366103d5577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7703360408051600160a060020a0390921682523460208301520160405180910390a1005b600080fd5b3480156103e657600080fd5b506103fa6103f53660046134ba565b610aa5565b60405190151581526020015b60405180910390f35b34801561041b57600080fd5b50610424610ae9565b604051610406919061352f565b34801561043d57600080fd5b5061045161044c366004613542565b610b7b565b604051600160a060020a039091168152602001610406565b34801561047557600080fd5b50610489610484366004613570565b610c1e565b005b34801561049757600080fd5b506104a0610d57565b604051908152602001610406565b3480156104ba57600080fd5b506104896104c936600461359c565b610d6c565b3480156104da57600080fd5b506103fa610ea1565b3480156104ef57600080fd5b506104a060165481565b34801561050557600080fd5b506104a060145481565b34801561051b57600080fd5b5061048961052a3660046135b9565b610eb9565b34801561053b57600080fd5b5061054f61054a3660046135fa565b610ec4565b60408051600160a060020a039093168352602083019190915201610406565b34801561057a57600080fd5b506104a0610589366004613570565b610f19565b34801561059a57600080fd5b506104a060135481565b3480156105b057600080fd5b50600b546104a0565b3480156105c557600080fd5b506104896110c1565b3480156105da57600080fd5b506104a06105e936600461361c565b600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b610489610622366004613570565b6110f8565b34801561063357600080fd5b506104896106423660046135b9565b61113c565b34801561065357600080fd5b5061048961066236600461361c565b611157565b34801561067357600080fd5b506104a0610682366004613542565b61135e565b34801561069357600080fd5b50600a5460ff166103fa565b3480156106ab57600080fd5b506104a060155481565b3480156106c157600080fd5b506104516106d0366004613542565b6113e3565b3480156106e157600080fd5b506104a06113f5565b3480156106f657600080fd5b506104a0601b5481565b34801561070c57600080fd5b5061048961071b366004613570565b611412565b34801561072c57600080fd5b506104a061073b36600461359c565b611449565b34801561074c57600080fd5b506104896114ef565b34801561076157600080fd5b50610489610770366004613655565b611526565b34801561078157600080fd5b506103fa6107903660046136f5565b611579565b3480156107a157600080fd5b506104896107b0366004613542565b611606565b3480156107c157600080fd5b50610489611638565b3480156107d657600080fd5b506104516107e5366004613542565b61166d565b3480156107f657600080fd5b506104a061169d565b34801561080b57600080fd5b50600054600160a060020a0316610451565b34801561082957600080fd5b506104a060185481565b34801561083f57600080fd5b506104246116ba565b34801561085457600080fd5b506104a061086336600461359c565b600160a060020a03166000908152600e602052604090205490565b34801561088a57600080fd5b506103fa6116c9565b34801561089f57600080fd5b506104896108ae3660046137d9565b6116ec565b3480156108bf57600080fd5b506104896108ce366004613830565b61172c565b3480156108df57600080fd5b506104a060195481565b3480156108f557600080fd5b5061048961090436600461385e565b6117f4565b34801561091557600080fd5b50610424610924366004613542565b611830565b34801561093557600080fd5b506104a061094436600461359c565b600160a060020a03166000908152600d602052604090205490565b34801561096b57600080fd5b506016546104a0565b34801561098057600080fd5b5061042461190d565b34801561099557600080fd5b506104a060085481565b3480156109ab57600080fd5b506104a06109ba36600461359c565b600160a060020a031660009081526010602052604090205490565b6104896109e33660046138de565b61199b565b3480156109f457600080fd5b506104a060175481565b348015610a0a57600080fd5b50600c546104a0565b348015610a1f57600080fd5b506103fa610a2e36600461361c565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610489610a6a366004613542565b611a9f565b348015610a7b57600080fd5b50610489610a8a36600461359c565b611b69565b348015610a9b57600080fd5b506104a0601a5481565b6000600160e060020a031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610ae35750610ae382611c21565b92915050565b606060028054610af890613911565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2490613911565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b6000610b88826001541190565b610c025760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260066020526040902054600160a060020a031690565b6000610c29826113e3565b905080600160a060020a031683600160a060020a03161415610cb65760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b33600160a060020a0382161480610cd25750610cd28133610a2e565b610d475760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bf9565b610d52838383611cf0565b505050565b600060018054610d679190613968565b905090565b600160a060020a0381166000908152600d6020526040902054610da45760405160e560020a62461bcd028152600401610bf99061397f565b6000610daf600c5490565b610dba9030316139dc565b90506000610de78383610de286600160a060020a03166000908152600e602052604090205490565b611d59565b905080610e095760405160e560020a62461bcd028152600401610bf9906139f4565b600160a060020a0383166000908152600e602052604081208054839290610e319084906139dc565b9250508190555080600c6000828254610e4a91906139dc565b90915550610e5a90508382611d9f565b60408051600160a060020a0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600060195460001480610d6757504260195410905090565b610d52838383611ebf565b60408051808201909152600954600160a060020a03811680835260a060020a90910462ffffff1660208301819052909160009161271090610f059086613a51565b610f0f9190613a89565b9150509250929050565b6000610f2483611449565b8210610f9b5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b6000610fa5610d57565b905060008060005b8381101561104f57600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561100057805192505b87600160a060020a031683600160a060020a0316141561103c578684141561102e57509350610ae392505050565b8361103881613a9d565b9450505b508061104781613a9d565b915050610fad565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610bf9565b600054600160a060020a031633146110ee5760405160e560020a62461bcd028152600401610bf990613ab8565b6110f661228a565b565b600054600160a060020a031633146111255760405160e560020a62461bcd028152600401610bf990613ab8565b61112e81612329565b61113882826123b6565b5050565b610d52838383604051806020016040528060008152506117f4565b600160a060020a0381166000908152600d602052604090205461118f5760405160e560020a62461bcd028152600401610bf99061397f565b600160a060020a0382166000908152601060205260408120546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038516906370a082319060240160206040518083038186803b15801561120057600080fd5b505afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190613aed565b61124291906139dc565b9050600061127b8383610de28787600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b90508061129d5760405160e560020a62461bcd028152600401610bf9906139f4565b600160a060020a038085166000908152601160209081526040808320938716835292905290812080548392906112d49084906139dc565b9091555050600160a060020a038416600090815260106020526040812080548392906113019084906139dc565b9091555061131290508484836123d0565b60408051600160a060020a038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611368610d57565b82106113df5760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b5090565b60006113ee82612450565b5192915050565b60006113ff6116c9565b1561140b575060185490565b5060175490565b600054600160a060020a0316331461143f5760405160e560020a62461bcd028152600401610bf990613ab8565b6111388282612621565b6000600160a060020a0382166114ca5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610bf9565b50600160a060020a03166000908152600560205260409020546001608060020a031690565b600054600160a060020a0316331461151c5760405160e560020a62461bcd028152600401610bf990613ab8565b6110f660006126d0565b600054600160a060020a031633146115535760405160e560020a62461bcd028152600401610bf990613ab8565b601997909755601a95909555601793909355601891909155601455601555601355601b55565b60006040516c01000000000000000000000000600160a060020a0386160260208201526000906034016040516020818303038152906040528051906020012090506115fb84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601354915084905061272d565b9150505b9392505050565b600054600160a060020a031633146116335760405160e560020a62461bcd028152600401610bf990613ab8565b601355565b600054600160a060020a031633146116655760405160e560020a62461bcd028152600401610bf990613ab8565b6110f6612743565b6000600f828154811061168257611682613b06565b600091825260209091200154600160a060020a031692915050565b60006116a76116c9565b156116b3575060155490565b5060145490565b606060038054610af890613911565b6000601a5460001480610d67575042601a54108015610d67575050601954421090565b600054600160a060020a031633146117195760405160e560020a62461bcd028152600401610bf990613ab8565b8051611138906012906020840190613414565b600160a060020a0382163314156117885760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bf9565b336000818152600760209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117ff848484611ebf565b61180b8484848461279e565b61182a5760405160e560020a62461bcd028152600401610bf990613b1f565b50505050565b606061183d826001541190565b6118b25760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610bf9565b60006118bc6128e0565b905060008151116118dc57604051806020016040528060008152506115ff565b806118e684612914565b6040516020016118f7929190613b98565b6040516020818303038152906040529392505050565b6012805461191a90613911565b80601f016020809104026020016040519081016040528092919081815260200182805461194690613911565b80156119935780601f1061196857610100808354040283529160200191611993565b820191906000526020600020905b81548152906001019060200180831161197657829003601f168201915b505050505081565b600a5460ff16156119c15760405160e560020a62461bcd028152600401610bf990613bc7565b6119ce3384601854612a4d565b6119d66116c9565b80156119e857506119e8338383611579565b611a5d5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e545f5052455360448201527f414c4500000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b611a6983601554612b84565b60155460405184919033907f38bd02858ca92987ff585a4c06998aea8187e96864df1eaf349dec3cfddc0fbb90600090a4505050565b600a5460ff1615611ac55760405160e560020a62461bcd028152600401610bf990613bc7565b611ad23382601754612a4d565b611ada610ea1565b611b295760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610bf9565b611b3581601454612b84565b60145460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600054600160a060020a03163314611b965760405160e560020a62461bcd028152600401610bf990613ab8565b600160a060020a038116611c155760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bf9565b611c1e816126d0565b50565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611c845750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80611cb85750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610ae357507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610ae3565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b54600160a060020a0384166000908152600d602052604081205490918391611d839086613a51565b611d8d9190613a89565b611d979190613968565b949350505050565b3031811115611df35760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bf9565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611e40576040519150601f19603f3d011682016040523d82523d6000602084013e611e45565b606091505b5050905080610d525760405160e560020a62461bcd02815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bf9565b6000611eca82612450565b8051909150600090600160a060020a031633600160a060020a03161480611f01575033611ef684610b7b565b600160a060020a0316145b80611f1357508151611f139033610a2e565b905080611f8b5760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610bf9565b84600160a060020a03168260000151600160a060020a0316146120195760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0384166120985760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610bf9565b6120a86000848460000151611cf0565b600160a060020a03851660009081526005602052604081208054600192906120da9084906001608060020a0316613bfe565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a0386166000908152600560205260408120805460019450909261212691859116613c26565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921660a060020a02600160e060020a031990911691909216171790556121ae8460016139dc565b600081815260046020526040902054909150600160a060020a0316612240576121d8816001541190565b15612240576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff166122df5760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bf9565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60165481612335610d57565b61233f91906139dc565b1115611c1e5760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b611138828260405180602001604052806000815250612c35565b60408051600160a060020a038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d52908490612f6d565b604080518082019091526000808252602082015261246f826001541190565b6124e45760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610bf9565b60007f00000000000000000000000000000000000000000000000000000000000000008310612545576125377f000000000000000000000000000000000000000000000000000000000000000084613968565b6125429060016139dc565b90505b825b8181106125af57600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561259c57949350505050565b50806125a781613c48565b915050612547565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610bf9565b6127108111156126765760405160e560020a62461bcd02815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610bf9565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805460a060020a90930276ffffffffffffffffffffffffffffffffffffffffffffff19909316909117919091179055565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008261273a8584613055565b14949350505050565b600a5460ff16156127695760405160e560020a62461bcd028152600401610bf990613bc7565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861230c3390565b6000600160a060020a0384163b156128d5576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906127fb903390899088908890600401613c5f565b602060405180830381600087803b15801561281557600080fd5b505af1925050508015612845575060408051601f3d908101601f1916820190925261284291810190613c9b565b60015b6128a2573d808015612873576040519150601f19603f3d011682016040523d82523d6000602084013e612878565b606091505b50805161289a5760405160e560020a62461bcd028152600401610bf990613b1f565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d97565b506001949350505050565b606060126128ef306014613101565b604051602001612900929190613cb8565b604051602081830303815290604052905090565b60608161295457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561297e578061296881613a9d565b91506129779050600a83613a89565b9150612958565b60008167ffffffffffffffff8111156129995761299961374a565b6040519080825280601f01601f1916602001820160405280156129c3576020820181803683370190505b5090505b8415611d97576129d8600183613968565b91506129e5600a86613d85565b6129f09060306139dc565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612a2457612a24613b06565b6020010190600160f860020a031916908160001a905350612a46600a86613a89565b94506129c7565b612a5682612329565b601b541580612a675750601b548211155b612adc5760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e0000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0383166000908152601c6020526040812054612b009084906139dc565b9050811580612b0f5750818111155b61182a5760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610bf9565b34612b8f8383613a51565b1115612c065760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610bf9565b336000908152601c602052604081208054849290612c259084906139dc565b90915550611138905033836123b6565b600154600160a060020a038416612cb75760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b612cc2816001541190565b15612d125760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bf9565b7f0000000000000000000000000000000000000000000000000000000000000000831115612dab5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0384166000908152600560209081526040918290208251808401845290546001608060020a0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612e14908790613c26565b6001608060020a03168152602001858360200151612e329190613c26565b6001608060020a03908116909152600160a060020a03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612f62576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f23600088848861279e565b612f425760405160e560020a62461bcd028152600401610bf990613b1f565b81612f4c81613a9d565b9250508080612f5a90613a9d565b915050612ed6565b506001819055612282565b6000612fc2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525085600160a060020a03166133039092919063ffffffff16565b805190915015610d525780806020019051810190612fe09190613d99565b610d525760405160e560020a62461bcd02815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bf9565b600081815b84518110156130f957600085828151811061307757613077613b06565b602002602001015190508083116130b95760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506130e6565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806130f181613a9d565b91505061305a565b509392505050565b60606000613110836002613a51565b61311b9060026139dc565b67ffffffffffffffff8111156131335761313361374a565b6040519080825280601f01601f19166020018201604052801561315d576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061319457613194613b06565b6020010190600160f860020a031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131df576131df613b06565b6020010190600160f860020a031916908160001a9053506000613203846002613a51565b61320e9060016139dc565b90505b60018111156132b1577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061324f5761324f613b06565b1a7f01000000000000000000000000000000000000000000000000000000000000000282828151811061328457613284613b06565b6020010190600160f860020a031916908160001a9053506010909404936132aa81613c48565b9050613211565b5083156115ff5760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bf9565b6060611d97848460008585843b61335f5760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bf9565b60008086600160a060020a0316858760405161337b9190613db6565b60006040518083038185875af1925050503d80600081146133b8576040519150601f19603f3d011682016040523d82523d6000602084013e6133bd565b606091505b50915091506133cd8282866133d8565b979650505050505050565b606083156133e75750816115ff565b8251156133f75782518084602001fd5b8160405160e560020a62461bcd028152600401610bf9919061352f565b82805461342090613911565b90600052602060002090601f0160209004810192826134425760008555613488565b82601f1061345b57805160ff1916838001178555613488565b82800160010185558215613488579182015b8281111561348857825182559160200191906001019061346d565b506113df9291505b808211156113df5760008155600101613490565b600160e060020a031981168114611c1e57600080fd5b6000602082840312156134cc57600080fd5b81356115ff816134a4565b60005b838110156134f25781810151838201526020016134da565b8381111561182a5750506000910152565b6000815180845261351b8160208601602086016134d7565b601f01601f19169290920160200192915050565b6020815260006115ff6020830184613503565b60006020828403121561355457600080fd5b5035919050565b600160a060020a0381168114611c1e57600080fd5b6000806040838503121561358357600080fd5b823561358e8161355b565b946020939093013593505050565b6000602082840312156135ae57600080fd5b81356115ff8161355b565b6000806000606084860312156135ce57600080fd5b83356135d98161355b565b925060208401356135e98161355b565b929592945050506040919091013590565b6000806040838503121561360d57600080fd5b50508035926020909101359150565b6000806040838503121561362f57600080fd5b823561363a8161355b565b9150602083013561364a8161355b565b809150509250929050565b600080600080600080600080610100898b03121561367257600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b60008083601f8401126136bc57600080fd5b50813567ffffffffffffffff8111156136d457600080fd5b60208301915083602080830285010111156136ee57600080fd5b9250929050565b60008060006040848603121561370a57600080fd5b83356137158161355b565b9250602084013567ffffffffffffffff81111561373157600080fd5b61373d868287016136aa565b9497909650939450505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff8084111561377e5761377e61374a565b604051601f8501601f19908116603f011681019082821181831017156137a6576137a661374a565b816040528093508581528686860111156137bf57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156137eb57600080fd5b813567ffffffffffffffff81111561380257600080fd5b8201601f8101841361381357600080fd5b611d9784823560208401613763565b8015158114611c1e57600080fd5b6000806040838503121561384357600080fd5b823561384e8161355b565b9150602083013561364a81613822565b6000806000806080858703121561387457600080fd5b843561387f8161355b565b9350602085013561388f8161355b565b925060408501359150606085013567ffffffffffffffff8111156138b257600080fd5b8501601f810187136138c357600080fd5b6138d287823560208401613763565b91505092959194509250565b6000806000604084860312156138f357600080fd5b83359250602084013567ffffffffffffffff81111561373157600080fd5b60028104600182168061392557607f821691505b602082108114156139495760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b60008282101561397a5761397a61394f565b500390565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201527f7368617265730000000000000000000000000000000000000000000000000000606082015260800190565b600082198211156139ef576139ef61394f565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201527f647565207061796d656e74000000000000000000000000000000000000000000606082015260800190565b6000816000190483118215151615613a6b57613a6b61394f565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082613a9857613a98613a70565b500490565b6000600019821415613ab157613ab161394f565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613aff57600080fd5b5051919050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b60008151613b8e8185602086016134d7565b9290920192915050565b60008351613baa8184602088016134d7565b835190830190613bbe8183602088016134d7565b01949350505050565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60006001608060020a0383811690831681811015613c1e57613c1e61394f565b039392505050565b60006001608060020a03808316818516808303821115613bbe57613bbe61394f565b600081613c5757613c5761394f565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152613c916080830184613503565b9695505050505050565b600060208284031215613cad57600080fd5b81516115ff816134a4565b8254600090819060028104600180831680613cd457607f831692505b6020808410821415613cf75760e060020a634e487b710286526022600452602486fd5b818015613d0b5760018114613d1c57613d49565b60ff19861689528489019650613d49565b60008b81526020902060005b86811015613d415781548b820152908501908301613d28565b505084890196505b5050505050506115fb613d5c8286613b7c565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b600082613d9457613d94613a70565b500690565b600060208284031215613dab57600080fd5b81516115ff81613822565b60008251613dc88184602087016134d7565b919091019291505056fea2646970667358221220dcc3ca1de2e4a3a816a0fc1d749776e84206a13d201f11c8338391efb48f092064736f6c634300080900330000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0ddfbcadf76b5d58025fd14e5e0e0d336bccf87c524806f93097b9e2ae5ea4257000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003400000000000000000000000006193bc379321f14159c73ab75a650bc5305c27ee0000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000001453696c6b732047656e6573697320417661746172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553696c6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6d696e742e73696c6b732e696f2f636f6e7472616374732f000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000002c68af0bb1400000000000000000000000000000000000000000000000000000214e8348c4f0000000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000006269a0c00000000000000000000000000000000000000000000000000000000062693040000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000006193bc379321f14159c73ab75a650bc5305c27ee00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x60806040526004361061038c576000357c01000000000000000000000000000000000000000000000000000000009004806374721235116101e3578063b88d4fde11610114578063e2ab10ce116100b2578063e985e9c51161008c578063e985e9c514610a13578063efef39a114610a5c578063f2fde38b14610a6f578063fa156f9a14610a8f57600080fd5b8063e2ab10ce146109d5578063e2d5ee2d146109e8578063e33b7de3146109fe57600080fd5b8063cf9e8e69116100ee578063cf9e8e691461095f578063cfc86f7b14610974578063d7224ba014610989578063d79779b21461099f57600080fd5b8063b88d4fde146108e9578063c87b56dd14610909578063ce7c2ac21461092957600080fd5b8063904be6da116101815780639d044ed31161015b5780639d044ed31461087e578063a0bcfc7f14610893578063a22cb465146108b3578063b85ef036146108d357600080fd5b8063904be6da1461081d57806395d89b41146108335780639852595c1461084857600080fd5b80638456cb59116101bd5780638456cb59146107b55780638b83209b146107ca5780638d859f3e146107ea5780638da5cb5b146107ff57600080fd5b806374721235146107555780637b96a3b2146107755780637cb647591461079557600080fd5b80633f4ba83a116102bd5780635f0d246a1161025b578063696fa41e11610235578063696fa41e146106ea5780636c2f5acd1461070057806370a0823114610720578063715018a61461074057600080fd5b80635f0d246a1461069f5780636352211e146106b557806366cfb1f3146106d557600080fd5b806342842e0e1161029757806342842e0e1461062757806348b75044146106475780634f6ccce7146106675780635c975abb1461068757600080fd5b80633f4ba83a146105b9578063406072a9146105ce57806340c10f191461061457600080fd5b806322f4596f1161032a5780632a55205a116103045780632a55205a1461052f5780632f745c591461056e5780632fc37ab21461058e5780633a98ef39146105a457600080fd5b806322f4596f146104e3578063235b6ea1146104f957806323b872dd1461050f57600080fd5b8063095ea7b311610366578063095ea7b31461046957806318160ddd1461048b57806319165587146104ae5780631e84c413146104ce57600080fd5b806301ffc9a7146103da57806306fdde031461040f578063081812fc1461043157600080fd5b366103d5577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7703360408051600160a060020a0390921682523460208301520160405180910390a1005b600080fd5b3480156103e657600080fd5b506103fa6103f53660046134ba565b610aa5565b60405190151581526020015b60405180910390f35b34801561041b57600080fd5b50610424610ae9565b604051610406919061352f565b34801561043d57600080fd5b5061045161044c366004613542565b610b7b565b604051600160a060020a039091168152602001610406565b34801561047557600080fd5b50610489610484366004613570565b610c1e565b005b34801561049757600080fd5b506104a0610d57565b604051908152602001610406565b3480156104ba57600080fd5b506104896104c936600461359c565b610d6c565b3480156104da57600080fd5b506103fa610ea1565b3480156104ef57600080fd5b506104a060165481565b34801561050557600080fd5b506104a060145481565b34801561051b57600080fd5b5061048961052a3660046135b9565b610eb9565b34801561053b57600080fd5b5061054f61054a3660046135fa565b610ec4565b60408051600160a060020a039093168352602083019190915201610406565b34801561057a57600080fd5b506104a0610589366004613570565b610f19565b34801561059a57600080fd5b506104a060135481565b3480156105b057600080fd5b50600b546104a0565b3480156105c557600080fd5b506104896110c1565b3480156105da57600080fd5b506104a06105e936600461361c565b600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b610489610622366004613570565b6110f8565b34801561063357600080fd5b506104896106423660046135b9565b61113c565b34801561065357600080fd5b5061048961066236600461361c565b611157565b34801561067357600080fd5b506104a0610682366004613542565b61135e565b34801561069357600080fd5b50600a5460ff166103fa565b3480156106ab57600080fd5b506104a060155481565b3480156106c157600080fd5b506104516106d0366004613542565b6113e3565b3480156106e157600080fd5b506104a06113f5565b3480156106f657600080fd5b506104a0601b5481565b34801561070c57600080fd5b5061048961071b366004613570565b611412565b34801561072c57600080fd5b506104a061073b36600461359c565b611449565b34801561074c57600080fd5b506104896114ef565b34801561076157600080fd5b50610489610770366004613655565b611526565b34801561078157600080fd5b506103fa6107903660046136f5565b611579565b3480156107a157600080fd5b506104896107b0366004613542565b611606565b3480156107c157600080fd5b50610489611638565b3480156107d657600080fd5b506104516107e5366004613542565b61166d565b3480156107f657600080fd5b506104a061169d565b34801561080b57600080fd5b50600054600160a060020a0316610451565b34801561082957600080fd5b506104a060185481565b34801561083f57600080fd5b506104246116ba565b34801561085457600080fd5b506104a061086336600461359c565b600160a060020a03166000908152600e602052604090205490565b34801561088a57600080fd5b506103fa6116c9565b34801561089f57600080fd5b506104896108ae3660046137d9565b6116ec565b3480156108bf57600080fd5b506104896108ce366004613830565b61172c565b3480156108df57600080fd5b506104a060195481565b3480156108f557600080fd5b5061048961090436600461385e565b6117f4565b34801561091557600080fd5b50610424610924366004613542565b611830565b34801561093557600080fd5b506104a061094436600461359c565b600160a060020a03166000908152600d602052604090205490565b34801561096b57600080fd5b506016546104a0565b34801561098057600080fd5b5061042461190d565b34801561099557600080fd5b506104a060085481565b3480156109ab57600080fd5b506104a06109ba36600461359c565b600160a060020a031660009081526010602052604090205490565b6104896109e33660046138de565b61199b565b3480156109f457600080fd5b506104a060175481565b348015610a0a57600080fd5b50600c546104a0565b348015610a1f57600080fd5b506103fa610a2e36600461361c565b600160a060020a03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610489610a6a366004613542565b611a9f565b348015610a7b57600080fd5b50610489610a8a36600461359c565b611b69565b348015610a9b57600080fd5b506104a0601a5481565b6000600160e060020a031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610ae35750610ae382611c21565b92915050565b606060028054610af890613911565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2490613911565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b6000610b88826001541190565b610c025760405160e560020a62461bcd02815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260066020526040902054600160a060020a031690565b6000610c29826113e3565b905080600160a060020a031683600160a060020a03161415610cb65760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b33600160a060020a0382161480610cd25750610cd28133610a2e565b610d475760405160e560020a62461bcd02815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bf9565b610d52838383611cf0565b505050565b600060018054610d679190613968565b905090565b600160a060020a0381166000908152600d6020526040902054610da45760405160e560020a62461bcd028152600401610bf99061397f565b6000610daf600c5490565b610dba9030316139dc565b90506000610de78383610de286600160a060020a03166000908152600e602052604090205490565b611d59565b905080610e095760405160e560020a62461bcd028152600401610bf9906139f4565b600160a060020a0383166000908152600e602052604081208054839290610e319084906139dc565b9250508190555080600c6000828254610e4a91906139dc565b90915550610e5a90508382611d9f565b60408051600160a060020a0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600060195460001480610d6757504260195410905090565b610d52838383611ebf565b60408051808201909152600954600160a060020a03811680835260a060020a90910462ffffff1660208301819052909160009161271090610f059086613a51565b610f0f9190613a89565b9150509250929050565b6000610f2483611449565b8210610f9b5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b6000610fa5610d57565b905060008060005b8381101561104f57600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561100057805192505b87600160a060020a031683600160a060020a0316141561103c578684141561102e57509350610ae392505050565b8361103881613a9d565b9450505b508061104781613a9d565b915050610fad565b5060405160e560020a62461bcd02815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610bf9565b600054600160a060020a031633146110ee5760405160e560020a62461bcd028152600401610bf990613ab8565b6110f661228a565b565b600054600160a060020a031633146111255760405160e560020a62461bcd028152600401610bf990613ab8565b61112e81612329565b61113882826123b6565b5050565b610d52838383604051806020016040528060008152506117f4565b600160a060020a0381166000908152600d602052604090205461118f5760405160e560020a62461bcd028152600401610bf99061397f565b600160a060020a0382166000908152601060205260408120546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600160a060020a038516906370a082319060240160206040518083038186803b15801561120057600080fd5b505afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190613aed565b61124291906139dc565b9050600061127b8383610de28787600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b90508061129d5760405160e560020a62461bcd028152600401610bf9906139f4565b600160a060020a038085166000908152601160209081526040808320938716835292905290812080548392906112d49084906139dc565b9091555050600160a060020a038416600090815260106020526040812080548392906113019084906139dc565b9091555061131290508484836123d0565b60408051600160a060020a038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000611368610d57565b82106113df5760405160e560020a62461bcd02815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b5090565b60006113ee82612450565b5192915050565b60006113ff6116c9565b1561140b575060185490565b5060175490565b600054600160a060020a0316331461143f5760405160e560020a62461bcd028152600401610bf990613ab8565b6111388282612621565b6000600160a060020a0382166114ca5760405160e560020a62461bcd02815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610bf9565b50600160a060020a03166000908152600560205260409020546001608060020a031690565b600054600160a060020a0316331461151c5760405160e560020a62461bcd028152600401610bf990613ab8565b6110f660006126d0565b600054600160a060020a031633146115535760405160e560020a62461bcd028152600401610bf990613ab8565b601997909755601a95909555601793909355601891909155601455601555601355601b55565b60006040516c01000000000000000000000000600160a060020a0386160260208201526000906034016040516020818303038152906040528051906020012090506115fb84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601354915084905061272d565b9150505b9392505050565b600054600160a060020a031633146116335760405160e560020a62461bcd028152600401610bf990613ab8565b601355565b600054600160a060020a031633146116655760405160e560020a62461bcd028152600401610bf990613ab8565b6110f6612743565b6000600f828154811061168257611682613b06565b600091825260209091200154600160a060020a031692915050565b60006116a76116c9565b156116b3575060155490565b5060145490565b606060038054610af890613911565b6000601a5460001480610d67575042601a54108015610d67575050601954421090565b600054600160a060020a031633146117195760405160e560020a62461bcd028152600401610bf990613ab8565b8051611138906012906020840190613414565b600160a060020a0382163314156117885760405160e560020a62461bcd02815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bf9565b336000818152600760209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117ff848484611ebf565b61180b8484848461279e565b61182a5760405160e560020a62461bcd028152600401610bf990613b1f565b50505050565b606061183d826001541190565b6118b25760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610bf9565b60006118bc6128e0565b905060008151116118dc57604051806020016040528060008152506115ff565b806118e684612914565b6040516020016118f7929190613b98565b6040516020818303038152906040529392505050565b6012805461191a90613911565b80601f016020809104026020016040519081016040528092919081815260200182805461194690613911565b80156119935780601f1061196857610100808354040283529160200191611993565b820191906000526020600020905b81548152906001019060200180831161197657829003601f168201915b505050505081565b600a5460ff16156119c15760405160e560020a62461bcd028152600401610bf990613bc7565b6119ce3384601854612a4d565b6119d66116c9565b80156119e857506119e8338383611579565b611a5d5760405160e560020a62461bcd02815260206004820152602360248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e545f5052455360448201527f414c4500000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b611a6983601554612b84565b60155460405184919033907f38bd02858ca92987ff585a4c06998aea8187e96864df1eaf349dec3cfddc0fbb90600090a4505050565b600a5460ff1615611ac55760405160e560020a62461bcd028152600401610bf990613bc7565b611ad23382601754612a4d565b611ada610ea1565b611b295760405160e560020a62461bcd02815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610bf9565b611b3581601454612b84565b60145460405182919033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a450565b600054600160a060020a03163314611b965760405160e560020a62461bcd028152600401610bf990613ab8565b600160a060020a038116611c155760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bf9565b611c1e816126d0565b50565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611c845750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80611cb85750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610ae357507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610ae3565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b54600160a060020a0384166000908152600d602052604081205490918391611d839086613a51565b611d8d9190613a89565b611d979190613968565b949350505050565b3031811115611df35760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bf9565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611e40576040519150601f19603f3d011682016040523d82523d6000602084013e611e45565b606091505b5050905080610d525760405160e560020a62461bcd02815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bf9565b6000611eca82612450565b8051909150600090600160a060020a031633600160a060020a03161480611f01575033611ef684610b7b565b600160a060020a0316145b80611f1357508151611f139033610a2e565b905080611f8b5760405160e560020a62461bcd02815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610bf9565b84600160a060020a03168260000151600160a060020a0316146120195760405160e560020a62461bcd02815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0384166120985760405160e560020a62461bcd02815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610bf9565b6120a86000848460000151611cf0565b600160a060020a03851660009081526005602052604081208054600192906120da9084906001608060020a0316613bfe565b82546101009290920a6001608060020a03818102199093169183160217909155600160a060020a0386166000908152600560205260408120805460019450909261212691859116613c26565b82546001608060020a039182166101009390930a928302919092021990911617905550604080518082018252600160a060020a03808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921660a060020a02600160e060020a031990911691909216171790556121ae8460016139dc565b600081815260046020526040902054909150600160a060020a0316612240576121d8816001541190565b15612240576040805180820182528451600160a060020a03908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911660a060020a02600160e060020a03199094169116179190911790555b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff166122df5760405160e560020a62461bcd02815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bf9565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051600160a060020a03909116815260200160405180910390a1565b60165481612335610d57565b61233f91906139dc565b1115611c1e5760405160e560020a62461bcd02815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5355505060448201527f4c590000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b611138828260405180602001604052806000815250612c35565b60408051600160a060020a038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d52908490612f6d565b604080518082019091526000808252602082015261246f826001541190565b6124e45760405160e560020a62461bcd02815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610bf9565b60007f00000000000000000000000000000000000000000000000000000000000027108310612545576125377f000000000000000000000000000000000000000000000000000000000000271084613968565b6125429060016139dc565b90505b825b8181106125af57600081815260046020908152604091829020825180840190935254600160a060020a03811680845260a060020a90910467ffffffffffffffff16918301919091521561259c57949350505050565b50806125a781613c48565b915050612547565b5060405160e560020a62461bcd02815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610bf9565b6127108111156126765760405160e560020a62461bcd02815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610bf9565b60408051808201909152600160a060020a0390921680835262ffffff90911660209092018290526009805460a060020a90930276ffffffffffffffffffffffffffffffffffffffffffffff19909316909117919091179055565b60008054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008261273a8584613055565b14949350505050565b600a5460ff16156127695760405160e560020a62461bcd028152600401610bf990613bc7565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861230c3390565b6000600160a060020a0384163b156128d5576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906127fb903390899088908890600401613c5f565b602060405180830381600087803b15801561281557600080fd5b505af1925050508015612845575060408051601f3d908101601f1916820190925261284291810190613c9b565b60015b6128a2573d808015612873576040519150601f19603f3d011682016040523d82523d6000602084013e612878565b606091505b50805161289a5760405160e560020a62461bcd028152600401610bf990613b1f565b805181602001fd5b600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d97565b506001949350505050565b606060126128ef306014613101565b604051602001612900929190613cb8565b604051602081830303815290604052905090565b60608161295457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561297e578061296881613a9d565b91506129779050600a83613a89565b9150612958565b60008167ffffffffffffffff8111156129995761299961374a565b6040519080825280601f01601f1916602001820160405280156129c3576020820181803683370190505b5090505b8415611d97576129d8600183613968565b91506129e5600a86613d85565b6129f09060306139dc565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612a2457612a24613b06565b6020010190600160f860020a031916908160001a905350612a46600a86613a89565b94506129c7565b612a5682612329565b601b541580612a675750601b548211155b612adc5760405160e560020a62461bcd02815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201527f5452414e53414354494f4e0000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0383166000908152601c6020526040812054612b009084906139dc565b9050811580612b0f5750818111155b61182a5760405160e560020a62461bcd02815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e44495649445560448201527f414c5f535550504c5900000000000000000000000000000000000000000000006064820152608401610bf9565b34612b8f8383613a51565b1115612c065760405160e560020a62461bcd02815260206004820152602760248201527f424153455f434f4c4c454354494f4e2f494e53554646494349454e545f45544860448201527f5f414d4f554e54000000000000000000000000000000000000000000000000006064820152608401610bf9565b336000908152601c602052604081208054849290612c259084906139dc565b90915550611138905033836123b6565b600154600160a060020a038416612cb75760405160e560020a62461bcd02815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b612cc2816001541190565b15612d125760405160e560020a62461bcd02815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bf9565b7f0000000000000000000000000000000000000000000000000000000000002710831115612dab5760405160e560020a62461bcd02815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610bf9565b600160a060020a0384166000908152600560209081526040918290208251808401845290546001608060020a0380821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190612e14908790613c26565b6001608060020a03168152602001858360200151612e329190613c26565b6001608060020a03908116909152600160a060020a03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951660a060020a02600160e060020a031990941694909216939093179190911790915582905b85811015612f62576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f23600088848861279e565b612f425760405160e560020a62461bcd028152600401610bf990613b1f565b81612f4c81613a9d565b9250508080612f5a90613a9d565b915050612ed6565b506001819055612282565b6000612fc2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525085600160a060020a03166133039092919063ffffffff16565b805190915015610d525780806020019051810190612fe09190613d99565b610d525760405160e560020a62461bcd02815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bf9565b600081815b84518110156130f957600085828151811061307757613077613b06565b602002602001015190508083116130b95760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506130e6565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806130f181613a9d565b91505061305a565b509392505050565b60606000613110836002613a51565b61311b9060026139dc565b67ffffffffffffffff8111156131335761313361374a565b6040519080825280601f01601f19166020018201604052801561315d576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061319457613194613b06565b6020010190600160f860020a031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131df576131df613b06565b6020010190600160f860020a031916908160001a9053506000613203846002613a51565b61320e9060016139dc565b90505b60018111156132b1577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061324f5761324f613b06565b1a7f01000000000000000000000000000000000000000000000000000000000000000282828151811061328457613284613b06565b6020010190600160f860020a031916908160001a9053506010909404936132aa81613c48565b9050613211565b5083156115ff5760405160e560020a62461bcd02815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610bf9565b6060611d97848460008585843b61335f5760405160e560020a62461bcd02815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bf9565b60008086600160a060020a0316858760405161337b9190613db6565b60006040518083038185875af1925050503d80600081146133b8576040519150601f19603f3d011682016040523d82523d6000602084013e6133bd565b606091505b50915091506133cd8282866133d8565b979650505050505050565b606083156133e75750816115ff565b8251156133f75782518084602001fd5b8160405160e560020a62461bcd028152600401610bf9919061352f565b82805461342090613911565b90600052602060002090601f0160209004810192826134425760008555613488565b82601f1061345b57805160ff1916838001178555613488565b82800160010185558215613488579182015b8281111561348857825182559160200191906001019061346d565b506113df9291505b808211156113df5760008155600101613490565b600160e060020a031981168114611c1e57600080fd5b6000602082840312156134cc57600080fd5b81356115ff816134a4565b60005b838110156134f25781810151838201526020016134da565b8381111561182a5750506000910152565b6000815180845261351b8160208601602086016134d7565b601f01601f19169290920160200192915050565b6020815260006115ff6020830184613503565b60006020828403121561355457600080fd5b5035919050565b600160a060020a0381168114611c1e57600080fd5b6000806040838503121561358357600080fd5b823561358e8161355b565b946020939093013593505050565b6000602082840312156135ae57600080fd5b81356115ff8161355b565b6000806000606084860312156135ce57600080fd5b83356135d98161355b565b925060208401356135e98161355b565b929592945050506040919091013590565b6000806040838503121561360d57600080fd5b50508035926020909101359150565b6000806040838503121561362f57600080fd5b823561363a8161355b565b9150602083013561364a8161355b565b809150509250929050565b600080600080600080600080610100898b03121561367257600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b60008083601f8401126136bc57600080fd5b50813567ffffffffffffffff8111156136d457600080fd5b60208301915083602080830285010111156136ee57600080fd5b9250929050565b60008060006040848603121561370a57600080fd5b83356137158161355b565b9250602084013567ffffffffffffffff81111561373157600080fd5b61373d868287016136aa565b9497909650939450505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff8084111561377e5761377e61374a565b604051601f8501601f19908116603f011681019082821181831017156137a6576137a661374a565b816040528093508581528686860111156137bf57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156137eb57600080fd5b813567ffffffffffffffff81111561380257600080fd5b8201601f8101841361381357600080fd5b611d9784823560208401613763565b8015158114611c1e57600080fd5b6000806040838503121561384357600080fd5b823561384e8161355b565b9150602083013561364a81613822565b6000806000806080858703121561387457600080fd5b843561387f8161355b565b9350602085013561388f8161355b565b925060408501359150606085013567ffffffffffffffff8111156138b257600080fd5b8501601f810187136138c357600080fd5b6138d287823560208401613763565b91505092959194509250565b6000806000604084860312156138f357600080fd5b83359250602084013567ffffffffffffffff81111561373157600080fd5b60028104600182168061392557607f821691505b602082108114156139495760e060020a634e487b7102600052602260045260246000fd5b50919050565b60e060020a634e487b7102600052601160045260246000fd5b60008282101561397a5761397a61394f565b500390565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201527f7368617265730000000000000000000000000000000000000000000000000000606082015260800190565b600082198211156139ef576139ef61394f565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201527f647565207061796d656e74000000000000000000000000000000000000000000606082015260800190565b6000816000190483118215151615613a6b57613a6b61394f565b500290565b60e060020a634e487b7102600052601260045260246000fd5b600082613a9857613a98613a70565b500490565b6000600019821415613ab157613ab161394f565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613aff57600080fd5b5051919050565b60e060020a634e487b7102600052603260045260246000fd5b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b60008151613b8e8185602086016134d7565b9290920192915050565b60008351613baa8184602088016134d7565b835190830190613bbe8183602088016134d7565b01949350505050565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60006001608060020a0383811690831681811015613c1e57613c1e61394f565b039392505050565b60006001608060020a03808316818516808303821115613bbe57613bbe61394f565b600081613c5757613c5761394f565b506000190190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152613c916080830184613503565b9695505050505050565b600060208284031215613cad57600080fd5b81516115ff816134a4565b8254600090819060028104600180831680613cd457607f831692505b6020808410821415613cf75760e060020a634e487b710286526022600452602486fd5b818015613d0b5760018114613d1c57613d49565b60ff19861689528489019650613d49565b60008b81526020902060005b86811015613d415781548b820152908501908301613d28565b505084890196505b5050505050506115fb613d5c8286613b7c565b7f2f00000000000000000000000000000000000000000000000000000000000000815260010190565b600082613d9457613d94613a70565b500690565b600060208284031215613dab57600080fd5b81516115ff81613822565b60008251613dc88184602087016134d7565b919091019291505056fea2646970667358221220dcc3ca1de2e4a3a816a0fc1d749776e84206a13d201f11c8338391efb48f092064736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0ddfbcadf76b5d58025fd14e5e0e0d336bccf87c524806f93097b9e2ae5ea4257000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003400000000000000000000000006193bc379321f14159c73ab75a650bc5305c27ee0000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000001453696c6b732047656e6573697320417661746172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000553696c6b73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6d696e742e73696c6b732e696f2f636f6e7472616374732f000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000002c68af0bb1400000000000000000000000000000000000000000000000000000214e8348c4f0000000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000006269a0c00000000000000000000000000000000000000000000000000000000062693040000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010000000000000000000000006193bc379321f14159c73ab75a650bc5305c27ee00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : name (string): Silks Genesis Avatar
Arg [1] : symbol (string): Silks
Arg [2] : baseTokenURI (string): https://mint.silks.io/contracts/
Arg [3] : numericValues (uint256[]): 200000000000000000,150000000000000000,10000,1,3,1651089600,1651060800,3
Arg [4] : merkleRoot (bytes32): 0xddfbcadf76b5d58025fd14e5e0e0d336bccf87c524806f93097b9e2ae5ea4257
Arg [5] : payees (address[]): 0x6193bc379321f14159C73Ab75A650bc5305c27eE
Arg [6] : shares (uint256[]): 1
Arg [7] : royaltyRecipient (address): 0x6193bc379321f14159C73Ab75A650bc5305c27eE
Arg [8] : royaltyAmount (uint256): 800

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [4] : ddfbcadf76b5d58025fd14e5e0e0d336bccf87c524806f93097b9e2ae5ea4257
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000340
Arg [7] : 0000000000000000000000006193bc379321f14159c73ab75a650bc5305c27ee
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [10] : 53696c6b732047656e6573697320417661746172000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [12] : 53696c6b73000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [14] : 68747470733a2f2f6d696e742e73696c6b732e696f2f636f6e7472616374732f
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [16] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [17] : 0000000000000000000000000000000000000000000000000214e8348c4f0000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [21] : 000000000000000000000000000000000000000000000000000000006269a0c0
Arg [22] : 0000000000000000000000000000000000000000000000000000000062693040
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [25] : 0000000000000000000000006193bc379321f14159c73ab75a650bc5305c27ee
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000001


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.