Contract 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed868

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7e110f092accad3f4509072d03584cc61da05a30e5732abf6f674bdf6ef35bb90x6080604096418652021-06-11 14:48:40231 days 14 hrs ago0x4320da7d34a6215fb46aed39dfa947e0b5f79b9f IN  Create: LaunchMVP0 BNB0.03264192
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xeb44866f4bc4485f524450671edf1b3783870894f17b77140a6ca08104edc4ab96427952021-06-11 15:35:10231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x0e355364df1a66f679994c00894502eef413480984b8ee953c428a88312ff92b96427912021-06-11 15:34:58231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xe667565fc9ca6d97a2b9a5be519cb65ac6b191bb3ad00747345c04372ca4106d96427882021-06-11 15:34:49231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x6fd590e709918bdf768282a60921defe57c4cc98fac9816d17b70b50b99d3f1396427752021-06-11 15:34:10231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x757634101049a3a4b428bc11dfaa042d58a19f087e66e6d9851612daa108945496427112021-06-11 15:30:58231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x1531e977ea6b809520f07529fab9ec1abe15dbe31c31f6826d1348ac556e422296426922021-06-11 15:30:01231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x97e6a5f9a5e54aec08c2fbc2627d542910dd99e1d71a605a1a537bc991b660a896426822021-06-11 15:29:31231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xc3e0682ebf875fd97864c895f3ce59d8bab2590ff7fd07d8bb2a5e414655063c96426752021-06-11 15:29:10231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xcf74b54570f54d0ba1296f1ba7c53c8fdf4e6f7462bebf2bb24a750a37120d6896426672021-06-11 15:28:46231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xdc9ac9f5a77b91a9dc70f354e49558a9f310131a16cce19222255c2bcb334c3596426632021-06-11 15:28:34231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xd582fadc9e8aaf342af0bcd2172ad90aa8c5a3c79bf482ea951f19d0247eeb9296426552021-06-11 15:28:10231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x162051bb2b531f6137505262942f83f6ab72ae898503a713560c3da639269a9196426552021-06-11 15:28:10231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x790899ae2b1e30f145c49f93fcb922a23d62e90083029ca5d1acfb3a8dc3f7a596426312021-06-11 15:26:58231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xf398e7a118696fe7d67c14d08b9bb00eb1228572be2f3d9e10d479586fda78e396426212021-06-11 15:26:28231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xe635d07110b5239c4869c051ea463fb46da886801b186ecd12ba5257d5bc92e096426022021-06-11 15:25:31231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x06d607d66b128ea864749bfb61a36b5db48712e03672efe98906b70adb43481696425852021-06-11 15:24:40231 days 13 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x41edb7c1dc6c339845c0cfe16fbda70ac6ab5ae0b8f5c3007d303cfccaccdebd96425052021-06-11 15:20:40231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xda350effb2a7cba6387665080d0d8a273647c6c6d9ed0e3d292d80e077f2633896425022021-06-11 15:20:31231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x8967d040d32173582667368ca839e0c6136d6aaeea26e856561e4be95d0659c396424522021-06-11 15:18:01231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x54e5faab8cb6dce3f359729e2815351cd0f8a4472842ff5a836fb156cde7711096423312021-06-11 15:11:58231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x93aec250c05ddd12bbc95c66892337bd8c2359653f2c74da3d2f6b2478d3c65f96420562021-06-11 14:58:13231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xe43f61ee0a4737c139d28f9d1ee583a7561febf83417c469b624235c2553bc0896420302021-06-11 14:56:55231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0xc1a033c15238eb4c55eae860df2d580bd29c507086df1cf7a33070e36cf3ac6796420252021-06-11 14:56:40231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x649476cadba1df48874fe8d286bfcc4b16ef786eb277fc018dcc8f71a034439e96420212021-06-11 14:56:28231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
0x177fb90955b33ff12d7acb62c4ea2b3ce99f137bdc4b79ce532494c8ea8e7ab896420162021-06-11 14:56:13231 days 14 hrs ago 0xef932925cb45cb4a07c767c23aab5c9e1fb93c74 0xd6e28a3eda14d2b2ba1aa349785c43d0387ed8680 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LaunchMVP

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : LaunchMVP.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

import "./LaunchMVPOwnable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/proxy/Initializable.sol";

contract LaunchMVP is LaunchMVPOwnable, Initializable {
    using SafeMath for uint256;
    using SafeMath for uint16;
    using SafeERC20 for IERC20;

    IERC20 public MVP;
    IERC20 public MMP;
    IERC20 public WMMP;
    IERC20 public rewardToken;
    IERC20 public BUSD;

    uint256 public constant totalSupplyMVP = 120000000 * 1e18;
    uint256 public constant mvpPrice = 125 * 1e18;
    uint256 public totalSold = 1500000 * 1e18;
    uint256 public totalMVP;
    uint256 public totalCommit;
    uint256 public totalUser;
    uint256 public totalClaim;
    uint256 public startTime;
    uint256 public expireTime;
    uint256 public claimTime;

    uint256[6] public hardCap;
    uint256[6] public tierAllowance;

    mapping(address => uint256) public userCommit;
    mapping(uint256 => address) public userIndex;
    event commitEvent(address indexed user, uint256 balance);
    event claimEvent(address indexed user, uint256 mvpAmount);
    event claimInfoEvent(address indexed user, uint256 mvpAmount, uint256 redeemBusd);

    constructor() public {

    }

    function initialize(
        IERC20 _MVP,
        IERC20 _MMP,
        IERC20 _WMMP,
        IERC20 _rewardToken,
        IERC20 _BUSD,
        address _owner,
        uint256 _startTime,
        uint256 _expireTime,
        uint256 _claimTime
    ) public initializer {
        MVP = IERC20(_MVP);
        MMP = IERC20(_MMP);
        WMMP = IERC20(_WMMP);
        rewardToken = IERC20(_rewardToken);
        BUSD = IERC20(_BUSD);
        startTime = _startTime;
        expireTime = _expireTime;
        claimTime = _claimTime;
        hardCap[0] = 0;
        hardCap[1] = 300000 * 1e18;
        hardCap[2] = 75000 * 1e18;
        hardCap[3] = 7500 * 1e18;
        hardCap[4] = 750 * 1e18;
        hardCap[5] = 75 * 1e18;
        tierAllowance[0] = 0;
        tierAllowance[1] = 1000000 * 1e18;
        tierAllowance[2] = 450000 * 1e18;
        tierAllowance[3] = 80000 * 1e18;
        tierAllowance[4] = 10000 * 1e18;
        tierAllowance[5] = 1000 * 1e18;
        initOwner(_owner);
    }

    function setHardCap(uint256 _index, uint256 _amount) external onlyOwner {
        hardCap[_index] = _amount;
    }

    function setTierAllowance(uint256 _index, uint256 _amount) external onlyOwner {
        tierAllowance[_index] = _amount;
    }

    function setBusd(IERC20 _tokenAddress) external onlyOwner {
        BUSD = _tokenAddress;
    }

    function setRewardToken(IERC20 _tokenAddress) external onlyOwner {
        rewardToken = _tokenAddress;
    }

    function setMVP(IERC20 _tokenAddress) external onlyOwner {
        MVP = _tokenAddress;
    }


    function setTierAllowance(uint8 _tier, uint256 allowance) external onlyOwner {
        tierAllowance[_tier] = allowance;
    }

    function setTotalMVP(uint256 _total) external onlyOwner {
        totalMVP = _total;
    }

    function setTotalSold(uint256 _total) external onlyOwner {
        totalSold = _total;
    }

    function setStartTime(uint256 _startTime) external onlyOwner {
        startTime = _startTime;
    }

    function setExpireTime(uint256 _expireTime) external onlyOwner {
        expireTime = _expireTime;
    }

    function setClaimTime(uint256 _claimTime) external onlyOwner {
        claimTime = _claimTime;
    }

    function getBalance(address _address) public view returns(uint256) {
        uint256 mmpBalance = MMP.balanceOf(_address);
        uint256 wmmpBalance = WMMP.balanceOf(_address);
        return mmpBalance.add(wmmpBalance);
    }

    function checkAllowance(uint256 _mmpAmount) public view returns(uint256) {
        uint256 allowance;

        if(_mmpAmount >= tierAllowance[1]) {
            allowance = hardCap[1];
        } else if(_mmpAmount >= tierAllowance[2]) {
            allowance = hardCap[2];
        } else if(_mmpAmount >= tierAllowance[3]) {
            allowance = hardCap[3];
        } else if(_mmpAmount >= tierAllowance[4]) {
            allowance = hardCap[4];
        } else if(_mmpAmount >= tierAllowance[5]) {
            allowance = hardCap[5];
        }
        return allowance;
    }    

    function commit(uint256 _amount) public {
        require(startTime <= block.timestamp, "Wait!");
        require(expireTime >= block.timestamp, "Expire!");
        require(_amount > 0, "Insufficient BUSD");
        uint256 _userCommit = userCommit[msg.sender];

        uint256 _MMPbalance = getBalance(msg.sender);
        uint256 _busdAllowance = checkAllowance(_MMPbalance);
        require(_busdAllowance.sub(_userCommit) >= _amount, "Busd Over tier");
        totalCommit = totalCommit.add(_amount);
        if(_userCommit == 0) {
            userIndex[totalUser] = msg.sender;
            totalUser++;
        }
        userCommit[msg.sender] = _userCommit.add(_amount);
        BUSD.safeTransferFrom(address(msg.sender), address(this), _amount);
        emit commitEvent(msg.sender, _amount);
    }

    function claim() public {
        require(claimTime <= block.timestamp, "Wait!");
        uint256 _userCommit = userCommit[msg.sender].mul(1e18);
        require(_userCommit > 0, "No Commit");
        uint256 _qouta;
        uint256 _redeem;
        if(totalCommit > totalSold) {
            uint256 _qoutaBusd = _userCommit.mul(totalSold).div(totalCommit);
            _qouta = _qoutaBusd.div(mvpPrice.div(1e4));
            _redeem = _userCommit.sub(_qoutaBusd).div(1e18);
        } else {
            userCommit[msg.sender] = 0;
            _qouta = _userCommit.div(mvpPrice.div(1e4));
        }
        if(_qouta > 0) {
            totalMVP = totalMVP.sub(_qouta);
            MVP.safeTransfer(msg.sender, _qouta);
            rewardToken.safeTransfer(msg.sender, _qouta);
        }
        if(_redeem > 0) {
            userCommit[msg.sender] = 0;
            BUSD.safeTransfer(msg.sender, _redeem);
        }
        totalClaim++;
        emit claimEvent(msg.sender, _qouta);
    }

    function claimInfo(address _address) public view returns(uint256, uint256, uint256) {
        uint256 _userCommit = userCommit[_address].mul(1e18);
        uint256 _mvpPrice = mvpPrice;
        uint256 _qouta;
        uint256 _redeem;
        uint256 _qoutaBusd;
        if(totalCommit > totalSold) {
            _qoutaBusd = _userCommit.mul(totalSold).div(totalCommit);
            _qouta = _qoutaBusd.div(_mvpPrice.div(1e4));
            _redeem = _userCommit.sub(_qoutaBusd).div(1e18);
        } else {
            _qouta = _userCommit.div(_mvpPrice.div(1e4));
        }

        return (_qouta, _redeem, _qoutaBusd);
    }

    function unCommit() public {
        uint256 _userCommit = userCommit[msg.sender];
        if(_userCommit > 0) {
            totalUser--;
            totalCommit = totalCommit.sub(_userCommit);
            userCommit[msg.sender] = 0;
            BUSD.safeTransfer(msg.sender, _userCommit);
        }
    }

    function setCommit(uint256 _amount) public onlyOwner {
        totalCommit = _amount;
    }

    function resetAll() external onlyOwner {

        for (uint256 i = 0; i < totalUser; i++) {
            address _userData = userIndex[i];
            userCommit[_userData] = 0;
            userIndex[i] = address(0);
        }
        totalCommit = 0;
        totalUser = 0;
    }

}

File 2 of 7 : LaunchMVPOwnable.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

contract LaunchMVPOwnable {
    address private _owner;

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

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

    function initOwner(address owner) internal {
        _owner = owner;
        emit OwnershipTransferred(address(0), owner);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == msg.sender, "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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 4 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.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 SafeMath for uint256;
    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'
        // solhint-disable-next-line max-line-length
        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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

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

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

File 5 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 6 of 7 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;

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

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        return !Address.isContract(address(this));
    }
}

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

pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"mvpAmount","type":"uint256"}],"name":"claimEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"mvpAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemBusd","type":"uint256"}],"name":"claimInfoEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"commitEvent","type":"event"},{"inputs":[],"name":"BUSD","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MMP","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MVP","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WMMP","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mmpAmount","type":"uint256"}],"name":"checkAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"claimInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"commit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"expireTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hardCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_MVP","type":"address"},{"internalType":"contract IERC20","name":"_MMP","type":"address"},{"internalType":"contract IERC20","name":"_WMMP","type":"address"},{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"contract IERC20","name":"_BUSD","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_expireTime","type":"uint256"},{"internalType":"uint256","name":"_claimTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mvpPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_tokenAddress","type":"address"}],"name":"setBusd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_claimTime","type":"uint256"}],"name":"setClaimTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setCommit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_expireTime","type":"uint256"}],"name":"setExpireTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setHardCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_tokenAddress","type":"address"}],"name":"setMVP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_tokenAddress","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tier","type":"uint8"},{"internalType":"uint256","name":"allowance","type":"uint256"}],"name":"setTierAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTierAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_total","type":"uint256"}],"name":"setTotalMVP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_total","type":"uint256"}],"name":"setTotalSold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tierAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCommit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMVP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupplyMVP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUser","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":"unCommit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userCommit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"userIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526a013da329b633647180000060065534801561001f57600080fd5b50611c328061002f6000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80638cbe3caf11610146578063df5377fe116100c3578063f1af82e711610087578063f1af82e7146105ce578063f2fde38b146105f1578063f4f98ad514610617578063f7c618c114610634578063f8b2cb4f1461063c578063fc588190146106625761025e565b8063df5377fe1461050e578063e103aef514610572578063e1604b701461057a578063eb062c9414610582578063ee18c0db146105a85761025e565b8063c37dfd6e1161010a578063c37dfd6e14610480578063c5db2b1d1461049d578063c80a64aa146104ba578063cf69bb63146104c2578063d97830b1146104ca5761025e565b80638cbe3caf1461042e5780638da5cb5b1461044b5780639106d7ba14610453578063997caf541461045b578063a86de694146104635761025e565b8063484f4ea9116101df5780635a24b906116101a35780635a24b906146103b057806365ad9f34146103cd578063715018a6146103f0578063748aed0b146103f857806378e97925146104005780638aee8127146104085761025e565b8063484f4ea9146103885780634e71d92d14610390578063505814bc14610398578063515992ad146103a0578063547d1864146103a85761025e565b8063310a1ee311610226578063310a1ee314610303578063378515981461030b5780633e0a322d14610328578063421cc33714610345578063474fe062146103625761025e565b806304bd5566146102635780631c58896d14610282578063206eb6b7146102a857806321d79e58146102cc57806327b3bf11146102e9575b600080fd5b6102806004803603602081101561027957600080fd5b503561066a565b005b6102806004803603602081101561029857600080fd5b50356001600160a01b03166106bc565b6102b061072b565b604080516001600160a01b039092168252519081900360200190f35b610280600480360360208110156102e257600080fd5b503561073a565b6102f161078c565b60408051918252519081900360200190f35b6102f1610792565b6102806004803603602081101561032157600080fd5b5035610798565b6102806004803603602081101561033e57600080fd5b50356107ea565b6102806004803603602081101561035b57600080fd5b503561083c565b6102f16004803603602081101561037857600080fd5b50356001600160a01b031661088e565b6102b06108a0565b6102806108af565b6102f1610aaf565b610280610abe565b6102f1610b1a565b610280600480360360208110156103c657600080fd5b5035610b20565b610280600480360360408110156103e357600080fd5b5080359060200135610b72565b610280610bd3565b6102f1610c6a565b6102f1610c70565b6102806004803603602081101561041e57600080fd5b50356001600160a01b0316610c76565b6102f16004803603602081101561044457600080fd5b5035610ce5565b6102b0610cf9565b6102f1610d08565b6102f1610d0e565b6102f16004803603602081101561047957600080fd5b5035610d14565b6102b06004803603602081101561049657600080fd5b5035610d7b565b6102f1600480360360208110156104b357600080fd5b5035610d96565b6102b0610da3565b6102b0610db2565b6104f0600480360360208110156104e057600080fd5b50356001600160a01b0316610dc1565b60408051938452602084019290925282820152519081900360600190f35b610280600480360361012081101561052557600080fd5b506001600160a01b038135811691602081013582169160408201358116916060810135821691608082013581169160a08101359091169060c08101359060e0810135906101000135610e86565b610280611049565b6102f16110f3565b6102806004803603602081101561059857600080fd5b50356001600160a01b03166110f9565b610280600480360360408110156105be57600080fd5b5060ff8135169060200135611168565b610280600480360360408110156105e457600080fd5b50803590602001356111c6565b6102806004803603602081101561060757600080fd5b50356001600160a01b0316611221565b6102806004803603602081101561062d57600080fd5b503561130e565b6102b0611501565b6102f16004803603602081101561065257600080fd5b50356001600160a01b0316611510565b6102f161161e565b6000546001600160a01b031633146106b7576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600755565b6000546001600160a01b03163314610709576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b6000546001600160a01b03163314610787576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600855565b600d5481565b600c5481565b6000546001600160a01b031633146107e5576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600655565b6000546001600160a01b03163314610837576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600b55565b6000546001600160a01b03163314610889576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600d55565b601a6020526000908152604090205481565b6005546001600160a01b031681565b42600d5411156108ee576040805162461bcd60e51b8152602060048201526005602482015264576169742160d81b604482015290519081900360640190fd5b336000908152601a602052604081205461091090670de0b6b3a764000061162b565b905060008111610953576040805162461bcd60e51b8152602060048201526009602482015268139bc810dbdb5b5a5d60ba1b604482015290519081900360640190fd5b60008060065460085411156109c657600061098560085461097f6006548761162b90919063ffffffff16565b9061168b565b90506109a661099f6806c6b935b8bbd4000061271061168b565b829061168b565b92506109be670de0b6b3a764000061097f86846116f2565b9150506109f8565b336000908152601a60205260408120556109f56109ee6806c6b935b8bbd4000061271061168b565b849061168b565b91505b8115610a3c57600754610a0b90836116f2565b600755600154610a25906001600160a01b0316338461174f565b600454610a3c906001600160a01b0316338461174f565b8015610a6b57336000818152601a6020526040812055600554610a6b916001600160a01b03909116908361174f565b600a8054600101905560408051838152905133917ff96626d18d8a79ffbbff20aeb2ca358ea105b07cadff1bb5e32f2fd9f4e8832d919081900360200190a2505050565b6a6342fd08f00f637800000081565b336000908152601a60205260409020548015610b175760098054600019019055600854610aeb90826116f2565b600855336000818152601a6020526040812055600554610b17916001600160a01b03909116908361174f565b50565b600a5481565b6000546001600160a01b03163314610b6d576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600c55565b6000546001600160a01b03163314610bbf576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b80600e8360068110610bcd57fe5b01555050565b6000546001600160a01b03163314610c20576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60075481565b600b5481565b6000546001600160a01b03163314610cc3576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60148160068110610cf257fe5b0154905081565b6000546001600160a01b031690565b60065481565b60085481565b6000806014600101548310610d3157600e60015b01549050610d75565b6016548310610d4357600e6002610d28565b6017548310610d5557600e6003610d28565b6018548310610d6757600e6004610d28565b6019548310610d7557506013545b92915050565b601b602052600090815260409020546001600160a01b031681565b600e8160068110610cf257fe5b6003546001600160a01b031681565b6002546001600160a01b031681565b6001600160a01b0381166000908152601a6020526040812054819081908190610df290670de0b6b3a764000061162b565b905060006806c6b935b8bbd40000905060008060006006546008541115610e5e57610e2e60085461097f6006548861162b90919063ffffffff16565b9050610e3f61099f8561271061168b565b9250610e57670de0b6b3a764000061097f87846116f2565b9150610e77565b610e74610e6d8561271061168b565b869061168b565b92505b91989097509095509350505050565b600054600160a81b900460ff1680610ea15750610ea16117a6565b80610eb65750600054600160a01b900460ff16155b610ef15760405162461bcd60e51b815260040180806020018281038252602e815260200180611b64602e913960400191505060405180910390fd5b600054600160a81b900460ff16158015610f28576000805460ff60a01b1960ff60a81b19909116600160a81b1716600160a01b1790555b600180546001600160a01b03199081166001600160a01b038d8116919091179092556002805482168c84161790556003805482168b84161790556004805482168a841617905560058054909116918816919091179055600b849055600c839055600d8290556000600e819055693f870857a3e0e3800000600f55690fe1c215e8f838e000006010556901969368974c05b000006011556828a857425466f80000601255680410d586a20a4c000060135560145569d3c21bcecceda1000000601555695f4a8c8375d1554000006016556910f0cf064dd59200000060175569021e19e0c9bab2400000601855683635c9adc5dea00000601955611029856117b7565b801561103d576000805460ff60a81b191690555b50505050505050505050565b6000546001600160a01b03163314611096576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b60005b6009548110156110e6576000818152601b6020818152604080842080546001600160a01b03168552601a8352908420849055928490525280546001600160a01b0319169055600101611099565b5060006008819055600955565b60095481565b6000546001600160a01b03163314611146576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111b5576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b8060148360ff1660068110610bcd57fe5b6000546001600160a01b03163314611213576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b8060148360068110610bcd57fe5b6000546001600160a01b0316331461126e576040805162461bcd60e51b81526020600482018190526024820152600080516020611bb3833981519152604482015290519081900360640190fd5b6001600160a01b0381166112b35760405162461bcd60e51b8152600401808060200182810382526026815260200180611b3e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b42600b54111561134d576040805162461bcd60e51b8152602060048201526005602482015264576169742160d81b604482015290519081900360640190fd5b42600c54101561138e576040805162461bcd60e51b81526020600482015260076024820152664578706972652160c81b604482015290519081900360640190fd5b600081116113d7576040805162461bcd60e51b8152602060048201526011602482015270125b9cdd59999a58da595b9d08109554d1607a1b604482015290519081900360640190fd5b336000818152601a6020526040812054916113f190611510565b905060006113fe82610d14565b90508361140b82856116f2565b101561144f576040805162461bcd60e51b815260206004820152600e60248201526d213ab9b21027bb32b9103a34b2b960911b604482015290519081900360640190fd5b60085461145c9085611802565b6008558261148e57600980546000908152601b6020526040902080546001600160a01b03191633179055805460010190555b6114988385611802565b336000818152601a60205260409020919091556005546114c5916001600160a01b0390911690308761185c565b60408051858152905133917f0d957e70e30134e374b2bcff81cf9e8dfa2fbef3ce372b9558bfc5d2a9f5d5ad919081900360200190a250505050565b6004546001600160a01b031681565b600254604080516370a0823160e01b81526001600160a01b0384811660048301529151600093849316916370a08231916024808301926020929190829003018186803b15801561155f57600080fd5b505afa158015611573573d6000803e3d6000fd5b505050506040513d602081101561158957600080fd5b5051600354604080516370a0823160e01b81526001600160a01b038781166004830152915193945060009391909216916370a08231916024808301926020929190829003018186803b1580156115de57600080fd5b505afa1580156115f2573d6000803e3d6000fd5b505050506040513d602081101561160857600080fd5b505190506116168282611802565b949350505050565b6806c6b935b8bbd4000081565b60008261163a57506000610d75565b8282028284828161164757fe5b04146116845760405162461bcd60e51b8152600401808060200182810382526021815260200180611b926021913960400191505060405180910390fd5b9392505050565b60008082116116e1576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816116ea57fe5b049392505050565b600082821115611749576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526117a19084906118bc565b505050565b60006117b13061196d565b15905090565b600080546001600160a01b0319166001600160a01b03831690811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350565b600082820183811015611684576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526118b69085906118bc565b50505050565b6060611911826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119739092919063ffffffff16565b8051909150156117a15780806020019051602081101561193057600080fd5b50516117a15760405162461bcd60e51b815260040180806020018281038252602a815260200180611bd3602a913960400191505060405180910390fd5b3b151590565b60606116168484600085856119878561196d565b6119d8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611a175780518252601f1990920191602091820191016119f8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a79576040519150601f19603f3d011682016040523d82523d6000602084013e611a7e565b606091505b5091509150611a8e828286611a99565b979650505050505050565b60608315611aa8575081611684565b825115611ab85782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b02578181015183820152602001611aea565b50505050905090810190601f168015611b2f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201f09999e52fa8ea0fa42c9d0941a5b2007993e2b60224e35be9b8896866e294164736f6c634300060c0033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading