ETH Price: $1,578.98 (-3.30%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint144883762022-03-30 15:36:531112 days ago1648654613IN
0xe182AF6B...96B21D93A
0.96 ETH0.0030616291.31820397
Mint144869942022-03-30 10:14:321113 days ago1648635272IN
0xe182AF6B...96B21D93A
0.96 ETH0.0012732637.97727853
Sweep144842172022-03-29 23:58:431113 days ago1648598323IN
0xe182AF6B...96B21D93A
0 ETH0.0024646640.44871422
Sweep144842052022-03-29 23:56:031113 days ago1648598163IN
0xe182AF6B...96B21D93A
0 ETH0.0016495545.57167022
Sweep144841922022-03-29 23:53:111113 days ago1648597991IN
0xe182AF6B...96B21D93A
0 ETH0.002651543.3443862
Mint144840182022-03-29 23:12:361113 days ago1648595556IN
0xe182AF6B...96B21D93A
1.92 ETH0.0021313763.57201211
Mint144833672022-03-29 20:49:051113 days ago1648586945IN
0xe182AF6B...96B21D93A
0.01 ETH0.0009169130.56398815
Mint144833372022-03-29 20:43:481113 days ago1648586628IN
0xe182AF6B...96B21D93A
0.01 ETH0.0012622942.07636734
Mint144831662022-03-29 20:06:431113 days ago1648584403IN
0xe182AF6B...96B21D93A
1.92 ETH0.00966143302.11812988
Mint144830242022-03-29 19:35:261113 days ago1648582526IN
0xe182AF6B...96B21D93A
0.96 ETH0.0016168648.22584773
Mint144830242022-03-29 19:35:261113 days ago1648582526IN
0xe182AF6B...96B21D93A
0.96 ETH0.0017961353.57270844
Mint144830242022-03-29 19:35:261113 days ago1648582526IN
0xe182AF6B...96B21D93A
1.92 ETH0.0016005851.09112119
Mint144829632022-03-29 19:21:241113 days ago1648581684IN
0xe182AF6B...96B21D93A
0.96 ETH0.0020813762.08057547
Mint144829402022-03-29 19:16:041113 days ago1648581364IN
0xe182AF6B...96B21D93A
0.96 ETH0.0013410840
Mint144829402022-03-29 19:16:041113 days ago1648581364IN
0xe182AF6B...96B21D93A
0.96 ETH0.0013410840
Mint144829362022-03-29 19:15:521113 days ago1648581352IN
0xe182AF6B...96B21D93A
0.96 ETH0.0021333155.2
Mint144829352022-03-29 19:15:471113 days ago1648581347IN
0xe182AF6B...96B21D93A
1.92 ETH0.0020037251.83076016
Mint144829352022-03-29 19:15:471113 days ago1648581347IN
0xe182AF6B...96B21D93A
0.96 ETH0.0021262455
Mint144829092022-03-29 19:10:391113 days ago1648581039IN
0xe182AF6B...96B21D93A
0.69 ETH0.002337760.45104745
Mint144829072022-03-29 19:10:351113 days ago1648581035IN
0xe182AF6B...96B21D93A
0.96 ETH0.0023746570.82806391
Mint144829072022-03-29 19:10:351113 days ago1648581035IN
0xe182AF6B...96B21D93A
1.92 ETH0.0024541773.2
Mint144829072022-03-29 19:10:351113 days ago1648581035IN
0xe182AF6B...96B21D93A
1.92 ETH0.0028298373.2
Mint144829072022-03-29 19:10:351113 days ago1648581035IN
0xe182AF6B...96B21D93A
1.92 ETH0.01045277270.3
Mint144829072022-03-29 19:10:351113 days ago1648581035IN
0xe182AF6B...96B21D93A
1.92 ETH0.0029622576.6014996
Mint144829072022-03-29 19:10:351113 days ago1648581035IN
0xe182AF6B...96B21D93A
0.96 ETH0.0029613376.6014996
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-144842052022-03-29 23:56:031113 days ago1648598163
0xe182AF6B...96B21D93A
7,650.97 ETH
-144841922022-03-29 23:53:111113 days ago1648597991
0xe182AF6B...96B21D93A
1 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
0.96 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
0.96 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
0.96 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
0.96 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
0.96 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
0.96 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828602022-03-29 19:01:581113 days ago1648580518
0xe182AF6B...96B21D93A
1.92 ETH
-144828592022-03-29 19:01:411113 days ago1648580501
0xe182AF6B...96B21D93A
1.92 ETH
-144828592022-03-29 19:01:411113 days ago1648580501
0xe182AF6B...96B21D93A
1.92 ETH
-144828592022-03-29 19:01:411113 days ago1648580501
0xe182AF6B...96B21D93A
1.92 ETH
-144828592022-03-29 19:01:411113 days ago1648580501
0xe182AF6B...96B21D93A
1.92 ETH
-144828592022-03-29 19:01:411113 days ago1648580501
0xe182AF6B...96B21D93A
1.92 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DropPresaleShop721

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : DropPresaleShop721.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.11;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import "../interfaces/ITiny721.sol";

/*
  It saves bytecode to revert on custom errors instead of using require
  statements. We are just declaring these errors for reverting with upon various
  conditions later in this contract.
*/
error CannotEndSaleBeforeItStarts();
error CannotEndAtHigherPrice();
error CannotTransferIncorrectAmount();
error PaymentTransferFailed();
error CannotVerifyAsWhitelistMember();
error CannotExceedWhitelistAllowance();
error CannotBuyZeroItems();
error CannotBuyFromEndedSale();
error CannotExceedPerTransactionCap();
error CannotExceedPerCallerCap();
error CannotExceedTotalCap();
error CannotUnderpayForMint();
error RefundTransferFailed();
error SweepingTransferFailed();

/**
  @title A contract for selling NFTs via a merkle-based whitelist presale with
    conversion into a public sale.
  @author Tim Clancy
  @author Qazawat Zirak
  @author Rostislav Khlebnikov
  @author Nikita Elunin
  @author 0xthrpw

  This contract is a modified version of SuperFarm mint shops optimized for the
  specific use case of:
    1. selling a single type of ERC-721 item from a single contract
    2. running potentially multiple whitelisted presales with potentially
       multiple different participants and different prices
    3. selling the item for both ETH and an ERC-20 token during the presale
    4. converting into a public sale that can sell for ETH only

  This launchpad contract sells new items by minting them into existence. It
  cannot be used to sell items that already exist.

  March 10th, 2022.
*/
contract DropPresaleShop721 is
  Ownable, ReentrancyGuard
{
  using SafeERC20 for IERC20;

  /// The address of the ERC-721 item being sold.
  address public immutable collection;

  /// The time when the public sale begins.
  uint256 public immutable startTime;

  /// The time when the public sale ends.
  uint256 public immutable endTime;

  /// The maximum number of items from the `collection` that may be sold.
  uint256 public immutable totalCap;

  /// The maximum number of items that a single address may purchase.
  uint256 public immutable callerCap;

  /// The maximum number of items that may be purchased in a single transaction.
  uint256 public immutable transactionCap;

  /// The price at which to sell the item.
  uint256 public immutable price;

  /**
    The number of whitelists that have been added. This is used for looking up
    specific whitelist details from the `whitelists` mapping.
  */
  uint256 public immutable whitelistCount;

  /**
    This struct is used at the moment of contract construction to specify a
    presale whitelist that should apply to the sale this shop runs.

    @param root The hash root of merkle tree uses to validate a caller's
      inclusion in this whitelist.
    @param startTime The starting time of this whitelist. When this is set to a
      time earlier than the contract's `startTime` storage variable, that means
      that this whitelist will begin earlier than the public sale. In effect,
      that means that this whitelist will define a presale.
    @param endTime The ending time of this whitelist. For standard presale
      behavior, this should be set equal to the contract's `startTime` storage
      variable to end the presale when the public sale begins. This can be set
      later than the contract's `startTime` storage variable, but it will have
      no effect. A presale whitelist may not be used once the public sale has
      begun. Likewise, a presale may not run longer than the public item sale.
      The public item sale `endTime` storage variable of this contract will
      always override a whitelist's ending time.
    @param price The price that applies to this presale whitelist.
    @param token The address of the token with which purchases in this whitelist
      will be made. If this is the zero address, then this whitelist will
      conduct purchases using ETH.
  */
  struct CreateWhitelist {
    bytes32 root;
    uint256 startTime;
    uint256 endTime;
    uint256 price;
    address token;
  }

  /// A mapping to look up whitelist details for a given whitelist ID.
  mapping ( uint256 => CreateWhitelist ) public whitelists;

  /// A mapping to track the number of items purchases by each caller.
  mapping ( address => uint256 ) public purchaseCounts;

  /// The total number of items sold by the shop.
  uint256 public sold;

  /**
    This struct is used at the moment of NFT purchase to let a caller submit
    proof that they are actually entitled to a position on a presale whitelist.

    @param id The ID of the whitelist to check proof against.
    @param index The element index in the original array for proof verification.
    @param allowance The quantity available to the caller for presale purchase.
    @param proof A submitted proof that the user is on the whitelist.
  */
  struct WhitelistProof {
    uint256 id;
    uint256 index;
    uint256 allowance;
    bytes32[] proof;
  }

  /*
    A struct used to pass shop configuration details upon contract construction.

    @param startTime The time when the public sale begins.
    @param endTime The time when the public sale ends.
    @param totalCap The maximum number of items from the `collection` that may
      be sold.
    @param callerCap The maximum number of items that a single address may
      purchase.
    @param transactionCap The maximum number of items that may be purchased in
      a single transaction.
    @param price The price to sell the item at.
  */
  struct ShopConfiguration {
    uint256 startTime;
    uint256 endTime;
    uint256 totalCap;
    uint256 callerCap;
    uint256 transactionCap;
    uint256 price;
  }

  /**
    Construct a new shop with configuration details about the intended sale.

    @param _collection The address of the ERC-721 item being sold.
    @param _configuration A parameter containing shop configuration information,
      passed here as a struct to avoid a stack-to-deep error.
    @param _whitelists The array of whitelist creation data containing details
      for any presales being run.
  */
  constructor (
    address _collection,
    ShopConfiguration memory _configuration,
    CreateWhitelist[] memory _whitelists
  ) {

    // Perform basic input validation.
    if (_configuration.endTime < _configuration.startTime) {
      revert CannotEndSaleBeforeItStarts();
    }

    // Once input parameters have been validated, set storage.
    collection = _collection;
    startTime = _configuration.startTime;
    endTime = _configuration.endTime;
    totalCap = _configuration.totalCap;
    callerCap = _configuration.callerCap;
    transactionCap = _configuration.transactionCap;
    price = _configuration.price;

    // Store all of the whitelists.
    whitelistCount = _whitelists.length;
    for (uint256 i = 0; i < _whitelists.length; i++) {
      whitelists[i] = _whitelists[i];
    }
  }

  /**
    A private helper function to sell an item to a public sale participant. This
    selling function refunds any overpayment to the user; refunding overpayment
    is expected to be a common situation given the price decay in the Dutch
    auction.

    @param _amount The number of items that the caller would like to purchase.
  */
  function sellPublic (
    uint256 _amount
  ) private {
    uint256 totalCharge = price * _amount;

    // Reject the purchase if the caller is underpaying.
    if (msg.value < totalCharge) { revert CannotUnderpayForMint(); }

    // Refund the caller's excess payment if they overpaid.
    if (msg.value > totalCharge) {
      uint256 excess = msg.value - totalCharge;
      (bool returned, ) = payable(_msgSender()).call{ value: excess }("");
      if (!returned) { revert RefundTransferFailed(); }
    }
  }

  /**
    Calculate a root hash from given parameters.

    @param _index The index of the hashed node from the list.
    @param _node The index of the hashed node at that index.
    @param _merkleProof An array of one required merkle hash per level.

    @return The root hash from given parameters.
  */
  function getRootHash (
    uint256 _index,
    bytes32 _node,
    bytes32[] calldata _merkleProof
  ) private pure returns (bytes32) {
    uint256 path = _index;
    for (uint256 i = 0; i < _merkleProof.length; i++) {
      if ((path & 0x01) == 1) {
        _node = keccak256(abi.encodePacked(_merkleProof[i], _node));
      } else {
        _node = keccak256(abi.encodePacked(_node, _merkleProof[i]));
      }
      path /= 2;
    }
    return _node;
  }

  /**
    A helper function to verify an access against a targeted on-chain merkle
    root.

    @param _accesslistId The id of the accesslist containing the merkleRoot.
    @param _index The index of the hashed node from off-chain list.
    @param _node The actual hashed node which needs to be verified.
    @param _merkleProof The merkle hashes from the off-chain merkle tree.

    @return Whether the provided merkle proof is verifiably part of the on-chain
      root.
  */
  function verify (
    uint256 _accesslistId,
    uint256 _index,
    bytes32 _node,
    bytes32[] calldata _merkleProof
  ) private view returns (bool) {
    if (whitelists[_accesslistId].root == 0) {
      return false;
    } else if (block.timestamp < whitelists[_accesslistId].startTime) {
      return false;
    } else if (block.timestamp > whitelists[_accesslistId].endTime) {
      return false;
    } else if (
      getRootHash(_index, _node, _merkleProof) != whitelists[_accesslistId].root
    ) {
      return false;
    }
    return true;
  }

  /**
    A private helper function to sell an item to a whitelist presale
    participant.

    @param _amount The number of items that the caller would like to purchase.
    @param _whitelist A whitelist proof for users to submit with their claim to
      verify that they are in fact on the whitelist.
  */
  function sellWhitelist (
    uint256 _amount,
    WhitelistProof calldata _whitelist
  ) private {

    // Verify that the caller is on the merkle whitelist.
    bool verified = verify(
      _whitelist.id,
      _whitelist.index,
      keccak256(
        abi.encodePacked(
          _whitelist.index,
          _msgSender(),
          _whitelist.allowance
        )
      ),
      _whitelist.proof
    );

    // Reject the purchase if the caller is not a valid whitelist member.
    if (!verified) { revert CannotVerifyAsWhitelistMember(); }

    // Reject the purchase if the caller is exceeding their whitelist allowance.
    if (purchaseCounts[_msgSender()] + _amount > _whitelist.allowance) {
      revert CannotExceedWhitelistAllowance();
    }

    // Calculate the sale token and price.
    address token = whitelists[_whitelist.id].token;
    uint256 whitelistPrice = whitelists[_whitelist.id].price * _amount;

    // The zero address indicates that the purchase asset is Ether.
    if (token == address(0)) {
      if (msg.value != whitelistPrice) {
        revert CannotTransferIncorrectAmount();
      }

    // Otherwise, the caller is making their purchase with an ERC-20 token.
    } else {
      IERC20(token).safeTransferFrom(
        _msgSender(),
        address(this),
        whitelistPrice
      );
    }
  }

  /**
    Allow a caller to purchase an item.

    @param _amount The amount of items that the caller would like to purchase.
    @param _whitelist The caller-subumitted whitelist proof to check if they
      belong on a presale whitelist.
  */
  function mint (
    uint256 _amount,
    WhitelistProof calldata _whitelist
  ) external payable nonReentrant {

    // Reject purchases for no items.
    if (_amount < 1) { revert CannotBuyZeroItems(); }

    /*
      Reject purchases that happen after the end of the public sale. Do note
      that this means that whitelist sales with an ending duration _after_ the
      end of the public sale are ignored completely. In other words: the ending
      time of the public sale takes precedent over the ending time of a
      whitelisted presale. A whitelisted presale may not continue selling items
      after the public sale has ended.
    */
    if (block.timestamp >= endTime) { revert CannotBuyFromEndedSale(); }

    // Reject purchases that exceed the per-transaction cap.
    if (_amount > transactionCap) {
      revert CannotExceedPerTransactionCap();
    }

    // Reject purchases that exceed the per-caller cap.
    if (purchaseCounts[_msgSender()] + _amount > callerCap) {
      revert CannotExceedPerCallerCap();
    }

    // Reject purchases that exceed the total sale cap.
    if (sold + _amount > totalCap) { revert CannotExceedTotalCap(); }

    /*
      If the current timestamp is greater than this contract's `startTime`, the
      public sale has begun and all users will be directed to the public sale
      functionality.
    */
    if (block.timestamp >= startTime) {
      sellPublic(_amount);

    /*
      Otherwise, since the public sale has not begun, attempt to sell to this
      user as a member of the presale whitelist.
    */
    } else {
      sellWhitelist(_amount, _whitelist);
    }

    // Update the count of items sold.
    sold += _amount;

    // Update the caller's purchase count.
    purchaseCounts[_msgSender()] += _amount;

    // Mint the items.
    ITiny721(collection).mint_Qgo(_msgSender(), _amount);
  }

  /**
    Allow the owner to sweep either Ether or a particular ERC-20 token from the
    contract and send it to another address. This allows the owner of the shop
    to withdraw their funds after the sale is completed.

    @param _token The token to sweep the balance from; if a zero address is sent
      then the contract's balance of Ether will be swept.
    @param _amount The amount of token to sweep.
    @param _destination The address to send the swept tokens to.
  */
  function sweep (
    address _token,
    address _destination,
    uint256 _amount
  ) external onlyOwner nonReentrant {

    // A zero address means we should attempt to sweep Ether.
    if (_token == address(0)) {
      (bool success, ) = payable(_destination).call{ value: _amount }("");
      if (!success) { revert SweepingTransferFailed(); }

    // Otherwise, we should try to sweep an ERC-20 token.
    } else {
      IERC20(_token).safeTransfer(_destination, _amount);
    }
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 8 : ITiny721.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.11;

/**
  @title A minimalistic, gas-efficient ERC-721 implementation forked from the
    `Super721` ERC-721 implementation used by SuperFarm.
  @author Tim Clancy
  @author 0xthrpw
  @author Qazawat Zirak
  @author Rostislav Khlebnikov

  Compared to the original `Super721` implementation that this contract forked
  from, this is a very pared-down contract that includes simple delegated
  minting and transfer locks.

  This contract includes the gas efficiency techniques graciously shared with
  the world in the specific ERC-721 implementation by Chiru Labs that is being
  called "ERC-721A" (https://github.com/chiru-labs/ERC721A). We have validated
  this contract against their test cases.

  February 8th, 2022.
*/
interface ITiny721 {

  /**
    Return whether or not the transfer of a particular token ID `_id` is locked.

    @param _id The ID of the token to check the lock status of.

    @return Whether or not the particular token ID `_id` has transfers locked.
  */
  function transferLocks (
    uint256 _id
  ) external returns (bool);

  /**
    Provided with an address parameter, this function returns the number of all
    tokens in this collection that are owned by the specified address.

    @param _owner The address of the account for which we are checking balances
  */
  function balanceOf (
    address _owner
  ) external returns ( uint256 );

  /**
    Return the address that holds a particular token ID.

    @param _id The token ID to check for the holding address of.

    @return The address that holds the token with ID of `_id`.
  */
  function ownerOf (
    uint256 _id
  ) external returns (address);

  /**
    This function allows permissioned minters of this contract to mint one or
    more tokens dictated by the `_amount` parameter. Any minted tokens are sent
    to the `_recipient` address.

    Note that tokens are always minted sequentially starting at one. That is,
    the list of token IDs is always increasing and looks like [ 1, 2, 3... ].
    Also note that per our use cases the intended recipient of these minted
    items will always be externally-owned accounts and not other contracts. As a
    result there is no safety check on whether or not the mint destination can
    actually correctly handle an ERC-721 token.

    @param _recipient The recipient of the tokens being minted.
    @param _amount The amount of tokens to mint.
  */
  function mint_Qgo (
    address _recipient,
    uint256 _amount
  ) external;

  /**
    This function allows an administrative caller to lock the transfer of
    particular token IDs. This is designed for a non-escrow staking contract
    that comes later to lock a user's NFT while still letting them keep it in
    their wallet.

    @param _id The ID of the token to lock.
    @param _locked The status of the lock; true to lock, false to unlock.
  */
  function lockTransfer (
    uint256 _id,
    bool _locked
  ) external;
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_collection","type":"address"},{"components":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"totalCap","type":"uint256"},{"internalType":"uint256","name":"callerCap","type":"uint256"},{"internalType":"uint256","name":"transactionCap","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct DropPresaleShop721.ShopConfiguration","name":"_configuration","type":"tuple"},{"components":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"internalType":"struct DropPresaleShop721.CreateWhitelist[]","name":"_whitelists","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CannotBuyFromEndedSale","type":"error"},{"inputs":[],"name":"CannotBuyZeroItems","type":"error"},{"inputs":[],"name":"CannotEndSaleBeforeItStarts","type":"error"},{"inputs":[],"name":"CannotExceedPerCallerCap","type":"error"},{"inputs":[],"name":"CannotExceedPerTransactionCap","type":"error"},{"inputs":[],"name":"CannotExceedTotalCap","type":"error"},{"inputs":[],"name":"CannotExceedWhitelistAllowance","type":"error"},{"inputs":[],"name":"CannotTransferIncorrectAmount","type":"error"},{"inputs":[],"name":"CannotUnderpayForMint","type":"error"},{"inputs":[],"name":"CannotVerifyAsWhitelistMember","type":"error"},{"inputs":[],"name":"RefundTransferFailed","type":"error"},{"inputs":[],"name":"SweepingTransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"callerCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collection","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"internalType":"struct DropPresaleShop721.WhitelistProof","name":"_whitelist","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchaseCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelists","outputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"stateMutability":"view","type":"function"}]

6101806040523480156200001257600080fd5b50604051620017433803806200174383398101604081905262000035916200032d565b620000403362000151565b600180558151602083015110156200006b5760405163174562e960e21b815260040160405180910390fd5b6001600160a01b0383166080908152825160a0908152602084015160c052604084015160e05260608401516101005290830151610120528201516101405280516101605260005b81518110156200014757818181518110620000d157620000d1620003de565b602090810291909101810151600083815260028084526040918290208351815593830151600185015590820151908301556060810151600383015560800151600490910180546001600160a01b0319166001600160a01b03909216919091179055806200013e81620003f4565b915050620000b2565b505050506200041e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620001b957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60405160a081016001600160401b0381118282101715620001f957620001f9620001be565b60405290565b60405160c081016001600160401b0381118282101715620001f957620001f9620001be565b604051601f8201601f191681016001600160401b03811182821017156200024f576200024f620001be565b604052919050565b600082601f8301126200026957600080fd5b815160206001600160401b03821115620002875762000287620001be565b62000297818360051b0162000224565b82815260a09283028501820192828201919087851115620002b757600080fd5b8387015b85811015620003205781818a031215620002d55760008081fd5b620002df620001d4565b815181528582015186820152604080830151908201526060808301519082015260806200030e818401620001a1565b908201528452928401928101620002bb565b5090979650505050505050565b60008060008385036101008112156200034557600080fd5b6200035085620001a1565b935060c0601f19820112156200036557600080fd5b5062000370620001ff565b6020850151815260408501516020820152606085015160408201526080850151606082015260a0850151608082015260c085015160a08201528092505060e084015160018060401b03811115620003c657600080fd5b620003d48682870162000257565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200041757634e487b7160e01b600052601160045260246000fd5b5060010190565b60805160a05160c05160e0516101005161012051610140516101605161128e620004b5600039600061031f0152600081816102eb015261098801526000818161019b01526106340152600081816102b7015261068501526000818161013301526106d101526000818161016701526105f4015260008181610219015261071f01526000818161024d0152610799015261128e6000f3fe6080604052600436106100f35760003560e01c80637de1e5361161008a578063f2624b5d11610059578063f2624b5d1461030d578063f2fde38b14610341578063fe4d5add14610361578063ff114891146103e557600080fd5b80637de1e5361461023b5780638da5cb5b14610287578063940b4465146102a5578063a035b1fe146102d957600080fd5b806362c06767116100c657806362c06767146101bd578063715018a6146101df578063726f68e4146101f457806378e979251461020757600080fd5b806302c7e7af146100f857806316450092146101215780633197cbb614610155578063410d3e6714610189575b600080fd5b34801561010457600080fd5b5061010e60045481565b6040519081526020015b60405180910390f35b34801561012d57600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561016157600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561019557600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156101c957600080fd5b506101dd6101d8366004610fc0565b610412565b005b3480156101eb57600080fd5b506101dd610542565b6101dd610202366004610ffc565b610578565b34801561021357600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561024757600080fd5b5061026f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610118565b34801561029357600080fd5b506000546001600160a01b031661026f565b3480156102b157600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102e557600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561031957600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561034d57600080fd5b506101dd61035c36600461104a565b61082d565b34801561036d57600080fd5b506103b461037c366004611065565b60026020819052600091825260409091208054600182015492820154600383015460049093015491939290916001600160a01b031685565b6040805195865260208601949094529284019190915260608301526001600160a01b0316608082015260a001610118565b3480156103f157600080fd5b5061010e61040036600461104a565b60036020526000908152604090205481565b6000546001600160a01b031633146104455760405162461bcd60e51b815260040161043c9061107e565b60405180910390fd5b600260015414156104985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043c565b60026001556001600160a01b038316610525576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146104f8576040519150601f19603f3d011682016040523d82523d6000602084013e6104fd565b606091505b505090508061051f57604051639081276360e01b815260040160405180910390fd5b50610539565b6105396001600160a01b03841683836108c8565b50506001805550565b6000546001600160a01b0316331461056c5760405162461bcd60e51b815260040161043c9061107e565b6105766000610930565b565b600260015414156105cb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043c565b600260019081558210156105f257604051632e2e531360e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004210610632576040516382272bc160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008211156106735760405163eeb0781760e01b815260040160405180910390fd5b336000908152600360205260409020547f0000000000000000000000000000000000000000000000000000000000000000906106b09084906110c9565b11156106cf576040516374441b5960e11b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000826004546106fe91906110c9565b111561071d57604051636f9f46c960e11b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000042106107525761074d82610980565b61075c565b61075c8282610a56565b816004600082825461076e91906110c9565b909155505033600090815260036020526040812080548492906107929084906110c9565b90915550507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611784336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401600060405180830381600087803b15801561080d57600080fd5b505af1158015610821573d6000803e3d6000fd5b50506001805550505050565b6000546001600160a01b031633146108575760405162461bcd60e51b815260040161043c9061107e565b6001600160a01b0381166108bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043c565b6108c581610930565b50565b6040516001600160a01b03831660248201526044810182905261092b90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ba3565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006109ac827f00000000000000000000000000000000000000000000000000000000000000006110e1565b9050803410156109cf57604051636123fa2560e11b815260040160405180910390fd5b80341115610a525760006109e38234611100565b604051909150600090339083908381818185875af1925050503d8060008114610a28576040519150601f19603f3d011682016040523d82523d6000602084013e610a2d565b606091505b5050905080610a4f5760405163cbe4e8c360e01b815260040160405180910390fd5b50505b5050565b604080516020808401359082018190526bffffffffffffffffffffffff193360601b1682840152918301356054820152600091610abe918435919060740160408051601f198184030181529190528051602090910120610ab96060870187611117565b610c75565b905080610ade5760405163450bec9f60e01b815260040160405180910390fd5b3360009081526003602052604090819020549083013590610b009085906110c9565b1115610b1f5760405163a2251bcb60e01b815260040160405180910390fd5b8135600090815260026020526040812060048101546003909101546001600160a01b039091169190610b529086906110e1565b90506001600160a01b038216610b8757803414610b825760405163a9bd1ecd60e01b815260040160405180910390fd5b610b9c565b610b9c6001600160a01b038316333084610d08565b5050505050565b6000610bf8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d409092919063ffffffff16565b80519091501561092b5780806020019051810190610c169190611168565b61092b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161043c565b600085815260026020526040812054610c9057506000610cff565b600086815260026020526040902060010154421015610cb157506000610cff565b60008681526002602081905260409091200154421115610cd357506000610cff565b600086815260026020526040902054610cee86868686610d59565b14610cfb57506000610cff565b5060015b95945050505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610a4f9085906323b872dd60e01b906084016108f4565b6060610d4f8484600085610e3a565b90505b9392505050565b600084815b83811015610e2f578160011660011415610dc357848482818110610d8457610d8461118a565b9050602002013586604051602001610da6929190918252602082015260400190565b604051602081830303815290604052805190602001209550610e10565b85858583818110610dd657610dd661118a565b90506020020135604051602001610df7929190918252602082015260400190565b6040516020818303038152906040528051906020012095505b610e1b6002836111a0565b915080610e27816111c2565b915050610d5e565b509395945050505050565b606082471015610e9b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161043c565b6001600160a01b0385163b610ef25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161043c565b600080866001600160a01b03168587604051610f0e9190611209565b60006040518083038185875af1925050503d8060008114610f4b576040519150601f19603f3d011682016040523d82523d6000602084013e610f50565b606091505b5091509150610f60828286610f6b565b979650505050505050565b60608315610f7a575081610d52565b825115610f8a5782518084602001fd5b8160405162461bcd60e51b815260040161043c9190611225565b80356001600160a01b0381168114610fbb57600080fd5b919050565b600080600060608486031215610fd557600080fd5b610fde84610fa4565b9250610fec60208501610fa4565b9150604084013590509250925092565b6000806040838503121561100f57600080fd5b82359150602083013567ffffffffffffffff81111561102d57600080fd5b83016080818603121561103f57600080fd5b809150509250929050565b60006020828403121561105c57600080fd5b610d5282610fa4565b60006020828403121561107757600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156110dc576110dc6110b3565b500190565b60008160001904831182151516156110fb576110fb6110b3565b500290565b600082821015611112576111126110b3565b500390565b6000808335601e1984360301811261112e57600080fd5b83018035915067ffffffffffffffff82111561114957600080fd5b6020019150600581901b360382131561116157600080fd5b9250929050565b60006020828403121561117a57600080fd5b81518015158114610d5257600080fd5b634e487b7160e01b600052603260045260246000fd5b6000826111bd57634e487b7160e01b600052601260045260246000fd5b500490565b60006000198214156111d6576111d66110b3565b5060010190565b60005b838110156111f85781810151838201526020016111e0565b83811115610a4f5750506000910152565b6000825161121b8184602087016111dd565b9190910192915050565b60208152600082518060208401526112448160408501602087016111dd565b601f01601f1916919091016040019291505056fea2646970667358221220b7f7335c4d49c91be7075013add3270d87117f3a115c628c6b9cbb4dccb9229f64736f6c634300080b00330000000000000000000000003110ef5f612208724ca51f5761a69081809f03b70000000000000000000000000000000000000000000000000000000062435730ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000d529ae9e86000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000232ae0274005457e8ef2bea485d503cd1ba92bff0d46334e3619835ab9eb6218400000000000000000000000000000000000000000000000000000000624205b0000000000000000000000000000000000000000000000000000000006243573000000000000000000000000000000000000000000000000009935f581f050000000000000000000000000000000000000000000000000000000000000000000032ae0274005457e8ef2bea485d503cd1ba92bff0d46334e3619835ab9eb6218400000000000000000000000000000000000000000000000000000000624205b000000000000000000000000000000000000000000000000000000000624357300000000000000000000000000000000000000000000000a80d24677efef00000000000000000000000000000e53ec727dbdeb9e2d5456c3be40cff031ab40a55

Deployed Bytecode

0x6080604052600436106100f35760003560e01c80637de1e5361161008a578063f2624b5d11610059578063f2624b5d1461030d578063f2fde38b14610341578063fe4d5add14610361578063ff114891146103e557600080fd5b80637de1e5361461023b5780638da5cb5b14610287578063940b4465146102a5578063a035b1fe146102d957600080fd5b806362c06767116100c657806362c06767146101bd578063715018a6146101df578063726f68e4146101f457806378e979251461020757600080fd5b806302c7e7af146100f857806316450092146101215780633197cbb614610155578063410d3e6714610189575b600080fd5b34801561010457600080fd5b5061010e60045481565b6040519081526020015b60405180910390f35b34801561012d57600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000271081565b34801561016157600080fd5b5061010e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561019557600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000281565b3480156101c957600080fd5b506101dd6101d8366004610fc0565b610412565b005b3480156101eb57600080fd5b506101dd610542565b6101dd610202366004610ffc565b610578565b34801561021357600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000006243573081565b34801561024757600080fd5b5061026f7f0000000000000000000000003110ef5f612208724ca51f5761a69081809f03b781565b6040516001600160a01b039091168152602001610118565b34801561029357600080fd5b506000546001600160a01b031661026f565b3480156102b157600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000581565b3480156102e557600080fd5b5061010e7f0000000000000000000000000000000000000000000000000d529ae9e860000081565b34801561031957600080fd5b5061010e7f000000000000000000000000000000000000000000000000000000000000000281565b34801561034d57600080fd5b506101dd61035c36600461104a565b61082d565b34801561036d57600080fd5b506103b461037c366004611065565b60026020819052600091825260409091208054600182015492820154600383015460049093015491939290916001600160a01b031685565b6040805195865260208601949094529284019190915260608301526001600160a01b0316608082015260a001610118565b3480156103f157600080fd5b5061010e61040036600461104a565b60036020526000908152604090205481565b6000546001600160a01b031633146104455760405162461bcd60e51b815260040161043c9061107e565b60405180910390fd5b600260015414156104985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043c565b60026001556001600160a01b038316610525576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146104f8576040519150601f19603f3d011682016040523d82523d6000602084013e6104fd565b606091505b505090508061051f57604051639081276360e01b815260040160405180910390fd5b50610539565b6105396001600160a01b03841683836108c8565b50506001805550565b6000546001600160a01b0316331461056c5760405162461bcd60e51b815260040161043c9061107e565b6105766000610930565b565b600260015414156105cb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043c565b600260019081558210156105f257604051632e2e531360e11b815260040160405180910390fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff4210610632576040516382272bc160e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000028211156106735760405163eeb0781760e01b815260040160405180910390fd5b336000908152600360205260409020547f0000000000000000000000000000000000000000000000000000000000000005906106b09084906110c9565b11156106cf576040516374441b5960e11b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000002710826004546106fe91906110c9565b111561071d57604051636f9f46c960e11b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000006243573042106107525761074d82610980565b61075c565b61075c8282610a56565b816004600082825461076e91906110c9565b909155505033600090815260036020526040812080548492906107929084906110c9565b90915550507f0000000000000000000000003110ef5f612208724ca51f5761a69081809f03b76001600160a01b0316611784336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401600060405180830381600087803b15801561080d57600080fd5b505af1158015610821573d6000803e3d6000fd5b50506001805550505050565b6000546001600160a01b031633146108575760405162461bcd60e51b815260040161043c9061107e565b6001600160a01b0381166108bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043c565b6108c581610930565b50565b6040516001600160a01b03831660248201526044810182905261092b90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ba3565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006109ac827f0000000000000000000000000000000000000000000000000d529ae9e86000006110e1565b9050803410156109cf57604051636123fa2560e11b815260040160405180910390fd5b80341115610a525760006109e38234611100565b604051909150600090339083908381818185875af1925050503d8060008114610a28576040519150601f19603f3d011682016040523d82523d6000602084013e610a2d565b606091505b5050905080610a4f5760405163cbe4e8c360e01b815260040160405180910390fd5b50505b5050565b604080516020808401359082018190526bffffffffffffffffffffffff193360601b1682840152918301356054820152600091610abe918435919060740160408051601f198184030181529190528051602090910120610ab96060870187611117565b610c75565b905080610ade5760405163450bec9f60e01b815260040160405180910390fd5b3360009081526003602052604090819020549083013590610b009085906110c9565b1115610b1f5760405163a2251bcb60e01b815260040160405180910390fd5b8135600090815260026020526040812060048101546003909101546001600160a01b039091169190610b529086906110e1565b90506001600160a01b038216610b8757803414610b825760405163a9bd1ecd60e01b815260040160405180910390fd5b610b9c565b610b9c6001600160a01b038316333084610d08565b5050505050565b6000610bf8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d409092919063ffffffff16565b80519091501561092b5780806020019051810190610c169190611168565b61092b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161043c565b600085815260026020526040812054610c9057506000610cff565b600086815260026020526040902060010154421015610cb157506000610cff565b60008681526002602081905260409091200154421115610cd357506000610cff565b600086815260026020526040902054610cee86868686610d59565b14610cfb57506000610cff565b5060015b95945050505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610a4f9085906323b872dd60e01b906084016108f4565b6060610d4f8484600085610e3a565b90505b9392505050565b600084815b83811015610e2f578160011660011415610dc357848482818110610d8457610d8461118a565b9050602002013586604051602001610da6929190918252602082015260400190565b604051602081830303815290604052805190602001209550610e10565b85858583818110610dd657610dd661118a565b90506020020135604051602001610df7929190918252602082015260400190565b6040516020818303038152906040528051906020012095505b610e1b6002836111a0565b915080610e27816111c2565b915050610d5e565b509395945050505050565b606082471015610e9b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161043c565b6001600160a01b0385163b610ef25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161043c565b600080866001600160a01b03168587604051610f0e9190611209565b60006040518083038185875af1925050503d8060008114610f4b576040519150601f19603f3d011682016040523d82523d6000602084013e610f50565b606091505b5091509150610f60828286610f6b565b979650505050505050565b60608315610f7a575081610d52565b825115610f8a5782518084602001fd5b8160405162461bcd60e51b815260040161043c9190611225565b80356001600160a01b0381168114610fbb57600080fd5b919050565b600080600060608486031215610fd557600080fd5b610fde84610fa4565b9250610fec60208501610fa4565b9150604084013590509250925092565b6000806040838503121561100f57600080fd5b82359150602083013567ffffffffffffffff81111561102d57600080fd5b83016080818603121561103f57600080fd5b809150509250929050565b60006020828403121561105c57600080fd5b610d5282610fa4565b60006020828403121561107757600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156110dc576110dc6110b3565b500190565b60008160001904831182151516156110fb576110fb6110b3565b500290565b600082821015611112576111126110b3565b500390565b6000808335601e1984360301811261112e57600080fd5b83018035915067ffffffffffffffff82111561114957600080fd5b6020019150600581901b360382131561116157600080fd5b9250929050565b60006020828403121561117a57600080fd5b81518015158114610d5257600080fd5b634e487b7160e01b600052603260045260246000fd5b6000826111bd57634e487b7160e01b600052601260045260246000fd5b500490565b60006000198214156111d6576111d66110b3565b5060010190565b60005b838110156111f85781810151838201526020016111e0565b83811115610a4f5750506000910152565b6000825161121b8184602087016111dd565b9190910192915050565b60208152600082518060208401526112448160408501602087016111dd565b601f01601f1916919091016040019291505056fea2646970667358221220b7f7335c4d49c91be7075013add3270d87117f3a115c628c6b9cbb4dccb9229f64736f6c634300080b0033

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

0000000000000000000000003110ef5f612208724ca51f5761a69081809f03b70000000000000000000000000000000000000000000000000000000062435730ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000d529ae9e86000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000232ae0274005457e8ef2bea485d503cd1ba92bff0d46334e3619835ab9eb6218400000000000000000000000000000000000000000000000000000000624205b0000000000000000000000000000000000000000000000000000000006243573000000000000000000000000000000000000000000000000009935f581f050000000000000000000000000000000000000000000000000000000000000000000032ae0274005457e8ef2bea485d503cd1ba92bff0d46334e3619835ab9eb6218400000000000000000000000000000000000000000000000000000000624205b000000000000000000000000000000000000000000000000000000000624357300000000000000000000000000000000000000000000000a80d24677efef00000000000000000000000000000e53ec727dbdeb9e2d5456c3be40cff031ab40a55

-----Decoded View---------------
Arg [0] : _collection (address): 0x3110EF5f612208724CA51F5761A69081809F03B7
Arg [1] : _configuration (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [2] : _whitelists (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000003110ef5f612208724ca51f5761a69081809f03b7
Arg [1] : 0000000000000000000000000000000000000000000000000000000062435730
Arg [2] : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Arg [3] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 0000000000000000000000000000000000000000000000000d529ae9e8600000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 32ae0274005457e8ef2bea485d503cd1ba92bff0d46334e3619835ab9eb62184
Arg [10] : 00000000000000000000000000000000000000000000000000000000624205b0
Arg [11] : 0000000000000000000000000000000000000000000000000000000062435730
Arg [12] : 00000000000000000000000000000000000000000000000009935f581f050000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 32ae0274005457e8ef2bea485d503cd1ba92bff0d46334e3619835ab9eb62184
Arg [15] : 00000000000000000000000000000000000000000000000000000000624205b0
Arg [16] : 0000000000000000000000000000000000000000000000000000000062435730
Arg [17] : 0000000000000000000000000000000000000000000000a80d24677efef00000
Arg [18] : 000000000000000000000000e53ec727dbdeb9e2d5456c3be40cff031ab40a55


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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