ETH Price: $3,393.97 (+1.39%)

Contract

0x7eB2A1697E5B5D36dcF4BB1861B639dC5505e1d6
 

Overview

ETH Balance

3.997388317689550295 ETH

Eth Value

$13,567.02 (@ $3,393.97/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake214049672024-12-15 2:34:359 days ago1734230075IN
0x7eB2A169...C5505e1d6
0.00386597 ETH0.002075029.31020653
Unstake213941932024-12-13 14:29:1110 days ago1734100151IN
0x7eB2A169...C5505e1d6
0.00381388 ETH0.0030460320.15518235
Unstake213377502024-12-05 17:21:2318 days ago1733419283IN
0x7eB2A169...C5505e1d6
0.00383435 ETH0.004934432.65031756
Claim Reward213257472024-12-04 1:06:4720 days ago1733274407IN
0x7eB2A169...C5505e1d6
0 ETH0.0018979824.53667229
Claim Reward213126622024-12-02 5:13:1121 days ago1733116391IN
0x7eB2A169...C5505e1d6
0 ETH0.0007495512.44016627
Unstake212921152024-11-29 8:19:4724 days ago1732868387IN
0x7eB2A169...C5505e1d6
0.00422535 ETH0.001104497.30889073
Unstake212729542024-11-26 15:55:3527 days ago1732636535IN
0x7eB2A169...C5505e1d6
0.00451943 ETH0.0021870414.474838
Withdraw Tokens212164532024-11-18 18:39:4735 days ago1731955187IN
0x7eB2A169...C5505e1d6
0 ETH0.0010684120.7270318
Unstake212007702024-11-16 14:11:1137 days ago1731766271IN
0x7eB2A169...C5505e1d6
0.00472738 ETH0.0020828113.7861134
Unstake211671152024-11-11 21:25:5942 days ago1731360359IN
0x7eB2A169...C5505e1d6
0.00448028 ETH0.0133528842.98895648
Stake210884912024-10-31 22:04:1153 days ago1730412251IN
0x7eB2A169...C5505e1d6
0.00596184 ETH0.001178437.41403505
Stake210883772024-10-31 21:41:2353 days ago1730410883IN
0x7eB2A169...C5505e1d6
0.00596896 ETH0.001661057.36248989
Unstake210837282024-10-31 6:08:5953 days ago1730354939IN
0x7eB2A169...C5505e1d6
0.0056561 ETH0.002289497.50607023
Unstake210614272024-10-28 3:23:5957 days ago1730085839IN
0x7eB2A169...C5505e1d6
0.00602167 ETH0.001077396.40435205
Unstake210409722024-10-25 6:55:3559 days ago1729839335IN
0x7eB2A169...C5505e1d6
0.00601926 ETH0.000887635.87385422
Stake210376542024-10-24 19:48:5960 days ago1729799339IN
0x7eB2A169...C5505e1d6
0.00592183 ETH0.0020550810.63461609
Unstake210376172024-10-24 19:41:3560 days ago1729798895IN
0x7eB2A169...C5505e1d6
0.00592417 ETH0.001475489.76538719
Stake210264862024-10-23 6:26:4761 days ago1729664807IN
0x7eB2A169...C5505e1d6
0.00573833 ETH0.001284936.71985924
Claim Reward210153232024-10-21 17:02:4763 days ago1729530167IN
0x7eB2A169...C5505e1d6
0 ETH0.0008832511.41852285
Unstake210138342024-10-21 12:04:3563 days ago1729512275IN
0x7eB2A169...C5505e1d6
0.00555967 ETH0.002457888.05790394
Unstake210137632024-10-21 11:50:1163 days ago1729511411IN
0x7eB2A169...C5505e1d6
0.00553914 ETH0.001131247.48706312
Unstake210136912024-10-21 11:35:4763 days ago1729510547IN
0x7eB2A169...C5505e1d6
0.00553914 ETH0.00113287.49798859
Unstake209785522024-10-16 13:54:3568 days ago1729086875IN
0x7eB2A169...C5505e1d6
0.00574272 ETH0.005469817.16137097
Unstake209780992024-10-16 12:23:5968 days ago1729081439IN
0x7eB2A169...C5505e1d6
0.00568397 ETH0.0036969821.97747244
Claim Reward208976722024-10-05 6:54:2379 days ago1728111263IN
0x7eB2A169...C5505e1d6
0 ETH0.000217343.60655797
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214049672024-12-15 2:34:359 days ago1734230075
0x7eB2A169...C5505e1d6
0.00386597 ETH
213941932024-12-13 14:29:1110 days ago1734100151
0x7eB2A169...C5505e1d6
0.00381388 ETH
213377502024-12-05 17:21:2318 days ago1733419283
0x7eB2A169...C5505e1d6
0.00383435 ETH
213257472024-12-04 1:06:4720 days ago1733274407
0x7eB2A169...C5505e1d6
0.18744481 ETH
213126622024-12-02 5:13:1121 days ago1733116391
0x7eB2A169...C5505e1d6
0.06396116 ETH
212921152024-11-29 8:19:4724 days ago1732868387
0x7eB2A169...C5505e1d6
0.00422535 ETH
212729542024-11-26 15:55:3527 days ago1732636535
0x7eB2A169...C5505e1d6
0.00451943 ETH
212007702024-11-16 14:11:1137 days ago1731766271
0x7eB2A169...C5505e1d6
0.00472738 ETH
211671152024-11-11 21:25:5942 days ago1731360359
0x7eB2A169...C5505e1d6
0.00000133 ETH
211671152024-11-11 21:25:5942 days ago1731360359
0x7eB2A169...C5505e1d6
0.00447894 ETH
210884912024-10-31 22:04:1153 days ago1730412251
0x7eB2A169...C5505e1d6
0.00596184 ETH
210883772024-10-31 21:41:2353 days ago1730410883
0x7eB2A169...C5505e1d6
0.00596896 ETH
210837282024-10-31 6:08:5953 days ago1730354939
0x7eB2A169...C5505e1d6
0.0056561 ETH
210614272024-10-28 3:23:5957 days ago1730085839
0x7eB2A169...C5505e1d6
0.00602167 ETH
210409722024-10-25 6:55:3559 days ago1729839335
0x7eB2A169...C5505e1d6
0.00601926 ETH
210376542024-10-24 19:48:5960 days ago1729799339
0x7eB2A169...C5505e1d6
0.00592183 ETH
210376172024-10-24 19:41:3560 days ago1729798895
0x7eB2A169...C5505e1d6
0.00592417 ETH
210264862024-10-23 6:26:4761 days ago1729664807
0x7eB2A169...C5505e1d6
0.00573833 ETH
210153232024-10-21 17:02:4763 days ago1729530167
0x7eB2A169...C5505e1d6
0.00727629 ETH
210138342024-10-21 12:04:3563 days ago1729512275
0x7eB2A169...C5505e1d6
0.00555967 ETH
210137632024-10-21 11:50:1163 days ago1729511411
0x7eB2A169...C5505e1d6
0.00553914 ETH
210136912024-10-21 11:35:4763 days ago1729510547
0x7eB2A169...C5505e1d6
0.00553914 ETH
209785522024-10-16 13:54:3568 days ago1729086875
0x7eB2A169...C5505e1d6
0.00574272 ETH
209780992024-10-16 12:23:5968 days ago1729081439
0x7eB2A169...C5505e1d6
0.00568397 ETH
208976722024-10-05 6:54:2379 days ago1728111263
0x7eB2A169...C5505e1d6
0.00347929 ETH
View All Internal Transactions
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.