ETH Price: $3,474.63 (+0.78%)

Contract

0xf39D0162e3d03fD95ea8355611cD331B3E068B18
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Recover Eth204845832024-08-08 14:52:11139 days ago1723128731IN
0xf39D0162...B3E068B18
0 ETH0.0005812219.10542947
Referrer Withdra...204286742024-07-31 19:38:47147 days ago1722454727IN
0xf39D0162...B3E068B18
0 ETH0.0002847210.42750742
Referrer Withdra...203974792024-07-27 11:07:11151 days ago1722078431IN
0xf39D0162...B3E068B18
0 ETH0.000045671.67292893
Referrer Withdra...187496122023-12-09 15:37:59382 days ago1702136279IN
0xf39D0162...B3E068B18
0 ETH0.0013261248.5670364
Referrer Withdra...186128552023-11-20 11:59:23401 days ago1700481563IN
0xf39D0162...B3E068B18
0 ETH0.0006418623.50736649
Referrer Withdra...185625222023-11-13 10:55:35408 days ago1699872935IN
0xf39D0162...B3E068B18
0 ETH0.0008842332.38366629
Referrer Withdra...183219132023-10-10 18:42:23442 days ago1696963343IN
0xf39D0162...B3E068B18
0 ETH0.000258419.46389044
Referrer Withdra...183218942023-10-10 18:38:23442 days ago1696963103IN
0xf39D0162...B3E068B18
0 ETH0.000226018.27736968
Referrer Withdra...183218872023-10-10 18:36:59442 days ago1696963019IN
0xf39D0162...B3E068B18
0 ETH0.000210637.71429007
Referrer Withdra...180899072023-09-08 6:26:23474 days ago1694154383IN
0xf39D0162...B3E068B18
0 ETH0.0002822610.33753139
Transfer178691492023-08-08 8:55:59505 days ago1691484959IN
0xf39D0162...B3E068B18
0.00001 ETH0.0028720120.27588813

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
204845832024-08-08 14:52:11139 days ago1723128731
0xf39D0162...B3E068B18
0.16532943 ETH
204249522024-07-31 7:10:23147 days ago1722409823
0xf39D0162...B3E068B18
0.1346067 ETH
204097652024-07-29 4:15:23149 days ago1722226523
0xf39D0162...B3E068B18
0.1402709 ETH
200074362024-06-02 23:31:47205 days ago1717371107
0xf39D0162...B3E068B18
0.41303329 ETH
200074102024-06-02 23:26:23205 days ago1717370783
0xf39D0162...B3E068B18
0.42990898 ETH
194729802024-03-20 2:35:59280 days ago1710902159
0xf39D0162...B3E068B18
0.02322511 ETH
194664652024-03-19 4:37:35281 days ago1710823055
0xf39D0162...B3E068B18
0.57938912 ETH
194663542024-03-19 4:15:23281 days ago1710821723
0xf39D0162...B3E068B18
0.23239811 ETH
193379602024-03-01 4:32:11299 days ago1709267531
0xf39D0162...B3E068B18
0.19302652 ETH
192949952024-02-24 4:15:23305 days ago1708748123
0xf39D0162...B3E068B18
0.17808355 ETH
191885652024-02-09 5:42:59320 days ago1707457379
0xf39D0162...B3E068B18
0.39250402 ETH
191816922024-02-08 6:34:59321 days ago1707374099
0xf39D0162...B3E068B18
0.15511331 ETH
190961602024-01-27 6:33:59333 days ago1706337239
0xf39D0162...B3E068B18
0.25433113 ETH
190056612024-01-14 14:16:23346 days ago1705241783
0xf39D0162...B3E068B18
0.32498369 ETH
190052232024-01-14 12:47:47346 days ago1705236467
0xf39D0162...B3E068B18
0.33774847 ETH
187891162023-12-15 4:24:23376 days ago1702614263
0xf39D0162...B3E068B18
0.77252776 ETH
187754782023-12-13 6:30:35378 days ago1702449035
0xf39D0162...B3E068B18
0.36884985 ETH
187122502023-12-04 9:57:23387 days ago1701683843
0xf39D0162...B3E068B18
0.428837 ETH
186480932023-11-25 10:23:59396 days ago1700907839
0xf39D0162...B3E068B18
0.00000001 ETH
186327812023-11-23 6:56:23398 days ago1700722583
0xf39D0162...B3E068B18
0.67595456 ETH
186326552023-11-23 6:31:11398 days ago1700721071
0xf39D0162...B3E068B18
0.4932568 ETH
186138432023-11-20 15:18:35401 days ago1700493515
0xf39D0162...B3E068B18
0.02062221 ETH
185898272023-11-17 6:30:35404 days ago1700202635
0xf39D0162...B3E068B18
0.20441469 ETH
185541202023-11-12 6:42:47409 days ago1699771367
0xf39D0162...B3E068B18
0.98056483 ETH
185541042023-11-12 6:39:35409 days ago1699771175
0xf39D0162...B3E068B18
0.40772827 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LPstaking

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Staking-hono.sol
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
interface token is IERC20 {
    function mint(address recipient, uint256 _amount) external;
    function burn(address _from, uint256 _amount) external;
}

contract LPstaking is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    modifier onlyLPEngine() {
        require(lpEngines[msg.sender] || msg.sender == owner(), "You cant");
        _;
    }

    // Info of each user.
    struct UserInfo {
        uint256 totalReward;
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Pending ETH rewards.
        uint256 rewardDebtToRealize; // Pending ETH rewards to be realized.
        uint256 rewardToBeRealized; // ETH rewards to be realized.
        uint256 toRealizedCycle;
        address referrer;
    }

    // Info of the stake.
    struct StakeInfo {
        uint256 lastRewardTime; // Last block time that ETHs distribution occurs.
        uint256 accETHPerShare; // Accumulated ETHs per share, times 1e12. See below.
        uint256 accETHPerShareToBeRealized; // Accumulated ETHs per share to be realized, times 1e12. See below.
        uint256 startRewardTime; // Block time when ETH rewards start for this stake.
    }

    // Dev address.
    address public devaddr;
    address public stakepool;

    uint256 public totalETHdistributed = 0;
    uint256 public lpBalance = 0;

    // Set a max ETH per second, which can never be higher than 1 per second.
    uint256 public constant maxETHPerSecond = 1e18;

    // Info of the stake.
    StakeInfo public stakeInfo;
    // Info of each user that stakes LP tokens.
    mapping(address => UserInfo) public userInfo;
    // The block time when ETH mining starts.
    address public immutable ZERO = 0x0000000000000000000000000000000000000000;
    // Global variables
    uint256 public currentCycle;
    uint256 public lastRewardUpdateTime;
    uint256 public referrerP = 50;
    mapping(address => uint256) public referrerTotalReward;
    mapping(address => uint256) public referrerWithdrawReward;

    mapping(uint256 => uint256) public cycleToRatio;
    mapping(address => bool) public lpEngines;

    event Deposit(address indexed user, uint256 amount, address referrer);
    event Withdraw(address indexed user, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 amount);

    constructor(address lpEngine) {
        lpEngines[lpEngine] = true;
    }

    receive() payable external {
        uint256 rewardPerSecond =  msg.value.div(block.timestamp.sub(lastRewardUpdateTime));
        if(rewardPerSecond == 0)  rewardPerSecond = 1;
        updateStake(true,rewardPerSecond);
        lastRewardUpdateTime = block.timestamp;
        totalETHdistributed = totalETHdistributed.add(msg.value);
    } 

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        _from = _from >  stakeInfo.startRewardTime ? _from :  stakeInfo.startRewardTime;
        return _to - _from;
    }
    

    function getPendingRewardAndPendingToRealizeReward(address sender) public view returns (uint256, uint256) {
        uint256 newAccETHPerShareToBeRealized = stakeInfo.accETHPerShareToBeRealized
        .add(getMultiplier(stakeInfo.lastRewardTime, block.timestamp).mul(1e18).mul(1e12).div(lpBalance));

        uint256 pending = userInfo[sender].amount.mul(stakeInfo.accETHPerShare).div(1e12).sub(userInfo[sender].rewardDebt);

        if (cycleToRatio[userInfo[sender].toRealizedCycle] != 0)
        {
            uint256 ratio = cycleToRatio[userInfo[sender].toRealizedCycle];
            pending = pending.add(userInfo[sender].rewardToBeRealized.mul(ratio).div(1e18)).sub((userInfo[sender].rewardDebtToRealize).mul(ratio).div(1e18));
        }
        return (pending, userInfo[sender].amount.mul(newAccETHPerShareToBeRealized).div(1e12).sub(userInfo[sender].rewardDebtToRealize));

    }
    // Update reward variables of the stake to be up-to-date.
    function updateStake(bool _isSupplyingReward, uint256 reward) internal {
        if(reward == 0 && _isSupplyingReward)
        {
            return;
        }
        if (block.timestamp <= stakeInfo.lastRewardTime || block.timestamp < stakeInfo.startRewardTime) {
            return;
        }
        uint256 lpSupply = lpBalance;
        if(_isSupplyingReward && lpSupply == 0 )
        {
            stakeInfo.accETHPerShare = 0;
            stakeInfo.accETHPerShareToBeRealized = 0;
            cycleToRatio[currentCycle] = reward;
            currentCycle = currentCycle + 1;
        }
        if (lpSupply == 0) {
            stakeInfo.lastRewardTime = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(stakeInfo.lastRewardTime, block.timestamp);
        uint256 TokenedEarnedPlaceHolder = multiplier.mul(1e18);
        if(_isSupplyingReward)
        {
            stakeInfo.accETHPerShareToBeRealized = stakeInfo.accETHPerShareToBeRealized.add(TokenedEarnedPlaceHolder.mul(1e12).div(lpSupply));
            stakeInfo.accETHPerShare = stakeInfo.accETHPerShare.add(stakeInfo.accETHPerShareToBeRealized.mul(reward).div(1e18));
            stakeInfo.accETHPerShareToBeRealized = 0;
            cycleToRatio[currentCycle] = reward;
            currentCycle = currentCycle+1;
        }   
        else
        {
            stakeInfo.accETHPerShareToBeRealized = stakeInfo.accETHPerShareToBeRealized.add(TokenedEarnedPlaceHolder.mul(1e12).div(lpSupply));
        } 

        stakeInfo.lastRewardTime = block.timestamp;
    }

    function userPreUpdate(uint256 amount, bool isAdding, address sender, address referrer) internal
    {
        UserInfo storage user = userInfo[sender];
        updateStake(false,0); // Set isSupplyingReward to false

        uint256 pending = user.amount.mul(stakeInfo.accETHPerShare).div(1e12).sub(user.rewardDebt);

        if (cycleToRatio[user.toRealizedCycle] != 0)
        {
            uint256 ratio = cycleToRatio[user.toRealizedCycle];
            pending = pending.add(user.rewardToBeRealized.mul(ratio).div(1e18)).sub((user.rewardDebtToRealize).mul(ratio).div(1e18));
            user.rewardToBeRealized = 0;
            user.rewardDebtToRealize = 0;
        }
        uint256 pendingToRealize = user.amount.mul(stakeInfo.accETHPerShareToBeRealized).div(1e12).sub(user.rewardDebtToRealize);
        
        if(isAdding)
        {
            user.amount = user.amount.add(amount);
        }
        else
        {
            user.amount = user.amount.sub(amount);
        }

        user.rewardDebt = user.amount.mul(stakeInfo.accETHPerShare).div(1e12);
        user.rewardDebtToRealize = user.amount.mul(stakeInfo.accETHPerShareToBeRealized).div(1e12);

        
        user.rewardToBeRealized = user.rewardToBeRealized.add(pendingToRealize);
        user.toRealizedCycle = currentCycle; // Update toRealizedCycle
        if (pending > 0 && user.referrer != ZERO) {
            sendEth(sender, pending*(10000-referrerP)/10000);
            user.totalReward = user.totalReward + pending*(10000-referrerP)/10000;
            referrerTotalReward[user.referrer] = referrerTotalReward[user.referrer]  + pending*(referrerP)/10000;
            user.referrer = ZERO;
        }
        else if (pending > 0) {
            sendEth(sender, pending);
            user.totalReward = user.totalReward + pending;
        }

        if(isAdding)
        {
            lpBalance = lpBalance + amount;
        }
        else
        {
            lpBalance = lpBalance - amount;
        }

        if(referrer != ZERO)
        {
            user.referrer = referrer;
        }

    }
    // Deposit LP tokens to the stake for ETH allocation.
    function deposit(uint256 _amount, address sender, address _referrer) public  onlyLPEngine nonReentrant {
        userPreUpdate( _amount, true, sender, _referrer);
        emit Deposit(sender, _amount, _referrer);
    }

    function referrerWithdraw(uint256 _amount) public
    {
        require(referrerTotalReward[msg.sender] - referrerWithdrawReward[msg.sender] >= _amount, "You withdrawed more than ur balance");
        referrerWithdrawReward[msg.sender] = referrerWithdrawReward[msg.sender] + _amount; 
        sendEth(msg.sender, _amount);
    }

    // Withdraw LP tokens from the stake.
    function withdraw(uint256 _amount, address sender) public onlyLPEngine nonReentrant {
        userPreUpdate(_amount, false, sender, ZERO);
        emit Withdraw(sender, _amount);
    }

    function updateStakePool(address _pool) external onlyOwner {
        stakepool = _pool;
    }

    function updateReferrer(uint256 shareAmount) external onlyOwner {
        referrerP = shareAmount;
    }

    function updatelpEngines(address a, bool b) external onlyOwner {
        lpEngines[a] = b;
    }

    function sendEth(address _address, uint256 _value) internal {
        (bool success, ) = _address.call{value: _value}("");
        require(success, "ETH Transfer failed.");
    }

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

    function recoverTokens(address tokenAddress) external onlyOwner {
        IERC20 token = IERC20(tokenAddress);
        token.transfer(msg.sender, token.balanceOf(address(this)));
    }
}

File 2 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

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

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 4 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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 subtraction 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 5 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 8 of 9 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

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

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

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

File 9 of 9 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"lpEngine","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"referrer","type":"address"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"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":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ZERO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCycle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cycleToRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"address","name":"sender","type":"address"}],"name":"getPendingRewardAndPendingToRealizeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRewardUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lpEngines","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxETHPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"referrerP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referrerTotalReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"referrerWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referrerWithdrawReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeInfo","outputs":[{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accETHPerShare","type":"uint256"},{"internalType":"uint256","name":"accETHPerShareToBeRealized","type":"uint256"},{"internalType":"uint256","name":"startRewardTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakepool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalETHdistributed","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":"shareAmount","type":"uint256"}],"name":"updateReferrer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"}],"name":"updateStakePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"},{"internalType":"bool","name":"b","type":"bool"}],"name":"updatelpEngines","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"totalReward","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"rewardDebtToRealize","type":"uint256"},{"internalType":"uint256","name":"rewardToBeRealized","type":"uint256"},{"internalType":"uint256","name":"toRealizedCycle","type":"uint256"},{"internalType":"address","name":"referrer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"sender","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405260006004556000600555600073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152506032600d553480156200005457600080fd5b50604051620029d9380380620029d983398181016040528101906200007a919062000236565b6200009a6200008e6200010060201b60201c565b6200010860201b60201c565b600180819055506001601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505062000268565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001fe82620001d1565b9050919050565b6200021081620001f1565b81146200021c57600080fd5b50565b600081519050620002308162000205565b92915050565b6000602082840312156200024f576200024e620001cc565b5b60006200025f848285016200021f565b91505092915050565b608051612739620002a060003960008181610a5e01528181610e0b015281816118eb01528181611ac50152611b8e01526127396000f3fe6080604052600436106101ba5760003560e01c80638dbb1e3a116100ec578063bcdb446b1161008a578063dc08e97511610064578063dc08e97514610672578063e9d2258e146106af578063f268e24b146106da578063f2fde38b1461070557610225565b8063bcdb446b146105f2578063c08553b814610609578063d49e77cd1461064757610225565b8063b14bbac6116100c6578063b14bbac614610522578063b2f1ca101461054d578063b57cea311461058a578063bab2f552146105c757610225565b80638dbb1e3a1461049157806392fc4dcb146104ce578063954539a5146104f757610225565b80632e2d298411610159578063715018a611610133578063715018a6146103f85780637c672f7e1461040f5780638cc01fdc146104385780638da5cb5b1461046657610225565b80632e2d29841461037b57806358fa63ca146103a4578063621851aa146103cf57610225565b80631959a002116101955780631959a002146102a55780632059f615146102e857806322cec79d146103135780632bd1755a1461035057610225565b8062f714ce1461022a5780631208ce051461025357806316114acd1461027c57610225565b366102255760006101e86101d9600c544261072e90919063ffffffff16565b3461074490919063ffffffff16565b9050600081036101f757600190505b61020260018261075a565b42600c8190555061021e3460045461096e90919063ffffffff16565b6004819055005b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190611ec9565b610984565b005b34801561025f57600080fd5b5061027a60048036038101906102759190611f41565b610adc565b005b34801561028857600080fd5b506102a3600480360381019061029e9190611f81565b610b3f565b005b3480156102b157600080fd5b506102cc60048036038101906102c79190611f81565b610c48565b6040516102df9796959493929190611fcc565b60405180910390f35b3480156102f457600080fd5b506102fd610caa565b60405161030a919061203b565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612056565b610cb0565b604051610347919061203b565b60405180910390f35b34801561035c57600080fd5b50610365610cc8565b604051610372919061203b565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190612083565b610cce565b005b3480156103b057600080fd5b506103b9610e09565b6040516103c691906120d6565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190612056565b610e2d565b005b34801561040457600080fd5b5061040d610f94565b005b34801561041b57600080fd5b5061043660048036038101906104319190612056565b610fa8565b005b34801561044457600080fd5b5061044d610fba565b60405161045d94939291906120f1565b60405180910390f35b34801561047257600080fd5b5061047b610fd8565b60405161048891906120d6565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190612136565b611001565b6040516104c5919061203b565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f09190611f81565b611032565b005b34801561050357600080fd5b5061050c61107e565b604051610519919061203b565b60405180910390f35b34801561052e57600080fd5b50610537611084565b604051610544919061203b565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190611f81565b611090565b604051610581919061203b565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190611f81565b6110a8565b6040516105be919061203b565b60405180910390f35b3480156105d357600080fd5b506105dc6110c0565b6040516105e9919061203b565b60405180910390f35b3480156105fe57600080fd5b506106076110c6565b005b34801561061557600080fd5b50610630600480360381019061062b9190611f81565b611117565b60405161063e929190612176565b60405180910390f35b34801561065357600080fd5b5061065c6114da565b60405161066991906120d6565b60405180910390f35b34801561067e57600080fd5b5061069960048036038101906106949190611f81565b611500565b6040516106a691906121ae565b60405180910390f35b3480156106bb57600080fd5b506106c4611520565b6040516106d1919061203b565b60405180910390f35b3480156106e657600080fd5b506106ef611526565b6040516106fc91906120d6565b60405180910390f35b34801561071157600080fd5b5061072c60048036038101906107279190611f81565b61154c565b005b6000818361073c91906121f8565b905092915050565b60008183610752919061225b565b905092915050565b6000811480156107675750815b61096a5760066000015442111580610783575060066003015442105b61096a576000600554905082801561079b5750600081145b156107e657600060066001018190555060006006600201819055508160106000600b548152602001908152602001600020819055506001600b546107df919061228c565b600b819055505b600081036107fe57426006600001819055505061096a565b600061080f60066000015442611001565b9050600061082e670de0b6b3a7640000836115cf90919063ffffffff16565b90508415610911576108776108638461085564e8d4a51000856115cf90919063ffffffff16565b61074490919063ffffffff16565b60066002015461096e90919063ffffffff16565b6006600201819055506108c96108b5670de0b6b3a76400006108a7876006600201546115cf90919063ffffffff16565b61074490919063ffffffff16565b60066001015461096e90919063ffffffff16565b60066001018190555060006006600201819055508360106000600b548152602001908152602001600020819055506001600b54610906919061228c565b600b8190555061095c565b61095261093e8461093064e8d4a51000856115cf90919063ffffffff16565b61074490919063ffffffff16565b60066002015461096e90919063ffffffff16565b6006600201819055505b426006600001819055505050505b5050565b6000818361097c919061228c565b905092915050565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610a0e57506109df610fd8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a449061231d565b60405180910390fd5b610a556115e5565b610a82826000837f0000000000000000000000000000000000000000000000000000000000000000611634565b8073ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610ac8919061203b565b60405180910390a2610ad8611c2c565b5050565b610ae4611c35565b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610b47611c35565b60008190508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ba291906120d6565b602060405180830381865afa158015610bbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be39190612352565b6040518363ffffffff1660e01b8152600401610c0092919061237f565b6020604051808303816000875af1158015610c1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4391906123bd565b505050565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905087565b60055481565b60106020528060005260406000206000915090505481565b600c5481565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610d585750610d29610fd8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8e9061231d565b60405180910390fd5b610d9f6115e5565b610dac8360018484611634565b8173ffffffffffffffffffffffffffffffffffffffff167fe31c7b8d08ee7db0afa68782e1028ef92305caeea8626633ad44d413e30f6b2f8483604051610df49291906123ea565b60405180910390a2610e04611c2c565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eb891906121f8565b1015610ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef090612485565b60405180910390fd5b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f44919061228c565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f913382611cb3565b50565b610f9c611c35565b610fa66000611d64565b565b610fb0611c35565b80600d8190555050565b60068060000154908060010154908060020154908060030154905084565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600660030154831161101a5760066003015461101c565b825b9250828261102a91906121f8565b905092915050565b61103a611c35565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d5481565b670de0b6b3a764000081565b600e6020528060005260406000206000915090505481565b600f6020528060005260406000206000915090505481565b600b5481565b6110ce611c35565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611114573d6000803e3d6000fd5b50565b600080600061118761117360055461116564e8d4a51000611157670de0b6b3a764000061114960066000015442611001565b6115cf90919063ffffffff16565b6115cf90919063ffffffff16565b61074490919063ffffffff16565b60066002015461096e90919063ffffffff16565b90506000611250600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015461124264e8d4a51000611234600660010154600a60008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b9050600060106000600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501548152602001908152602001600020541461140e57600060106000600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060050154815260200190815260200160002054905061140a61137b670de0b6b3a764000061136d84600a60008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301546115cf90919063ffffffff16565b61074490919063ffffffff16565b6113fc6113ed670de0b6b3a76400006113df86600a60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401546115cf90919063ffffffff16565b61074490919063ffffffff16565b8561096e90919063ffffffff16565b61072e90919063ffffffff16565b9150505b806114cf600a60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301546114c164e8d4a510006114b387600a60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b935093505050915091565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915054906101000a900460ff1681565b60045481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611554611c35565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90612517565b60405180910390fd5b6115cc81611d64565b50565b600081836115dd9190612537565b905092915050565b60026001540361162a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611621906125c5565b60405180910390fd5b6002600181905550565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061168260008061075a565b60006116cd82600201546116bf64e8d4a510006116b160066001015487600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b90506000601060008460050154815260200190815260200160002054146117a7576000601060008460050154815260200190815260200160002054905061178f61173e670de0b6b3a76400006117308487600301546115cf90919063ffffffff16565b61074490919063ffffffff16565b611781611772670de0b6b3a76400006117648689600401546115cf90919063ffffffff16565b61074490919063ffffffff16565b8561096e90919063ffffffff16565b61072e90919063ffffffff16565b91506000836004018190555060008360030181905550505b60006117f283600301546117e464e8d4a510006117d660066002015488600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b9050851561181e5761181187846001015461096e90919063ffffffff16565b836001018190555061183e565b61183587846001015461072e90919063ffffffff16565b83600101819055505b61187164e8d4a5100061186360066001015486600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b83600201819055506118ac64e8d4a5100061189e60066002015486600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b83600301819055506118cb81846004015461096e90919063ffffffff16565b8360040181905550600b54836005018190555060008211801561195e57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611b2b5761199485612710600d5461271061197a91906121f8565b856119859190612537565b61198f919061225b565b611cb3565b612710600d546127106119a791906121f8565b836119b29190612537565b6119bc919061225b565b83600001546119cb919061228c565b8360000181905550612710600d54836119e49190612537565b6119ee919061225b565b600e60008560060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5c919061228c565b600e60008560060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f00000000000000000000000000000000000000000000000000000000000000008360060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611b58565b6000821115611b5757611b3e8583611cb3565b818360000154611b4e919061228c565b83600001819055505b5b8515611b775786600554611b6c919061228c565b600581905550611b8c565b86600554611b8591906121f8565b6005819055505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611c2357838360060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50505050505050565b60018081905550565b611c3d611e28565b73ffffffffffffffffffffffffffffffffffffffff16611c5b610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca890612631565b60405180910390fd5b565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611cd990612682565b60006040518083038185875af1925050503d8060008114611d16576040519150601f19603f3d011682016040523d82523d6000602084013e611d1b565b606091505b5050905080611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d56906126e3565b60405180910390fd5b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b6000819050919050565b611e4881611e35565b8114611e5357600080fd5b50565b600081359050611e6581611e3f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611e9682611e6b565b9050919050565b611ea681611e8b565b8114611eb157600080fd5b50565b600081359050611ec381611e9d565b92915050565b60008060408385031215611ee057611edf611e30565b5b6000611eee85828601611e56565b9250506020611eff85828601611eb4565b9150509250929050565b60008115159050919050565b611f1e81611f09565b8114611f2957600080fd5b50565b600081359050611f3b81611f15565b92915050565b60008060408385031215611f5857611f57611e30565b5b6000611f6685828601611eb4565b9250506020611f7785828601611f2c565b9150509250929050565b600060208284031215611f9757611f96611e30565b5b6000611fa584828501611eb4565b91505092915050565b611fb781611e35565b82525050565b611fc681611e8b565b82525050565b600060e082019050611fe1600083018a611fae565b611fee6020830189611fae565b611ffb6040830188611fae565b6120086060830187611fae565b6120156080830186611fae565b61202260a0830185611fae565b61202f60c0830184611fbd565b98975050505050505050565b60006020820190506120506000830184611fae565b92915050565b60006020828403121561206c5761206b611e30565b5b600061207a84828501611e56565b91505092915050565b60008060006060848603121561209c5761209b611e30565b5b60006120aa86828701611e56565b93505060206120bb86828701611eb4565b92505060406120cc86828701611eb4565b9150509250925092565b60006020820190506120eb6000830184611fbd565b92915050565b60006080820190506121066000830187611fae565b6121136020830186611fae565b6121206040830185611fae565b61212d6060830184611fae565b95945050505050565b6000806040838503121561214d5761214c611e30565b5b600061215b85828601611e56565b925050602061216c85828601611e56565b9150509250929050565b600060408201905061218b6000830185611fae565b6121986020830184611fae565b9392505050565b6121a881611f09565b82525050565b60006020820190506121c3600083018461219f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061220382611e35565b915061220e83611e35565b9250828203905081811115612226576122256121c9565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061226682611e35565b915061227183611e35565b9250826122815761228061222c565b5b828204905092915050565b600061229782611e35565b91506122a283611e35565b92508282019050808211156122ba576122b96121c9565b5b92915050565b600082825260208201905092915050565b7f596f752063616e74000000000000000000000000000000000000000000000000600082015250565b60006123076008836122c0565b9150612312826122d1565b602082019050919050565b60006020820190508181036000830152612336816122fa565b9050919050565b60008151905061234c81611e3f565b92915050565b60006020828403121561236857612367611e30565b5b60006123768482850161233d565b91505092915050565b60006040820190506123946000830185611fbd565b6123a16020830184611fae565b9392505050565b6000815190506123b781611f15565b92915050565b6000602082840312156123d3576123d2611e30565b5b60006123e1848285016123a8565b91505092915050565b60006040820190506123ff6000830185611fae565b61240c6020830184611fbd565b9392505050565b7f596f752077697468647261776564206d6f7265207468616e2075722062616c6160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b600061246f6023836122c0565b915061247a82612413565b604082019050919050565b6000602082019050818103600083015261249e81612462565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006125016026836122c0565b915061250c826124a5565b604082019050919050565b60006020820190508181036000830152612530816124f4565b9050919050565b600061254282611e35565b915061254d83611e35565b925082820261255b81611e35565b91508282048414831517612572576125716121c9565b5b5092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006125af601f836122c0565b91506125ba82612579565b602082019050919050565b600060208201905081810360008301526125de816125a2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061261b6020836122c0565b9150612626826125e5565b602082019050919050565b6000602082019050818103600083015261264a8161260e565b9050919050565b600081905092915050565b50565b600061266c600083612651565b91506126778261265c565b600082019050919050565b600061268d8261265f565b9150819050919050565b7f455448205472616e73666572206661696c65642e000000000000000000000000600082015250565b60006126cd6014836122c0565b91506126d882612697565b602082019050919050565b600060208201905081810360008301526126fc816126c0565b905091905056fea2646970667358221220b6e607104010386674ec80bf550473e3f77aceb4b4d9009ad1710e93b9ad932964736f6c63430008120033000000000000000000000000c4824156785be733d9b98ac4813da0c7bc1b7a44

Deployed Bytecode

0x6080604052600436106101ba5760003560e01c80638dbb1e3a116100ec578063bcdb446b1161008a578063dc08e97511610064578063dc08e97514610672578063e9d2258e146106af578063f268e24b146106da578063f2fde38b1461070557610225565b8063bcdb446b146105f2578063c08553b814610609578063d49e77cd1461064757610225565b8063b14bbac6116100c6578063b14bbac614610522578063b2f1ca101461054d578063b57cea311461058a578063bab2f552146105c757610225565b80638dbb1e3a1461049157806392fc4dcb146104ce578063954539a5146104f757610225565b80632e2d298411610159578063715018a611610133578063715018a6146103f85780637c672f7e1461040f5780638cc01fdc146104385780638da5cb5b1461046657610225565b80632e2d29841461037b57806358fa63ca146103a4578063621851aa146103cf57610225565b80631959a002116101955780631959a002146102a55780632059f615146102e857806322cec79d146103135780632bd1755a1461035057610225565b8062f714ce1461022a5780631208ce051461025357806316114acd1461027c57610225565b366102255760006101e86101d9600c544261072e90919063ffffffff16565b3461074490919063ffffffff16565b9050600081036101f757600190505b61020260018261075a565b42600c8190555061021e3460045461096e90919063ffffffff16565b6004819055005b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190611ec9565b610984565b005b34801561025f57600080fd5b5061027a60048036038101906102759190611f41565b610adc565b005b34801561028857600080fd5b506102a3600480360381019061029e9190611f81565b610b3f565b005b3480156102b157600080fd5b506102cc60048036038101906102c79190611f81565b610c48565b6040516102df9796959493929190611fcc565b60405180910390f35b3480156102f457600080fd5b506102fd610caa565b60405161030a919061203b565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612056565b610cb0565b604051610347919061203b565b60405180910390f35b34801561035c57600080fd5b50610365610cc8565b604051610372919061203b565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190612083565b610cce565b005b3480156103b057600080fd5b506103b9610e09565b6040516103c691906120d6565b60405180910390f35b3480156103db57600080fd5b506103f660048036038101906103f19190612056565b610e2d565b005b34801561040457600080fd5b5061040d610f94565b005b34801561041b57600080fd5b5061043660048036038101906104319190612056565b610fa8565b005b34801561044457600080fd5b5061044d610fba565b60405161045d94939291906120f1565b60405180910390f35b34801561047257600080fd5b5061047b610fd8565b60405161048891906120d6565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190612136565b611001565b6040516104c5919061203b565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f09190611f81565b611032565b005b34801561050357600080fd5b5061050c61107e565b604051610519919061203b565b60405180910390f35b34801561052e57600080fd5b50610537611084565b604051610544919061203b565b60405180910390f35b34801561055957600080fd5b50610574600480360381019061056f9190611f81565b611090565b604051610581919061203b565b60405180910390f35b34801561059657600080fd5b506105b160048036038101906105ac9190611f81565b6110a8565b6040516105be919061203b565b60405180910390f35b3480156105d357600080fd5b506105dc6110c0565b6040516105e9919061203b565b60405180910390f35b3480156105fe57600080fd5b506106076110c6565b005b34801561061557600080fd5b50610630600480360381019061062b9190611f81565b611117565b60405161063e929190612176565b60405180910390f35b34801561065357600080fd5b5061065c6114da565b60405161066991906120d6565b60405180910390f35b34801561067e57600080fd5b5061069960048036038101906106949190611f81565b611500565b6040516106a691906121ae565b60405180910390f35b3480156106bb57600080fd5b506106c4611520565b6040516106d1919061203b565b60405180910390f35b3480156106e657600080fd5b506106ef611526565b6040516106fc91906120d6565b60405180910390f35b34801561071157600080fd5b5061072c60048036038101906107279190611f81565b61154c565b005b6000818361073c91906121f8565b905092915050565b60008183610752919061225b565b905092915050565b6000811480156107675750815b61096a5760066000015442111580610783575060066003015442105b61096a576000600554905082801561079b5750600081145b156107e657600060066001018190555060006006600201819055508160106000600b548152602001908152602001600020819055506001600b546107df919061228c565b600b819055505b600081036107fe57426006600001819055505061096a565b600061080f60066000015442611001565b9050600061082e670de0b6b3a7640000836115cf90919063ffffffff16565b90508415610911576108776108638461085564e8d4a51000856115cf90919063ffffffff16565b61074490919063ffffffff16565b60066002015461096e90919063ffffffff16565b6006600201819055506108c96108b5670de0b6b3a76400006108a7876006600201546115cf90919063ffffffff16565b61074490919063ffffffff16565b60066001015461096e90919063ffffffff16565b60066001018190555060006006600201819055508360106000600b548152602001908152602001600020819055506001600b54610906919061228c565b600b8190555061095c565b61095261093e8461093064e8d4a51000856115cf90919063ffffffff16565b61074490919063ffffffff16565b60066002015461096e90919063ffffffff16565b6006600201819055505b426006600001819055505050505b5050565b6000818361097c919061228c565b905092915050565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610a0e57506109df610fd8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a449061231d565b60405180910390fd5b610a556115e5565b610a82826000837f0000000000000000000000000000000000000000000000000000000000000000611634565b8073ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610ac8919061203b565b60405180910390a2610ad8611c2c565b5050565b610ae4611c35565b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610b47611c35565b60008190508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ba291906120d6565b602060405180830381865afa158015610bbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be39190612352565b6040518363ffffffff1660e01b8152600401610c0092919061237f565b6020604051808303816000875af1158015610c1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4391906123bd565b505050565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905087565b60055481565b60106020528060005260406000206000915090505481565b600c5481565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610d585750610d29610fd8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8e9061231d565b60405180910390fd5b610d9f6115e5565b610dac8360018484611634565b8173ffffffffffffffffffffffffffffffffffffffff167fe31c7b8d08ee7db0afa68782e1028ef92305caeea8626633ad44d413e30f6b2f8483604051610df49291906123ea565b60405180910390a2610e04611c2c565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eb891906121f8565b1015610ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef090612485565b60405180910390fd5b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f44919061228c565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f913382611cb3565b50565b610f9c611c35565b610fa66000611d64565b565b610fb0611c35565b80600d8190555050565b60068060000154908060010154908060020154908060030154905084565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600660030154831161101a5760066003015461101c565b825b9250828261102a91906121f8565b905092915050565b61103a611c35565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d5481565b670de0b6b3a764000081565b600e6020528060005260406000206000915090505481565b600f6020528060005260406000206000915090505481565b600b5481565b6110ce611c35565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611114573d6000803e3d6000fd5b50565b600080600061118761117360055461116564e8d4a51000611157670de0b6b3a764000061114960066000015442611001565b6115cf90919063ffffffff16565b6115cf90919063ffffffff16565b61074490919063ffffffff16565b60066002015461096e90919063ffffffff16565b90506000611250600a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002015461124264e8d4a51000611234600660010154600a60008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b9050600060106000600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600501548152602001908152602001600020541461140e57600060106000600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060050154815260200190815260200160002054905061140a61137b670de0b6b3a764000061136d84600a60008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301546115cf90919063ffffffff16565b61074490919063ffffffff16565b6113fc6113ed670de0b6b3a76400006113df86600a60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600401546115cf90919063ffffffff16565b61074490919063ffffffff16565b8561096e90919063ffffffff16565b61072e90919063ffffffff16565b9150505b806114cf600a60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600301546114c164e8d4a510006114b387600a60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b935093505050915091565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60116020528060005260406000206000915054906101000a900460ff1681565b60045481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611554611c35565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90612517565b60405180910390fd5b6115cc81611d64565b50565b600081836115dd9190612537565b905092915050565b60026001540361162a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611621906125c5565b60405180910390fd5b6002600181905550565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061168260008061075a565b60006116cd82600201546116bf64e8d4a510006116b160066001015487600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b90506000601060008460050154815260200190815260200160002054146117a7576000601060008460050154815260200190815260200160002054905061178f61173e670de0b6b3a76400006117308487600301546115cf90919063ffffffff16565b61074490919063ffffffff16565b611781611772670de0b6b3a76400006117648689600401546115cf90919063ffffffff16565b61074490919063ffffffff16565b8561096e90919063ffffffff16565b61072e90919063ffffffff16565b91506000836004018190555060008360030181905550505b60006117f283600301546117e464e8d4a510006117d660066002015488600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b61072e90919063ffffffff16565b9050851561181e5761181187846001015461096e90919063ffffffff16565b836001018190555061183e565b61183587846001015461072e90919063ffffffff16565b83600101819055505b61187164e8d4a5100061186360066001015486600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b83600201819055506118ac64e8d4a5100061189e60066002015486600101546115cf90919063ffffffff16565b61074490919063ffffffff16565b83600301819055506118cb81846004015461096e90919063ffffffff16565b8360040181905550600b54836005018190555060008211801561195e57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611b2b5761199485612710600d5461271061197a91906121f8565b856119859190612537565b61198f919061225b565b611cb3565b612710600d546127106119a791906121f8565b836119b29190612537565b6119bc919061225b565b83600001546119cb919061228c565b8360000181905550612710600d54836119e49190612537565b6119ee919061225b565b600e60008560060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a5c919061228c565b600e60008560060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f00000000000000000000000000000000000000000000000000000000000000008360060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611b58565b6000821115611b5757611b3e8583611cb3565b818360000154611b4e919061228c565b83600001819055505b5b8515611b775786600554611b6c919061228c565b600581905550611b8c565b86600554611b8591906121f8565b6005819055505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611c2357838360060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50505050505050565b60018081905550565b611c3d611e28565b73ffffffffffffffffffffffffffffffffffffffff16611c5b610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca890612631565b60405180910390fd5b565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611cd990612682565b60006040518083038185875af1925050503d8060008114611d16576040519150601f19603f3d011682016040523d82523d6000602084013e611d1b565b606091505b5050905080611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d56906126e3565b60405180910390fd5b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b6000819050919050565b611e4881611e35565b8114611e5357600080fd5b50565b600081359050611e6581611e3f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611e9682611e6b565b9050919050565b611ea681611e8b565b8114611eb157600080fd5b50565b600081359050611ec381611e9d565b92915050565b60008060408385031215611ee057611edf611e30565b5b6000611eee85828601611e56565b9250506020611eff85828601611eb4565b9150509250929050565b60008115159050919050565b611f1e81611f09565b8114611f2957600080fd5b50565b600081359050611f3b81611f15565b92915050565b60008060408385031215611f5857611f57611e30565b5b6000611f6685828601611eb4565b9250506020611f7785828601611f2c565b9150509250929050565b600060208284031215611f9757611f96611e30565b5b6000611fa584828501611eb4565b91505092915050565b611fb781611e35565b82525050565b611fc681611e8b565b82525050565b600060e082019050611fe1600083018a611fae565b611fee6020830189611fae565b611ffb6040830188611fae565b6120086060830187611fae565b6120156080830186611fae565b61202260a0830185611fae565b61202f60c0830184611fbd565b98975050505050505050565b60006020820190506120506000830184611fae565b92915050565b60006020828403121561206c5761206b611e30565b5b600061207a84828501611e56565b91505092915050565b60008060006060848603121561209c5761209b611e30565b5b60006120aa86828701611e56565b93505060206120bb86828701611eb4565b92505060406120cc86828701611eb4565b9150509250925092565b60006020820190506120eb6000830184611fbd565b92915050565b60006080820190506121066000830187611fae565b6121136020830186611fae565b6121206040830185611fae565b61212d6060830184611fae565b95945050505050565b6000806040838503121561214d5761214c611e30565b5b600061215b85828601611e56565b925050602061216c85828601611e56565b9150509250929050565b600060408201905061218b6000830185611fae565b6121986020830184611fae565b9392505050565b6121a881611f09565b82525050565b60006020820190506121c3600083018461219f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061220382611e35565b915061220e83611e35565b9250828203905081811115612226576122256121c9565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061226682611e35565b915061227183611e35565b9250826122815761228061222c565b5b828204905092915050565b600061229782611e35565b91506122a283611e35565b92508282019050808211156122ba576122b96121c9565b5b92915050565b600082825260208201905092915050565b7f596f752063616e74000000000000000000000000000000000000000000000000600082015250565b60006123076008836122c0565b9150612312826122d1565b602082019050919050565b60006020820190508181036000830152612336816122fa565b9050919050565b60008151905061234c81611e3f565b92915050565b60006020828403121561236857612367611e30565b5b60006123768482850161233d565b91505092915050565b60006040820190506123946000830185611fbd565b6123a16020830184611fae565b9392505050565b6000815190506123b781611f15565b92915050565b6000602082840312156123d3576123d2611e30565b5b60006123e1848285016123a8565b91505092915050565b60006040820190506123ff6000830185611fae565b61240c6020830184611fbd565b9392505050565b7f596f752077697468647261776564206d6f7265207468616e2075722062616c6160008201527f6e63650000000000000000000000000000000000000000000000000000000000602082015250565b600061246f6023836122c0565b915061247a82612413565b604082019050919050565b6000602082019050818103600083015261249e81612462565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006125016026836122c0565b915061250c826124a5565b604082019050919050565b60006020820190508181036000830152612530816124f4565b9050919050565b600061254282611e35565b915061254d83611e35565b925082820261255b81611e35565b91508282048414831517612572576125716121c9565b5b5092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006125af601f836122c0565b91506125ba82612579565b602082019050919050565b600060208201905081810360008301526125de816125a2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061261b6020836122c0565b9150612626826125e5565b602082019050919050565b6000602082019050818103600083015261264a8161260e565b9050919050565b600081905092915050565b50565b600061266c600083612651565b91506126778261265c565b600082019050919050565b600061268d8261265f565b9150819050919050565b7f455448205472616e73666572206661696c65642e000000000000000000000000600082015250565b60006126cd6014836122c0565b91506126d882612697565b602082019050919050565b600060208201905081810360008301526126fc816126c0565b905091905056fea2646970667358221220b6e607104010386674ec80bf550473e3f77aceb4b4d9009ad1710e93b9ad932964736f6c63430008120033

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

000000000000000000000000c4824156785be733d9b98ac4813da0c7bc1b7a44

-----Decoded View---------------
Arg [0] : lpEngine (address): 0xc4824156785BE733d9B98ac4813DA0c7bc1B7A44

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c4824156785be733d9b98ac4813da0c7bc1b7a44


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.