ETH Price: $3,327.80 (-3.74%)
 

Overview

ETH Balance

0.188102476456290876 ETH

Eth Value

$625.97 (@ $3,327.80/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake212951882024-11-29 18:39:2339 days ago1732905563IN
0xD8485d7F...4Feb0d98D
0.00417478 ETH0.0037879416.44346263
Unstake208197032024-09-24 9:57:23106 days ago1727171843IN
0xD8485d7F...4Feb0d98D
0.0056561 ETH0.0058829919.81319978
Stake204745442024-08-07 5:16:35154 days ago1723007795IN
0xD8485d7F...4Feb0d98D
0.0059453 ETH0.000445141.99737556
Unstake203310752024-07-18 4:38:59174 days ago1721277539IN
0xD8485d7F...4Feb0d98D
0.00438596 ETH0.000932215.89768826
Stake201141752024-06-17 21:25:47204 days ago1718659547IN
0xD8485d7F...4Feb0d98D
0.0042735 ETH0.001816958.15274683
Unstake198179362024-05-07 11:37:35246 days ago1715081855IN
0xD8485d7F...4Feb0d98D
0.00484339 ETH0.000958516.06409239
Unstake197874062024-05-03 5:09:35250 days ago1714712975IN
0xD8485d7F...4Feb0d98D
0.00499334 ETH0.000926116.50121429
Stake196377052024-04-12 6:22:11271 days ago1712902931IN
0xD8485d7F...4Feb0d98D
0.0042325 ETH0.0024636310.82209068
Claim Reward195825282024-04-04 12:54:11279 days ago1712235251IN
0xD8485d7F...4Feb0d98D
0 ETH0.0018835124.34954119
Claim Reward195685052024-04-02 13:48:11281 days ago1712065691IN
0xD8485d7F...4Feb0d98D
0 ETH0.0030243750.18453644
Unstake195658952024-04-02 5:00:11281 days ago1712034011IN
0xD8485d7F...4Feb0d98D
0.00445632 ETH0.0026616617.61330249
Stake195646252024-04-02 0:43:59281 days ago1712018639IN
0xD8485d7F...4Feb0d98D
0.0043091 ETH0.0047835421.20302036
Claim Reward195589772024-04-01 5:40:47282 days ago1711950047IN
0xD8485d7F...4Feb0d98D
0 ETH0.000926715.38018198
Fund Pool With R...195539802024-03-31 12:49:47283 days ago1711889387IN
0xD8485d7F...4Feb0d98D
0.0896 ETH0.0007468821.14911822
Claim Reward195437382024-03-30 2:14:23284 days ago1711764863IN
0xD8485d7F...4Feb0d98D
0 ETH0.0012094620.07313426
Fund Pool With R...195070262024-03-24 21:20:59289 days ago1711315259IN
0xD8485d7F...4Feb0d98D
0.1568 ETH0.0006718219.0237231
Stake195039652024-03-24 10:59:47290 days ago1711277987IN
0xD8485d7F...4Feb0d98D
0.00443393 ETH0.0037676216.70329203
Claim Reward194588932024-03-18 3:05:11296 days ago1710731111IN
0xD8485d7F...4Feb0d98D
0 ETH0.0014630824.282421
Fund Pool With R...194566352024-03-17 19:26:47296 days ago1710703607IN
0xD8485d7F...4Feb0d98D
0.19824 ETH0.0012041134.09653322
Claim Reward194151992024-03-11 23:42:47302 days ago1710200567IN
0xD8485d7F...4Feb0d98D
0 ETH0.0029207348.47446299
Fund Pool With R...194076652024-03-10 22:26:23303 days ago1710109583IN
0xD8485d7F...4Feb0d98D
0.1568 ETH0.0025398671.92036107
Fund Pool With R...193569742024-03-03 20:18:35310 days ago1709497115IN
0xD8485d7F...4Feb0d98D
0.18 ETH0.0022216662.91004658
Stake193310142024-02-29 5:12:59314 days ago1709183579IN
0xD8485d7F...4Feb0d98D
0.004363 ETH0.0108060149.55228431
Claim Reward193178312024-02-27 8:55:11316 days ago1709024111IN
0xD8485d7F...4Feb0d98D
0 ETH0.0013445335.48055419
Claim Reward193178312024-02-27 8:55:11316 days ago1709024111IN
0xD8485d7F...4Feb0d98D
0 ETH0.0021381935.47985878
View all transactions

Latest 24 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
212951882024-11-29 18:39:2339 days ago1732905563
0xD8485d7F...4Feb0d98D
0.00417478 ETH
208197032024-09-24 9:57:23106 days ago1727171843
0xD8485d7F...4Feb0d98D
0.0056561 ETH
204745442024-08-07 5:16:35154 days ago1723007795
0xD8485d7F...4Feb0d98D
0.0059453 ETH
203310752024-07-18 4:38:59174 days ago1721277539
0xD8485d7F...4Feb0d98D
0.00438596 ETH
201141752024-06-17 21:25:47204 days ago1718659547
0xD8485d7F...4Feb0d98D
0.0042735 ETH
198179362024-05-07 11:37:35246 days ago1715081855
0xD8485d7F...4Feb0d98D
0.00484339 ETH
197874062024-05-03 5:09:35250 days ago1714712975
0xD8485d7F...4Feb0d98D
0.00499334 ETH
196377052024-04-12 6:22:11271 days ago1712902931
0xD8485d7F...4Feb0d98D
0.0042325 ETH
195825282024-04-04 12:54:11279 days ago1712235251
0xD8485d7F...4Feb0d98D
0.38623063 ETH
195685052024-04-02 13:48:11281 days ago1712065691
0xD8485d7F...4Feb0d98D
0.11343614 ETH
195658952024-04-02 5:00:11281 days ago1712034011
0xD8485d7F...4Feb0d98D
0.00445632 ETH
195646252024-04-02 0:43:59281 days ago1712018639
0xD8485d7F...4Feb0d98D
0.0043091 ETH
195589772024-04-01 5:40:47282 days ago1711950047
0xD8485d7F...4Feb0d98D
0.0096273 ETH
195437382024-03-30 2:14:23284 days ago1711764863
0xD8485d7F...4Feb0d98D
0.01684778 ETH
195039652024-03-24 10:59:47290 days ago1711277987
0xD8485d7F...4Feb0d98D
0.00443393 ETH
194588932024-03-18 3:05:11296 days ago1710731111
0xD8485d7F...4Feb0d98D
0.02489695 ETH
194151992024-03-11 23:42:47302 days ago1710200567
0xD8485d7F...4Feb0d98D
0.04229869 ETH
193310142024-02-29 5:12:59314 days ago1709183579
0xD8485d7F...4Feb0d98D
0.004363 ETH
193178312024-02-27 8:55:11316 days ago1709024111
0xD8485d7F...4Feb0d98D
0.168 ETH
193089202024-02-26 2:59:11317 days ago1708916351
0xD8485d7F...4Feb0d98D
0.104 ETH
192516892024-02-18 2:19:35325 days ago1708222775
0xD8485d7F...4Feb0d98D
0.0054054 ETH
192468552024-02-17 10:01:59326 days ago1708164119
0xD8485d7F...4Feb0d98D
0.03439999 ETH
192468552024-02-17 10:01:59326 days ago1708164119
0xD8485d7F...4Feb0d98D
0.00540151 ETH
190297422024-01-17 23:01:47356 days ago1705532507
0xD8485d7F...4Feb0d98D
0.00596184 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x27d72E38...097bd846a
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
StakingPool

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 11 : StakingPool.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';
import './interfaces/ITokenStakingPoolExtension.sol';

interface IUniswapV2Pair {
    function getReserves() external view returns (uint reserve0, uint reserve1, uint32 blockTimestampLast);
}

contract StakingPool is Context, Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    IUniswapV2Router02 immutable _router;
    uint256 constant MULTIPLIER = 10 ** 36;
    address public token;
    uint256 public lockupPeriod; //in seconds
    uint256 public totalStakers;
    uint256 public totalStakedShares;
    uint256 public targetFeeUSD;
    address public uniswapUsdEthPair;
    address public teamWallet;

    ITokenStakingPoolExtension public tokenStakingPool;

    struct Stake {
        uint256 amount;
        uint256 lastStakeTime;
    }
    struct Reward {
        uint256 excluded;
        uint256 realised;
    }
    mapping(address => Stake) public stakerShares;
    mapping(address => Reward) public stakerRewards;

    uint256 public rewardsRatePerShare;
    uint256 public totalRewardDistributed;
    uint256 public totalRewards;

    event Staked(address indexed user, uint256 amount);
    event Unstaked(address indexed user, uint256 amount);
    event StakingRewardClaimed(address user);
    event PoolHasBeenFunded(address indexed user, uint256 amountTokens);
    event rewardDistributed(
        address indexed user,
        uint256 amount,
        bool _wasCompounded
    );

    constructor(address _token, uint256 _lockupPeriod, address __router, address _uniswapUsdEthPair, address _teamWallet) {
        token = _token;
        lockupPeriod = _lockupPeriod;
        _router = IUniswapV2Router02(__router);
        uniswapUsdEthPair = _uniswapUsdEthPair;
        targetFeeUSD = 15 * 10**6;
        teamWallet = _teamWallet;
    }

    function stake(uint256 _amount) external payable nonReentrant {
        uint256 currentFee = getCurrentFeeInETH();
        require(msg.value >= currentFee * 95/100, 'Not enough fees has been sent');

        // Determine the fee to be charged
        uint256 feeToCharge = msg.value >= currentFee ? currentFee : msg.value;

        // Transfer the fee to the team wallet
        (bool sent, ) = teamWallet.call{ value: feeToCharge }('');
        require(sent, "Failed to send ETH to team wallet");

        // Refund any excess ETH
        if (msg.value > feeToCharge) {
            (bool refunded, ) = msg.sender.call{ value: msg.value - feeToCharge }('');
            require(refunded, "Failed to refund excess ETH");
        }
        IERC20(token).safeTransferFrom(_msgSender(), address(this), _amount);
        _setShare(_msgSender(), _amount, false);
    }

    function stakeForWallets(
        address[] memory _wallets,
        uint256[] memory _amounts
    ) external nonReentrant {
        require(_wallets.length == _amounts.length, 'INSYNC');
        uint256 _totalAmount;
        for (uint256 _i; _i < _wallets.length; _i++) {
            _totalAmount += _amounts[_i];
            _setShare(_wallets[_i], _amounts[_i], false);
        }
        IERC20(token).safeTransferFrom(_msgSender(), address(this), _totalAmount);
    }

    function unstake(uint256 _amount) external payable nonReentrant {
        uint256 currentFee = getCurrentFeeInETH();
        require(msg.value >= currentFee * 95/100, 'Not enough fees has been sent');

        // Determine the fee to be charged
        uint256 feeToCharge = msg.value >= currentFee ? currentFee : msg.value;

        // Transfer the fee to the team wallet
        (bool sent, ) = teamWallet.call{ value: feeToCharge }('');
        require(sent, "Failed to send ETH to team wallet");

        // Refund any excess ETH
        if (msg.value > feeToCharge) {
            (bool refunded, ) = msg.sender.call{ value: msg.value - feeToCharge }('');
            require(refunded, "Failed to refund excess ETH");
        }
        IERC20(token).safeTransfer(_msgSender(), _amount);
        _setShare(_msgSender(), _amount, true);
    }

    function _setShare(
        address wallet,
        uint256 balanceUpdate,
        bool isRemoving
    ) internal {
        if (address(tokenStakingPool) != address(0)) {

            try tokenStakingPool.setShare(wallet, balanceUpdate, isRemoving) {

            } catch {

            }
        }
        if (isRemoving) {
            _removeShares(wallet, balanceUpdate);
            emit Unstaked(wallet, balanceUpdate);
        } else {
            _addShares(wallet, balanceUpdate);
            emit Staked(wallet, balanceUpdate);
        }
    }

    function _addShares(address wallet, uint256 amount) private {
        if (stakerShares[wallet].amount > 0) {
            _distributeReward(wallet, false, 0);
        }
        uint256 sharesBefore = stakerShares[wallet].amount;
        totalStakedShares += amount;
        stakerShares[wallet].amount += amount;
        stakerShares[wallet].lastStakeTime = block.timestamp;
        if (sharesBefore == 0 && stakerShares[wallet].amount > 0) {
            totalStakers++;
        }
        stakerRewards[wallet].excluded = _cumulativeRewards(stakerShares[wallet].amount);
    }

    function _removeShares(address wallet, uint256 amount) private {
        require(
            stakerShares[wallet].amount > 0 && amount <= stakerShares[wallet].amount,
            'amount cannot be greater than staked'
        );
        require(
            block.timestamp > stakerShares[wallet].lastStakeTime + lockupPeriod,
            'lockup period did not ended'
        );
        uint256 _unclaimed = getUnpaid(wallet);
        bool _otherStakersPresent = totalStakedShares - amount > 0;
        if (!_otherStakersPresent) {
            _distributeReward(wallet, false, 0);
        }
        totalStakedShares -= amount;
        stakerShares[wallet].amount -= amount;
        if (stakerShares[wallet].amount == 0) {
            totalStakers--;
        }
        stakerRewards[wallet].excluded = _cumulativeRewards(stakerShares[wallet].amount);
        // if there are other stakers and unclaimed rewards,
        // deposit them back into the pool for other stakers to claim
        if (_otherStakersPresent && _unclaimed > 0) {
            _fundPoolWithRewards(wallet, _unclaimed);
        }
    }

    function fundPoolWithRewards() external payable {
        _fundPoolWithRewards(_msgSender(), msg.value);
    }

    function _fundPoolWithRewards(address _wallet, uint256 _amountETH) internal {
        require(_amountETH > 0, 'ETH');
        require(totalStakedShares > 0, 'SHARES');
        totalRewards += _amountETH;
        rewardsRatePerShare += (MULTIPLIER * _amountETH) / totalStakedShares;
        emit PoolHasBeenFunded(_wallet, _amountETH);
    }

    function _distributeReward(
        address _wallet,
        bool _compound,
        uint256 _compoundMinTokensToReceive
    ) internal {
        if (stakerShares[_wallet].amount == 0) {
            return;
        }
        stakerShares[_wallet].lastStakeTime = block.timestamp; // reset every claim
        uint256 _amountWei = getUnpaid(_wallet);
        stakerRewards[_wallet].realised += _amountWei;
        stakerRewards[_wallet].excluded = _cumulativeRewards(stakerShares[_wallet].amount);
        if (_amountWei > 0) {
            totalRewardDistributed += _amountWei;
            if (_compound) {
                _compoundRewards(_wallet, _amountWei, _compoundMinTokensToReceive);
            } else {
                uint256 _balBefore = address(this).balance;
                (bool success, ) = payable(_wallet).call{ value: _amountWei }('');
                require(success, 'DIST0');
                require(address(this).balance >= _balBefore - _amountWei, 'DIST1');
            }
            emit rewardDistributed(_wallet, _amountWei, _compound);
        }
    }

    function _compoundRewards(
        address _wallet,
        uint256 _wei,
        uint256 _minTokensToReceive
    ) internal {
        address[] memory path = new address[](2);
        path[0] = _router.WETH();
        path[1] = token;

        IERC20 _token = IERC20(token);
        uint256 _tokenBalBefore = _token.balanceOf(address(this));
        _router.swapExactETHForTokensSupportingFeeOnTransferTokens{ value: _wei }(
            _minTokensToReceive,
            path,
            address(this),
            block.timestamp
        );
        uint256 _compoundAmount = _token.balanceOf(address(this)) - _tokenBalBefore;
        _setShare(_wallet, _compoundAmount, false);
    }

    function claimReward(
        bool _compound,
        uint256 _compMinTokensToReceive
    ) external nonReentrant {
        _distributeReward(_msgSender(), _compound, _compMinTokensToReceive);
        emit StakingRewardClaimed(_msgSender());
    }

    function claimRewardAdmin(
        address _wallet,
        bool _compound,
        uint256 _compMinTokensToReceive
    ) external nonReentrant onlyOwner {
        _distributeReward(_wallet, _compound, _compMinTokensToReceive);
        emit StakingRewardClaimed(_wallet);
    }

    function getUnpaid(address wallet) public view returns (uint256) {
        if (stakerShares[wallet].amount == 0) {
            return 0;
        }
        uint256 earnedRewards = _cumulativeRewards(stakerShares[wallet].amount);
        uint256 rewardsExcluded = stakerRewards[wallet].excluded;
        if (earnedRewards <= rewardsExcluded) {
            return 0;
        }
        return earnedRewards - rewardsExcluded;
    }

    function _cumulativeRewards(uint256 share) internal view returns (uint256) {
        return (share * rewardsRatePerShare) / MULTIPLIER;
    }

    function setPoolExtension(ITokenStakingPoolExtension _tokenStakingPool) external onlyOwner {
        tokenStakingPool = _tokenStakingPool;
    }

    function setLockupPeriod(uint256 _seconds) external onlyOwner {
        require(_seconds < 365 days, 'lte 1 year');
        lockupPeriod = _seconds;
    }

    function withdrawTokens(uint256 _amount) external onlyOwner {
        IERC20 _token = IERC20(token);
        _token.safeTransfer(
            _msgSender(),
            _amount == 0 ? _token.balanceOf(address(this)) : _amount
        );
    }

    function getETHPrice() public view returns (uint) {
        (uint reserve0, uint reserve1,) = IUniswapV2Pair(uniswapUsdEthPair).getReserves();
        // Assume reserve0 is USDC and reserve1 is WETH. Adjust as per actual pool.
        return reserve0 * 1e12 / reserve1; // Returns the price of 1 ETH in terms of USDC (with 6 decimal places)
    }

    function getCurrentFeeInETH() public view returns (uint) {
        if (targetFeeUSD == 0) {
            return 0;
        }
        uint ethPrice = getETHPrice();
        if (ethPrice <= 0) {
            return 0;
        }
        return (targetFeeUSD * 1e12) / ethPrice;
    }

    function setTargetFeeUSD(uint256 _newFeeUSD) external onlyOwner {
        targetFeeUSD = _newFeeUSD * 10**6;
    }

    function setAddresses(address _uniswapUsdEthPair, address _teamWallet) external onlyOwner {
        uniswapUsdEthPair = _uniswapUsdEthPair;
        teamWallet = _teamWallet;
    }

}

File 2 of 11 : 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 3 of 11 : 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 4 of 11 : 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 5 of 11 : 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 6 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (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. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    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 7 of 11 : 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 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 11 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 10 of 11 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 11 of 11 : ITokenStakingPoolExtension.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface ITokenStakingPoolExtension {
    function setShare(
        address wallet,
        uint256 balanceChange,
        bool isRemoving
    ) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_lockupPeriod","type":"uint256"},{"internalType":"address","name":"__router","type":"address"},{"internalType":"address","name":"_uniswapUsdEthPair","type":"address"},{"internalType":"address","name":"_teamWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountTokens","type":"uint256"}],"name":"PoolHasBeenFunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"StakingRewardClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unstaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_wasCompounded","type":"bool"}],"name":"rewardDistributed","type":"event"},{"inputs":[{"internalType":"bool","name":"_compound","type":"bool"},{"internalType":"uint256","name":"_compMinTokensToReceive","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_compound","type":"bool"},{"internalType":"uint256","name":"_compMinTokensToReceive","type":"uint256"}],"name":"claimRewardAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundPoolWithRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getCurrentFeeInETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getETHPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getUnpaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockupPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsRatePerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapUsdEthPair","type":"address"},{"internalType":"address","name":"_teamWallet","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setLockupPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenStakingPoolExtension","name":"_tokenStakingPool","type":"address"}],"name":"setPoolExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFeeUSD","type":"uint256"}],"name":"setTargetFeeUSD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"stakeForWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakerRewards","outputs":[{"internalType":"uint256","name":"excluded","type":"uint256"},{"internalType":"uint256","name":"realised","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakerShares","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lastStakeTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"targetFeeUSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenStakingPool","outputs":[{"internalType":"contract ITokenStakingPoolExtension","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapUsdEthPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806389d96917116100f7578063b2a7e22411610095578063f0f0b22811610064578063f0f0b228146104cd578063f2fde38b14610501578063f4aa842d14610521578063fc0c546a1461054157600080fd5b8063b2a7e22414610461578063be2cfdff14610481578063c771c39014610497578063ee947a7c146104b757600080fd5b806395319435116100d15780639531943514610403578063a607a8d914610423578063a694fc3a14610438578063abe3a0401461044b57600080fd5b806389d96917146103a55780638da5cb5b146103c557806390107afe146103e357600080fd5b80634ef3f1401161016f578063686283611161013e578063686283611461031c578063715018a6146103655780637a3a6d541461037a578063869890381461038f57600080fd5b80634ef3f140146102be57806350a59b39146102c657806358a73564146102dc57806359927044146102fc57600080fd5b806330188ee8116101ab57806330188ee814610248578063315a095d1461025e57806341aef1621461027e578063472f13f31461029e57600080fd5b8063029259a0146101d25780630e15561a1461020f5780632e17de7814610233575b600080fd5b3480156101de57600080fd5b506007546101f2906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561021b57600080fd5b50610225600e5481565b604051908152602001610206565b610246610241366004611bce565b610561565b005b34801561025457600080fd5b50610225600d5481565b34801561026a57600080fd5b50610246610279366004611bce565b610745565b34801561028a57600080fd5b50610246610299366004611c0a565b6107e6565b3480156102aa57600080fd5b506102466102b9366004611c4b565b61084b565b61024661089a565b3480156102d257600080fd5b50610225600c5481565b3480156102e857600080fd5b506102466102f7366004611bce565b6108a6565b34801561030857600080fd5b506008546101f2906001600160a01b031681565b34801561032857600080fd5b50610350610337366004611c77565b600a602052600090815260409020805460019091015482565b60408051928352602083019190915201610206565b34801561037157600080fd5b506102466108c1565b34801561038657600080fd5b506102256108d3565b34801561039b57600080fd5b5061022560045481565b3480156103b157600080fd5b506102256103c0366004611c77565b610925565b3480156103d157600080fd5b506000546001600160a01b03166101f2565b3480156103ef57600080fd5b506102466103fe366004611c9b565b6109ad565b34801561040f57600080fd5b5061024661041e366004611daa565b6109e3565b34801561042f57600080fd5b50610225610acc565b610246610446366004611bce565b610b6f565b34801561045757600080fd5b5061022560065481565b34801561046d57600080fd5b5061024661047c366004611c77565b610d40565b34801561048d57600080fd5b5061022560055481565b3480156104a357600080fd5b506102466104b2366004611bce565b610d6a565b3480156104c357600080fd5b5061022560035481565b3480156104d957600080fd5b506103506104e8366004611c77565b600b602052600090815260409020805460019091015482565b34801561050d57600080fd5b5061024661051c366004611c77565b610db7565b34801561052d57600080fd5b506009546101f2906001600160a01b031681565b34801561054d57600080fd5b506002546101f2906001600160a01b031681565b610569610e2d565b60006105736108d3565b9050606461058282605f611e82565b61058c9190611e99565b3410156105e05760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f756768206665657320686173206265656e2073656e7400000060448201526064015b60405180910390fd5b6000813410156105f057346105f2565b815b6008546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114610644576040519150601f19603f3d011682016040523d82523d6000602084013e610649565b606091505b505090508061066a5760405162461bcd60e51b81526004016105d790611ebb565b813411156107135760003361067f8434611efc565b604051600081818185875af1925050503d80600081146106bb576040519150601f19603f3d011682016040523d82523d6000602084013e6106c0565b606091505b50509050806107115760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f20726566756e642065786365737320455448000000000060448201526064016105d7565b505b61072a336002546001600160a01b03169086610e86565b61073633856001610ee9565b50505061074260018055565b50565b61074d611000565b6002546001600160a01b03166107e233831561076957836107d1565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156107ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d19190611f0f565b6001600160a01b0384169190610e86565b5050565b6107ee610e2d565b6107f6611000565b61080183838361105a565b6040516001600160a01b03841681527f1a54151dc9938db714c52afcbfe8d6e75e1addb09176abccb50483a04e928fa89060200160405180910390a161084660018055565b505050565b610853610e2d565b61085e33838361105a565b6040805133815290517f1a54151dc9938db714c52afcbfe8d6e75e1addb09176abccb50483a04e928fa89181900360200190a16107e260018055565b6108a43334611264565b565b6108ae611000565b6108bb81620f4240611e82565b60065550565b6108c9611000565b6108a4600061136a565b60006006546000036108e55750600090565b60006108ef610acc565b90506000811161090157600091505090565b8060065464e8d4a510006109159190611e82565b61091f9190611e99565b91505090565b6001600160a01b0381166000908152600a6020526040812054810361094c57506000919050565b6001600160a01b0382166000908152600a602052604081205461096e906113ba565b6001600160a01b0384166000908152600b602052604090205490915080821161099b575060009392505050565b6109a58183611efc565b949350505050565b6109b5611000565b600780546001600160a01b039384166001600160a01b03199182161790915560088054929093169116179055565b6109eb610e2d565b8051825114610a255760405162461bcd60e51b8152602060048201526006602482015265494e53594e4360d01b60448201526064016105d7565b6000805b8351811015610aa957828181518110610a4457610a44611f28565b602002602001015182610a579190611f3e565b9150610a97848281518110610a6e57610a6e611f28565b6020026020010151848381518110610a8857610a88611f28565b60200260200101516000610ee9565b80610aa181611f51565b915050610a29565b50610ac2336002546001600160a01b03169030846113ea565b506107e260018055565b6000806000600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610b24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b489190611f6a565b50909250905080610b5e8364e8d4a51000611e82565b610b689190611e99565b9250505090565b610b77610e2d565b6000610b816108d3565b90506064610b9082605f611e82565b610b9a9190611e99565b341015610be95760405162461bcd60e51b815260206004820152601d60248201527f4e6f7420656e6f756768206665657320686173206265656e2073656e7400000060448201526064016105d7565b600081341015610bf95734610bfb565b815b6008546040519192506000916001600160a01b039091169083908381818185875af1925050503d8060008114610c4d576040519150601f19603f3d011682016040523d82523d6000602084013e610c52565b606091505b5050905080610c735760405162461bcd60e51b81526004016105d790611ebb565b81341115610d1c57600033610c888434611efc565b604051600081818185875af1925050503d8060008114610cc4576040519150601f19603f3d011682016040523d82523d6000602084013e610cc9565b606091505b5050905080610d1a5760405162461bcd60e51b815260206004820152601b60248201527f4661696c656420746f20726566756e642065786365737320455448000000000060448201526064016105d7565b505b610d34336002546001600160a01b03169030876113ea565b61073633856000610ee9565b610d48611000565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b610d72611000565b6301e133808110610db25760405162461bcd60e51b815260206004820152600a602482015269363a329018903cb2b0b960b11b60448201526064016105d7565b600355565b610dbf611000565b6001600160a01b038116610e245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105d7565b6107428161136a565b600260015403610e7f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105d7565b6002600155565b6040516001600160a01b03831660248201526044810182905261084690849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611422565b6009546001600160a01b031615610f63576009546040516329cc05cf60e01b81526001600160a01b038581166004830152602482018590528315156044830152909116906329cc05cf90606401600060405180830381600087803b158015610f5057600080fd5b505af1925050508015610f61575060015b505b8015610fbb57610f7383836114f7565b826001600160a01b03167f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f7583604051610fae91815260200190565b60405180910390a2505050565b610fc58383611707565b826001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d83604051610fae91815260200190565b6000546001600160a01b031633146108a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d7565b6001600160a01b0383166000908152600a6020526040812054900361107e57505050565b6001600160a01b0383166000908152600a60205260408120426001909101556110a684610925565b6001600160a01b0385166000908152600b60205260408120600101805492935083929091906110d6908490611f3e565b90915550506001600160a01b0384166000908152600a60205260409020546110fd906113ba565b6001600160a01b0385166000908152600b6020526040902055801561125e5780600d600082825461112e9190611f3e565b9091555050821561114957611144848284611831565b611218565b60405147906000906001600160a01b0387169084908381818185875af1925050503d8060008114611196576040519150601f19603f3d011682016040523d82523d6000602084013e61119b565b606091505b50509050806111d45760405162461bcd60e51b8152602060048201526005602482015264044495354360dc1b60448201526064016105d7565b6111de8383611efc565b4710156112155760405162461bcd60e51b8152602060048201526005602482015264444953543160d81b60448201526064016105d7565b50505b6040805182815284151560208201526001600160a01b038616917fde1dff83cc54a42d50888ca42faaac540706527fc8c6178118a7f781e2572f0b910160405180910390a25b50505050565b6000811161129a5760405162461bcd60e51b815260206004820152600360248201526208aa8960eb1b60448201526064016105d7565b6000600554116112d55760405162461bcd60e51b815260206004820152600660248201526553484152455360d01b60448201526064016105d7565b80600e60008282546112e79190611f3e565b9091555050600554611308826ec097ce7bc90715b34b9f1000000000611e82565b6113129190611e99565b600c60008282546113239190611f3e565b90915550506040518181526001600160a01b038316907fa81691a0fcc4905bc059bdc83cbe9921b1162b1c4521b5ea8e4e3d3923f15b749060200160405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006ec097ce7bc90715b34b9f1000000000600c54836113da9190611e82565b6113e49190611e99565b92915050565b6040516001600160a01b038085166024830152831660448201526064810182905261125e9085906323b872dd60e01b90608401610eb2565b6000611477826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611aab9092919063ffffffff16565b90508051600014806114985750808060200190518101906114989190611fac565b6108465760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105d7565b6001600160a01b0382166000908152600a60205260409020541580159061153657506001600160a01b0382166000908152600a60205260409020548111155b61158e5760405162461bcd60e51b8152602060048201526024808201527f616d6f756e742063616e6e6f742062652067726561746572207468616e207374604482015263185ad95960e21b60648201526084016105d7565b6003546001600160a01b0383166000908152600a60205260409020600101546115b79190611f3e565b42116116055760405162461bcd60e51b815260206004820152601b60248201527f6c6f636b757020706572696f6420646964206e6f7420656e646564000000000060448201526064016105d7565b600061161083610925565b9050600080836005546116239190611efc565b11905080611637576116378460008061105a565b82600560008282546116499190611efc565b90915550506001600160a01b0384166000908152600a602052604081208054859290611676908490611efc565b90915550506001600160a01b0384166000908152600a602052604081205490036116b057600480549060006116aa83611fc9565b91905055505b6001600160a01b0384166000908152600a60205260409020546116d2906113ba565b6001600160a01b0385166000908152600b60205260409020558080156116f85750600082115b1561125e5761125e8483611264565b6001600160a01b0382166000908152600a602052604090205415611731576117318260008061105a565b6001600160a01b0382166000908152600a6020526040812054600580549192849261175d908490611f3e565b90915550506001600160a01b0383166000908152600a60205260408120805484929061178a908490611f3e565b90915550506001600160a01b0383166000908152600a6020526040902042600190910155801580156117d357506001600160a01b0383166000908152600a602052604090205415155b156117ee57600480549060006117e883611f51565b91905055505b6001600160a01b0383166000908152600a6020526040902054611810906113ba565b6001600160a01b039093166000908152600b60205260409020929092555050565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d49190611fe0565b816000815181106118e7576118e7611f28565b6001600160a01b03928316602091820292909201015260025482519116908290600190811061191857611918611f28565b6001600160a01b0392831660209182029290920101526002546040516370a0823160e01b815230600482015291169060009082906370a0823190602401602060405180830381865afa158015611972573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119969190611f0f565b90507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663b6f9de9586868630426040518663ffffffff1660e01b81526004016119eb9493929190611ffd565b6000604051808303818588803b158015611a0457600080fd5b505af1158015611a18573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600093508492506001600160a01b03861691506370a0823190602401602060405180830381865afa158015611a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8a9190611f0f565b611a949190611efc565b9050611aa287826000610ee9565b50505050505050565b60606109a5848460008585600080866001600160a01b03168587604051611ad2919061208b565b60006040518083038185875af1925050503d8060008114611b0f576040519150601f19603f3d011682016040523d82523d6000602084013e611b14565b606091505b5091509150611b2587838387611b30565b979650505050505050565b60608315611b9f578251600003611b98576001600160a01b0385163b611b985760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105d7565b50816109a5565b6109a58383815115611bb45781518083602001fd5b8060405162461bcd60e51b81526004016105d791906120a7565b600060208284031215611be057600080fd5b5035919050565b6001600160a01b038116811461074257600080fd5b801515811461074257600080fd5b600080600060608486031215611c1f57600080fd5b8335611c2a81611be7565b92506020840135611c3a81611bfc565b929592945050506040919091013590565b60008060408385031215611c5e57600080fd5b8235611c6981611bfc565b946020939093013593505050565b600060208284031215611c8957600080fd5b8135611c9481611be7565b9392505050565b60008060408385031215611cae57600080fd5b8235611cb981611be7565b91506020830135611cc981611be7565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d1357611d13611cd4565b604052919050565b600067ffffffffffffffff821115611d3557611d35611cd4565b5060051b60200190565b600082601f830112611d5057600080fd5b81356020611d65611d6083611d1b565b611cea565b82815260059290921b84018101918181019086841115611d8457600080fd5b8286015b84811015611d9f5780358352918301918301611d88565b509695505050505050565b60008060408385031215611dbd57600080fd5b823567ffffffffffffffff80821115611dd557600080fd5b818501915085601f830112611de957600080fd5b81356020611df9611d6083611d1b565b82815260059290921b84018101918181019089841115611e1857600080fd5b948201945b83861015611e3f578535611e3081611be7565b82529482019490820190611e1d565b96505086013592505080821115611e5557600080fd5b50611e6285828601611d3f565b9150509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176113e4576113e4611e6c565b600082611eb657634e487b7160e01b600052601260045260246000fd5b500490565b60208082526021908201527f4661696c656420746f2073656e642045544820746f207465616d2077616c6c656040820152601d60fa1b606082015260800190565b818103818111156113e4576113e4611e6c565b600060208284031215611f2157600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b808201808211156113e4576113e4611e6c565b600060018201611f6357611f63611e6c565b5060010190565b600080600060608486031215611f7f57600080fd5b8351925060208401519150604084015163ffffffff81168114611fa157600080fd5b809150509250925092565b600060208284031215611fbe57600080fd5b8151611c9481611bfc565b600081611fd857611fd8611e6c565b506000190190565b600060208284031215611ff257600080fd5b8151611c9481611be7565b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156120475784516001600160a01b031683529383019391830191600101612022565b50506001600160a01b039690961660408501525050506060015292915050565b60005b8381101561208257818101518382015260200161206a565b50506000910152565b6000825161209d818460208701612067565b9190910192915050565b60208152600082518060208401526120c6816040850160208701612067565b601f01601f1916919091016040019291505056fea2646970667358221220ad9aab246b66ed43316eb6641da0df3b8942a2a38725c00ce7fc3522db54169164736f6c63430008140033

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.