ETH Price: $3,479.03 (+2.59%)

Contract

0x1c3000b8f475A958b87c73a5cc5780Ab763122FC
 
Transaction Hash
Method
Block
From
To
Withdraw213781552024-12-11 8:43:479 days ago1733906627IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0017069713.74141008
Withdraw211382982024-11-07 20:56:2343 days ago1731012983IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0020310523.16279299
Deposit211382982024-11-07 20:56:2343 days ago1731012983IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0024105122.3
Withdraw210864852024-10-31 15:21:5950 days ago1730388119IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0021284817.13297118
Withdraw210618172024-10-28 4:42:2353 days ago1730090543IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000537934.33045093
Withdraw210023882024-10-19 21:44:4762 days ago1729374287IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000856396.89415242
Withdraw209676742024-10-15 1:26:1167 days ago1728955571IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0015440912.43019593
Withdraw208370942024-09-26 20:10:3585 days ago1727381435IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0028572928.14487609
Deposit208370872024-09-26 20:09:1185 days ago1727381351IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0028099825.99549049
Withdraw208365792024-09-26 18:27:2385 days ago1727375243IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0024652423.01625405
Withdraw207184732024-09-10 6:37:47101 days ago1725950267IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000265612.13821907
Withdraw205457142024-08-17 3:39:11126 days ago1723865951IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000127211.02419291
Withdraw205195882024-08-13 12:05:35129 days ago1723550735IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000282482.27406475
Deposit205122352024-08-12 11:28:23130 days ago1723462103IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000720617.9192494
Withdraw204691362024-08-06 11:09:23136 days ago1722942563IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000281712.77530851
Deposit204691302024-08-06 11:08:11136 days ago1722942491IN
Stargate Finance: LP Staking Time Metis
0 ETH0.00033083.04367093
Withdraw204010792024-07-27 23:10:47146 days ago1722121847IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000710647
Deposit204010762024-07-27 23:10:11146 days ago1722121811IN
Stargate Finance: LP Staking Time Metis
0 ETH0.00076087
Withdraw202766632024-07-10 14:21:11163 days ago1720621271IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0015173614.94631859
Deposit202766592024-07-10 14:20:23163 days ago1720621223IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0013321716.12895272
Deposit202766572024-07-10 14:19:59163 days ago1720621199IN
Stargate Finance: LP Staking Time Metis
0 ETH0.0017597216.27943966
Withdraw202641922024-07-08 20:33:23165 days ago1720470803IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000357812.88045098
Withdraw202601292024-07-08 6:53:11165 days ago1720421591IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000141071.56751477
Withdraw202565132024-07-07 18:46:23166 days ago1720377983IN
Stargate Finance: LP Staking Time Metis
0 ETH0.00024531.97491368
Withdraw202546192024-07-07 12:25:23166 days ago1720355123IN
Stargate Finance: LP Staking Time Metis
0 ETH0.000213711.72046136
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LPStakingTime

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : LPStakingTime.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.7.6;

// imports
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

// interfaces
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

// libraries
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";

contract LPStakingTime is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of STGs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accEmissionPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accEmissionPerShare` (and `lastRewardTime`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }
    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool, to distribute per block.
        uint256 lastRewardTime; // Last time that distribution occurs.
        uint256 accEmissionPerShare; // Accumulated Emissions per share, times 1e12. See below.
    }
    // Emissions token
    IERC20 public eToken;
    // Block time when bonus period ends.
    uint256 public bonusEndTime;
    // Tokens earned per second.
    uint256 public eTokenPerSecond;
    // Bonus multiplier for early makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Track which tokens have been added.
    mapping(address => bool) private addedLPTokens;

    mapping(uint256 => uint256) public lpBalances;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The time when mining starts.
    uint256 public startTime;
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event Add(uint256 allocPoint, address indexed lpToken);
    event Set(uint256 indexed pid, uint256 allocPoint);
    event TokensPerSec(uint256 eTokenPerSecond);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);

    constructor(
        address _eToken,
        uint256 _eTokenPerSecond,
        uint256 _startTime,
        uint256 _bonusEndTime
    ) {
        require(_startTime >= block.timestamp, "LPStaking: _startTime must be >= current block.timestamp");
        require(_bonusEndTime >= _startTime, "LPStaking: _bonusEndTime must be > than _startTime");
        require(_eToken != address(0x0), "LPStaking: _eToken cannot be 0x0");
        eToken = IERC20(_eToken);
        eTokenPerSecond = _eTokenPerSecond;
        startTime = _startTime;
        bonusEndTime = _bonusEndTime;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    /// @notice handles adding a new LP token (Can only be called by the owner)
    /// @param _allocPoint The alloc point is used as the weight of the pool against all other alloc points added.
    /// @param _lpToken The lp token address
    function add(uint256 _allocPoint, IERC20 _lpToken) external onlyOwner {
        massUpdatePools();
        require(address(_lpToken) != address(0x0), "LPStaking: _lpToken cant be 0x0");
        require(addedLPTokens[address(_lpToken)] == false, "LPStaking: _lpToken already exists");
        addedLPTokens[address(_lpToken)] = true;
        uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({lpToken: _lpToken, allocPoint: _allocPoint, lastRewardTime: lastRewardTime, accEmissionPerShare: 0}));

        emit Add(_allocPoint, address(_lpToken));
    }

    function set(uint256 _pid, uint256 _allocPoint) external onlyOwner {
        massUpdatePools();
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;

        emit Set(_pid, _allocPoint);
    }

    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        if (_to <= bonusEndTime) {
            return _to.sub(_from).mul(BONUS_MULTIPLIER);
        } else if (_from >= bonusEndTime) {
            return _to.sub(_from);
        } else {
            return bonusEndTime.sub(_from).mul(BONUS_MULTIPLIER).add(_to.sub(bonusEndTime));
        }
    }

    function pendingEmissionToken(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accEmissionPerShare = pool.accEmissionPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && lpSupply != 0 && totalAllocPoint > 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
            uint256 tokenReward = multiplier.mul(eTokenPerSecond).mul(pool.allocPoint).div(totalAllocPoint);
            accEmissionPerShare = accEmissionPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accEmissionPerShare).div(1e12).sub(user.rewardDebt);
    }

    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || totalAllocPoint == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
        uint256 tokenReward = multiplier.mul(eTokenPerSecond).mul(pool.allocPoint).div(totalAllocPoint);

        pool.accEmissionPerShare = pool.accEmissionPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        pool.lastRewardTime = block.timestamp;
    }

    function deposit(uint256 _pid, uint256 _amount) external {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accEmissionPerShare).div(1e12).sub(user.rewardDebt);
            safeTokenTransfer(msg.sender, pending);
        }
        pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accEmissionPerShare).div(1e12);
        lpBalances[_pid] = lpBalances[_pid].add(_amount);
        emit Deposit(msg.sender, _pid, _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount) external {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "LPStaking: withdraw _amount is too large");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accEmissionPerShare).div(1e12).sub(user.rewardDebt);
        safeTokenTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accEmissionPerShare).div(1e12);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        lpBalances[_pid] = lpBalances[_pid].sub(_amount);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    /// @notice Withdraw without caring about rewards.
    /// @param _pid The pid specifies the pool
    function emergencyWithdraw(uint256 _pid) external {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 userAmount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), userAmount);
        lpBalances[_pid] = lpBalances[_pid].sub(userAmount);
        emit EmergencyWithdraw(msg.sender, _pid, userAmount);
    }

    /// @notice Safe transfer function, just in case if rounding error causes pool to not have enough eToken.
    /// @param _to The address to transfer tokens to
    /// @param _amount The quantity to transfer
    function safeTokenTransfer(address _to, uint256 _amount) internal {
        uint256 eTokenBal = eToken.balanceOf(address(this));
        require(eTokenBal >= _amount, "LPStakingTime: eTokenBal must be >= _amount");
        eToken.safeTransfer(_to, _amount);
    }

    function setETokenPerSecond(uint256 _eTokenPerSecond) external onlyOwner {
        massUpdatePools();
        eTokenPerSecond = _eTokenPerSecond;

        emit TokensPerSec(_eTokenPerSecond);
    }

    // Override the renounce ownership inherited by zeppelin ownable
    function renounceOwnership() public override onlyOwner {}
}

File 2 of 8 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

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

pragma solidity ^0.7.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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        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 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity ^0.7.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",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_eToken","type":"address"},{"internalType":"uint256","name":"_eTokenPerSecond","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_bonusEndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"address","name":"lpToken","type":"address"}],"name":"Add","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"Set","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"eTokenPerSecond","type":"uint256"}],"name":"TokensPerSec","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eTokenPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lpBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingEmissionToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accEmissionPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_eTokenPerSecond","type":"uint256"}],"name":"setETokenPerSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060085534801561001557600080fd5b5060405162001a4b38038062001a4b8339818101604052608081101561003a57600080fd5b5080516020820151604083015160609093015191929091600061005b6101b2565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350428210156100e55760405162461bcd60e51b815260040180806020018281038252603881526020018062001a136038913960400191505060405180910390fd5b818110156101255760405162461bcd60e51b8152600401808060200182810382526032815260200180620019e16032913960400191505060405180910390fd5b6001600160a01b038416610180576040805162461bcd60e51b815260206004820181905260248201527f4c505374616b696e673a205f65546f6b656e2063616e6e6f7420626520307830604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0395909516949094179093556003919091556009556002556101b6565b3390565b61181b80620001c66000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063953d9cf11161007c578063953d9cf114610355578063a57657871461035d578063c4a27f5414610365578063e2bbb15814610391578063ee1a6295146103b4578063f2fde38b146103bc5761014d565b8063715018a6146102b157806378e97925146102b95780638aa28550146102c15780638da5cb5b146102c95780638dbb1e3a146102ed57806393f1a40b146103105761014d565b80632b8bbbe8116101155780632b8bbbe81461020357806331460ce11461022f578063441a3e701461024c57806351eb05a61461026f5780635312ea8e1461028c578063630b5ba1146102a95761014d565b80630328e32f14610152578063081e3eda146101815780631526fe271461018957806317caf6f1146101d65780631ab06ee5146101de575b600080fd5b61016f6004803603602081101561016857600080fd5b50356103e2565b60408051918252519081900360200190f35b61016f6103f4565b6101a66004803603602081101561019f57600080fd5b50356103fa565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b61016f61043e565b610201600480360360408110156101f457600080fd5b5080359060200135610444565b005b6102016004803603604081101561021957600080fd5b50803590602001356001600160a01b0316610550565b6102016004803603602081101561024557600080fd5b50356107dc565b6102016004803603604081101561026257600080fd5b5080359060200135610881565b6102016004803603602081101561028557600080fd5b50356109f7565b610201600480360360208110156102a257600080fd5b5035610b34565b610201610bfe565b610201610c21565b61016f610c85565b61016f610c8b565b6102d1610c90565b604080516001600160a01b039092168252519081900360200190f35b61016f6004803603604081101561030357600080fd5b5080359060200135610c9f565b61033c6004803603604081101561032657600080fd5b50803590602001356001600160a01b0316610d0b565b6040805192835260208301919091528051918290030190f35b6102d1610d2f565b61016f610d3e565b61016f6004803603604081101561037b57600080fd5b50803590602001356001600160a01b0316610d44565b610201600480360360408110156103a757600080fd5b5080359060200135610eb4565b61016f610fe7565b610201600480360360208110156103d257600080fd5b50356001600160a01b0316610fed565b60056020526000908152604090205481565b60065490565b6006818154811061040a57600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60085481565b61044c6110ef565b6001600160a01b031661045d610c90565b6001600160a01b0316146104a6576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b6104ae610bfe565b6104eb816104e5600685815481106104c257fe5b9060005260206000209060040201600101546008546110f390919063ffffffff16565b90611150565b60088190555080600683815481106104ff57fe5b906000526020600020906004020160010181905550817f545b620a3000f6303b158b321f06b4e95e28a27d70aecac8c6bdac4f48a9f6b3826040518082815260200191505060405180910390a25050565b6105586110ef565b6001600160a01b0316610569610c90565b6001600160a01b0316146105b2576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b6105ba610bfe565b6001600160a01b038116610615576040805162461bcd60e51b815260206004820152601f60248201527f4c505374616b696e673a205f6c70546f6b656e2063616e742062652030783000604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff161561066d5760405162461bcd60e51b815260040180806020018281038252602281526020018061179a6022913960400191505060405180910390fd5b6001600160a01b0381166000908152600460205260408120805460ff1916600117905560095442116106a1576009546106a3565b425b6008549091506106b39084611150565b600855604080516080810182526001600160a01b03848116808352602080840188815284860187815260006060870181815260068054600181018255925296517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600490920291820180546001600160a01b031916919097161790955590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40850155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4184015592517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d42909201919091558251868152925190927f1c482cb20f653d55406cc8aa89ebf482b8603c0ffebcf7e6182ff8ac1849d12d92908290030190a2505050565b6107e46110ef565b6001600160a01b03166107f5610c90565b6001600160a01b03161461083e576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b610846610bfe565b60038190556040805182815290517fa69894e01251caeeab6fac79a488f79f9e3128487b6383e98b93acab4d54b6e69181900360200190a150565b60006006838154811061089057fe5b6000918252602080832086845260078252604080852033865290925292208054600490920290920192508311156108f85760405162461bcd60e51b815260040180806020018281038252602881526020018061170b6028913960400191505060405180910390fd5b610901846109f7565b600061093b826001015461093564e8d4a5100061092f876003015487600001546111b190919063ffffffff16565b9061120a565b906110f3565b90506109473382611271565b815461095390856110f3565b80835560038401546109709164e8d4a510009161092f91906111b1565b6001830155825461098b906001600160a01b03163386611345565b6000858152600560205260409020546109a490856110f3565b6000868152600560209081526040918290209290925580518681529051879233927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568929081900390910190a35050505050565b600060068281548110610a0657fe5b9060005260206000209060040201905080600201544211610a275750610b31565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a7157600080fd5b505afa158015610a85573d6000803e3d6000fd5b505050506040513d6020811015610a9b57600080fd5b50519050801580610aac5750600854155b15610abe575042600290910155610b31565b6000610ace836002015442610c9f565b90506000610afb60085461092f8660010154610af5600354876111b190919063ffffffff16565b906111b1565b9050610b1e610b138461092f8464e8d4a510006111b1565b600386015490611150565b6003850155505042600290920191909155505b50565b600060068281548110610b4357fe5b600091825260208083208584526007825260408085203380875293528420805485825560018201959095556004909302018054909450919291610b93916001600160a01b03919091169083611345565b600084815260056020526040902054610bac90826110f3565b6000858152600560209081526040918290209290925580518381529051869233927fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595929081900390910190a350505050565b60065460005b81811015610c1d57610c15816109f7565b600101610c04565b5050565b610c296110ef565b6001600160a01b0316610c3a610c90565b6001600160a01b031614610c83576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b565b60095481565b600181565b6000546001600160a01b031690565b60006002548211610cc057610cb96001610af584866110f3565b9050610d05565b6002548310610cd357610cb982846110f3565b610cb9610ceb600254846110f390919063ffffffff16565b6104e56001610af5876002546110f390919063ffffffff16565b92915050565b60076020908152600092835260408084209091529082529020805460019091015482565b6001546001600160a01b031681565b60035481565b60008060068481548110610d5457fe5b600091825260208083208784526007825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015610dd257600080fd5b505afa158015610de6573d6000803e3d6000fd5b505050506040513d6020811015610dfc57600080fd5b5051600285015490915042118015610e1357508015155b8015610e2157506000600854115b15610e81576000610e36856002015442610c9f565b90506000610e5d60085461092f8860010154610af5600354876111b190919063ffffffff16565b9050610e7c610e758461092f8464e8d4a510006111b1565b8590611150565b935050505b610ea9836001015461093564e8d4a5100061092f8688600001546111b190919063ffffffff16565b979650505050505050565b600060068381548110610ec357fe5b60009182526020808320868452600782526040808520338652909252922060049091029091019150610ef4846109f7565b805415610f37576000610f29826001015461093564e8d4a5100061092f876003015487600001546111b190919063ffffffff16565b9050610f353382611271565b505b8154610f4e906001600160a01b0316333086611397565b8054610f5a9084611150565b8082556003830154610f779164e8d4a510009161092f91906111b1565b6001820155600084815260056020526040902054610f959084611150565b6000858152600560209081526040918290209290925580518581529051869233927f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15929081900390910190a350505050565b60025481565b610ff56110ef565b6001600160a01b0316611006610c90565b6001600160a01b03161461104f576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b6001600160a01b0381166110945760405162461bcd60e51b81526004018080602001828103825260268152602001806116e56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60008282111561114a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156111aa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826111c057506000610d05565b828202828482816111cd57fe5b04146111aa5760405162461bcd60e51b81526004018080602001828103825260218152602001806117596021913960400191505060405180910390fd5b6000808211611260576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161126957fe5b049392505050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156112bc57600080fd5b505afa1580156112d0573d6000803e3d6000fd5b505050506040513d60208110156112e657600080fd5b50519050818110156113295760405162461bcd60e51b815260040180806020018281038252602b8152602001806116ba602b913960400191505060405180910390fd5b600154611340906001600160a01b03168484611345565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113409084906113f7565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113f19085906113f7565b50505050565b600061144c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114a89092919063ffffffff16565b8051909150156113405780806020019051602081101561146b57600080fd5b50516113405760405162461bcd60e51b815260040180806020018281038252602a8152602001806117bc602a913960400191505060405180910390fd5b60606114b784846000856114bf565b949350505050565b6060824710156115005760405162461bcd60e51b81526004018080602001828103825260268152602001806117336026913960400191505060405180910390fd5b6115098561160f565b61155a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106115985780518252601f199092019160209182019101611579565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146115fa576040519150601f19603f3d011682016040523d82523d6000602084013e6115ff565b606091505b5091509150610ea9828286611615565b3b151590565b606083156116245750816111aa565b8251156116345782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561167e578181015183820152602001611666565b50505050905090810190601f1680156116ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4c505374616b696e6754696d653a2065546f6b656e42616c206d757374206265203e3d205f616d6f756e744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734c505374616b696e673a207769746864726177205f616d6f756e7420697320746f6f206c61726765416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724c505374616b696e673a205f6c70546f6b656e20616c7265616479206578697374735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220dd1996e85f80f8d0b7cddce7ae036f67ca37ed2568b3f18cc6fde58dc6baa6ab64736f6c634300070600334c505374616b696e673a205f626f6e7573456e6454696d65206d757374206265203e207468616e205f737461727454696d654c505374616b696e673a205f737461727454696d65206d757374206265203e3d2063757272656e7420626c6f636b2e74696d657374616d700000000000000000000000009e32b13ce7f2e80a01932b42553652e053d6ed8e000000000000000000000000000000000000000000000000f566a53f639d31000000000000000000000000000000000000000000000000000000000063c09c8a0000000000000000000000000000000000000000000000000000000063c09c8b

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063953d9cf11161007c578063953d9cf114610355578063a57657871461035d578063c4a27f5414610365578063e2bbb15814610391578063ee1a6295146103b4578063f2fde38b146103bc5761014d565b8063715018a6146102b157806378e97925146102b95780638aa28550146102c15780638da5cb5b146102c95780638dbb1e3a146102ed57806393f1a40b146103105761014d565b80632b8bbbe8116101155780632b8bbbe81461020357806331460ce11461022f578063441a3e701461024c57806351eb05a61461026f5780635312ea8e1461028c578063630b5ba1146102a95761014d565b80630328e32f14610152578063081e3eda146101815780631526fe271461018957806317caf6f1146101d65780631ab06ee5146101de575b600080fd5b61016f6004803603602081101561016857600080fd5b50356103e2565b60408051918252519081900360200190f35b61016f6103f4565b6101a66004803603602081101561019f57600080fd5b50356103fa565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b61016f61043e565b610201600480360360408110156101f457600080fd5b5080359060200135610444565b005b6102016004803603604081101561021957600080fd5b50803590602001356001600160a01b0316610550565b6102016004803603602081101561024557600080fd5b50356107dc565b6102016004803603604081101561026257600080fd5b5080359060200135610881565b6102016004803603602081101561028557600080fd5b50356109f7565b610201600480360360208110156102a257600080fd5b5035610b34565b610201610bfe565b610201610c21565b61016f610c85565b61016f610c8b565b6102d1610c90565b604080516001600160a01b039092168252519081900360200190f35b61016f6004803603604081101561030357600080fd5b5080359060200135610c9f565b61033c6004803603604081101561032657600080fd5b50803590602001356001600160a01b0316610d0b565b6040805192835260208301919091528051918290030190f35b6102d1610d2f565b61016f610d3e565b61016f6004803603604081101561037b57600080fd5b50803590602001356001600160a01b0316610d44565b610201600480360360408110156103a757600080fd5b5080359060200135610eb4565b61016f610fe7565b610201600480360360208110156103d257600080fd5b50356001600160a01b0316610fed565b60056020526000908152604090205481565b60065490565b6006818154811061040a57600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60085481565b61044c6110ef565b6001600160a01b031661045d610c90565b6001600160a01b0316146104a6576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b6104ae610bfe565b6104eb816104e5600685815481106104c257fe5b9060005260206000209060040201600101546008546110f390919063ffffffff16565b90611150565b60088190555080600683815481106104ff57fe5b906000526020600020906004020160010181905550817f545b620a3000f6303b158b321f06b4e95e28a27d70aecac8c6bdac4f48a9f6b3826040518082815260200191505060405180910390a25050565b6105586110ef565b6001600160a01b0316610569610c90565b6001600160a01b0316146105b2576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b6105ba610bfe565b6001600160a01b038116610615576040805162461bcd60e51b815260206004820152601f60248201527f4c505374616b696e673a205f6c70546f6b656e2063616e742062652030783000604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff161561066d5760405162461bcd60e51b815260040180806020018281038252602281526020018061179a6022913960400191505060405180910390fd5b6001600160a01b0381166000908152600460205260408120805460ff1916600117905560095442116106a1576009546106a3565b425b6008549091506106b39084611150565b600855604080516080810182526001600160a01b03848116808352602080840188815284860187815260006060870181815260068054600181018255925296517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600490920291820180546001600160a01b031916919097161790955590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40850155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4184015592517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d42909201919091558251868152925190927f1c482cb20f653d55406cc8aa89ebf482b8603c0ffebcf7e6182ff8ac1849d12d92908290030190a2505050565b6107e46110ef565b6001600160a01b03166107f5610c90565b6001600160a01b03161461083e576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b610846610bfe565b60038190556040805182815290517fa69894e01251caeeab6fac79a488f79f9e3128487b6383e98b93acab4d54b6e69181900360200190a150565b60006006838154811061089057fe5b6000918252602080832086845260078252604080852033865290925292208054600490920290920192508311156108f85760405162461bcd60e51b815260040180806020018281038252602881526020018061170b6028913960400191505060405180910390fd5b610901846109f7565b600061093b826001015461093564e8d4a5100061092f876003015487600001546111b190919063ffffffff16565b9061120a565b906110f3565b90506109473382611271565b815461095390856110f3565b80835560038401546109709164e8d4a510009161092f91906111b1565b6001830155825461098b906001600160a01b03163386611345565b6000858152600560205260409020546109a490856110f3565b6000868152600560209081526040918290209290925580518681529051879233927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568929081900390910190a35050505050565b600060068281548110610a0657fe5b9060005260206000209060040201905080600201544211610a275750610b31565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a7157600080fd5b505afa158015610a85573d6000803e3d6000fd5b505050506040513d6020811015610a9b57600080fd5b50519050801580610aac5750600854155b15610abe575042600290910155610b31565b6000610ace836002015442610c9f565b90506000610afb60085461092f8660010154610af5600354876111b190919063ffffffff16565b906111b1565b9050610b1e610b138461092f8464e8d4a510006111b1565b600386015490611150565b6003850155505042600290920191909155505b50565b600060068281548110610b4357fe5b600091825260208083208584526007825260408085203380875293528420805485825560018201959095556004909302018054909450919291610b93916001600160a01b03919091169083611345565b600084815260056020526040902054610bac90826110f3565b6000858152600560209081526040918290209290925580518381529051869233927fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595929081900390910190a350505050565b60065460005b81811015610c1d57610c15816109f7565b600101610c04565b5050565b610c296110ef565b6001600160a01b0316610c3a610c90565b6001600160a01b031614610c83576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b565b60095481565b600181565b6000546001600160a01b031690565b60006002548211610cc057610cb96001610af584866110f3565b9050610d05565b6002548310610cd357610cb982846110f3565b610cb9610ceb600254846110f390919063ffffffff16565b6104e56001610af5876002546110f390919063ffffffff16565b92915050565b60076020908152600092835260408084209091529082529020805460019091015482565b6001546001600160a01b031681565b60035481565b60008060068481548110610d5457fe5b600091825260208083208784526007825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484516370a0823160e01b81523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015610dd257600080fd5b505afa158015610de6573d6000803e3d6000fd5b505050506040513d6020811015610dfc57600080fd5b5051600285015490915042118015610e1357508015155b8015610e2157506000600854115b15610e81576000610e36856002015442610c9f565b90506000610e5d60085461092f8860010154610af5600354876111b190919063ffffffff16565b9050610e7c610e758461092f8464e8d4a510006111b1565b8590611150565b935050505b610ea9836001015461093564e8d4a5100061092f8688600001546111b190919063ffffffff16565b979650505050505050565b600060068381548110610ec357fe5b60009182526020808320868452600782526040808520338652909252922060049091029091019150610ef4846109f7565b805415610f37576000610f29826001015461093564e8d4a5100061092f876003015487600001546111b190919063ffffffff16565b9050610f353382611271565b505b8154610f4e906001600160a01b0316333086611397565b8054610f5a9084611150565b8082556003830154610f779164e8d4a510009161092f91906111b1565b6001820155600084815260056020526040902054610f959084611150565b6000858152600560209081526040918290209290925580518581529051869233927f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15929081900390910190a350505050565b60025481565b610ff56110ef565b6001600160a01b0316611006610c90565b6001600160a01b03161461104f576040805162461bcd60e51b8152602060048201819052602482015260008051602061177a833981519152604482015290519081900360640190fd5b6001600160a01b0381166110945760405162461bcd60e51b81526004018080602001828103825260268152602001806116e56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b60008282111561114a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156111aa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000826111c057506000610d05565b828202828482816111cd57fe5b04146111aa5760405162461bcd60e51b81526004018080602001828103825260218152602001806117596021913960400191505060405180910390fd5b6000808211611260576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161126957fe5b049392505050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156112bc57600080fd5b505afa1580156112d0573d6000803e3d6000fd5b505050506040513d60208110156112e657600080fd5b50519050818110156113295760405162461bcd60e51b815260040180806020018281038252602b8152602001806116ba602b913960400191505060405180910390fd5b600154611340906001600160a01b03168484611345565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113409084906113f7565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113f19085906113f7565b50505050565b600061144c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114a89092919063ffffffff16565b8051909150156113405780806020019051602081101561146b57600080fd5b50516113405760405162461bcd60e51b815260040180806020018281038252602a8152602001806117bc602a913960400191505060405180910390fd5b60606114b784846000856114bf565b949350505050565b6060824710156115005760405162461bcd60e51b81526004018080602001828103825260268152602001806117336026913960400191505060405180910390fd5b6115098561160f565b61155a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106115985780518252601f199092019160209182019101611579565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146115fa576040519150601f19603f3d011682016040523d82523d6000602084013e6115ff565b606091505b5091509150610ea9828286611615565b3b151590565b606083156116245750816111aa565b8251156116345782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561167e578181015183820152602001611666565b50505050905090810190601f1680156116ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4c505374616b696e6754696d653a2065546f6b656e42616c206d757374206265203e3d205f616d6f756e744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734c505374616b696e673a207769746864726177205f616d6f756e7420697320746f6f206c61726765416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724c505374616b696e673a205f6c70546f6b656e20616c7265616479206578697374735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220dd1996e85f80f8d0b7cddce7ae036f67ca37ed2568b3f18cc6fde58dc6baa6ab64736f6c63430007060033

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

0000000000000000000000009e32b13ce7f2e80a01932b42553652e053d6ed8e000000000000000000000000000000000000000000000000f566a53f639d31000000000000000000000000000000000000000000000000000000000063c09c8a0000000000000000000000000000000000000000000000000000000063c09c8b

-----Decoded View---------------
Arg [0] : _eToken (address): 0x9E32b13ce7f2E80A01932B42553652E053D6ed8e
Arg [1] : _eTokenPerSecond (uint256): 17683002678589600000
Arg [2] : _startTime (uint256): 1673567370
Arg [3] : _bonusEndTime (uint256): 1673567371

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000009e32b13ce7f2e80a01932b42553652e053d6ed8e
Arg [1] : 000000000000000000000000000000000000000000000000f566a53f639d3100
Arg [2] : 0000000000000000000000000000000000000000000000000000000063c09c8a
Arg [3] : 0000000000000000000000000000000000000000000000000000000063c09c8b


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  ]

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.