ETH Price: $3,387.90 (+1.59%)

Contract

0x0b9869C0b6601544F776284320423bC31fA0dc80
 
Transaction Hash
Method
Block
From
To
0x456369dcb06ebddbd3f56b43978dccaa39911653cebcf82f567b85ee753d916d Claim(pending)2024-12-22 1:29:536 days ago1734830993IN
0x0b9869C0...31fA0dc80
0 ETH(Pending)(Pending)
Claim214782282024-12-25 8:14:593 days ago1735114499IN
0x0b9869C0...31fA0dc80
0 ETH0.000441624.37499528
Claim214513692024-12-21 14:05:597 days ago1734789959IN
0x0b9869C0...31fA0dc80
0 ETH0.0010902110.80042435
Claim214468162024-12-20 22:48:117 days ago1734734891IN
0x0b9869C0...31fA0dc80
0 ETH0.0011449311.3425282
Claim214356442024-12-19 9:22:359 days ago1734600155IN
0x0b9869C0...31fA0dc80
0 ETH0.000319559.67757284
Claim214356282024-12-19 9:19:239 days ago1734599963IN
0x0b9869C0...31fA0dc80
0 ETH0.00032399.80927078
Claim214356242024-12-19 9:18:359 days ago1734599915IN
0x0b9869C0...31fA0dc80
0 ETH0.0003442610.42589904
Claim214113552024-12-15 23:59:4712 days ago1734307187IN
0x0b9869C0...31fA0dc80
0 ETH0.0005260115.93017549
Claim214113342024-12-15 23:55:3512 days ago1734306935IN
0x0b9869C0...31fA0dc80
0 ETH0.0005109215.4731484
Claim214113102024-12-15 23:50:4712 days ago1734306647IN
0x0b9869C0...31fA0dc80
0 ETH0.0004558913.80676044
Claim214113082024-12-15 23:50:2312 days ago1734306623IN
0x0b9869C0...31fA0dc80
0 ETH0.0004993115.1216324
Claim214112962024-12-15 23:47:5912 days ago1734306479IN
0x0b9869C0...31fA0dc80
0 ETH0.0004864314.73165193
Claim214110012024-12-15 22:48:4712 days ago1734302927IN
0x0b9869C0...31fA0dc80
0 ETH0.000721457.14719575
Claim214102172024-12-15 20:11:2313 days ago1734293483IN
0x0b9869C0...31fA0dc80
0 ETH0.0010274410.1785704
Claim214100532024-12-15 19:38:2313 days ago1734291503IN
0x0b9869C0...31fA0dc80
0 ETH0.0010890610.78900774
Claim214066732024-12-15 8:17:1113 days ago1734250631IN
0x0b9869C0...31fA0dc80
0 ETH0.000578985.7358493
Claim213920702024-12-13 7:22:4715 days ago1734074567IN
0x0b9869C0...31fA0dc80
0 ETH0.0010837610.73647323
Claim213877272024-12-12 16:49:4716 days ago1734022187IN
0x0b9869C0...31fA0dc80
0 ETH0.0033180232.87056722
Claim213874062024-12-12 15:45:3516 days ago1734018335IN
0x0b9869C0...31fA0dc80
0 ETH0.001079932.70453154
Claim213873672024-12-12 15:37:4716 days ago1734017867IN
0x0b9869C0...31fA0dc80
0 ETH0.0010196830.88087433
Claim213873622024-12-12 15:36:4716 days ago1734017807IN
0x0b9869C0...31fA0dc80
0 ETH0.0010147730.73220707
Claim213873592024-12-12 15:36:1116 days ago1734017771IN
0x0b9869C0...31fA0dc80
0 ETH0.0010768832.61304081
Claim213701142024-12-10 5:48:1118 days ago1733809691IN
0x0b9869C0...31fA0dc80
0 ETH0.0004152712.57634807
Claim213701142024-12-10 5:48:1118 days ago1733809691IN
0x0b9869C0...31fA0dc80
0 ETH0.0012694812.57634807
Claim213645382024-12-09 11:06:3519 days ago1733742395IN
0x0b9869C0...31fA0dc80
0 ETH0.0010597610.49871883
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
169991042023-04-07 20:56:11630 days ago1680900971
0x0b9869C0...31fA0dc80
0.01339718 ETH
169919552023-04-06 20:37:11631 days ago1680813431
0x0b9869C0...31fA0dc80
0.01266234 ETH
169915752023-04-06 19:20:11632 days ago1680808811
0x0b9869C0...31fA0dc80
0.00855901 ETH
169915012023-04-06 19:05:11632 days ago1680807911
0x0b9869C0...31fA0dc80
0.02141012 ETH
169526512023-04-01 6:54:11637 days ago1680332051
0x0b9869C0...31fA0dc80
0.00113452 ETH
169526492023-04-01 6:53:47637 days ago1680332027
0x0b9869C0...31fA0dc80
0.00020928 ETH
169526482023-04-01 6:53:35637 days ago1680332015
0x0b9869C0...31fA0dc80
0.00009913 ETH
169526462023-04-01 6:53:11637 days ago1680331991
0x0b9869C0...31fA0dc80
0.00060581 ETH
169526442023-04-01 6:52:47637 days ago1680331967
0x0b9869C0...31fA0dc80
0.00242324 ETH
169526432023-04-01 6:52:35637 days ago1680331955
0x0b9869C0...31fA0dc80
0.01999179 ETH
169526402023-04-01 6:51:59637 days ago1680331919
0x0b9869C0...31fA0dc80
0.00299601 ETH
169526392023-04-01 6:51:47637 days ago1680331907
0x0b9869C0...31fA0dc80
0.0275369 ETH
169526392023-04-01 6:51:47637 days ago1680331907
0x0b9869C0...31fA0dc80
0.00165221 ETH
169526342023-04-01 6:50:47637 days ago1680331847
0x0b9869C0...31fA0dc80
0.10999339 ETH
169526332023-04-01 6:50:23637 days ago1680331823
0x0b9869C0...31fA0dc80
10.99998967 ETH
169526332023-04-01 6:50:23637 days ago1680331823
0x0b9869C0...31fA0dc80
0.00199367 ETH
169526322023-04-01 6:50:11637 days ago1680331811
0x0b9869C0...31fA0dc80
0.01101476 ETH
169526312023-04-01 6:49:59637 days ago1680331799
0x0b9869C0...31fA0dc80
0.54998901 ETH
169526302023-04-01 6:49:47637 days ago1680331787
0x0b9869C0...31fA0dc80
0.0649981 ETH
169526272023-04-01 6:49:11637 days ago1680331751
0x0b9869C0...31fA0dc80
0.01999179 ETH
169526232023-04-01 6:48:23637 days ago1680331703
0x0b9869C0...31fA0dc80
0.15420664 ETH
169526182023-04-01 6:47:23637 days ago1680331643
0x0b9869C0...31fA0dc80
0.04499529 ETH
169526182023-04-01 6:47:23637 days ago1680331643
0x0b9869C0...31fA0dc80
0.05198966 ETH
169526162023-04-01 6:46:59637 days ago1680331619
0x0b9869C0...31fA0dc80
0.01211623 ETH
169526142023-04-01 6:46:35637 days ago1680331595
0x0b9869C0...31fA0dc80
0.09999199 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MetacadePresaleV2

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : MetacadePresale.v2.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../interfaces/v1/IMetacadePresale.v1.sol";
import "../interfaces/v2/IMetacadePresale.v2.sol";
import "../interfaces/IAggregator.sol";

contract MetacadePresaleV2 is IMetacadePresaleV2, Pausable, Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;
    
    address public immutable saleToken;
    IMetacadePresaleV1 public immutable previousPresale;
    IMetacadePresaleV1 public immutable betaPresale;

    uint256 public totalTokensSold;
    uint256 public startTime;
    uint256 public endTime;
    uint256 public claimStart;
    uint256 public currentStep;

    uint256[9] public token_amount;
    uint256[9] public token_price;
    uint8 constant maxStepIndex = 8;
    bool isSynchronized;

    IERC20 public USDTInterface;
    IAggregator public aggregatorInterface;

    mapping(address => uint256) _userDeposits;
    mapping(address => bool) public hasClaimed;
    mapping(address => bool) public blacklist;

    modifier checkSaleState(uint256 amount) {
        require(
            block.timestamp >= startTime && block.timestamp <= endTime,
            "Invalid time for buying"
        );
        require(amount > 0, "Invalid sale amount");
        require(amount + totalTokensSold <= token_amount[maxStepIndex], "Insufficient funds");
        _;
    }

    modifier notBlacklisted() {
        require(!blacklist[_msgSender()], "You are in blacklist");
        _;
    }

    /**
     * @dev Creates the contract
     * @param _previousPresale      - Address of previous presale
     * @param _betaPresale          - Address of beta presale
     * @param _saleToken start      - Address of Metacade token
     * @param _aggregatorInterface  - Address of Chainlink ETH/USD price feed
     * @param _USDTInterface        - Address of USDT token
     * @param _token_amount         - Array of prices for each presale step
     * @param _token_price          - Array of totalTokenSold limit for each step
     * @param _startTime            - Sale start time
     * @param _endTime              - Sale end time
     */
    constructor(
        address _previousPresale,
        address _betaPresale,
        address _saleToken,
        address _aggregatorInterface,
        address _USDTInterface,
        uint256[9] memory _token_amount,
        uint256[9] memory _token_price,
        uint256 _startTime,
        uint256 _endTime
    ) {
        require(_aggregatorInterface != address(0), "Zero aggregator address");
        require(_USDTInterface != address(0), "Zero USDT address");
        require(_saleToken != address(0), "Zero sale token address");
        require(
            _endTime > _startTime,
            "Invalid time"
        );
        previousPresale = IMetacadePresaleV1(_previousPresale);
        betaPresale = IMetacadePresaleV1(_betaPresale);
        saleToken = _saleToken;
        aggregatorInterface = IAggregator(_aggregatorInterface);
        USDTInterface = IERC20(_USDTInterface);
        token_amount = _token_amount;
        token_price = _token_price;
        startTime = _startTime;
        endTime = _endTime;

        emit SaleTimeSet(_startTime, _endTime, block.timestamp);
    }


    /**
     * @dev To synchronize totalTokensSold with previous presales and calculate current step
     */
    function sync() external onlyOwner {
        require(!isSynchronized, "Already synchronized");
        totalTokensSold = previousPresale.totalTokensSold() + betaPresale.totalTokensSold();
        currentStep = _getStepByTotalSoldAmount();
        isSynchronized = true;
    }

    /**
     * @dev To pause the presale
     */
    function pause() external onlyOwner {
        _pause();
    }

    /**
     * @dev To unpause the presale
     */
    function unpause() external onlyOwner {
        _unpause();
    }

    /**
     * @dev To update the sale times
     * @param _startTime - New sales start time
     * @param _endTime   - New sales end time
     */
    function changeSaleTimes(uint256 _startTime, uint256 _endTime)
    external
    onlyOwner
    {
            if (startTime != _startTime) startTime = _startTime;
            if (endTime != _endTime) endTime = _endTime;
            emit SaleTimeSet(
                _startTime,
                _endTime,
                block.timestamp
        );
    }

    /**
     * @dev To set the claim
     * @param _claimStart - claim start time
     * @notice Function also makes sure that presale have enough sale token balance
     */
    function configureClaim(
        uint256 _claimStart
    ) external onlyOwner returns (bool) {
        require(IERC20(saleToken).balanceOf(address(this)) >= totalTokensSold * 1e18, "Not enough balance");
        claimStart = _claimStart;
        return true;
    }

    /**
     * @dev To add users to blacklist
     * @param _users - Array of addresses to add in blacklist
     */
    function addToBlacklist(address[] calldata _users) external onlyOwner {
        uint256 usersAmount = _users.length;
        uint256 i = 0;
        while(i<usersAmount) blacklist[_users[i++]] = true;
    }

    /**
     * @dev To remove users from blacklist
     * @param _users - Array of addresses to remove from blacklist
     */
    function removeFromBlacklist(address[] calldata _users) external onlyOwner {
        uint256 usersAmount = _users.length;
        uint256 i = 0;
        while(i<usersAmount) blacklist[_users[i++]] = false;
    }

    /**
     * @dev Returns price for current step
     */
    function getCurrentPrice() external view returns (uint256) {
        return token_price[currentStep];
    }

    /**
     * @dev Returns amount of tokens sold on current step
     */
    function getSoldOnCurrentStage() external view returns (uint256 soldOnCurrentStage) {
        soldOnCurrentStage = totalTokensSold - ((currentStep == 0)? 0 : token_amount[currentStep-1]);
    }

    /**
     * @dev Returns presale last stage token amount limit
     */
    function getTotalPresaleAmount() external view returns (uint256) {
        return token_amount[maxStepIndex];
    }

    /**
     * @dev Returns total price of sold tokens
     * @notice Value may be inaccurate, since not all tokens were sold on the beta presale
     */
    function totalSoldPrice() external view returns (uint256) {
        return _calculateInternalCost(totalTokensSold, 0 ,0);
    }

    /**
     * @dev Returns total price of sold tokens
     * @param _tokenAddress - Address of token to resque
     * @param _amount       - Amount of tokens to resque
     */
    function resqueERC20(address _tokenAddress, uint256 _amount) external onlyOwner {
        IERC20(_tokenAddress).safeTransfer(_msgSender(), _amount);
    }

    /**
     * @dev Returns tokens purchased by the user
     * @param _user - Address of user
     * @notice Takes into account the number of tokens purchased by the user on the previous presale and beta presale
     */
    function userDeposits(address _user) public view returns(uint256) {
        if (hasClaimed[_user]) return 0;
        return _userDeposits[_user] + previousPresale.userDeposits(_user) + betaPresale.userDeposits(_user);
    }

    /**
     * @dev To buy into a presale using ETH
     * @param _amount - Amount of tokens to buy
     */
    function buyWithEth(uint256 _amount) external payable checkSaleState(_amount) notBlacklisted whenNotPaused nonReentrant returns (bool) {
        uint256 ethAmount = ethBuyHelper(_amount);
        require(msg.value >= ethAmount, "Less payment");
        _sendValue(payable(owner()), ethAmount);
        uint256 excess = msg.value - ethAmount;
        if (excess > 0) _sendValue(payable(_msgSender()), excess);
        totalTokensSold += _amount;
        _userDeposits[_msgSender()] += _amount * 1e18;
        uint8 stepAfterPurchase = _getStepByTotalSoldAmount();
        if (stepAfterPurchase>currentStep) currentStep = stepAfterPurchase;
        emit TokensBought(
            _msgSender(),
            _amount,
            ethAmount,
            block.timestamp
        );
        return true;
    }

    /**
     * @dev To buy into a presale using USDT
     * @param _amount - Amount of tokens to buy
     */
    function buyWithUSDT(uint256 _amount) external checkSaleState(_amount) notBlacklisted whenNotPaused nonReentrant returns (bool) {
        uint256 usdtPrice = usdtBuyHelper(_amount);
        require(usdtPrice <= USDTInterface.allowance(
            _msgSender(),
            address(this)
        ), "Not enough allowance");
        USDTInterface.safeTransferFrom(
                _msgSender(),
                owner(),
                usdtPrice
            );
        totalTokensSold += _amount;
        _userDeposits[_msgSender()] += _amount * 1e18;
        uint8 stepAfterPurchase = _getStepByTotalSoldAmount();
        if (stepAfterPurchase>currentStep) currentStep = stepAfterPurchase;
        emit TokensBought(
            _msgSender(),
            _amount,
            usdtPrice,
            block.timestamp
        );
        return true;
    }

    /**
     * @dev To claim tokens after claiming starts
     */
    function claim() external whenNotPaused nonReentrant {
        require(block.timestamp >= claimStart && claimStart > 0, "Claim has not started yet");
        require(!hasClaimed[_msgSender()], "Already claimed");
        uint256 amount = userDeposits(_msgSender());
        require(amount > 0, "Nothing to claim");
        hasClaimed[_msgSender()] = true;
        IERC20(saleToken).safeTransfer(_msgSender(), amount);
        emit TokensClaimed(_msgSender(), amount, block.timestamp);
    }

    /**
     * @dev To get latest ETH/USD price
     * @notice Return result in 1e18 format
     */
    function getLatestPrice() public view returns (uint256) {
        (, int256 price, , ,) = aggregatorInterface.latestRoundData();
        return uint256(price * 1e10);
    }

    /**
     * @dev Calculate ETH price for given amount
     * @param _amount - Amount of tokens to calculate price
     * @notice Return result in 1e18 format
     */
    function ethBuyHelper(uint256 _amount) public view returns (uint256 ethAmount) {
        ethAmount = calculatePrice(_amount) * 1e18  / getLatestPrice();
    }

    /**
     * @dev Calculate USDT price for given amount
     * @param _amount - Amount of tokens to calculate price
     * @notice Return result in 1e6 format
     */
    function usdtBuyHelper(uint256 _amount) public view returns (uint256 usdtPrice) {
        usdtPrice = calculatePrice(_amount) / 1e12;
    }

    /**
     * @dev To calculate the price in USD for given amount of tokens
     * @param _amount - Amount of tokens to calculate price
     * @notice Return result in 1e18 format
     */
    function calculatePrice(uint256 _amount) public view returns (uint256) {
        require(_amount + totalTokensSold <= token_amount[maxStepIndex], "Insufficient token amount.");
        return _calculateInternalCost(_amount, currentStep, totalTokensSold);
    }

    /**
     * @dev For sending ETH from contract
     * @param _recipient - Recipient address
     * @param _weiAmount - Amount of ETH to send in wei
     */
    function _sendValue(address payable _recipient, uint256 _weiAmount) internal {
        require(address(this).balance >= _weiAmount, "Low balance");
        (bool success,) = _recipient.call{value : _weiAmount}("");
        require(success, "ETH Payment failed");
    }

    /**
     * @dev Recursively calculate cost for specified conditions
     * @param _amount          - Amount of tokens to calculate price
     * @param _currentStep     - Starting step to calculate price
     * @param _totalTokensSold - Starting total token sold amount to calculate price
     */
    function _calculateInternalCost(uint256 _amount, uint256 _currentStep, uint256 _totalTokensSold) internal view returns (uint256 cost){
        uint256 currentPrice = token_price[_currentStep];
        uint256 currentAmount = token_amount[_currentStep];
        if (_totalTokensSold + _amount <= currentAmount) {
            cost = _amount * currentPrice;
        }
        else {
            uint256 currentStageAmount = currentAmount - _totalTokensSold;
            uint256 nextStageAmount = _amount - currentStageAmount;
            cost = currentStageAmount * currentPrice + _calculateInternalCost(nextStageAmount, _currentStep + 1, currentAmount);
        }

        return cost;
    }

    /**
     * @dev Calculate current step amount from total tokens sold amount
     */
    function _getStepByTotalSoldAmount() internal view returns (uint8) {
        uint8 stepIndex = maxStepIndex;
        while (stepIndex > 0) {
            if (token_amount[stepIndex - 1] < totalTokensSold) break;
            stepIndex -= 1;
        }
        return stepIndex;
    }
}

File 2 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 12 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

File 4 of 12 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

File 5 of 12 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 6 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

File 7 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.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));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 10 of 12 : IAggregator.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface IAggregator {
    function latestRoundData()
    external
    view
    returns (
        uint80 roundId,
        int256 answer,
        uint256 startedAt,
        uint256 updatedAt,
        uint80 answeredInRound
    );
}

File 11 of 12 : IMetacadePresale.v1.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

interface IMetacadePresaleV1 {
    function totalTokensSold() external view returns(uint256);

    function userDeposits(address) external view returns(uint256);
}

File 12 of 12 : IMetacadePresale.v2.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

interface IMetacadePresaleV2 {
    event SaleTimeSet(uint256 _start, uint256 _end, uint256 timestamp);

    event TokensBought(
        address indexed user,
        uint256 indexed tokensBought,
        uint256 amountPaid,
        uint256 timestamp
    );

    event TokensClaimed(
        address indexed user,
        uint256 amount,
        uint256 timestamp
    );

    event ClaimStartUpdated(
        uint256 prevValue,
        uint256 newValue,
        uint256 timestamp
    );
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_previousPresale","type":"address"},{"internalType":"address","name":"_betaPresale","type":"address"},{"internalType":"address","name":"_saleToken","type":"address"},{"internalType":"address","name":"_aggregatorInterface","type":"address"},{"internalType":"address","name":"_USDTInterface","type":"address"},{"internalType":"uint256[9]","name":"_token_amount","type":"uint256[9]"},{"internalType":"uint256[9]","name":"_token_price","type":"uint256[9]"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ClaimStartUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_end","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SaleTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"USDTInterface","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"aggregatorInterface","outputs":[{"internalType":"contract IAggregator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"betaPresale","outputs":[{"internalType":"contract IMetacadePresaleV1","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"buyWithEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"changeSaleTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimStart","type":"uint256"}],"name":"configureClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ethBuyHelper","outputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSoldOnCurrentStage","outputs":[{"internalType":"uint256","name":"soldOnCurrentStage","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPresaleAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previousPresale","outputs":[{"internalType":"contract IMetacadePresaleV1","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"resqueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token_amount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSoldPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSold","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"usdtBuyHelper","outputs":[{"internalType":"uint256","name":"usdtPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60e06040523480156200001157600080fd5b5060405162002532380380620025328339810160408190526200003491620003a2565b6000805460ff19169055620000493362000252565b600180556001600160a01b038616620000a95760405162461bcd60e51b815260206004820152601760248201527f5a65726f2061676772656761746f72206164647265737300000000000000000060448201526064015b60405180910390fd5b6001600160a01b038516620000f55760405162461bcd60e51b81526020600482015260116024820152705a65726f2055534454206164647265737360781b6044820152606401620000a0565b6001600160a01b0387166200014d5760405162461bcd60e51b815260206004820152601760248201527f5a65726f2073616c6520746f6b656e20616464726573730000000000000000006044820152606401620000a0565b8181116200018d5760405162461bcd60e51b815260206004820152600c60248201526b496e76616c69642074696d6560a01b6044820152606401620000a0565b6001600160a01b0389811660a05288811660c052878116608052601a80546001600160a01b03191688831617905560198054610100600160a81b03191661010092881692909202919091179055620001e96007856009620002ab565b50620001f96010846009620002ab565b50600382905560048190556040805183815260208101839052428183015290517f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a209181900360600190a15050505050505050506200044f565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b8260098101928215620002dc579160200282015b82811115620002dc578251825591602001919060010190620002bf565b50620002ea929150620002ee565b5090565b5b80821115620002ea5760008155600101620002ef565b80516001600160a01b03811681146200031d57600080fd5b919050565b600082601f8301126200033457600080fd5b6040516101208082016001600160401b03811183821017156200036757634e487b7160e01b600052604160045260246000fd5b604052830181858211156200037b57600080fd5b845b82811015620003975780518252602091820191016200037d565b509195945050505050565b60008060008060008060008060006103208a8c031215620003c257600080fd5b620003cd8a62000305565b9850620003dd60208b0162000305565b9750620003ed60408b0162000305565b9650620003fd60608b0162000305565b95506200040d60808b0162000305565b94506200041e8b60a08c0162000322565b9350620004308b6101c08c0162000322565b92506102e08a015191506103008a015190509295985092959850929598565b60805160a05160c051612089620004a96000396000818161048e015281816107280152611516015260008181610592015281816107b201526115980152600081816105fb01528181610aa1015261135e01526120896000f3fe6080604052600436106102255760003560e01c80638456cb5911610123578063ca2a15fa116100ab578063f04d688f1161006f578063f04d688f14610632578063f2fde38b14610648578063f597573f14610668578063f9f92be41461068d578063fff6cae9146106bd57600080fd5b8063ca2a15fa14610580578063ca712e9b146105b4578063cd9f1882146105d4578063e985e367146105e9578063eb91d37e1461061d57600080fd5b80638e15f473116100f25780638e15f473146104eb578063935eb35f14610500578063a7c6016014610520578063ae10426514610540578063c49cc6451461056057600080fd5b80638456cb591461044757806389daf7991461045c5780638c93519a1461047c5780638da5cb5b146104c857600080fd5b80634e71d92d116101b157806363e408791161017557806363e40879146103b9578063715018a6146103d957806373b2e80e146103ee5780637649b9571461041e57806378e979251461043157600080fd5b80634e71d92d146103345780635bc34f71146103495780635c71b9aa1461035f5780635c975abb1461037f57806363b20117146103a357600080fd5b806324128ee4116101f857806324128ee4146102a95780632818553f146102c957806329a5a0b6146102e95780633197cbb6146103095780633f4ba83a1461031f57600080fd5b80630aca575a1461022a5780630ba36dcd146102525780630dc9c838146102725780631ce0fa4314610294575b600080fd5b34801561023657600080fd5b5061023f6106d2565b6040519081526020015b60405180910390f35b34801561025e57600080fd5b5061023f61026d366004611d52565b6106e0565b34801561027e57600080fd5b5061029261028d366004611d74565b610850565b005b3480156102a057600080fd5b5061023f6108b9565b3480156102b557600080fd5b5061023f6102c4366004611d96565b610902565b3480156102d557600080fd5b5061023f6102e4366004611d96565b610919565b3480156102f557600080fd5b5061023f610304366004611d96565b610929565b34801561031557600080fd5b5061023f60045481565b34801561032b57600080fd5b50610292610958565b34801561034057600080fd5b5061029261096a565b34801561035557600080fd5b5061023f60065481565b34801561036b57600080fd5b5061029261037a366004611daf565b610b14565b34801561038b57600080fd5b5060005460ff165b6040519015158152602001610249565b3480156103af57600080fd5b5061023f60025481565b3480156103c557600080fd5b5061023f6103d4366004611d96565b610b34565b3480156103e557600080fd5b50610292610b45565b3480156103fa57600080fd5b50610393610409366004611d52565b601c6020526000908152604090205460ff1681565b61039361042c366004611d96565b610b57565b34801561043d57600080fd5b5061023f60035481565b34801561045357600080fd5b50610292610dfb565b34801561046857600080fd5b50610292610477366004611dd9565b610e0b565b34801561048857600080fd5b506104b07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610249565b3480156104d457600080fd5b5060005461010090046001600160a01b03166104b0565b3480156104f757600080fd5b5061023f610e89565b34801561050c57600080fd5b5061029261051b366004611dd9565b610f20565b34801561052c57600080fd5b5061039361053b366004611d96565b610f99565b34801561054c57600080fd5b5061023f61055b366004611d96565b6112b8565b34801561056c57600080fd5b50601a546104b0906001600160a01b031681565b34801561058c57600080fd5b506104b07f000000000000000000000000000000000000000000000000000000000000000081565b3480156105c057600080fd5b506103936105cf366004611d96565b61132a565b3480156105e057600080fd5b5061023f611422565b3480156105f557600080fd5b506104b07f000000000000000000000000000000000000000000000000000000000000000081565b34801561062957600080fd5b5061023f611432565b34801561063e57600080fd5b5061023f60055481565b34801561065457600080fd5b50610292610663366004611d52565b611449565b34801561067457600080fd5b506019546104b09061010090046001600160a01b031681565b34801561069957600080fd5b506103936106a8366004611d52565b601d6020526000908152604090205460ff1681565b3480156106c957600080fd5b506102926114c2565b6000600760085b0154905090565b6001600160a01b0381166000908152601c602052604081205460ff161561070957506000919050565b604051630ba36dcd60e01b81526001600160a01b0383811660048301527f00000000000000000000000000000000000000000000000000000000000000001690630ba36dcd90602401602060405180830381865afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107939190611e64565b604051630ba36dcd60e01b81526001600160a01b0384811660048301527f00000000000000000000000000000000000000000000000000000000000000001690630ba36dcd90602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611e64565b6001600160a01b0384166000908152601b60205260409020546108409190611e93565b61084a9190611e93565b92915050565b610858611642565b81600354146108675760038290555b80600454146108765760048190555b6040805183815260208101839052428183015290517f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a209181900360600190a15050565b60006006546000146108ed57600760016006546108d69190611ea6565b600981106108e6576108e6611e4e565b01546108f0565b60005b6002546108fd9190611ea6565b905090565b6007816009811061091257600080fd5b0154905081565b6010816009811061091257600080fd5b6000610933610e89565b61093c836112b8565b61094e90670de0b6b3a7640000611eb9565b61084a9190611ed0565b610960611642565b6109686116a2565b565b6109726116f4565b61097a61173a565b600554421015801561098e57506000600554115b6109df5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20686173206e6f742073746172746564207965740000000000000060448201526064015b60405180910390fd5b336000908152601c602052604090205460ff1615610a315760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016109d6565b6000610a3c336106e0565b905060008111610a815760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b60448201526064016109d6565b336000818152601c60205260409020805460ff19166001179055610ad0907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169083611793565b6040805182815242602082015233917f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b910160405180910390a25061096860018055565b610b1c611642565b610b306001600160a01b0383163383611793565b5050565b600064e8d4a5100061094e836112b8565b610b4d611642565b61096860006117fb565b6000816003544210158015610b6e57506004544211155b610bb45760405162461bcd60e51b8152602060048201526017602482015276496e76616c69642074696d6520666f7220627579696e6760481b60448201526064016109d6565b60008111610bfa5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081cd85b1948185b5bdd5b9d606a1b60448201526064016109d6565b600f54600254610c0a9083611e93565b1115610c4d5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109d6565b336000908152601d602052604090205460ff1615610ca45760405162461bcd60e51b8152602060048201526014602482015273165bdd48185c99481a5b88189b1858dadb1a5cdd60621b60448201526064016109d6565b610cac6116f4565b610cb461173a565b6000610cbf84610929565b905080341015610d005760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b60448201526064016109d6565b600054610d1c9061010090046001600160a01b03165b82611854565b6000610d288234611ea6565b90508015610d3957610d3933610d16565b8460026000828254610d4b9190611e93565b90915550610d63905085670de0b6b3a7640000611eb9565b336000908152601b602052604081208054909190610d82908490611e93565b9091555060009050610d9261192a565b90506006548160ff161115610da95760ff81166006555b60408051848152426020820152879133917f22f6af6e13430e3e7b6418d01e6a48c1fbce5e8cb1698901fc95134b4b1c58ad910160405180910390a360019450505050610df560018055565b50919050565b610e03611642565b610968611974565b610e13611642565b8060005b81811015610e83576000601d81868685610e3081611ef2565b9650818110610e4157610e41611e4e565b9050602002016020810190610e569190611d52565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610e17565b50505050565b600080601a60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f039190611f25565b505050915050806402540be400610f1a9190611f75565b91505090565b610f28611642565b8060005b81811015610e83576001601d6000868685610f4681611ef2565b9650818110610f5757610f57611e4e565b9050602002016020810190610f6c9190611d52565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610f2c565b6000816003544210158015610fb057506004544211155b610ff65760405162461bcd60e51b8152602060048201526017602482015276496e76616c69642074696d6520666f7220627579696e6760481b60448201526064016109d6565b6000811161103c5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081cd85b1948185b5bdd5b9d606a1b60448201526064016109d6565b600f5460025461104c9083611e93565b111561108f5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109d6565b336000908152601d602052604090205460ff16156110e65760405162461bcd60e51b8152602060048201526014602482015273165bdd48185c99481a5b88189b1858dadb1a5cdd60621b60448201526064016109d6565b6110ee6116f4565b6110f661173a565b600061110184610b34565b60195490915061010090046001600160a01b031663dd62ed3e336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015611165573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111899190611e64565b8111156111cf5760405162461bcd60e51b81526020600482015260146024820152734e6f7420656e6f75676820616c6c6f77616e636560601b60448201526064016109d6565b6111fd3360005461010090046001600160a01b031660195461010090046001600160a01b03169190846119b1565b836002600082825461120f9190611e93565b90915550611227905084670de0b6b3a7640000611eb9565b336000908152601b602052604081208054909190611246908490611e93565b909155506000905061125661192a565b90506006548160ff16111561126d5760ff81166006555b60408051838152426020820152869133917f22f6af6e13430e3e7b6418d01e6a48c1fbce5e8cb1698901fc95134b4b1c58ad910160405180910390a3600193505050610df560018055565b60006007600801546002546112cd9084611e93565b111561131b5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e20616d6f756e742e00000000000060448201526064016109d6565b61084a826006546002546119e9565b6000611334611642565b60025461134990670de0b6b3a7640000611eb9565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156113ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d19190611e64565b10156114145760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b60448201526064016109d6565b50600581905560015b919050565b60006108fd6002546000806119e9565b60006010600654600981106106d9576106d9611e4e565b611451611642565b6001600160a01b0381166114b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d6565b6114bf816117fb565b50565b6114ca611642565b60195460ff16156115145760405162461bcd60e51b8152602060048201526014602482015273105b1c9958591e481cde5b98da1c9bdb9a5e995960621b60448201526064016109d6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166363b201176040518163ffffffff1660e01b8152600401602060405180830381865afa158015611572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115969190611e64565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166363b201176040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116189190611e64565b6116229190611e93565b60025561162d61192a565b60ff166006556019805460ff19166001179055565b6000546001600160a01b036101009091041633146109685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d6565b6116aa611a90565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff16156109685760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109d6565b60026001540361178c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109d6565b6002600155565b6040516001600160a01b0383166024820152604481018290526117f690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ad9565b505050565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b804710156118925760405162461bcd60e51b815260206004820152600b60248201526a4c6f772062616c616e636560a81b60448201526064016109d6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146118df576040519150601f19603f3d011682016040523d82523d6000602084013e6118e4565b606091505b50509050806117f65760405162461bcd60e51b81526020600482015260126024820152711155120814185e5b595b9d0819985a5b195960721b60448201526064016109d6565b600060085b60ff81161561141d576002546007611948600184611fa5565b60ff166009811061195b5761195b611e4e565b01541061141d5761196d600182611fa5565b905061192f565b61197c6116f4565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116d73390565b6040516001600160a01b0380851660248301528316604482015260648101829052610e839085906323b872dd60e01b906084016117bf565b600080601084600981106119ff576119ff611e4e565b01549050600060078560098110611a1857611a18611e4e565b0154905080611a278786611e93565b11611a3d57611a368287611eb9565b9250611a87565b6000611a498583611ea6565b90506000611a578289611ea6565b9050611a6e81611a68896001611e93565b856119e9565b611a788584611eb9565b611a829190611e93565b945050505b50509392505050565b60005460ff166109685760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109d6565b6000611b2e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bab9092919063ffffffff16565b8051909150156117f65780806020019051810190611b4c9190611fbe565b6117f65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109d6565b6060611bba8484600085611bc2565b949350505050565b606082471015611c235760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109d6565b600080866001600160a01b03168587604051611c3f9190612004565b60006040518083038185875af1925050503d8060008114611c7c576040519150601f19603f3d011682016040523d82523d6000602084013e611c81565b606091505b5091509150611c9287838387611c9d565b979650505050505050565b60608315611d0c578251600003611d05576001600160a01b0385163b611d055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109d6565b5081611bba565b611bba8383815115611d215781518083602001fd5b8060405162461bcd60e51b81526004016109d69190612020565b80356001600160a01b038116811461141d57600080fd5b600060208284031215611d6457600080fd5b611d6d82611d3b565b9392505050565b60008060408385031215611d8757600080fd5b50508035926020909101359150565b600060208284031215611da857600080fd5b5035919050565b60008060408385031215611dc257600080fd5b611dcb83611d3b565b946020939093013593505050565b60008060208385031215611dec57600080fd5b823567ffffffffffffffff80821115611e0457600080fd5b818501915085601f830112611e1857600080fd5b813581811115611e2757600080fd5b8660208260051b8501011115611e3c57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611e7657600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561084a5761084a611e7d565b8181038181111561084a5761084a611e7d565b808202811582820484141761084a5761084a611e7d565b600082611eed57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201611f0457611f04611e7d565b5060010190565b805169ffffffffffffffffffff8116811461141d57600080fd5b600080600080600060a08688031215611f3d57600080fd5b611f4686611f0b565b9450602086015193506040860151925060608601519150611f6960808701611f0b565b90509295509295909350565b80820260008212600160ff1b84141615611f9157611f91611e7d565b818105831482151761084a5761084a611e7d565b60ff828116828216039081111561084a5761084a611e7d565b600060208284031215611fd057600080fd5b81518015158114611d6d57600080fd5b60005b83811015611ffb578181015183820152602001611fe3565b50506000910152565b60008251612016818460208701611fe0565b9190910192915050565b602081526000825180602084015261203f816040850160208701611fe0565b601f01601f1916919091016040019291505056fea2646970667358221220436a8136e30f74829003691fb7505a8e5ddffc0f7cdea6b220f2ea64bd16d62564736f6c63430008110033000000000000000000000000455866667b9843d622aabf7459eaad858b55b2d00000000000000000000000005f95fe0dbd6cbd03afa160f4d9aead9d44cf9ce6000000000000000000000000ed328e9c1179a30ddc1e7595e036aed8760c22af0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000008583b000000000000000000000000000000000000000000000000000000000011bb7d60000000000000000000000000000000000000000000000000000000001b1ebfc0000000000000000000000000000000000000000000000000000000002114a0c000000000000000000000000000000000000000000000000000000000270a81c0000000000000000000000000000000000000000000000000000000002d0062c00000000000000000000000000000000000000000000000000000000032f643c00000000000000000000000000000000000000000000000000000000038ec24c00000000000000000000000000000000000000000000000000000000044d7e6c0000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000002aa1efb94e0000000000000000000000000000000000000000000000000000002e2f6e5e1480000000000000000000000000000000000000000000000000000031bced02db00000000000000000000000000000000000000000000000000000037112afa04c000000000000000000000000000000000000000000000000000003c6568f12e80000000000000000000000000000000000000000000000000000041b9a6e858400000000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000000000063853f81000000000000000000000000000000000000000000000000000000006425ce20

Deployed Bytecode

0x6080604052600436106102255760003560e01c80638456cb5911610123578063ca2a15fa116100ab578063f04d688f1161006f578063f04d688f14610632578063f2fde38b14610648578063f597573f14610668578063f9f92be41461068d578063fff6cae9146106bd57600080fd5b8063ca2a15fa14610580578063ca712e9b146105b4578063cd9f1882146105d4578063e985e367146105e9578063eb91d37e1461061d57600080fd5b80638e15f473116100f25780638e15f473146104eb578063935eb35f14610500578063a7c6016014610520578063ae10426514610540578063c49cc6451461056057600080fd5b80638456cb591461044757806389daf7991461045c5780638c93519a1461047c5780638da5cb5b146104c857600080fd5b80634e71d92d116101b157806363e408791161017557806363e40879146103b9578063715018a6146103d957806373b2e80e146103ee5780637649b9571461041e57806378e979251461043157600080fd5b80634e71d92d146103345780635bc34f71146103495780635c71b9aa1461035f5780635c975abb1461037f57806363b20117146103a357600080fd5b806324128ee4116101f857806324128ee4146102a95780632818553f146102c957806329a5a0b6146102e95780633197cbb6146103095780633f4ba83a1461031f57600080fd5b80630aca575a1461022a5780630ba36dcd146102525780630dc9c838146102725780631ce0fa4314610294575b600080fd5b34801561023657600080fd5b5061023f6106d2565b6040519081526020015b60405180910390f35b34801561025e57600080fd5b5061023f61026d366004611d52565b6106e0565b34801561027e57600080fd5b5061029261028d366004611d74565b610850565b005b3480156102a057600080fd5b5061023f6108b9565b3480156102b557600080fd5b5061023f6102c4366004611d96565b610902565b3480156102d557600080fd5b5061023f6102e4366004611d96565b610919565b3480156102f557600080fd5b5061023f610304366004611d96565b610929565b34801561031557600080fd5b5061023f60045481565b34801561032b57600080fd5b50610292610958565b34801561034057600080fd5b5061029261096a565b34801561035557600080fd5b5061023f60065481565b34801561036b57600080fd5b5061029261037a366004611daf565b610b14565b34801561038b57600080fd5b5060005460ff165b6040519015158152602001610249565b3480156103af57600080fd5b5061023f60025481565b3480156103c557600080fd5b5061023f6103d4366004611d96565b610b34565b3480156103e557600080fd5b50610292610b45565b3480156103fa57600080fd5b50610393610409366004611d52565b601c6020526000908152604090205460ff1681565b61039361042c366004611d96565b610b57565b34801561043d57600080fd5b5061023f60035481565b34801561045357600080fd5b50610292610dfb565b34801561046857600080fd5b50610292610477366004611dd9565b610e0b565b34801561048857600080fd5b506104b07f0000000000000000000000005f95fe0dbd6cbd03afa160f4d9aead9d44cf9ce681565b6040516001600160a01b039091168152602001610249565b3480156104d457600080fd5b5060005461010090046001600160a01b03166104b0565b3480156104f757600080fd5b5061023f610e89565b34801561050c57600080fd5b5061029261051b366004611dd9565b610f20565b34801561052c57600080fd5b5061039361053b366004611d96565b610f99565b34801561054c57600080fd5b5061023f61055b366004611d96565b6112b8565b34801561056c57600080fd5b50601a546104b0906001600160a01b031681565b34801561058c57600080fd5b506104b07f000000000000000000000000455866667b9843d622aabf7459eaad858b55b2d081565b3480156105c057600080fd5b506103936105cf366004611d96565b61132a565b3480156105e057600080fd5b5061023f611422565b3480156105f557600080fd5b506104b07f000000000000000000000000ed328e9c1179a30ddc1e7595e036aed8760c22af81565b34801561062957600080fd5b5061023f611432565b34801561063e57600080fd5b5061023f60055481565b34801561065457600080fd5b50610292610663366004611d52565b611449565b34801561067457600080fd5b506019546104b09061010090046001600160a01b031681565b34801561069957600080fd5b506103936106a8366004611d52565b601d6020526000908152604090205460ff1681565b3480156106c957600080fd5b506102926114c2565b6000600760085b0154905090565b6001600160a01b0381166000908152601c602052604081205460ff161561070957506000919050565b604051630ba36dcd60e01b81526001600160a01b0383811660048301527f0000000000000000000000005f95fe0dbd6cbd03afa160f4d9aead9d44cf9ce61690630ba36dcd90602401602060405180830381865afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107939190611e64565b604051630ba36dcd60e01b81526001600160a01b0384811660048301527f000000000000000000000000455866667b9843d622aabf7459eaad858b55b2d01690630ba36dcd90602401602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611e64565b6001600160a01b0384166000908152601b60205260409020546108409190611e93565b61084a9190611e93565b92915050565b610858611642565b81600354146108675760038290555b80600454146108765760048190555b6040805183815260208101839052428183015290517f23f6ad8232d75562dd1c6b37dfc895af6bfc1ecd0fb3b88722c6a5e6b4dc9a209181900360600190a15050565b60006006546000146108ed57600760016006546108d69190611ea6565b600981106108e6576108e6611e4e565b01546108f0565b60005b6002546108fd9190611ea6565b905090565b6007816009811061091257600080fd5b0154905081565b6010816009811061091257600080fd5b6000610933610e89565b61093c836112b8565b61094e90670de0b6b3a7640000611eb9565b61084a9190611ed0565b610960611642565b6109686116a2565b565b6109726116f4565b61097a61173a565b600554421015801561098e57506000600554115b6109df5760405162461bcd60e51b815260206004820152601960248201527f436c61696d20686173206e6f742073746172746564207965740000000000000060448201526064015b60405180910390fd5b336000908152601c602052604090205460ff1615610a315760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016109d6565b6000610a3c336106e0565b905060008111610a815760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b60448201526064016109d6565b336000818152601c60205260409020805460ff19166001179055610ad0907f000000000000000000000000ed328e9c1179a30ddc1e7595e036aed8760c22af6001600160a01b03169083611793565b6040805182815242602082015233917f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b910160405180910390a25061096860018055565b610b1c611642565b610b306001600160a01b0383163383611793565b5050565b600064e8d4a5100061094e836112b8565b610b4d611642565b61096860006117fb565b6000816003544210158015610b6e57506004544211155b610bb45760405162461bcd60e51b8152602060048201526017602482015276496e76616c69642074696d6520666f7220627579696e6760481b60448201526064016109d6565b60008111610bfa5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081cd85b1948185b5bdd5b9d606a1b60448201526064016109d6565b600f54600254610c0a9083611e93565b1115610c4d5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109d6565b336000908152601d602052604090205460ff1615610ca45760405162461bcd60e51b8152602060048201526014602482015273165bdd48185c99481a5b88189b1858dadb1a5cdd60621b60448201526064016109d6565b610cac6116f4565b610cb461173a565b6000610cbf84610929565b905080341015610d005760405162461bcd60e51b815260206004820152600c60248201526b13195cdcc81c185e5b595b9d60a21b60448201526064016109d6565b600054610d1c9061010090046001600160a01b03165b82611854565b6000610d288234611ea6565b90508015610d3957610d3933610d16565b8460026000828254610d4b9190611e93565b90915550610d63905085670de0b6b3a7640000611eb9565b336000908152601b602052604081208054909190610d82908490611e93565b9091555060009050610d9261192a565b90506006548160ff161115610da95760ff81166006555b60408051848152426020820152879133917f22f6af6e13430e3e7b6418d01e6a48c1fbce5e8cb1698901fc95134b4b1c58ad910160405180910390a360019450505050610df560018055565b50919050565b610e03611642565b610968611974565b610e13611642565b8060005b81811015610e83576000601d81868685610e3081611ef2565b9650818110610e4157610e41611e4e565b9050602002016020810190610e569190611d52565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610e17565b50505050565b600080601a60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f039190611f25565b505050915050806402540be400610f1a9190611f75565b91505090565b610f28611642565b8060005b81811015610e83576001601d6000868685610f4681611ef2565b9650818110610f5757610f57611e4e565b9050602002016020810190610f6c9190611d52565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610f2c565b6000816003544210158015610fb057506004544211155b610ff65760405162461bcd60e51b8152602060048201526017602482015276496e76616c69642074696d6520666f7220627579696e6760481b60448201526064016109d6565b6000811161103c5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081cd85b1948185b5bdd5b9d606a1b60448201526064016109d6565b600f5460025461104c9083611e93565b111561108f5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109d6565b336000908152601d602052604090205460ff16156110e65760405162461bcd60e51b8152602060048201526014602482015273165bdd48185c99481a5b88189b1858dadb1a5cdd60621b60448201526064016109d6565b6110ee6116f4565b6110f661173a565b600061110184610b34565b60195490915061010090046001600160a01b031663dd62ed3e336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015611165573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111899190611e64565b8111156111cf5760405162461bcd60e51b81526020600482015260146024820152734e6f7420656e6f75676820616c6c6f77616e636560601b60448201526064016109d6565b6111fd3360005461010090046001600160a01b031660195461010090046001600160a01b03169190846119b1565b836002600082825461120f9190611e93565b90915550611227905084670de0b6b3a7640000611eb9565b336000908152601b602052604081208054909190611246908490611e93565b909155506000905061125661192a565b90506006548160ff16111561126d5760ff81166006555b60408051838152426020820152869133917f22f6af6e13430e3e7b6418d01e6a48c1fbce5e8cb1698901fc95134b4b1c58ad910160405180910390a3600193505050610df560018055565b60006007600801546002546112cd9084611e93565b111561131b5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e20616d6f756e742e00000000000060448201526064016109d6565b61084a826006546002546119e9565b6000611334611642565b60025461134990670de0b6b3a7640000611eb9565b6040516370a0823160e01b81523060048201527f000000000000000000000000ed328e9c1179a30ddc1e7595e036aed8760c22af6001600160a01b0316906370a0823190602401602060405180830381865afa1580156113ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d19190611e64565b10156114145760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b60448201526064016109d6565b50600581905560015b919050565b60006108fd6002546000806119e9565b60006010600654600981106106d9576106d9611e4e565b611451611642565b6001600160a01b0381166114b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d6565b6114bf816117fb565b50565b6114ca611642565b60195460ff16156115145760405162461bcd60e51b8152602060048201526014602482015273105b1c9958591e481cde5b98da1c9bdb9a5e995960621b60448201526064016109d6565b7f0000000000000000000000005f95fe0dbd6cbd03afa160f4d9aead9d44cf9ce66001600160a01b03166363b201176040518163ffffffff1660e01b8152600401602060405180830381865afa158015611572573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115969190611e64565b7f000000000000000000000000455866667b9843d622aabf7459eaad858b55b2d06001600160a01b03166363b201176040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116189190611e64565b6116229190611e93565b60025561162d61192a565b60ff166006556019805460ff19166001179055565b6000546001600160a01b036101009091041633146109685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d6565b6116aa611a90565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60005460ff16156109685760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109d6565b60026001540361178c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109d6565b6002600155565b6040516001600160a01b0383166024820152604481018290526117f690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ad9565b505050565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b804710156118925760405162461bcd60e51b815260206004820152600b60248201526a4c6f772062616c616e636560a81b60448201526064016109d6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146118df576040519150601f19603f3d011682016040523d82523d6000602084013e6118e4565b606091505b50509050806117f65760405162461bcd60e51b81526020600482015260126024820152711155120814185e5b595b9d0819985a5b195960721b60448201526064016109d6565b600060085b60ff81161561141d576002546007611948600184611fa5565b60ff166009811061195b5761195b611e4e565b01541061141d5761196d600182611fa5565b905061192f565b61197c6116f4565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116d73390565b6040516001600160a01b0380851660248301528316604482015260648101829052610e839085906323b872dd60e01b906084016117bf565b600080601084600981106119ff576119ff611e4e565b01549050600060078560098110611a1857611a18611e4e565b0154905080611a278786611e93565b11611a3d57611a368287611eb9565b9250611a87565b6000611a498583611ea6565b90506000611a578289611ea6565b9050611a6e81611a68896001611e93565b856119e9565b611a788584611eb9565b611a829190611e93565b945050505b50509392505050565b60005460ff166109685760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109d6565b6000611b2e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bab9092919063ffffffff16565b8051909150156117f65780806020019051810190611b4c9190611fbe565b6117f65760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109d6565b6060611bba8484600085611bc2565b949350505050565b606082471015611c235760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109d6565b600080866001600160a01b03168587604051611c3f9190612004565b60006040518083038185875af1925050503d8060008114611c7c576040519150601f19603f3d011682016040523d82523d6000602084013e611c81565b606091505b5091509150611c9287838387611c9d565b979650505050505050565b60608315611d0c578251600003611d05576001600160a01b0385163b611d055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109d6565b5081611bba565b611bba8383815115611d215781518083602001fd5b8060405162461bcd60e51b81526004016109d69190612020565b80356001600160a01b038116811461141d57600080fd5b600060208284031215611d6457600080fd5b611d6d82611d3b565b9392505050565b60008060408385031215611d8757600080fd5b50508035926020909101359150565b600060208284031215611da857600080fd5b5035919050565b60008060408385031215611dc257600080fd5b611dcb83611d3b565b946020939093013593505050565b60008060208385031215611dec57600080fd5b823567ffffffffffffffff80821115611e0457600080fd5b818501915085601f830112611e1857600080fd5b813581811115611e2757600080fd5b8660208260051b8501011115611e3c57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611e7657600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561084a5761084a611e7d565b8181038181111561084a5761084a611e7d565b808202811582820484141761084a5761084a611e7d565b600082611eed57634e487b7160e01b600052601260045260246000fd5b500490565b600060018201611f0457611f04611e7d565b5060010190565b805169ffffffffffffffffffff8116811461141d57600080fd5b600080600080600060a08688031215611f3d57600080fd5b611f4686611f0b565b9450602086015193506040860151925060608601519150611f6960808701611f0b565b90509295509295909350565b80820260008212600160ff1b84141615611f9157611f91611e7d565b818105831482151761084a5761084a611e7d565b60ff828116828216039081111561084a5761084a611e7d565b600060208284031215611fd057600080fd5b81518015158114611d6d57600080fd5b60005b83811015611ffb578181015183820152602001611fe3565b50506000910152565b60008251612016818460208701611fe0565b9190910192915050565b602081526000825180602084015261203f816040850160208701611fe0565b601f01601f1916919091016040019291505056fea2646970667358221220436a8136e30f74829003691fb7505a8e5ddffc0f7cdea6b220f2ea64bd16d62564736f6c63430008110033

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

000000000000000000000000455866667b9843d622aabf7459eaad858b55b2d00000000000000000000000005f95fe0dbd6cbd03afa160f4d9aead9d44cf9ce6000000000000000000000000ed328e9c1179a30ddc1e7595e036aed8760c22af0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000008583b000000000000000000000000000000000000000000000000000000000011bb7d60000000000000000000000000000000000000000000000000000000001b1ebfc0000000000000000000000000000000000000000000000000000000002114a0c000000000000000000000000000000000000000000000000000000000270a81c0000000000000000000000000000000000000000000000000000000002d0062c00000000000000000000000000000000000000000000000000000000032f643c00000000000000000000000000000000000000000000000000000000038ec24c00000000000000000000000000000000000000000000000000000000044d7e6c0000000000000000000000000000000000000000000000000001c6bf526340000000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000002aa1efb94e0000000000000000000000000000000000000000000000000000002e2f6e5e1480000000000000000000000000000000000000000000000000000031bced02db00000000000000000000000000000000000000000000000000000037112afa04c000000000000000000000000000000000000000000000000000003c6568f12e80000000000000000000000000000000000000000000000000000041b9a6e858400000000000000000000000000000000000000000000000000000470de4df8200000000000000000000000000000000000000000000000000000000000063853f81000000000000000000000000000000000000000000000000000000006425ce20

-----Decoded View---------------
Arg [0] : _previousPresale (address): 0x455866667B9843d622AABF7459Eaad858B55B2D0
Arg [1] : _betaPresale (address): 0x5f95fE0Dbd6CBD03AFa160f4d9AEAD9d44cF9ce6
Arg [2] : _saleToken (address): 0xed328E9C1179a30ddC1E7595E036AEd8760C22aF
Arg [3] : _aggregatorInterface (address): 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
Arg [4] : _USDTInterface (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [5] : _token_amount (uint256[9]): 140000000,297500000,455000000,555000000,655000000,755000000,855000000,955000000,1155000000
Arg [6] : _token_price (uint256[9]): 8000000000000000,10000000000000000,12000000000000000,13000000000000000,14000000000000000,15500000000000000,17000000000000000,18500000000000000,20000000000000000
Arg [7] : _startTime (uint256): 1669676929
Arg [8] : _endTime (uint256): 1680199200

-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 000000000000000000000000455866667b9843d622aabf7459eaad858b55b2d0
Arg [1] : 0000000000000000000000005f95fe0dbd6cbd03afa160f4d9aead9d44cf9ce6
Arg [2] : 000000000000000000000000ed328e9c1179a30ddc1e7595e036aed8760c22af
Arg [3] : 0000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419
Arg [4] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [5] : 0000000000000000000000000000000000000000000000000000000008583b00
Arg [6] : 0000000000000000000000000000000000000000000000000000000011bb7d60
Arg [7] : 000000000000000000000000000000000000000000000000000000001b1ebfc0
Arg [8] : 000000000000000000000000000000000000000000000000000000002114a0c0
Arg [9] : 00000000000000000000000000000000000000000000000000000000270a81c0
Arg [10] : 000000000000000000000000000000000000000000000000000000002d0062c0
Arg [11] : 0000000000000000000000000000000000000000000000000000000032f643c0
Arg [12] : 0000000000000000000000000000000000000000000000000000000038ec24c0
Arg [13] : 0000000000000000000000000000000000000000000000000000000044d7e6c0
Arg [14] : 000000000000000000000000000000000000000000000000001c6bf526340000
Arg [15] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [16] : 000000000000000000000000000000000000000000000000002aa1efb94e0000
Arg [17] : 000000000000000000000000000000000000000000000000002e2f6e5e148000
Arg [18] : 0000000000000000000000000000000000000000000000000031bced02db0000
Arg [19] : 0000000000000000000000000000000000000000000000000037112afa04c000
Arg [20] : 000000000000000000000000000000000000000000000000003c6568f12e8000
Arg [21] : 0000000000000000000000000000000000000000000000000041b9a6e8584000
Arg [22] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [23] : 0000000000000000000000000000000000000000000000000000000063853f81
Arg [24] : 000000000000000000000000000000000000000000000000000000006425ce20


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.