ETH Price: $3,252.15 (-0.69%)
Gas: 4 Gwei

Contract

0x207b88436D4d6B0f4b9a83E95Ee3B33F4ad1Bd97
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Reward184412462023-10-27 11:28:11274 days ago1698406091IN
0x207b8843...F4ad1Bd97
0 ETH0.0016335616.3127705
Get Reward184253202023-10-25 5:57:23276 days ago1698213443IN
0x207b8843...F4ad1Bd97
0 ETH0.0015756313.43937159
Get Reward183585302023-10-15 21:42:23286 days ago1697406143IN
0x207b8843...F4ad1Bd97
0 ETH0.000409847.44211833
Get Reward183551652023-10-15 10:24:59286 days ago1697365499IN
0x207b8843...F4ad1Bd97
0 ETH0.000438517.96273375
Get Reward183551642023-10-15 10:24:47286 days ago1697365487IN
0x207b8843...F4ad1Bd97
0 ETH0.000453728.23886417
Get Reward183550862023-10-15 10:09:11286 days ago1697364551IN
0x207b8843...F4ad1Bd97
0 ETH0.000466428.46954056
Get Reward183550832023-10-15 10:08:35286 days ago1697364515IN
0x207b8843...F4ad1Bd97
0 ETH0.00057968.03096307
Get Reward183521082023-10-15 0:09:59286 days ago1697328599IN
0x207b8843...F4ad1Bd97
0 ETH0.000630886.3
Get Reward183478912023-10-14 10:01:11287 days ago1697277671IN
0x207b8843...F4ad1Bd97
0 ETH0.000604616.03774709
Get Reward183478832023-10-14 9:59:35287 days ago1697277575IN
0x207b8843...F4ad1Bd97
0 ETH0.000564165.63377799
Get Reward182976922023-10-07 9:24:35294 days ago1696670675IN
0x207b8843...F4ad1Bd97
0 ETH0.00044848.14235672
Get Reward182976012023-10-07 9:06:23294 days ago1696669583IN
0x207b8843...F4ad1Bd97
0 ETH0.000460438.36081185
Get Reward182975842023-10-07 9:02:59294 days ago1696669379IN
0x207b8843...F4ad1Bd97
0 ETH0.000685779.50207559
Get Reward182893222023-10-06 5:17:35295 days ago1696569455IN
0x207b8843...F4ad1Bd97
0 ETH0.000856248.55052216
Get Reward182846462023-10-05 13:35:59296 days ago1696512959IN
0x207b8843...F4ad1Bd97
0 ETH0.0012145512.12860003
Get Reward182813822023-10-05 2:38:47296 days ago1696473527IN
0x207b8843...F4ad1Bd97
0 ETH0.000875838.74609011
Get Reward182686312023-10-03 7:50:23298 days ago1696319423IN
0x207b8843...F4ad1Bd97
0 ETH0.000802586.84569758
Get Reward182182222023-09-26 6:39:23305 days ago1695710363IN
0x207b8843...F4ad1Bd97
0 ETH0.000841178.4
Get Reward181887422023-09-22 3:33:47309 days ago1695353627IN
0x207b8843...F4ad1Bd97
0 ETH0.000847998.46805667
Get Reward181887322023-09-22 3:31:47309 days ago1695353507IN
0x207b8843...F4ad1Bd97
0 ETH0.0012384710.56406705
Get Reward181886702023-09-22 3:19:23309 days ago1695352763IN
0x207b8843...F4ad1Bd97
0 ETH0.001080719.21838055
Get Reward181886542023-09-22 3:15:59309 days ago1695352559IN
0x207b8843...F4ad1Bd97
0 ETH0.00101138.62629981
Get Reward181886482023-09-22 3:14:47309 days ago1695352487IN
0x207b8843...F4ad1Bd97
0 ETH0.001001238.54036978
Get Reward181886402023-09-22 3:13:11309 days ago1695352391IN
0x207b8843...F4ad1Bd97
0 ETH0.001006718.58711653
Get Reward181886362023-09-22 3:12:23309 days ago1695352343IN
0x207b8843...F4ad1Bd97
0 ETH0.001017528.67935841
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
178283382023-08-02 15:55:11360 days ago1690991711
0x207b8843...F4ad1Bd97
0.09 ETH
178185972023-08-01 7:16:11361 days ago1690874171
0x207b8843...F4ad1Bd97
0.09 ETH
178099772023-07-31 2:21:59362 days ago1690770119
0x207b8843...F4ad1Bd97
0.09 ETH
177899192023-07-28 6:59:23365 days ago1690527563
0x207b8843...F4ad1Bd97
0.09 ETH
177778582023-07-26 14:30:11367 days ago1690381811
0x207b8843...F4ad1Bd97
0.09 ETH
177743672023-07-26 2:46:47367 days ago1690339607
0x207b8843...F4ad1Bd97
0.09 ETH
177742512023-07-26 2:23:23367 days ago1690338203
0x207b8843...F4ad1Bd97
0.09 ETH
177711692023-07-25 16:01:47368 days ago1690300907
0x207b8843...F4ad1Bd97
0.09 ETH
177688322023-07-25 8:09:59368 days ago1690272599
0x207b8843...F4ad1Bd97
0.09 ETH
177687832023-07-25 7:59:59368 days ago1690271999
0x207b8843...F4ad1Bd97
0.09 ETH
177687762023-07-25 7:58:35368 days ago1690271915
0x207b8843...F4ad1Bd97
0.09 ETH
177654082023-07-24 20:40:59369 days ago1690231259
0x207b8843...F4ad1Bd97
0.09 ETH
177612472023-07-24 6:41:59369 days ago1690180919
0x207b8843...F4ad1Bd97
0.09 ETH
177608432023-07-24 5:21:11369 days ago1690176071
0x207b8843...F4ad1Bd97
0.09 ETH
177594962023-07-24 0:49:47369 days ago1690159787
0x207b8843...F4ad1Bd97
0.09 ETH
177573312023-07-23 17:34:11370 days ago1690133651
0x207b8843...F4ad1Bd97
0.09 ETH
177572092023-07-23 17:09:47370 days ago1690132187
0x207b8843...F4ad1Bd97
0.09 ETH
177552522023-07-23 10:34:47370 days ago1690108487
0x207b8843...F4ad1Bd97
0.1 ETH
177552512023-07-23 10:34:35370 days ago1690108475
0x207b8843...F4ad1Bd97
0.1 ETH
177552492023-07-23 10:34:11370 days ago1690108451
0x207b8843...F4ad1Bd97
0.1 ETH
177552462023-07-23 10:33:35370 days ago1690108415
0x207b8843...F4ad1Bd97
0.1 ETH
177552312023-07-23 10:30:35370 days ago1690108235
0x207b8843...F4ad1Bd97
0.1 ETH
177552272023-07-23 10:29:47370 days ago1690108187
0x207b8843...F4ad1Bd97
0.1 ETH
177552242023-07-23 10:29:11370 days ago1690108151
0x207b8843...F4ad1Bd97
0.1 ETH
177552142023-07-23 10:27:11370 days ago1690108031
0x207b8843...F4ad1Bd97
0.1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Mint

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Mint.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/math/Math.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/access/Ownable.sol';



contract Mint is  Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;


    struct Invite {
        address addr;
        uint256 datetime;
    }

    address public rewardToken;
    uint256 public price;
    address public dev;
    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    uint256 immutable public duration = 25920000; // 300 day
    uint256 immutable public percent = 200;
    uint256 public totalAccumulatedReward = 0;


    uint256 public starttime;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    uint256 public totalCirculation;


    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;
    mapping(address => uint256) public receiveReward;
    mapping(address => uint256) public deposits;
    mapping(address => uint256) public lastStakeTime;
    mapping(address => Invite[]) public inviterAddress;
    mapping(address => uint256) public inviterSize;
    mapping(address => address) public inviter;


    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event DevFundRewardPaid(address indexed user, uint256 reward);

    modifier checkStart() {
        require(block.timestamp >= starttime, 'not start');
        _;
    }

    modifier updateReward(address account) {
        //
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }


    constructor(
        uint256 _price,
        address _owner,
        address _rewardToken,
        uint256 _starttime
    ) {
        price = _price;
        dev = _owner;
        rewardToken = _rewardToken;
        starttime = _starttime;
    }


    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }


    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (totalSupply() == 0) {
            return rewardPerTokenStored;
        }
        return
        rewardPerTokenStored.add(
            lastTimeRewardApplicable()
            .sub(lastUpdateTime)
            .mul(rewardRate)
            .mul(1e18)
            .div(totalSupply())
        );
    }

    function earned(address account) public view returns (uint256) {
        return
        balanceOf(account)
        .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
        .div(1e18)
        .add(rewards[account]);
    }
    function stake(address from)
    public payable
    updateReward(msg.sender)
    checkStart
    {
        require(msg.sender == tx.origin, "Only external accounts can call this function");
        require(!isContract(msg.sender), "Only external accounts can call this function");
        require(balanceOf(msg.sender) <= 0, "repeat start");
        require(msg.value >= price, "insufficient funds");
        // Inviter
        bool shouldSetInviter = balanceOf(msg.sender) == 0 && inviter[msg.sender] == address(0) &&
        from != address(0) && msg.sender != from;
        if (shouldSetInviter) {
            inviter[msg.sender] = from;
            Invite memory invite = Invite(msg.sender,block.timestamp);
            inviterAddress[from].push(invite);
            inviterSize[from] = inviterAddress[from].length;
        }
        uint256 amount = 1e18;
        uint256 newDeposit = deposits[msg.sender].add(amount);
        deposits[msg.sender] = newDeposit;
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        lastStakeTime[msg.sender] = block.timestamp;
        emit Staked(msg.sender, amount);
        payable(dev).transfer(msg.value);
    }


    function getReward() public updateReward(msg.sender) checkStart {

        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            uint256 devPaid = reward.mul(percent).div(1000);
            address inviterAdd =  inviter[msg.sender];
            // If there is no inviter, it will be destroyed
            if(inviterAdd == address(0)){
                inviterAdd = 0x000000000000000000000000000000000000dEaD;
            }
            if(devPaid > 0){
                receiveReward[inviterAdd] = receiveReward[inviterAdd].add(devPaid);
                IERC20(rewardToken).safeTransfer(inviterAdd, devPaid);
                emit DevFundRewardPaid(inviterAdd, devPaid);
            }


            IERC20(rewardToken).safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
            totalCirculation += (devPaid + reward);
        }
    }


    function setConfig(address _fund, uint256 _price) external {
        require(dev == _msgSender(), "error");
        dev = _fund;
        price = _price;
    }

    function notifyRewardAmount(uint256 reward)
    external
    onlyOwner
    updateReward(address(0))
    {

        if (block.timestamp > starttime){
            if (block.timestamp >= periodFinish) {
                uint256 period = block.timestamp.sub(starttime).div(duration).add(1);
                periodFinish = starttime.add(period.mul(duration));
                rewardRate = reward.div(periodFinish.sub(block.timestamp));
            } else {
                uint256 remaining = periodFinish.sub(block.timestamp);
                uint256 leftover = remaining.mul(rewardRate);
                rewardRate = reward.add(leftover).div(remaining);
            }
            lastUpdateTime = block.timestamp;
            emit RewardAdded(reward);
        }else {
            rewardRate = reward.div(duration);
            periodFinish = starttime.add(duration);
            lastUpdateTime = starttime;
            emit RewardAdded(reward);
        }

        totalAccumulatedReward = totalAccumulatedReward.add(reward);
        _checkRewardRate();
    }

    function _checkRewardRate() internal view returns (uint256) {
        return duration.mul(rewardRate).mul(1e18);
    }


    function isContract(address addr) internal view returns (bool) {
        uint32 size;
        assembly {
            size := extcodesize(addr)
        }
        return (size > 0);
    }

    function getLastInvites(address _address, uint256 count) public view returns (Invite[] memory) {
        Invite[] memory invites = inviterAddress[_address];
        uint256 length = invites.length;
        if (count > length) {
            count = length;
        }
        Invite[] memory lastInvites = new Invite[](count);
        for (uint256 i = length - count; i < length; i++) {
            lastInvites[i - (length - count)] = invites[i];
        }
        return lastInvites;
    }

    function withdraw() onlyOwner external {
        payable(msg.sender).transfer(address(this).balance);
    }

}

File 2 of 8 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 3 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
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) {
        unchecked {
            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) {
        unchecked {
            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) {
        unchecked {
            // 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) {
        unchecked {
            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) {
        unchecked {
            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) {
        return a + b;
    }

    /**
     * @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) {
        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) {
        return a * b;
    }

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_starttime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"DevFundRewardPaid","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":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"getLastInvites","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"datetime","type":"uint256"}],"internalType":"struct Mint.Invite[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"inviter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"inviterAddress","outputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"datetime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"inviterSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastStakeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"receiveReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_fund","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAccumulatedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCirculation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405263018b820060805260c860a0526000600681905560088190556009553480156200002d57600080fd5b5060405162001aad38038062001aad833981016040819052620000509162000103565b6200005b3362000096565b600293909355600380546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556007556200014c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000fe57600080fd5b919050565b600080600080608085870312156200011a57600080fd5b845193506200012c60208601620000e6565b92506200013c60408601620000e6565b6060959095015193969295505050565b60805160a0516119116200019c600039600081816103e40152610e3b0152600081816102ad01528181610b5a01528181610b9901528181610c6a01528181610c9a01526112ea01526119116000f3fe6080604052600436106101f75760003560e01c806380faa57d1161010d578063c6195d36116100a0578063ebe2b12b1161006f578063ebe2b12b146105d9578063ee8f0b7a146105ef578063f2fde38b14610625578063f7c618c114610645578063fc7e286d1461066557600080fd5b8063c6195d3614610578578063c8f33c9114610598578063cd3daf9d146105ae578063df136d65146105c357600080fd5b80638da5cb5b116100dc5780638da5cb5b146104e357806391cca3db14610515578063a035b1fe14610535578063be8f6c8a1461054b57600080fd5b806380faa57d1461045e57806387239d82146104735780638b876347146104a05780638da58897146104cd57600080fd5b80633c6b16ab1161019057806370a082311161015f57806370a082311461039c57806370ba1113146103d2578063715018a6146104065780637b0a47ee1461041b5780637bb1ca191461043157600080fd5b80633c6b16ab1461033c5780633ccfd60b1461035c5780633d18b912146103715780635dcf8d2b1461038657600080fd5b806318160ddd116101cc57806318160ddd146102cf578063207e821d146102e457806326476204146102fa5780632a7548e91461030f57600080fd5b80628cc262146101fc578062c399161461022f5780630700037d1461026e5780630fb5a6b41461029b575b600080fd5b34801561020857600080fd5b5061021c610217366004611635565b610692565b6040519081526020015b60405180910390f35b34801561023b57600080fd5b5061024f61024a366004611650565b610711565b604080516001600160a01b039093168352602083019190915201610226565b34801561027a57600080fd5b5061021c610289366004611635565b600e6020526000908152604090205481565b3480156102a757600080fd5b5061021c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156102db57600080fd5b5060045461021c565b3480156102f057600080fd5b5061021c60065481565b61030d610308366004611635565b610757565b005b34801561031b57600080fd5b5061021c61032a366004611635565b600f6020526000908152604090205481565b34801561034857600080fd5b5061030d61035736600461169c565b610ab5565b34801561036857600080fd5b5061030d610d18565b34801561037d57600080fd5b5061030d610d71565b34801561039257600080fd5b5061021c600c5481565b3480156103a857600080fd5b5061021c6103b7366004611635565b6001600160a01b031660009081526005602052604090205490565b3480156103de57600080fd5b5061021c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561041257600080fd5b5061030d610f91565b34801561042757600080fd5b5061021c60095481565b34801561043d57600080fd5b5061021c61044c366004611635565b60116020526000908152604090205481565b34801561046a57600080fd5b5061021c610fc7565b34801561047f57600080fd5b5061049361048e366004611650565b610fda565b60405161022691906116d1565b3480156104ac57600080fd5b5061021c6104bb366004611635565b600d6020526000908152604090205481565b3480156104d957600080fd5b5061021c60075481565b3480156104ef57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610226565b34801561052157600080fd5b506003546104fd906001600160a01b031681565b34801561054157600080fd5b5061021c60025481565b34801561055757600080fd5b5061021c610566366004611635565b60136020526000908152604090205481565b34801561058457600080fd5b5061030d610593366004611650565b61114f565b3480156105a457600080fd5b5061021c600a5481565b3480156105ba57600080fd5b5061021c6111b7565b3480156105cf57600080fd5b5061021c600b5481565b3480156105e557600080fd5b5061021c60085481565b3480156105fb57600080fd5b506104fd61060a366004611635565b6014602052600090815260409020546001600160a01b031681565b34801561063157600080fd5b5061030d610640366004611635565b611205565b34801561065157600080fd5b506001546104fd906001600160a01b031681565b34801561067157600080fd5b5061021c610680366004611635565b60106020526000908152604090205481565b6001600160a01b0381166000908152600e6020908152604080832054600d90925282205461070b919061070590670de0b6b3a7640000906106ff906106df906106d96111b7565b9061129d565b6001600160a01b0388166000908152600560205260409020545b906112b0565b906112bc565b906112c8565b92915050565b6012602052816000526040600020818154811061072d57600080fd5b6000918252602090912060029091020180546001909101546001600160a01b039091169250905082565b336107606111b7565b600b5561076b610fc7565b600a556001600160a01b038116156107b25761078681610692565b6001600160a01b0382166000908152600e6020908152604080832093909355600b54600d909152919020555b6007544210156107f55760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b60448201526064015b60405180910390fd5b3332146108145760405162461bcd60e51b81526004016107ec90611791565b333b63ffffffff16156108395760405162461bcd60e51b81526004016107ec90611791565b33600090815260056020526040902054156108855760405162461bcd60e51b815260206004820152600c60248201526b1c995c19585d081cdd185c9d60a21b60448201526064016107ec565b6002543410156108cc5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016107ec565b336000908152600560205260408120541580156108ff5750336000908152601460205260409020546001600160a01b0316155b801561091357506001600160a01b03831615155b80156109285750336001600160a01b03841614155b905080156109b75733600081815260146020908152604080832080546001600160a01b03808a166001600160a01b03199283168117909355835180850185529687524287860190815283875260128652848720805460018181018355828a52888a209a516002909202909a01805491909416941693909317825551960195909555835292546013909152919020555b33600090815260106020526040812054670de0b6b3a764000091906109dc90836112c8565b3360009081526010602052604090208190556004549091506109fe90836112c8565b60045533600090815260056020526040902054610a1b90836112c8565b336000818152600560209081526040808320949094556011905282902042905590517f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d90610a6c9085815260200190565b60405180910390a26003546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610aad573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610adf5760405162461bcd60e51b81526004016107ec9061175c565b6000610ae96111b7565b600b55610af4610fc7565b600a556001600160a01b03811615610b3b57610b0f81610692565b6001600160a01b0382166000908152600e6020908152604080832093909355600b54600d909152919020555b600754421115610c64576008544210610be9576000610b8e60016107057f00000000000000000000000000000000000000000000000000000000000000006106ff6007544261129d90919063ffffffff16565b9050610bc6610bbd827f00000000000000000000000000000000000000000000000000000000000000006112b0565b600754906112c8565b6008819055610be090610bd9904261129d565b84906112bc565b60095550610c28565b600854600090610bf9904261129d565b90506000610c12600954836112b090919063ffffffff16565b9050610c22826106ff86846112c8565b60095550505b42600a556040518281527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a1610cfb565b610c8e827f00000000000000000000000000000000000000000000000000000000000000006112bc565b600955600754610cbe907f00000000000000000000000000000000000000000000000000000000000000006112c8565b600855600754600a556040518281527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a15b600654610d0890836112c8565b600655610d136112d4565b505050565b6000546001600160a01b03163314610d425760405162461bcd60e51b81526004016107ec9061175c565b60405133904780156108fc02916000818181858888f19350505050158015610d6e573d6000803e3d6000fd5b50565b33610d7a6111b7565b600b55610d85610fc7565b600a556001600160a01b03811615610dcc57610da081610692565b6001600160a01b0382166000908152600e6020908152604080832093909355600b54600d909152919020555b600754421015610e0a5760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b60448201526064016107ec565b6000610e1533610692565b90508015610f8d57336000908152600e60205260408120819055610e5f6103e86106ff847f00000000000000000000000000000000000000000000000000000000000000006112b0565b336000908152601460205260409020549091506001600160a01b031680610e85575061dead5b8115610f1e576001600160a01b0381166000908152600f6020526040902054610eae90836112c8565b6001600160a01b038083166000908152600f6020526040902091909155600154610eda91168284611317565b806001600160a01b03167f061c98e59f9b33c71a9fa7acefcba88c95a4d7e3323f55d60e93ecd8664df89b83604051610f1591815260200190565b60405180910390a25b600154610f35906001600160a01b03163385611317565b60405183815233907fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04869060200160405180910390a2610f7483836117de565b600c6000828254610f8591906117de565b909155505050505b5050565b6000546001600160a01b03163314610fbb5760405162461bcd60e51b81526004016107ec9061175c565b610fc56000611369565b565b6000610fd5426008546113b9565b905090565b6001600160a01b0382166000908152601260209081526040808320805482518185028101850190935280835260609493849084015b82821015611057576000848152602090819020604080518082019091526002850290910180546001600160a01b0316825260019081015482840152908352909201910161100f565b5050825192935050508084111561106c578093505b60008467ffffffffffffffff811115611087576110876118c5565b6040519080825280602002602001820160405280156110cc57816020015b60408051808201909152600080825260208201528152602001906001900390816110a55790505b50905060006110db8684611837565b90505b82811015611145578381815181106110f8576110f86118af565b602002602001015182878561110d9190611837565b6111179084611837565b81518110611127576111276118af565b6020026020010181905250808061113d9061187e565b9150506110de565b5095945050505050565b6003546001600160a01b031633146111915760405162461bcd60e51b815260206004820152600560248201526432b93937b960d91b60448201526064016107ec565b600380546001600160a01b0319166001600160a01b039390931692909217909155600255565b60006111c260045490565b6111cd5750600b5490565b610fd56111fc6111dc60045490565b6106ff670de0b6b3a76400006106f96009546106f9600a546106d9610fc7565b600b54906112c8565b6000546001600160a01b0316331461122f5760405162461bcd60e51b81526004016107ec9061175c565b6001600160a01b0381166112945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ec565b610d6e81611369565b60006112a98284611837565b9392505050565b60006112a98284611818565b60006112a982846117f6565b60006112a982846117de565b6000610fd5670de0b6b3a76400006106f96009547f00000000000000000000000000000000000000000000000000000000000000006112b090919063ffffffff16565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d139084906113cf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008183106113c857816112a9565b5090919050565b6000611424826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114a19092919063ffffffff16565b805190915015610d135780806020019051810190611442919061167a565b610d135760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107ec565b60606114b084846000856114b8565b949350505050565b6060824710156115195760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016107ec565b843b6115675760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107ec565b600080866001600160a01b0316858760405161158391906116b5565b60006040518083038185875af1925050503d80600081146115c0576040519150601f19603f3d011682016040523d82523d6000602084013e6115c5565b606091505b50915091506115d58282866115e0565b979650505050505050565b606083156115ef5750816112a9565b8251156115ff5782518084602001fd5b8160405162461bcd60e51b81526004016107ec9190611729565b80356001600160a01b038116811461163057600080fd5b919050565b60006020828403121561164757600080fd5b6112a982611619565b6000806040838503121561166357600080fd5b61166c83611619565b946020939093013593505050565b60006020828403121561168c57600080fd5b815180151581146112a957600080fd5b6000602082840312156116ae57600080fd5b5035919050565b600082516116c781846020870161184e565b9190910192915050565b602080825282518282018190526000919060409081850190868401855b8281101561171c57815180516001600160a01b031685528601518685015292840192908501906001016116ee565b5091979650505050505050565b602081526000825180602084015261174881604085016020870161184e565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f4f6e6c792065787465726e616c206163636f756e74732063616e2063616c6c2060408201526c3a3434b990333ab731ba34b7b760991b606082015260800190565b600082198211156117f1576117f1611899565b500190565b60008261181357634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561183257611832611899565b500290565b60008282101561184957611849611899565b500390565b60005b83811015611869578181015183820152602001611851565b83811115611878576000848401525b50505050565b600060001982141561189257611892611899565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220422c9efe270431257fee21e9544d00983260b2d4cf5c516595fab7a3ae7c9f9964736f6c63430008070033000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000a92737e3940cb9d26f4fc4673c62773a40f5a23300000000000000000000000077f8c74b090c4f64baf767bca5c4218a77c93b7a0000000000000000000000000000000000000000000000000000000064a771a0

Deployed Bytecode

0x6080604052600436106101f75760003560e01c806380faa57d1161010d578063c6195d36116100a0578063ebe2b12b1161006f578063ebe2b12b146105d9578063ee8f0b7a146105ef578063f2fde38b14610625578063f7c618c114610645578063fc7e286d1461066557600080fd5b8063c6195d3614610578578063c8f33c9114610598578063cd3daf9d146105ae578063df136d65146105c357600080fd5b80638da5cb5b116100dc5780638da5cb5b146104e357806391cca3db14610515578063a035b1fe14610535578063be8f6c8a1461054b57600080fd5b806380faa57d1461045e57806387239d82146104735780638b876347146104a05780638da58897146104cd57600080fd5b80633c6b16ab1161019057806370a082311161015f57806370a082311461039c57806370ba1113146103d2578063715018a6146104065780637b0a47ee1461041b5780637bb1ca191461043157600080fd5b80633c6b16ab1461033c5780633ccfd60b1461035c5780633d18b912146103715780635dcf8d2b1461038657600080fd5b806318160ddd116101cc57806318160ddd146102cf578063207e821d146102e457806326476204146102fa5780632a7548e91461030f57600080fd5b80628cc262146101fc578062c399161461022f5780630700037d1461026e5780630fb5a6b41461029b575b600080fd5b34801561020857600080fd5b5061021c610217366004611635565b610692565b6040519081526020015b60405180910390f35b34801561023b57600080fd5b5061024f61024a366004611650565b610711565b604080516001600160a01b039093168352602083019190915201610226565b34801561027a57600080fd5b5061021c610289366004611635565b600e6020526000908152604090205481565b3480156102a757600080fd5b5061021c7f00000000000000000000000000000000000000000000000000000000018b820081565b3480156102db57600080fd5b5060045461021c565b3480156102f057600080fd5b5061021c60065481565b61030d610308366004611635565b610757565b005b34801561031b57600080fd5b5061021c61032a366004611635565b600f6020526000908152604090205481565b34801561034857600080fd5b5061030d61035736600461169c565b610ab5565b34801561036857600080fd5b5061030d610d18565b34801561037d57600080fd5b5061030d610d71565b34801561039257600080fd5b5061021c600c5481565b3480156103a857600080fd5b5061021c6103b7366004611635565b6001600160a01b031660009081526005602052604090205490565b3480156103de57600080fd5b5061021c7f00000000000000000000000000000000000000000000000000000000000000c881565b34801561041257600080fd5b5061030d610f91565b34801561042757600080fd5b5061021c60095481565b34801561043d57600080fd5b5061021c61044c366004611635565b60116020526000908152604090205481565b34801561046a57600080fd5b5061021c610fc7565b34801561047f57600080fd5b5061049361048e366004611650565b610fda565b60405161022691906116d1565b3480156104ac57600080fd5b5061021c6104bb366004611635565b600d6020526000908152604090205481565b3480156104d957600080fd5b5061021c60075481565b3480156104ef57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610226565b34801561052157600080fd5b506003546104fd906001600160a01b031681565b34801561054157600080fd5b5061021c60025481565b34801561055757600080fd5b5061021c610566366004611635565b60136020526000908152604090205481565b34801561058457600080fd5b5061030d610593366004611650565b61114f565b3480156105a457600080fd5b5061021c600a5481565b3480156105ba57600080fd5b5061021c6111b7565b3480156105cf57600080fd5b5061021c600b5481565b3480156105e557600080fd5b5061021c60085481565b3480156105fb57600080fd5b506104fd61060a366004611635565b6014602052600090815260409020546001600160a01b031681565b34801561063157600080fd5b5061030d610640366004611635565b611205565b34801561065157600080fd5b506001546104fd906001600160a01b031681565b34801561067157600080fd5b5061021c610680366004611635565b60106020526000908152604090205481565b6001600160a01b0381166000908152600e6020908152604080832054600d90925282205461070b919061070590670de0b6b3a7640000906106ff906106df906106d96111b7565b9061129d565b6001600160a01b0388166000908152600560205260409020545b906112b0565b906112bc565b906112c8565b92915050565b6012602052816000526040600020818154811061072d57600080fd5b6000918252602090912060029091020180546001909101546001600160a01b039091169250905082565b336107606111b7565b600b5561076b610fc7565b600a556001600160a01b038116156107b25761078681610692565b6001600160a01b0382166000908152600e6020908152604080832093909355600b54600d909152919020555b6007544210156107f55760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b60448201526064015b60405180910390fd5b3332146108145760405162461bcd60e51b81526004016107ec90611791565b333b63ffffffff16156108395760405162461bcd60e51b81526004016107ec90611791565b33600090815260056020526040902054156108855760405162461bcd60e51b815260206004820152600c60248201526b1c995c19585d081cdd185c9d60a21b60448201526064016107ec565b6002543410156108cc5760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016107ec565b336000908152600560205260408120541580156108ff5750336000908152601460205260409020546001600160a01b0316155b801561091357506001600160a01b03831615155b80156109285750336001600160a01b03841614155b905080156109b75733600081815260146020908152604080832080546001600160a01b03808a166001600160a01b03199283168117909355835180850185529687524287860190815283875260128652848720805460018181018355828a52888a209a516002909202909a01805491909416941693909317825551960195909555835292546013909152919020555b33600090815260106020526040812054670de0b6b3a764000091906109dc90836112c8565b3360009081526010602052604090208190556004549091506109fe90836112c8565b60045533600090815260056020526040902054610a1b90836112c8565b336000818152600560209081526040808320949094556011905282902042905590517f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d90610a6c9085815260200190565b60405180910390a26003546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610aad573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610adf5760405162461bcd60e51b81526004016107ec9061175c565b6000610ae96111b7565b600b55610af4610fc7565b600a556001600160a01b03811615610b3b57610b0f81610692565b6001600160a01b0382166000908152600e6020908152604080832093909355600b54600d909152919020555b600754421115610c64576008544210610be9576000610b8e60016107057f00000000000000000000000000000000000000000000000000000000018b82006106ff6007544261129d90919063ffffffff16565b9050610bc6610bbd827f00000000000000000000000000000000000000000000000000000000018b82006112b0565b600754906112c8565b6008819055610be090610bd9904261129d565b84906112bc565b60095550610c28565b600854600090610bf9904261129d565b90506000610c12600954836112b090919063ffffffff16565b9050610c22826106ff86846112c8565b60095550505b42600a556040518281527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a1610cfb565b610c8e827f00000000000000000000000000000000000000000000000000000000018b82006112bc565b600955600754610cbe907f00000000000000000000000000000000000000000000000000000000018b82006112c8565b600855600754600a556040518281527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a15b600654610d0890836112c8565b600655610d136112d4565b505050565b6000546001600160a01b03163314610d425760405162461bcd60e51b81526004016107ec9061175c565b60405133904780156108fc02916000818181858888f19350505050158015610d6e573d6000803e3d6000fd5b50565b33610d7a6111b7565b600b55610d85610fc7565b600a556001600160a01b03811615610dcc57610da081610692565b6001600160a01b0382166000908152600e6020908152604080832093909355600b54600d909152919020555b600754421015610e0a5760405162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b60448201526064016107ec565b6000610e1533610692565b90508015610f8d57336000908152600e60205260408120819055610e5f6103e86106ff847f00000000000000000000000000000000000000000000000000000000000000c86112b0565b336000908152601460205260409020549091506001600160a01b031680610e85575061dead5b8115610f1e576001600160a01b0381166000908152600f6020526040902054610eae90836112c8565b6001600160a01b038083166000908152600f6020526040902091909155600154610eda91168284611317565b806001600160a01b03167f061c98e59f9b33c71a9fa7acefcba88c95a4d7e3323f55d60e93ecd8664df89b83604051610f1591815260200190565b60405180910390a25b600154610f35906001600160a01b03163385611317565b60405183815233907fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04869060200160405180910390a2610f7483836117de565b600c6000828254610f8591906117de565b909155505050505b5050565b6000546001600160a01b03163314610fbb5760405162461bcd60e51b81526004016107ec9061175c565b610fc56000611369565b565b6000610fd5426008546113b9565b905090565b6001600160a01b0382166000908152601260209081526040808320805482518185028101850190935280835260609493849084015b82821015611057576000848152602090819020604080518082019091526002850290910180546001600160a01b0316825260019081015482840152908352909201910161100f565b5050825192935050508084111561106c578093505b60008467ffffffffffffffff811115611087576110876118c5565b6040519080825280602002602001820160405280156110cc57816020015b60408051808201909152600080825260208201528152602001906001900390816110a55790505b50905060006110db8684611837565b90505b82811015611145578381815181106110f8576110f86118af565b602002602001015182878561110d9190611837565b6111179084611837565b81518110611127576111276118af565b6020026020010181905250808061113d9061187e565b9150506110de565b5095945050505050565b6003546001600160a01b031633146111915760405162461bcd60e51b815260206004820152600560248201526432b93937b960d91b60448201526064016107ec565b600380546001600160a01b0319166001600160a01b039390931692909217909155600255565b60006111c260045490565b6111cd5750600b5490565b610fd56111fc6111dc60045490565b6106ff670de0b6b3a76400006106f96009546106f9600a546106d9610fc7565b600b54906112c8565b6000546001600160a01b0316331461122f5760405162461bcd60e51b81526004016107ec9061175c565b6001600160a01b0381166112945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ec565b610d6e81611369565b60006112a98284611837565b9392505050565b60006112a98284611818565b60006112a982846117f6565b60006112a982846117de565b6000610fd5670de0b6b3a76400006106f96009547f00000000000000000000000000000000000000000000000000000000018b82006112b090919063ffffffff16565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d139084906113cf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008183106113c857816112a9565b5090919050565b6000611424826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114a19092919063ffffffff16565b805190915015610d135780806020019051810190611442919061167a565b610d135760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107ec565b60606114b084846000856114b8565b949350505050565b6060824710156115195760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016107ec565b843b6115675760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107ec565b600080866001600160a01b0316858760405161158391906116b5565b60006040518083038185875af1925050503d80600081146115c0576040519150601f19603f3d011682016040523d82523d6000602084013e6115c5565b606091505b50915091506115d58282866115e0565b979650505050505050565b606083156115ef5750816112a9565b8251156115ff5782518084602001fd5b8160405162461bcd60e51b81526004016107ec9190611729565b80356001600160a01b038116811461163057600080fd5b919050565b60006020828403121561164757600080fd5b6112a982611619565b6000806040838503121561166357600080fd5b61166c83611619565b946020939093013593505050565b60006020828403121561168c57600080fd5b815180151581146112a957600080fd5b6000602082840312156116ae57600080fd5b5035919050565b600082516116c781846020870161184e565b9190910192915050565b602080825282518282018190526000919060409081850190868401855b8281101561171c57815180516001600160a01b031685528601518685015292840192908501906001016116ee565b5091979650505050505050565b602081526000825180602084015261174881604085016020870161184e565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f4f6e6c792065787465726e616c206163636f756e74732063616e2063616c6c2060408201526c3a3434b990333ab731ba34b7b760991b606082015260800190565b600082198211156117f1576117f1611899565b500190565b60008261181357634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561183257611832611899565b500290565b60008282101561184957611849611899565b500390565b60005b83811015611869578181015183820152602001611851565b83811115611878576000848401525b50505050565b600060001982141561189257611892611899565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220422c9efe270431257fee21e9544d00983260b2d4cf5c516595fab7a3ae7c9f9964736f6c63430008070033

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

000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000a92737e3940cb9d26f4fc4673c62773a40f5a23300000000000000000000000077f8c74b090c4f64baf767bca5c4218a77c93b7a0000000000000000000000000000000000000000000000000000000064a771a0

-----Decoded View---------------
Arg [0] : _price (uint256): 100000000000000000
Arg [1] : _owner (address): 0xA92737E3940cB9D26f4fc4673c62773A40f5a233
Arg [2] : _rewardToken (address): 0x77f8C74b090C4F64BaF767BCa5c4218a77c93b7a
Arg [3] : _starttime (uint256): 1688695200

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [1] : 000000000000000000000000a92737e3940cb9d26f4fc4673c62773a40f5a233
Arg [2] : 00000000000000000000000077f8c74b090c4f64baf767bca5c4218a77c93b7a
Arg [3] : 0000000000000000000000000000000000000000000000000000000064a771a0


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.