ETH Price: $2,724.30 (+12.46%)
 

Overview

Max Total Supply

3,090 SAD

Holders

1,735

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SAD
0x5a376e71492d0ac5f833c43a808680e6ba90cd80
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The year is 2523, a global pandemic has threatened humankind to the point of extinction. In this new era, only their faithful SAD Bot servants remain on planet earth. With no caring families to serve, they look for new purpose in a lonely and forgotten world.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SadBots

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 20000 runs

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

pragma solidity 0.8.11;

//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@SADBOTS@NFT@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*==@%###%%@==*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#*.   +      +   .*%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@- .+   .-:::::-   =. =@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@#*+++++++++++%@@@@@@@@@#@@@@@@@@@@%%%%%%%%%@@@@@@@@@@@@@.   .=            -:   -@@@@@@%%@%%%%%%%%@@@@@@@@@@@@@@%%%%@@@@@@@@@%%%@%%%%%%%%%%%%%@@@%*+++++++++++#@@
//@%-           :*@@@@@@@@@@= .%@@@@@@@@--.       .-+@@@@@@@#*   :-.--::.  ..:--:-:   *%@@@@. +.        :*@@@@@@%+-.      .==#@@@@   :=:::+      .%@*.           =#@@@
//@-:: -#######%@@@@@@@@@@@-    #@@@@@@@ =: -===-.    =@@@@@-+ .-.      .::..     .-: +=@@@@. +.:=====.   +@@@@-    .-===-+.-=:*@@+=====  *.:====%@#::: *#######@@@@@@
//@- .+=+*******%@@@@@@@@%:      *@@@@@@ =: *@@@@@%.   -@@@@.*+:   =##-       +%#:  .+=-@@@@. :--%%%%-    +@@@.   -%@@@@@@@*  =-*@@@@@@@. *:*@@@@@@#  ==+*******#@@@@@
//@@+. .:::::::--=+@@@@@#.   :    +@@@@@ =: *@@@@@@*    @@@@.+=    %@@%      .@@@*   =:=@@@@.             -@@#    @@@@@@@@@@=   .@@@@@@@. ..*@@@@@@@%-  .::::::--==#@@
//@@@@@%######*. :*+@@@#-:::*@#.   -@@@@ :-:#@@@@@%:   -@@@@.+=    %@@%  ..  .@@@*   =.+@@@@.   =%%%%%%-   :@@-=. -%@@@@@@@*.   =@@@@@@@.   +@@@@@@@@@@%#######+  +-%@
//@@*+++++++++=    +@@+    ==---::::=%@@    *+++=:    =@@@@@:+=    *@@+.*-:=+ #@@-   +:+@@@@.   +*++++=.   =@@%-==.==-=+=-    .*@@@@@@@@.   +@@@@@@@@++++++++++:    %@
//@@:            -#@@-   .-------:  .=@@    *.     :+%@@@@@@=+ :=                  :-.=*@@@@.   :-:*.    -#@@@@@%+=:       .=*@@@@@@@@@@.   +@@@@@@@%            .=%@@
//@@%##########%@@@@@####@@@@@@@@@%@@@@@%###@%#%%@@@@@@@@@@@%*  :-      ::::.     .=  #@@@@@%######@%#%%@@@@@@@@@@@@@%%#%%@@@@@@@@@@@@@@%###@@@@@@@@@##########%@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@=  .:::::=    -:::::: .*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+:.              :=*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*******#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//@@@@@S@@@@@@@@@@@I@@@@@@@@@@@@@G@@@@@@@@@@@@@N@@@@@@@@@@@@@O@@@@@@@@@@@@@R@@@@@@@@@@@@@@C@@@@@@@@@@@@@R@@@@@@@@@@@@@Y@@@@@@@@@@@@@P@@@@@@@@@@@@@T@@@@@@@@@@@@@O@@@@@

import "./ERC721A.sol"; // Azuki ERC721 contract @ https://www.azuki.com/erc721a
import "./DutchAuctionSC.sol"; //SignorCyrpto Dutch Action contract (https://signorcrypto.com)
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract SadBots is ERC721A, Ownable, ReentrancyGuard, DutchAuctionSC {
  // Smart contract status
  enum MintStatus {
    CLOSED,
    PRESALE,
    DUTCH_AUCTION
  }
  MintStatus public status = MintStatus.CLOSED;

  // ERC721 params
  string private _name = "Sad Bots";
  string private _symbol = "SAD";
  string private _baseTokenURI = "https://mint.sadbots.io/api/metadata/";

  // Collection params
  uint256 public TOTAL_SUPPLY = 8888;
  uint256 public RESERVED_SUPPLY = 500;

  uint256 public reserved_supply = RESERVED_SUPPLY;
  uint256 public public_supply = TOTAL_SUPPLY - reserved_supply;
  uint256 public presale_minted = 0;

  uint256 private PRESALE_PRICE = 0.15 ether;
  uint256 private DUTCH_START_PRICE = 0.5 ether;
  uint256 private DUTCH_END_PRICE = 0.2 ether;
  uint256 private STEP_TIME = 15 * 60; //seconds
  uint256 public STEP_PRICE = 0.05 ether;

  uint256 private MAX_MINT = 50;
  uint256[3] private MAX_PER_STATUS = [0, 1, 5];

  // Amount minted
  mapping(address => uint256[3]) private _amountMinted;

  // Merkle tree
  bytes32 public merkleRoot =
    0xc55bcf18f33672992dc75baf50baaf03ae6ad9431853a4ed4415d65687b62597; // TODO: Update it

  // Event declaration
  event ChangedStatusEvent(uint256 newStatus);
  event ChangedBaseURIEvent(string newURI);
  event ChangedMerkleRoot(bytes32 newMerkleRoot);

  // Modifier to check claiming requirements
  modifier qtyValidation(uint256 _qty) {
    require(status != MintStatus.CLOSED, "Minting is closed");
    require(public_supply > 0, "Collection is sold out");
    require(_qty <= public_supply, "Not enough NFTs available");
    require(_qty > 0, "NFTs amount must be greater than zero");
    require(
      _qty + _amountMinted[msg.sender][uint256(status)] <=
        MAX_PER_STATUS[uint256(status)],
      "Exceeded the max amount of mintable NFT"
    );
    uint256 price = getPrice() * _qty;
    require(msg.value >= price, "Ether sent is not correct");
    _;
  }

  // Constructor
  constructor()
    ERC721A(_name, _symbol, MAX_MINT, TOTAL_SUPPLY)
    DutchAuctionSC(DUTCH_START_PRICE, DUTCH_END_PRICE, STEP_TIME, STEP_PRICE)
  {
    _safeMint(msg.sender, 1);
  }

  function getPrice() public view returns (uint256) {
    if (status == MintStatus.PRESALE || status == MintStatus.CLOSED) {
      return PRESALE_PRICE;
    } else if (status == MintStatus.DUTCH_AUCTION) {
      return currentPrice();
    }
  }

  // Owner mint function
  function ownerMint(
    address[] calldata _address_list,
    uint256[] calldata _qty_list
  ) external nonReentrant onlyOwner {
    require(reserved_supply > 0, "Collection is sold out");
    require(
      _address_list.length == _qty_list.length,
      "The two list must contains the same amount of elements"
    );
    uint256 qty_tot = 0;
    for (uint256 i; i < _qty_list.length; i++) {
      require(_qty_list[i] > 0, "Qty must be positive");
      require(_qty_list[i] <= MAX_MINT, "Qty exceed the max");
      qty_tot += _qty_list[i];
    }
    require(qty_tot <= reserved_supply, "Not enough NFTs available");

    // Update reserved_supply
    reserved_supply -= qty_tot;
    for (uint256 i; i < _address_list.length; i++) {
      _safeMint(_address_list[i], _qty_list[i]);
    }
  }

  // Pre-sale mint
  function presaleMint(uint256 _qty, bytes32[] calldata _proof)
    external
    payable
    nonReentrant
    qtyValidation(_qty)
  {
    require(status == MintStatus.PRESALE, "Status is not presale");

    require(
      MerkleProof.verify(
        _proof,
        merkleRoot,
        keccak256(abi.encodePacked(msg.sender))
      ),
      "You are not in presale"
    );
    presale_minted += _qty;
    _privateMint(_qty);
  }

  //Dutch auction mint
  function mint(uint256 _qty)
    external
    payable
    nonReentrant
    qtyValidation(_qty)
  {
    require(status == MintStatus.DUTCH_AUCTION, "Status is not dutch auction");
    require(isDutchAuctionStarted(), "Dutch action not started yet");

    _privateMint(_qty);
  }

  function _privateMint(uint256 _qty) private {
    _amountMinted[msg.sender][uint256(status)] += _qty;
    public_supply -= _qty;
    _safeMint(msg.sender, _qty);
  }

  // Getters
  function tokenExists(uint256 _id) public view returns (bool) {
    return _exists(_id);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 tokenCount = balanceOf(_owner);
    uint256[] memory tokensId = new uint256[](tokenCount);

    for (uint256 i; i < tokenCount; i++) {
      tokensId[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokensId;
  }

  function getStatus()
    external
    view
    returns (
      string memory status_,
      uint256 qty_,
      uint256 price_,
      uint256 counter_
    )
  {
    uint256 mintedInStatus = _amountMinted[msg.sender][uint256(status)];
    uint256 maxStatus = MAX_PER_STATUS[uint256(status)];
    uint256 _remainingToMint = maxStatus - mintedInStatus;
    uint256 _price = getPrice();

    if (public_supply == 0) {
      return ("SOLD_OUT", 0, _price, 0);
    }
    if (status == MintStatus.DUTCH_AUCTION) {
      return ("DUTCH_AUCTION", _remainingToMint, _price, public_supply);
    } else if (status == MintStatus.PRESALE) {
      return ("PRESALE", _remainingToMint, _price, presale_minted);
    } else {
      return ("CLOSED", _remainingToMint, _price, public_supply);
    }
  }

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

  // Setters
  function setStatus(uint8 _status) external onlyOwner {
    // _status -> 0: CLOSED, 1: PRESALE, 2: DUTCH_AUCTION
    require(
      _status >= 0 && _status <= 2,
      "Mint status must be between 0 and 2"
    );
    status = MintStatus(_status);
    if (status == MintStatus.DUTCH_AUCTION) {
      _setStartTime(block.timestamp);
    }
    emit ChangedStatusEvent(_status);
  }

  function setBaseURI(string memory _URI) external onlyOwner {
    _baseTokenURI = _URI;
    emit ChangedBaseURIEvent(_URI);
  }

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

  function setDutchAcutionParams(
    uint256 _startPrice,
    uint256 _endPrice,
    uint256 _stepTime,
    uint256 _stepPrice
  ) external onlyOwner {
    _setDutchAcutionParams(_startPrice, _endPrice, _stepTime, _stepPrice);
  }

  // Withdraw function
  function withdrawAll(address payable withdraw_address)
    external
    payable
    nonReentrant
    onlyOwner
  {
    require(withdraw_address != address(0), "Withdraw address cannot be zero");
    require(address(this).balance != 0, "Balance is zero");
    payable(withdraw_address).transfer(address(this).balance);
  }
}

File 2 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT

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..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * 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 = 0;

  uint256 internal immutable collectionSize;
  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.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

  /**
   * @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(collectionSize). 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:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `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 > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

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

File 3 of 15 : DutchAuctionSC.sol
// SPDX-License-Identifier: MIT

// Developed by @SignorCrypto (SignorCrypto.com)
//
//  #####                                 #####
// #     # #  ####  #    #  ####  #####  #     # #####  #   # #####  #####  ####
// #       # #    # ##   # #    # #    # #       #    #  # #  #    #   #   #    #
//  #####  # #      # #  # #    # #    # #       #    #   #   #    #   #   #    #
//       # # #  ### #  # # #    # #####  #       #####    #   #####    #   #    #
// #     # # #    # #   ## #    # #   #  #     # #   #    #   #        #   #    #
//  #####  #  ####  #    #  ####  #    #  #####  #    #   #   #        #    ####

pragma solidity 0.8.11;

contract DutchAuctionSC {
    uint256 private startPrice;
    uint256 private endPrice;
    uint256 private stepTime;
    uint256 private stepPrice;
    uint256 private duration;
    uint256 private startTime;

    constructor(
        uint256 _startPrice,
        uint256 _endPrice,
        uint256 _stepTime,
        uint256 _stepPrice
    ) {
        _setDutchAcutionParams(_startPrice, _endPrice, _stepTime, _stepPrice);
    }

    function _setStartTime(uint256 _startTime) internal {
        startTime = _startTime;
    }

    function currentPrice() public view returns (uint256) {
        require(isDutchAuctionStarted(), "Impossible to get the current price");
        uint256 elapsed = block.timestamp - startTime;

        if (elapsed == 0) {
            return startPrice;
        } else if (elapsed < duration) {
            uint256 price = startPrice -
                (elapsed * (startPrice - endPrice)) /
                duration;
            return _roundPrice(price);
        } else {
            return endPrice;
        }
    }

    function _roundPrice(uint256 _price) private view returns (uint256) {
        uint256 result = (_price / stepPrice) + 1;
        return result * stepPrice;
    }

    function _setDutchAcutionParams(
        uint256 _startPrice,
        uint256 _endPrice,
        uint256 _stepTime,
        uint256 _stepPrice
    ) internal {
        startPrice = _startPrice;
        endPrice = _endPrice;
        stepTime = _stepTime;
        stepPrice = _stepPrice;

        duration = ((startPrice - endPrice) * stepTime) / stepPrice;
    }

    function isDutchAuctionStarted() public view returns (bool) {
        if (startTime == 0) {
            return false;
        }
        return block.timestamp >= startTime;
    }

    function getDutchAuctionInfo() public view returns (
        uint256 startPrice_, 
        uint256 endPrice_,
        uint256 stepTime_,
        uint256 stepPrice_,
        uint256 duration_,
        uint256 startTime_
    ){
        return (startPrice, endPrice, stepTime, stepPrice, duration, startTime);
    }
}

File 4 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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 5 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 6 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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) {
        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));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 7 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 9 of 15 : Address.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 13 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 15 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"ChangedBaseURIEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"ChangedMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newStatus","type":"uint256"}],"name":"ChangedStatusEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STEP_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDutchAuctionInfo","outputs":[{"internalType":"uint256","name":"startPrice_","type":"uint256"},{"internalType":"uint256","name":"endPrice_","type":"uint256"},{"internalType":"uint256","name":"stepTime_","type":"uint256"},{"internalType":"uint256","name":"stepPrice_","type":"uint256"},{"internalType":"uint256","name":"duration_","type":"uint256"},{"internalType":"uint256","name":"startTime_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStatus","outputs":[{"internalType":"string","name":"status_","type":"string"},{"internalType":"uint256","name":"qty_","type":"uint256"},{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"uint256","name":"counter_","type":"uint256"}],"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":"isDutchAuctionStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address_list","type":"address[]"},{"internalType":"uint256[]","name":"_qty_list","type":"uint256[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presale_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved_supply","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":"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":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startPrice","type":"uint256"},{"internalType":"uint256","name":"_endPrice","type":"uint256"},{"internalType":"uint256","name":"_stepTime","type":"uint256"},{"internalType":"uint256","name":"_stepPrice","type":"uint256"}],"name":"setDutchAcutionParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"enum SadBots.MintStatus","name":"","type":"uint8"}],"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":"uint256","name":"_id","type":"uint256"}],"name":"tokenExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"withdraw_address","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60008080556007556010805460ff19169055610100604052600860c08190526753616420426f747360c01b60e09081526200003e9160119190620008ff565b506040805180820190915260038082526214d05160ea1b60209092019182526200006b91601291620008ff565b5060405180606001604052806025815260200162004e236025913980516200009c91601391602090910190620008ff565b506122b860148190556101f460158190556016819055620000bd91620009f1565b60175560006018819055670214e8348c4f00006019556706f05b59d3b20000601a556702c68af0bb140000601b55610384601c5566b1a2bc2ec50000601d556032601e5560408051606081018252918252600160208301526005908201526200012b90601f9060036200098e565b507fc55bcf18f33672992dc75baf50baaf03ae6ad9431853a4ed4415d65687b625976023553480156200015d57600080fd5b50601a54601b54601c54601d5460118054620001799062000a0b565b80601f0160208091040260200160405190810160405280929190818152602001828054620001a79062000a0b565b8015620001f85780601f10620001cc57610100808354040283529160200191620001f8565b820191906000526020600020905b815481529060010190602001808311620001da57829003601f168201915b5050505050601280546200020c9062000a0b565b80601f01602080910402602001604051908101604052809291908181526020018280546200023a9062000a0b565b80156200028b5780601f106200025f576101008083540402835291602001916200028b565b820191906000526020600020905b8154815290600101906020018083116200026d57829003601f168201915b5050505050601e5460145460008111620003035760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620003655760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b6064820152608401620002fa565b83516200037a906001906020870190620008ff565b50825162000390906002906020860190620008ff565b5060a09190915260805250620003a8905033620003d8565b6001600955620003bb848484846200042a565b50505050620003d23360016200046d60201b60201c565b62000b87565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a849055600b839055600c829055600d81905580826200044c8587620009f1565b62000458919062000a48565b62000464919062000a6a565b600e5550505050565b6200048f8282604051806020016040528060008152506200049360201b60201c565b5050565b6000546001600160a01b038416620004f85760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401620002fa565b62000504816000541190565b15620005535760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401620002fa565b60a051831115620005b25760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401620002fa565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906200061090879062000a8d565b6001600160801b0316815260200185836020015162000630919062000a8d565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015620007945760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46200071660008884886200079f565b6200076f5760405162461bcd60e51b8152602060048201526033602482015260008051602062004e4883398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b6064820152608401620002fa565b816200077b8162000abb565b92505080806200078b9062000abb565b915050620006c6565b506000555050505050565b6000620007c0846001600160a01b0316620008f960201b6200288b1760201c565b15620008ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620007fa90339089908890889060040162000ad9565b6020604051808303816000875af192505050801562000838575060408051601f3d908101601f19168201909252620008359181019062000b54565b60015b620008d2573d80801562000869576040519150601f19603f3d011682016040523d82523d6000602084013e6200086e565b606091505b508051620008ca5760405162461bcd60e51b8152602060048201526033602482015260008051602062004e4883398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b6064820152608401620002fa565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620008f1565b5060015b949350505050565b3b151590565b8280546200090d9062000a0b565b90600052602060002090601f0160209004810192826200093157600085556200097c565b82601f106200094c57805160ff19168380011785556200097c565b828001600101855582156200097c579182015b828111156200097c5782518255916020019190600101906200095f565b506200098a929150620009c4565b5090565b82600381019282156200097c579160200282015b828111156200097c578251829060ff16905591602001919060010190620009a2565b5b808211156200098a5760008155600101620009c5565b634e487b7160e01b600052601160045260246000fd5b60008282101562000a065762000a06620009db565b500390565b600181811c9082168062000a2057607f821691505b6020821081141562000a4257634e487b7160e01b600052602260045260246000fd5b50919050565b600081600019048311821515161562000a655762000a65620009db565b500290565b60008262000a8857634e487b7160e01b600052601260045260246000fd5b500490565b60006001600160801b0382811684821680830382111562000ab25762000ab2620009db565b01949350505050565b600060001982141562000ad25762000ad2620009db565b5060010190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b8281101562000b285785810182015185820160a00152810162000b0a565b8281111562000b3b57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b60006020828403121562000b6757600080fd5b81516001600160e01b03198116811462000b8057600080fd5b9392505050565b60805160a05161426b62000bb860003960008181612e7f01528181612ea901526135f001526000505061426b6000f3fe6080604052600436106102db5760003560e01c8063714c6e0d11610184578063b88d4fde116100d6578063e985e9c51161008a578063f8d322af11610064578063f8d322af146107da578063fa09e630146107fa578063fda7501d1461080d57600080fd5b8063e985e9c51461074f578063f2fde38b146107a5578063f8d0b420146107c557600080fd5b8063d7224ba0116100bb578063d7224ba014610710578063d941978c14610726578063e3e1e8ef1461073c57600080fd5b8063b88d4fde146106d0578063c87b56dd146106f057600080fd5b806395d89b4111610138578063a0712d6811610112578063a0712d6814610687578063a22cb4651461069a578063af850d69146106ba57600080fd5b806395d89b411461064857806398d5fdca1461065d5780639d1b464a1461067257600080fd5b80637cb64759116101695780637cb64759146105e75780638da5cb5b14610607578063902d55a51461063257600080fd5b8063714c6e0d146105bc578063715018a6146105d257600080fd5b80632eb4a7ab1161023d5780634e69d560116101f15780636352211e116101cb5780636352211e1461055c57806369f7d2f21461057c57806370a082311461059c57600080fd5b80634e69d560146104f75780634f6ccce71461051c57806355f804b31461053c57600080fd5b806331a53e9a1161022257806331a53e9a1461049457806342842e0e146104aa578063438b6300146104ca57600080fd5b80632eb4a7ab1461045e5780632f745c591461047457600080fd5b80631256508b11610294578063200d2ed211610279578063200d2ed2146103f757806323b872dd1461041e5780632e49d78b1461043e57600080fd5b80631256508b146103be57806318160ddd146103e257600080fd5b806306fdde03116102c557806306fdde0314610335578063081812fc14610357578063095ea7b31461039c57600080fd5b8062923f9e146102e057806301ffc9a714610315575b600080fd5b3480156102ec57600080fd5b506103006102fb366004613994565b610859565b60405190151581526020015b60405180910390f35b34801561032157600080fd5b506103006103303660046139db565b61086c565b34801561034157600080fd5b5061034a61099b565b60405161030c9190613a6e565b34801561036357600080fd5b50610377610372366004613994565b610a2d565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161030c565b3480156103a857600080fd5b506103bc6103b7366004613aa3565b610ada565b005b3480156103ca57600080fd5b506103d460175481565b60405190815260200161030c565b3480156103ee57600080fd5b506000546103d4565b34801561040357600080fd5b506010546104119060ff1681565b60405161030c9190613afe565b34801561042a57600080fd5b506103bc610439366004613b3f565b610c34565b34801561044a57600080fd5b506103bc610459366004613b80565b610c3f565b34801561046a57600080fd5b506103d460235481565b34801561048057600080fd5b506103d461048f366004613aa3565b610dd6565b3480156104a057600080fd5b506103d460155481565b3480156104b657600080fd5b506103bc6104c5366004613b3f565b610fa6565b3480156104d657600080fd5b506104ea6104e5366004613ba3565b610fc1565b60405161030c9190613bc0565b34801561050357600080fd5b5061050c611063565b60405161030c9493929190613c04565b34801561052857600080fd5b506103d4610537366004613994565b611262565b34801561054857600080fd5b506103bc610557366004613cf6565b6112de565b34801561056857600080fd5b50610377610577366004613994565b611388565b34801561058857600080fd5b506103bc610597366004613d8b565b61139a565b3480156105a857600080fd5b506103d46105b7366004613ba3565b611713565b3480156105c857600080fd5b506103d460165481565b3480156105de57600080fd5b506103bc6117d9565b3480156105f357600080fd5b506103bc610602366004613994565b61184c565b34801561061357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610377565b34801561063e57600080fd5b506103d460145481565b34801561065457600080fd5b5061034a6118e8565b34801561066957600080fd5b506103d46118f7565b34801561067e57600080fd5b506103d461196f565b6103bc610695366004613994565b611a64565b3480156106a657600080fd5b506103bc6106b5366004613df7565b611e54565b3480156106c657600080fd5b506103d4601d5481565b3480156106dc57600080fd5b506103bc6106eb366004613e35565b611f51565b3480156106fc57600080fd5b5061034a61070b366004613994565b611fe0565b34801561071c57600080fd5b506103d460075481565b34801561073257600080fd5b506103d460185481565b6103bc61074a366004613eb5565b6120bb565b34801561075b57600080fd5b5061030061076a366004613f01565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107b157600080fd5b506103bc6107c0366004613ba3565b612545565b3480156107d157600080fd5b50610300612641565b3480156107e657600080fd5b506103bc6107f5366004613f2f565b61265e565b6103bc610808366004613ba3565b6126d1565b34801561081957600080fd5b50600a54600b54600c54600d54600e54600f54604080519687526020870195909552938501929092526060840152608083015260a082015260c00161030c565b6000610866826000541190565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108ff57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061086657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610866565b6060600180546109aa90613f61565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690613f61565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b5050505050905090565b6000610a3a826000541190565b610ab15760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610ae582611388565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b895760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b3373ffffffffffffffffffffffffffffffffffffffff82161480610bb25750610bb2813361076a565b610c245760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610aa8565b610c2f838383612891565b505050565b610c2f838383612912565b60085473ffffffffffffffffffffffffffffffffffffffff163314610ca65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b60028160ff161115610d205760405162461bcd60e51b815260206004820152602360248201527f4d696e7420737461747573206d757374206265206265747765656e203020616e60448201527f64203200000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b8060ff166002811115610d3557610d35613acf565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610d6f57610d6f613acf565b0217905550600260105460ff166002811115610d8d57610d8d613acf565b1415610d9c57610d9c42600f55565b60405160ff821681527f4cc5ea37df50e6ca53a9b0b7897785aac7fbd6e69b095d62b7df79f291a0a678906020015b60405180910390a150565b6000610de183611713565b8210610e555760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b600080549080805b83811015610f375760008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215610ece57805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f245786841415610f165750935061086692505050565b83610f2081613fe4565b9450505b5080610f2f81613fe4565b915050610e5d565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610aa8565b610c2f83838360405180602001604052806000815250611f51565b60606000610fce83611713565b905060008167ffffffffffffffff811115610feb57610feb613c33565b604051908082528060200260200182016040528015611014578160200160208202803683370190505b50905060005b8281101561105b5761102c8582610dd6565b82828151811061103e5761103e61401d565b60209081029190910101528061105381613fe4565b91505061101a565b509392505050565b3360009081526022602052604081206010546060929182918291829160ff16600281111561109357611093613acf565b600381106110a3576110a361401d565b0154601054909150600090601f9060ff1660028111156110c5576110c5613acf565b600381106110d5576110d561401d565b0154905060006110e5838361404c565b905060006110f16118f7565b9050601754600014156111465760408051808201909152600881527f534f4c445f4f55540000000000000000000000000000000000000000000000006020820152975060009650945085935061125c92505050565b600260105460ff16600281111561115f5761115f613acf565b14156111ad5760175460408051808201909152600d81527f44555443485f41554354494f4e00000000000000000000000000000000000000602082015298509196509450925061125c915050565b600160105460ff1660028111156111c6576111c6613acf565b14156112145760185460408051808201909152600781527f50524553414c4500000000000000000000000000000000000000000000000000602082015298509196509450925061125c915050565b60175460408051808201909152600681527f434c4f5345440000000000000000000000000000000000000000000000000000602082015298509196509450925061125c915050565b90919293565b6000805482106112da5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b5090565b60085473ffffffffffffffffffffffffffffffffffffffff1633146113455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b8051611358906013906020840190613904565b507f744d1924de3e532e3230010491d50f9d3a13f8cf2f675452046ec3cee64a02dd81604051610dcb9190613a6e565b600061139382612dea565b5192915050565b600260095414156113ed5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095560085473ffffffffffffffffffffffffffffffffffffffff1633146114595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b6000601654116114ab5760405162461bcd60e51b815260206004820152601660248201527f436f6c6c656374696f6e20697320736f6c64206f7574000000000000000000006044820152606401610aa8565b8281146115205760405162461bcd60e51b815260206004820152603660248201527f5468652074776f206c697374206d75737420636f6e7461696e7320746865207360448201527f616d6520616d6f756e74206f6620656c656d656e7473000000000000000000006064820152608401610aa8565b6000805b828110156116365760008484838181106115405761154061401d565b90506020020135116115945760405162461bcd60e51b815260206004820152601460248201527f517479206d75737420626520706f7369746976650000000000000000000000006044820152606401610aa8565b601e548484838181106115a9576115a961401d565b9050602002013511156115fe5760405162461bcd60e51b815260206004820152601260248201527f5174792065786365656420746865206d617800000000000000000000000000006044820152606401610aa8565b8383828181106116105761161061401d565b90506020020135826116229190614063565b91508061162e81613fe4565b915050611524565b506016548111156116895760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000006044820152606401610aa8565b806016600082825461169b919061404c565b90915550600090505b84811015611706576116f48686838181106116c1576116c161401d565b90506020020160208101906116d69190613ba3565b8585848181106116e8576116e861401d565b90506020020135612fd3565b806116fe81613fe4565b9150506116a4565b5050600160095550505050565b600073ffffffffffffffffffffffffffffffffffffffff821661179e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610aa8565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b60085473ffffffffffffffffffffffffffffffffffffffff1633146118405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b61184a6000612ff1565b565b60085473ffffffffffffffffffffffffffffffffffffffff1633146118b35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b60238190556040518181527f0e1bbf4a5121dc38c30347803ba96877bf9b2308024a3aef59e3c494fb8fef5690602001610dcb565b6060600280546109aa90613f61565b6000600160105460ff16600281111561191257611912613acf565b14806119345750600060105460ff16600281111561193257611932613acf565b145b15611940575060195490565b600260105460ff16600281111561195957611959613acf565b141561196c5761196761196f565b905090565b90565b6000611979612641565b6119eb5760405162461bcd60e51b815260206004820152602360248201527f496d706f737369626c6520746f20676574207468652063757272656e7420707260448201527f69636500000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b6000600f54426119fb919061404c565b905080611a0a575050600a5490565b600e54811015611a5c576000600e54600b54600a54611a29919061404c565b611a33908461407b565b611a3d91906140e7565b600a54611a4a919061404c565b9050611a5581613068565b9250505090565b5050600b5490565b60026009541415611ab75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095580600060105460ff166002811115611ad657611ad6613acf565b1415611b245760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f7365640000000000000000000000000000006044820152606401610aa8565b600060175411611b765760405162461bcd60e51b815260206004820152601660248201527f436f6c6c656374696f6e20697320736f6c64206f7574000000000000000000006044820152606401610aa8565b601754811115611bc85760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000006044820152606401610aa8565b60008111611c3e5760405162461bcd60e51b815260206004820152602560248201527f4e46547320616d6f756e74206d7573742062652067726561746572207468616e60448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610aa8565b601054601f9060ff166002811115611c5857611c58613acf565b60038110611c6857611c6861401d565b015433600090815260226020526040902060105460ff166002811115611c9057611c90613acf565b60038110611ca057611ca061401d565b0154611cac9083614063565b1115611d205760405162461bcd60e51b815260206004820152602760248201527f457863656564656420746865206d617820616d6f756e74206f66206d696e746160448201527f626c65204e4654000000000000000000000000000000000000000000000000006064820152608401610aa8565b600081611d2b6118f7565b611d35919061407b565b905080341015611d875760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610aa8565b600260105460ff166002811115611da057611da0613acf565b14611ded5760405162461bcd60e51b815260206004820152601b60248201527f537461747573206973206e6f742064757463682061756374696f6e00000000006044820152606401610aa8565b611df5612641565b611e415760405162461bcd60e51b815260206004820152601c60248201527f447574636820616374696f6e206e6f74207374617274656420796574000000006044820152606401610aa8565b611e4a83613094565b5050600160095550565b73ffffffffffffffffffffffffffffffffffffffff8216331415611eba5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610aa8565b33600081815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611f5c848484612912565b611f6884848484613106565b611fda5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aa8565b50505050565b6060611fed826000541190565b61205f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610aa8565b60006120696132dd565b9050600081511161208957604051806020016040528060008152506120b4565b80612093846132ec565b6040516020016120a49291906140fb565b6040516020818303038152906040525b9392505050565b6002600954141561210e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095582600060105460ff16600281111561212d5761212d613acf565b141561217b5760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f7365640000000000000000000000000000006044820152606401610aa8565b6000601754116121cd5760405162461bcd60e51b815260206004820152601660248201527f436f6c6c656374696f6e20697320736f6c64206f7574000000000000000000006044820152606401610aa8565b60175481111561221f5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000006044820152606401610aa8565b600081116122955760405162461bcd60e51b815260206004820152602560248201527f4e46547320616d6f756e74206d7573742062652067726561746572207468616e60448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610aa8565b601054601f9060ff1660028111156122af576122af613acf565b600381106122bf576122bf61401d565b015433600090815260226020526040902060105460ff1660028111156122e7576122e7613acf565b600381106122f7576122f761401d565b01546123039083614063565b11156123775760405162461bcd60e51b815260206004820152602760248201527f457863656564656420746865206d617820616d6f756e74206f66206d696e746160448201527f626c65204e4654000000000000000000000000000000000000000000000000006064820152608401610aa8565b6000816123826118f7565b61238c919061407b565b9050803410156123de5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610aa8565b600160105460ff1660028111156123f7576123f7613acf565b146124445760405162461bcd60e51b815260206004820152601560248201527f537461747573206973206e6f742070726573616c6500000000000000000000006044820152606401610aa8565b6124cc848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506023546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015290925060340190506040516020818303038152906040528051906020012061341e565b6125185760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f7420696e2070726573616c65000000000000000000006044820152606401610aa8565b846018600082825461252a9190614063565b90915550612539905085613094565b50506001600955505050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146125ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b73ffffffffffffffffffffffffffffffffffffffff81166126355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aa8565b61263e81612ff1565b50565b6000600f54600014156126545750600090565b50600f5442101590565b60085473ffffffffffffffffffffffffffffffffffffffff1633146126c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b611fda848484846134cd565b600260095414156127245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095560085473ffffffffffffffffffffffffffffffffffffffff1633146127905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b73ffffffffffffffffffffffffffffffffffffffff81166127f35760405162461bcd60e51b815260206004820152601f60248201527f576974686472617720616464726573732063616e6e6f74206265207a65726f006044820152606401610aa8565b476128405760405162461bcd60e51b815260206004820152600f60248201527f42616c616e6365206973207a65726f00000000000000000000000000000000006044820152606401610aa8565b60405173ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f19350505050158015612882573d6000803e3d6000fd5b50506001600955565b3b151590565b60008281526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061291d82612dea565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061297b57503361296384610a2d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061298d5750815161298d903361076a565b905080612a025760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610aa8565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612aa75760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610aa8565b73ffffffffffffffffffffffffffffffffffffffff8416612b305760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610aa8565b612b406000848460000151612891565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600460205260408120805460019290612b889084906fffffffffffffffffffffffffffffffff1661412a565b82546101009290920a6fffffffffffffffffffffffffffffffff81810219909316918316021790915573ffffffffffffffffffffffffffffffffffffffff861660009081526004602052604081208054600194509092612bea9185911661415b565b82546fffffffffffffffffffffffffffffffff9182166101009390930a92830291909202199091161790555060408051808201825273ffffffffffffffffffffffffffffffffffffffff808716825267ffffffffffffffff42811660208085019182526000898152600390915294852093518454915190921674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009091169190921617179055612cb1846001614063565b60008181526003602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16612d8657612ce8816000541190565b15612d8657604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152612e09826000541190565b612e7b5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610aa8565b60007f00000000000000000000000000000000000000000000000000000000000000008310612edc57612ece7f00000000000000000000000000000000000000000000000000000000000000008461404c565b612ed9906001614063565b90505b825b818110612f645760008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215612f5157949350505050565b5080612f5c81614186565b915050612ede565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610aa8565b612fed82826040518060200160405280600081525061350a565b5050565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600d548361307991906140e7565b613084906001614063565b9050600d54816120b4919061407b565b33600090815260226020526040902060105482919060ff1660028111156130bd576130bd613acf565b600381106130cd576130cd61401d565b0160008282546130dd9190614063565b9250508190555080601760008282546130f6919061404c565b9091555061263e90503382612fd3565b600073ffffffffffffffffffffffffffffffffffffffff84163b156132d1576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061317d9033908990889088906004016141bb565b6020604051808303816000875af19250505080156131d6575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526131d391810190614204565b60015b613286573d808015613204576040519150601f19603f3d011682016040523d82523d6000602084013e613209565b606091505b50805161327e5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aa8565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506132d5565b5060015b949350505050565b6060601380546109aa90613f61565b60608161332c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613356578061334081613fe4565b915061334f9050600a836140e7565b9150613330565b60008167ffffffffffffffff81111561337157613371613c33565b6040519080825280601f01601f19166020018201604052801561339b576020820181803683370190505b5090505b84156132d5576133b060018361404c565b91506133bd600a86614221565b6133c8906030614063565b60f81b8183815181106133dd576133dd61401d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613417600a866140e7565b945061339f565b600081815b85518110156134c25760008682815181106134405761344061401d565b602002602001015190508083116134825760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506134af565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806134ba81613fe4565b915050613423565b509092149392505050565b600a849055600b839055600c829055600d81905580826134ed858761404c565b6134f7919061407b565b61350191906140e7565b600e5550505050565b60005473ffffffffffffffffffffffffffffffffffffffff84166135965760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b6135a1816000541190565b156135ee5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610aa8565b7f00000000000000000000000000000000000000000000000000000000000000008311156136845760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600460209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff8082168352700100000000000000000000000000000000909104169181019190915281518083019092528051909190819061370390879061415b565b6fffffffffffffffffffffffffffffffff16815260200185836020015161372a919061415b565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b858110156138f957604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46138676000888488613106565b6138d95760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aa8565b816138e381613fe4565b92505080806138f190613fe4565b91505061380d565b506000819055612de2565b82805461391090613f61565b90600052602060002090601f0160209004810192826139325760008555613978565b82601f1061394b57805160ff1916838001178555613978565b82800160010185558215613978579182015b8281111561397857825182559160200191906001019061395d565b506112da9291505b808211156112da5760008155600101613980565b6000602082840312156139a657600080fd5b5035919050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461263e57600080fd5b6000602082840312156139ed57600080fd5b81356120b4816139ad565b60005b83811015613a135781810151838201526020016139fb565b83811115611fda5750506000910152565b60008151808452613a3c8160208601602086016139f8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006120b46020830184613a24565b73ffffffffffffffffffffffffffffffffffffffff8116811461263e57600080fd5b60008060408385031215613ab657600080fd5b8235613ac181613a81565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613b39577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600080600060608486031215613b5457600080fd5b8335613b5f81613a81565b92506020840135613b6f81613a81565b929592945050506040919091013590565b600060208284031215613b9257600080fd5b813560ff811681146120b457600080fd5b600060208284031215613bb557600080fd5b81356120b481613a81565b6020808252825182820181905260009190848201906040850190845b81811015613bf857835183529284019291840191600101613bdc565b50909695505050505050565b608081526000613c176080830187613a24565b6020830195909552506040810192909252606090910152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115613c7d57613c7d613c33565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613cc357613cc3613c33565b81604052809350858152868686011115613cdc57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215613d0857600080fd5b813567ffffffffffffffff811115613d1f57600080fd5b8201601f81018413613d3057600080fd5b6132d584823560208401613c62565b60008083601f840112613d5157600080fd5b50813567ffffffffffffffff811115613d6957600080fd5b6020830191508360208260051b8501011115613d8457600080fd5b9250929050565b60008060008060408587031215613da157600080fd5b843567ffffffffffffffff80821115613db957600080fd5b613dc588838901613d3f565b90965094506020870135915080821115613dde57600080fd5b50613deb87828801613d3f565b95989497509550505050565b60008060408385031215613e0a57600080fd5b8235613e1581613a81565b915060208301358015158114613e2a57600080fd5b809150509250929050565b60008060008060808587031215613e4b57600080fd5b8435613e5681613a81565b93506020850135613e6681613a81565b925060408501359150606085013567ffffffffffffffff811115613e8957600080fd5b8501601f81018713613e9a57600080fd5b613ea987823560208401613c62565b91505092959194509250565b600080600060408486031215613eca57600080fd5b83359250602084013567ffffffffffffffff811115613ee857600080fd5b613ef486828701613d3f565b9497909650939450505050565b60008060408385031215613f1457600080fd5b8235613f1f81613a81565b91506020830135613e2a81613a81565b60008060008060808587031215613f4557600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c90821680613f7557607f821691505b60208210811415613faf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561401657614016613fb5565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008282101561405e5761405e613fb5565b500390565b6000821982111561407657614076613fb5565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140b3576140b3613fb5565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826140f6576140f66140b8565b500490565b6000835161410d8184602088016139f8565b8351908301906141218183602088016139f8565b01949350505050565b60006fffffffffffffffffffffffffffffffff8381169083168181101561415357614153613fb5565b039392505050565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561412157614121613fb5565b60008161419557614195613fb5565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526141fa6080830184613a24565b9695505050505050565b60006020828403121561421657600080fd5b81516120b4816139ad565b600082614230576142306140b8565b50069056fea264697066735822122078c6232d9c8fbb4636e0373905388700ad821966cb035ab3445a58beaf2e5fb764736f6c634300080b003368747470733a2f2f6d696e742e736164626f74732e696f2f6170692f6d657461646174612f455243373231413a207472616e7366657220746f206e6f6e2045524337323152

Deployed Bytecode

0x6080604052600436106102db5760003560e01c8063714c6e0d11610184578063b88d4fde116100d6578063e985e9c51161008a578063f8d322af11610064578063f8d322af146107da578063fa09e630146107fa578063fda7501d1461080d57600080fd5b8063e985e9c51461074f578063f2fde38b146107a5578063f8d0b420146107c557600080fd5b8063d7224ba0116100bb578063d7224ba014610710578063d941978c14610726578063e3e1e8ef1461073c57600080fd5b8063b88d4fde146106d0578063c87b56dd146106f057600080fd5b806395d89b4111610138578063a0712d6811610112578063a0712d6814610687578063a22cb4651461069a578063af850d69146106ba57600080fd5b806395d89b411461064857806398d5fdca1461065d5780639d1b464a1461067257600080fd5b80637cb64759116101695780637cb64759146105e75780638da5cb5b14610607578063902d55a51461063257600080fd5b8063714c6e0d146105bc578063715018a6146105d257600080fd5b80632eb4a7ab1161023d5780634e69d560116101f15780636352211e116101cb5780636352211e1461055c57806369f7d2f21461057c57806370a082311461059c57600080fd5b80634e69d560146104f75780634f6ccce71461051c57806355f804b31461053c57600080fd5b806331a53e9a1161022257806331a53e9a1461049457806342842e0e146104aa578063438b6300146104ca57600080fd5b80632eb4a7ab1461045e5780632f745c591461047457600080fd5b80631256508b11610294578063200d2ed211610279578063200d2ed2146103f757806323b872dd1461041e5780632e49d78b1461043e57600080fd5b80631256508b146103be57806318160ddd146103e257600080fd5b806306fdde03116102c557806306fdde0314610335578063081812fc14610357578063095ea7b31461039c57600080fd5b8062923f9e146102e057806301ffc9a714610315575b600080fd5b3480156102ec57600080fd5b506103006102fb366004613994565b610859565b60405190151581526020015b60405180910390f35b34801561032157600080fd5b506103006103303660046139db565b61086c565b34801561034157600080fd5b5061034a61099b565b60405161030c9190613a6e565b34801561036357600080fd5b50610377610372366004613994565b610a2d565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161030c565b3480156103a857600080fd5b506103bc6103b7366004613aa3565b610ada565b005b3480156103ca57600080fd5b506103d460175481565b60405190815260200161030c565b3480156103ee57600080fd5b506000546103d4565b34801561040357600080fd5b506010546104119060ff1681565b60405161030c9190613afe565b34801561042a57600080fd5b506103bc610439366004613b3f565b610c34565b34801561044a57600080fd5b506103bc610459366004613b80565b610c3f565b34801561046a57600080fd5b506103d460235481565b34801561048057600080fd5b506103d461048f366004613aa3565b610dd6565b3480156104a057600080fd5b506103d460155481565b3480156104b657600080fd5b506103bc6104c5366004613b3f565b610fa6565b3480156104d657600080fd5b506104ea6104e5366004613ba3565b610fc1565b60405161030c9190613bc0565b34801561050357600080fd5b5061050c611063565b60405161030c9493929190613c04565b34801561052857600080fd5b506103d4610537366004613994565b611262565b34801561054857600080fd5b506103bc610557366004613cf6565b6112de565b34801561056857600080fd5b50610377610577366004613994565b611388565b34801561058857600080fd5b506103bc610597366004613d8b565b61139a565b3480156105a857600080fd5b506103d46105b7366004613ba3565b611713565b3480156105c857600080fd5b506103d460165481565b3480156105de57600080fd5b506103bc6117d9565b3480156105f357600080fd5b506103bc610602366004613994565b61184c565b34801561061357600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610377565b34801561063e57600080fd5b506103d460145481565b34801561065457600080fd5b5061034a6118e8565b34801561066957600080fd5b506103d46118f7565b34801561067e57600080fd5b506103d461196f565b6103bc610695366004613994565b611a64565b3480156106a657600080fd5b506103bc6106b5366004613df7565b611e54565b3480156106c657600080fd5b506103d4601d5481565b3480156106dc57600080fd5b506103bc6106eb366004613e35565b611f51565b3480156106fc57600080fd5b5061034a61070b366004613994565b611fe0565b34801561071c57600080fd5b506103d460075481565b34801561073257600080fd5b506103d460185481565b6103bc61074a366004613eb5565b6120bb565b34801561075b57600080fd5b5061030061076a366004613f01565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107b157600080fd5b506103bc6107c0366004613ba3565b612545565b3480156107d157600080fd5b50610300612641565b3480156107e657600080fd5b506103bc6107f5366004613f2f565b61265e565b6103bc610808366004613ba3565b6126d1565b34801561081957600080fd5b50600a54600b54600c54600d54600e54600f54604080519687526020870195909552938501929092526060840152608083015260a082015260c00161030c565b6000610866826000541190565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108ff57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061086657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610866565b6060600180546109aa90613f61565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690613f61565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b5050505050905090565b6000610a3a826000541190565b610ab15760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610ae582611388565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b895760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b3373ffffffffffffffffffffffffffffffffffffffff82161480610bb25750610bb2813361076a565b610c245760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610aa8565b610c2f838383612891565b505050565b610c2f838383612912565b60085473ffffffffffffffffffffffffffffffffffffffff163314610ca65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b60028160ff161115610d205760405162461bcd60e51b815260206004820152602360248201527f4d696e7420737461747573206d757374206265206265747765656e203020616e60448201527f64203200000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b8060ff166002811115610d3557610d35613acf565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610d6f57610d6f613acf565b0217905550600260105460ff166002811115610d8d57610d8d613acf565b1415610d9c57610d9c42600f55565b60405160ff821681527f4cc5ea37df50e6ca53a9b0b7897785aac7fbd6e69b095d62b7df79f291a0a678906020015b60405180910390a150565b6000610de183611713565b8210610e555760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b600080549080805b83811015610f375760008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215610ece57805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f245786841415610f165750935061086692505050565b83610f2081613fe4565b9450505b5080610f2f81613fe4565b915050610e5d565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610aa8565b610c2f83838360405180602001604052806000815250611f51565b60606000610fce83611713565b905060008167ffffffffffffffff811115610feb57610feb613c33565b604051908082528060200260200182016040528015611014578160200160208202803683370190505b50905060005b8281101561105b5761102c8582610dd6565b82828151811061103e5761103e61401d565b60209081029190910101528061105381613fe4565b91505061101a565b509392505050565b3360009081526022602052604081206010546060929182918291829160ff16600281111561109357611093613acf565b600381106110a3576110a361401d565b0154601054909150600090601f9060ff1660028111156110c5576110c5613acf565b600381106110d5576110d561401d565b0154905060006110e5838361404c565b905060006110f16118f7565b9050601754600014156111465760408051808201909152600881527f534f4c445f4f55540000000000000000000000000000000000000000000000006020820152975060009650945085935061125c92505050565b600260105460ff16600281111561115f5761115f613acf565b14156111ad5760175460408051808201909152600d81527f44555443485f41554354494f4e00000000000000000000000000000000000000602082015298509196509450925061125c915050565b600160105460ff1660028111156111c6576111c6613acf565b14156112145760185460408051808201909152600781527f50524553414c4500000000000000000000000000000000000000000000000000602082015298509196509450925061125c915050565b60175460408051808201909152600681527f434c4f5345440000000000000000000000000000000000000000000000000000602082015298509196509450925061125c915050565b90919293565b6000805482106112da5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b5090565b60085473ffffffffffffffffffffffffffffffffffffffff1633146113455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b8051611358906013906020840190613904565b507f744d1924de3e532e3230010491d50f9d3a13f8cf2f675452046ec3cee64a02dd81604051610dcb9190613a6e565b600061139382612dea565b5192915050565b600260095414156113ed5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095560085473ffffffffffffffffffffffffffffffffffffffff1633146114595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b6000601654116114ab5760405162461bcd60e51b815260206004820152601660248201527f436f6c6c656374696f6e20697320736f6c64206f7574000000000000000000006044820152606401610aa8565b8281146115205760405162461bcd60e51b815260206004820152603660248201527f5468652074776f206c697374206d75737420636f6e7461696e7320746865207360448201527f616d6520616d6f756e74206f6620656c656d656e7473000000000000000000006064820152608401610aa8565b6000805b828110156116365760008484838181106115405761154061401d565b90506020020135116115945760405162461bcd60e51b815260206004820152601460248201527f517479206d75737420626520706f7369746976650000000000000000000000006044820152606401610aa8565b601e548484838181106115a9576115a961401d565b9050602002013511156115fe5760405162461bcd60e51b815260206004820152601260248201527f5174792065786365656420746865206d617800000000000000000000000000006044820152606401610aa8565b8383828181106116105761161061401d565b90506020020135826116229190614063565b91508061162e81613fe4565b915050611524565b506016548111156116895760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000006044820152606401610aa8565b806016600082825461169b919061404c565b90915550600090505b84811015611706576116f48686838181106116c1576116c161401d565b90506020020160208101906116d69190613ba3565b8585848181106116e8576116e861401d565b90506020020135612fd3565b806116fe81613fe4565b9150506116a4565b5050600160095550505050565b600073ffffffffffffffffffffffffffffffffffffffff821661179e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610aa8565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b60085473ffffffffffffffffffffffffffffffffffffffff1633146118405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b61184a6000612ff1565b565b60085473ffffffffffffffffffffffffffffffffffffffff1633146118b35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b60238190556040518181527f0e1bbf4a5121dc38c30347803ba96877bf9b2308024a3aef59e3c494fb8fef5690602001610dcb565b6060600280546109aa90613f61565b6000600160105460ff16600281111561191257611912613acf565b14806119345750600060105460ff16600281111561193257611932613acf565b145b15611940575060195490565b600260105460ff16600281111561195957611959613acf565b141561196c5761196761196f565b905090565b90565b6000611979612641565b6119eb5760405162461bcd60e51b815260206004820152602360248201527f496d706f737369626c6520746f20676574207468652063757272656e7420707260448201527f69636500000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b6000600f54426119fb919061404c565b905080611a0a575050600a5490565b600e54811015611a5c576000600e54600b54600a54611a29919061404c565b611a33908461407b565b611a3d91906140e7565b600a54611a4a919061404c565b9050611a5581613068565b9250505090565b5050600b5490565b60026009541415611ab75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095580600060105460ff166002811115611ad657611ad6613acf565b1415611b245760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f7365640000000000000000000000000000006044820152606401610aa8565b600060175411611b765760405162461bcd60e51b815260206004820152601660248201527f436f6c6c656374696f6e20697320736f6c64206f7574000000000000000000006044820152606401610aa8565b601754811115611bc85760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000006044820152606401610aa8565b60008111611c3e5760405162461bcd60e51b815260206004820152602560248201527f4e46547320616d6f756e74206d7573742062652067726561746572207468616e60448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610aa8565b601054601f9060ff166002811115611c5857611c58613acf565b60038110611c6857611c6861401d565b015433600090815260226020526040902060105460ff166002811115611c9057611c90613acf565b60038110611ca057611ca061401d565b0154611cac9083614063565b1115611d205760405162461bcd60e51b815260206004820152602760248201527f457863656564656420746865206d617820616d6f756e74206f66206d696e746160448201527f626c65204e4654000000000000000000000000000000000000000000000000006064820152608401610aa8565b600081611d2b6118f7565b611d35919061407b565b905080341015611d875760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610aa8565b600260105460ff166002811115611da057611da0613acf565b14611ded5760405162461bcd60e51b815260206004820152601b60248201527f537461747573206973206e6f742064757463682061756374696f6e00000000006044820152606401610aa8565b611df5612641565b611e415760405162461bcd60e51b815260206004820152601c60248201527f447574636820616374696f6e206e6f74207374617274656420796574000000006044820152606401610aa8565b611e4a83613094565b5050600160095550565b73ffffffffffffffffffffffffffffffffffffffff8216331415611eba5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610aa8565b33600081815260066020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611f5c848484612912565b611f6884848484613106565b611fda5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aa8565b50505050565b6060611fed826000541190565b61205f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610aa8565b60006120696132dd565b9050600081511161208957604051806020016040528060008152506120b4565b80612093846132ec565b6040516020016120a49291906140fb565b6040516020818303038152906040525b9392505050565b6002600954141561210e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095582600060105460ff16600281111561212d5761212d613acf565b141561217b5760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e6720697320636c6f7365640000000000000000000000000000006044820152606401610aa8565b6000601754116121cd5760405162461bcd60e51b815260206004820152601660248201527f436f6c6c656374696f6e20697320736f6c64206f7574000000000000000000006044820152606401610aa8565b60175481111561221f5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420656e6f756768204e46547320617661696c61626c65000000000000006044820152606401610aa8565b600081116122955760405162461bcd60e51b815260206004820152602560248201527f4e46547320616d6f756e74206d7573742062652067726561746572207468616e60448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610aa8565b601054601f9060ff1660028111156122af576122af613acf565b600381106122bf576122bf61401d565b015433600090815260226020526040902060105460ff1660028111156122e7576122e7613acf565b600381106122f7576122f761401d565b01546123039083614063565b11156123775760405162461bcd60e51b815260206004820152602760248201527f457863656564656420746865206d617820616d6f756e74206f66206d696e746160448201527f626c65204e4654000000000000000000000000000000000000000000000000006064820152608401610aa8565b6000816123826118f7565b61238c919061407b565b9050803410156123de5760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610aa8565b600160105460ff1660028111156123f7576123f7613acf565b146124445760405162461bcd60e51b815260206004820152601560248201527f537461747573206973206e6f742070726573616c6500000000000000000000006044820152606401610aa8565b6124cc848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506023546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015290925060340190506040516020818303038152906040528051906020012061341e565b6125185760405162461bcd60e51b815260206004820152601660248201527f596f7520617265206e6f7420696e2070726573616c65000000000000000000006044820152606401610aa8565b846018600082825461252a9190614063565b90915550612539905085613094565b50506001600955505050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146125ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b73ffffffffffffffffffffffffffffffffffffffff81166126355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aa8565b61263e81612ff1565b50565b6000600f54600014156126545750600090565b50600f5442101590565b60085473ffffffffffffffffffffffffffffffffffffffff1633146126c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b611fda848484846134cd565b600260095414156127245760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa8565b600260095560085473ffffffffffffffffffffffffffffffffffffffff1633146127905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa8565b73ffffffffffffffffffffffffffffffffffffffff81166127f35760405162461bcd60e51b815260206004820152601f60248201527f576974686472617720616464726573732063616e6e6f74206265207a65726f006044820152606401610aa8565b476128405760405162461bcd60e51b815260206004820152600f60248201527f42616c616e6365206973207a65726f00000000000000000000000000000000006044820152606401610aa8565b60405173ffffffffffffffffffffffffffffffffffffffff8216904780156108fc02916000818181858888f19350505050158015612882573d6000803e3d6000fd5b50506001600955565b3b151590565b60008281526005602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061291d82612dea565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061297b57503361296384610a2d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061298d5750815161298d903361076a565b905080612a025760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610aa8565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612aa75760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610aa8565b73ffffffffffffffffffffffffffffffffffffffff8416612b305760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610aa8565b612b406000848460000151612891565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600460205260408120805460019290612b889084906fffffffffffffffffffffffffffffffff1661412a565b82546101009290920a6fffffffffffffffffffffffffffffffff81810219909316918316021790915573ffffffffffffffffffffffffffffffffffffffff861660009081526004602052604081208054600194509092612bea9185911661415b565b82546fffffffffffffffffffffffffffffffff9182166101009390930a92830291909202199091161790555060408051808201825273ffffffffffffffffffffffffffffffffffffffff808716825267ffffffffffffffff42811660208085019182526000898152600390915294852093518454915190921674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009091169190921617179055612cb1846001614063565b60008181526003602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16612d8657612ce8816000541190565b15612d8657604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff908116828501908152600087815260039093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152612e09826000541190565b612e7b5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610aa8565b60007f00000000000000000000000000000000000000000000000000000000000000328310612edc57612ece7f00000000000000000000000000000000000000000000000000000000000000328461404c565b612ed9906001614063565b90505b825b818110612f645760008181526003602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215612f5157949350505050565b5080612f5c81614186565b915050612ede565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610aa8565b612fed82826040518060200160405280600081525061350a565b5050565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080600d548361307991906140e7565b613084906001614063565b9050600d54816120b4919061407b565b33600090815260226020526040902060105482919060ff1660028111156130bd576130bd613acf565b600381106130cd576130cd61401d565b0160008282546130dd9190614063565b9250508190555080601760008282546130f6919061404c565b9091555061263e90503382612fd3565b600073ffffffffffffffffffffffffffffffffffffffff84163b156132d1576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061317d9033908990889088906004016141bb565b6020604051808303816000875af19250505080156131d6575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526131d391810190614204565b60015b613286573d808015613204576040519150601f19603f3d011682016040523d82523d6000602084013e613209565b606091505b50805161327e5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aa8565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506132d5565b5060015b949350505050565b6060601380546109aa90613f61565b60608161332c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613356578061334081613fe4565b915061334f9050600a836140e7565b9150613330565b60008167ffffffffffffffff81111561337157613371613c33565b6040519080825280601f01601f19166020018201604052801561339b576020820181803683370190505b5090505b84156132d5576133b060018361404c565b91506133bd600a86614221565b6133c8906030614063565b60f81b8183815181106133dd576133dd61401d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613417600a866140e7565b945061339f565b600081815b85518110156134c25760008682815181106134405761344061401d565b602002602001015190508083116134825760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506134af565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806134ba81613fe4565b915050613423565b509092149392505050565b600a849055600b839055600c829055600d81905580826134ed858761404c565b6134f7919061407b565b61350191906140e7565b600e5550505050565b60005473ffffffffffffffffffffffffffffffffffffffff84166135965760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b6135a1816000541190565b156135ee5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610aa8565b7f00000000000000000000000000000000000000000000000000000000000000328311156136845760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610aa8565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600460209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff8082168352700100000000000000000000000000000000909104169181019190915281518083019092528051909190819061370390879061415b565b6fffffffffffffffffffffffffffffffff16815260200185836020015161372a919061415b565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff808816600081815260046020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600390955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b858110156138f957604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46138676000888488613106565b6138d95760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610aa8565b816138e381613fe4565b92505080806138f190613fe4565b91505061380d565b506000819055612de2565b82805461391090613f61565b90600052602060002090601f0160209004810192826139325760008555613978565b82601f1061394b57805160ff1916838001178555613978565b82800160010185558215613978579182015b8281111561397857825182559160200191906001019061395d565b506112da9291505b808211156112da5760008155600101613980565b6000602082840312156139a657600080fd5b5035919050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461263e57600080fd5b6000602082840312156139ed57600080fd5b81356120b4816139ad565b60005b83811015613a135781810151838201526020016139fb565b83811115611fda5750506000910152565b60008151808452613a3c8160208601602086016139f8565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006120b46020830184613a24565b73ffffffffffffffffffffffffffffffffffffffff8116811461263e57600080fd5b60008060408385031215613ab657600080fd5b8235613ac181613a81565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160038310613b39577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600080600060608486031215613b5457600080fd5b8335613b5f81613a81565b92506020840135613b6f81613a81565b929592945050506040919091013590565b600060208284031215613b9257600080fd5b813560ff811681146120b457600080fd5b600060208284031215613bb557600080fd5b81356120b481613a81565b6020808252825182820181905260009190848201906040850190845b81811015613bf857835183529284019291840191600101613bdc565b50909695505050505050565b608081526000613c176080830187613a24565b6020830195909552506040810192909252606090910152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115613c7d57613c7d613c33565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715613cc357613cc3613c33565b81604052809350858152868686011115613cdc57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215613d0857600080fd5b813567ffffffffffffffff811115613d1f57600080fd5b8201601f81018413613d3057600080fd5b6132d584823560208401613c62565b60008083601f840112613d5157600080fd5b50813567ffffffffffffffff811115613d6957600080fd5b6020830191508360208260051b8501011115613d8457600080fd5b9250929050565b60008060008060408587031215613da157600080fd5b843567ffffffffffffffff80821115613db957600080fd5b613dc588838901613d3f565b90965094506020870135915080821115613dde57600080fd5b50613deb87828801613d3f565b95989497509550505050565b60008060408385031215613e0a57600080fd5b8235613e1581613a81565b915060208301358015158114613e2a57600080fd5b809150509250929050565b60008060008060808587031215613e4b57600080fd5b8435613e5681613a81565b93506020850135613e6681613a81565b925060408501359150606085013567ffffffffffffffff811115613e8957600080fd5b8501601f81018713613e9a57600080fd5b613ea987823560208401613c62565b91505092959194509250565b600080600060408486031215613eca57600080fd5b83359250602084013567ffffffffffffffff811115613ee857600080fd5b613ef486828701613d3f565b9497909650939450505050565b60008060408385031215613f1457600080fd5b8235613f1f81613a81565b91506020830135613e2a81613a81565b60008060008060808587031215613f4557600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c90821680613f7557607f821691505b60208210811415613faf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561401657614016613fb5565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008282101561405e5761405e613fb5565b500390565b6000821982111561407657614076613fb5565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140b3576140b3613fb5565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826140f6576140f66140b8565b500490565b6000835161410d8184602088016139f8565b8351908301906141218183602088016139f8565b01949350505050565b60006fffffffffffffffffffffffffffffffff8381169083168181101561415357614153613fb5565b039392505050565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561412157614121613fb5565b60008161419557614195613fb5565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526141fa6080830184613a24565b9695505050505050565b60006020828403121561421657600080fd5b81516120b4816139ad565b600082614230576142306140b8565b50069056fea264697066735822122078c6232d9c8fbb4636e0373905388700ad821966cb035ab3445a58beaf2e5fb764736f6c634300080b0033

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

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