ETH Price: $3,323.53 (-1.24%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unstake212643912024-11-25 11:11:2344 days ago1732533083IN
0x5Ef06346...3C39dC0ce
0 ETH0.0024847417.8202024
Stake210820132024-10-31 0:23:4770 days ago1730334227IN
0x5Ef06346...3C39dC0ce
0 ETH0.001664848.63436615
Unstake208518752024-09-28 21:39:35102 days ago1727559575IN
0x5Ef06346...3C39dC0ce
0 ETH0.000797815.83192269
Unstake208405672024-09-27 7:48:35104 days ago1727423315IN
0x5Ef06346...3C39dC0ce
0 ETH0.0018136112.59513142
Unstake208380292024-09-26 23:19:11104 days ago1727392751IN
0x5Ef06346...3C39dC0ce
0 ETH0.0030247321.00786508
Unstake208368412024-09-26 19:19:47104 days ago1727378387IN
0x5Ef06346...3C39dC0ce
0 ETH0.0030220221.2095758
Unstake208280832024-09-25 14:01:35105 days ago1727272895IN
0x5Ef06346...3C39dC0ce
0 ETH0.004279227.27991717
Re Stake205959592024-08-24 4:04:59138 days ago1724472299IN
0x5Ef06346...3C39dC0ce
0 ETH0.000085160.95205359
Unstake205718352024-08-20 19:11:23141 days ago1724181083IN
0x5Ef06346...3C39dC0ce
0 ETH0.000177351.25550278
Stake205647182024-08-19 19:19:59142 days ago1724095199IN
0x5Ef06346...3C39dC0ce
0 ETH0.000301542.16784787
Stake205647062024-08-19 19:17:35142 days ago1724095055IN
0x5Ef06346...3C39dC0ce
0 ETH0.000446332.31481614
Re Stake205273542024-08-14 14:05:47147 days ago1723644347IN
0x5Ef06346...3C39dC0ce
0 ETH0.0015388117.20233413
Re Stake202625552024-07-08 15:01:59184 days ago1720450919IN
0x5Ef06346...3C39dC0ce
0 ETH0.0009195210.51440424
Stake202505152024-07-06 22:40:23186 days ago1720305623IN
0x5Ef06346...3C39dC0ce
0 ETH0.000228841.59045869
Re Stake202234402024-07-03 3:57:11190 days ago1719979031IN
0x5Ef06346...3C39dC0ce
0 ETH0.000425284.75427823
Unstake202229882024-07-03 2:25:59190 days ago1719973559IN
0x5Ef06346...3C39dC0ce
0 ETH0.000576924.00695434
Unstake202203022024-07-02 17:24:47190 days ago1719941087IN
0x5Ef06346...3C39dC0ce
0 ETH0.000891126.51402427
Re Stake201718862024-06-25 23:09:23197 days ago1719356963IN
0x5Ef06346...3C39dC0ce
0 ETH0.000279673.12644923
Stake201718812024-06-25 23:08:23197 days ago1719356903IN
0x5Ef06346...3C39dC0ce
0 ETH0.000576042.98755589
Stake201334772024-06-20 14:16:23202 days ago1718892983IN
0x5Ef06346...3C39dC0ce
0 ETH0.0026849813.92425236
Stake201000022024-06-15 21:53:59207 days ago1718488439IN
0x5Ef06346...3C39dC0ce
0 ETH0.000534082.7699188
Re Stake200548412024-06-09 14:23:47213 days ago1717943027IN
0x5Ef06346...3C39dC0ce
0 ETH0.0009103410.40937387
Unstake200126732024-06-03 17:05:35219 days ago1717434335IN
0x5Ef06346...3C39dC0ce
0 ETH0.001882213.49039102
Re Stake199436582024-05-25 1:37:23229 days ago1716601043IN
0x5Ef06346...3C39dC0ce
0 ETH0.000421254.70919524
Unstake198423082024-05-10 21:25:11243 days ago1715376311IN
0x5Ef06346...3C39dC0ce
0 ETH0.00074825.36312222
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
195905412024-04-05 15:50:59278 days ago1712332259  Contract Creation0 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x1B9e248A...1a3262863
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.25+commit.b61c2a91

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : 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 './interfaces/IPoolExtension.sol';

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

  uint256 constant MULTIPLIER = 10 ** 36;
  address public token;
  uint256 public lockupPeriod;
  uint256 public penalty = 1; // 1 = 1%
  uint256 public totalStakedUsers;
  uint256 public totalSharesDeposited;

  IPoolExtension public extension;
  IPoolExtension public extensionERC20;

  struct Share {
    uint256 amount;
    uint256 stakedTime;
  }
  struct Reward {
    uint256 excluded;
    uint256 realised;
  }
  mapping(address => Share) public shares;
  mapping(address => Reward) public rewards;

  uint256 public rewardsPerShare;
  uint256 public totalDistributed;
  uint256 public totalRewards;

  event Stake(address indexed user, uint256 amount);
  event Unstake(address indexed user, uint256 amount);
  event ClaimReward(address user);
  event DepositRewards(address indexed user, uint256 amountTokens);
  event DistributeReward(
    address indexed user,
    uint256 amount,
    bool _wasCompounded
  );

  constructor(address _token, uint256 _lockupPeriod, address _initialOwner) Ownable(_initialOwner) {
    token = _token;
    lockupPeriod = _lockupPeriod;
  }

  function stake(uint256 _amount) external nonReentrant {
    IERC20(token).safeTransferFrom(_msgSender(), address(this), _amount);
    _setShare(_msgSender(), _amount, false);
  }

  function reStake() external nonReentrant {
    if (address(extension) != address(0)) {
        uint256 rewardAmount = extension.calculateRewards(_msgSender());
        extension.reStake(_msgSender(), rewardAmount);
        _setShare(_msgSender(), rewardAmount, 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 nonReentrant {
    if (block.timestamp - shares[_msgSender()].stakedTime < lockupPeriod) {
        IERC20(token).safeTransfer(_msgSender(), (_amount * (100 - penalty)) / 100);
    } else {
        IERC20(token).safeTransfer(_msgSender(), _amount);
    }
    _setShare(_msgSender(), _amount, true);
  }

  function _setShare(
    address wallet,
    uint256 balanceUpdate,
    bool isRemoving
  ) internal {
    if (address(extension) != address(0)) {
      try extension.setShare(wallet, balanceUpdate, isRemoving) {} catch {}
    }
    if (address(extensionERC20) != address(0)) {
      try extensionERC20.setShare(wallet, balanceUpdate, isRemoving) {} catch {}
    }
    if (isRemoving) {
      _removeShares(wallet, balanceUpdate);
      emit Unstake(wallet, balanceUpdate);
    } else {
      _addShares(wallet, balanceUpdate);
      emit Stake(wallet, balanceUpdate);
    }
  }

  function _addShares(address wallet, uint256 amount) private {
    if (shares[wallet].amount > 0) {
      _distributeReward(wallet, false, 0);
    }
    uint256 sharesBefore = shares[wallet].amount;
    totalSharesDeposited += amount;
    shares[wallet].amount += amount;
    shares[wallet].stakedTime = block.timestamp;
    if (sharesBefore == 0 && shares[wallet].amount > 0) {
      totalStakedUsers++;
    }
    rewards[wallet].excluded = _cumulativeRewards(shares[wallet].amount);
  }

  function _removeShares(address wallet, uint256 amount) private {
    require(
      shares[wallet].amount > 0 && amount <= shares[wallet].amount,
      'REM: amount'
    );
    uint256 _unclaimed = getUnpaid(wallet);
    bool _otherStakersPresent = totalSharesDeposited - amount > 0;
    if (!_otherStakersPresent) {
      _distributeReward(wallet, false, 0);
    }
    totalSharesDeposited -= amount;
    shares[wallet].amount -= amount;
    if (shares[wallet].amount == 0) {
      totalStakedUsers--;
    }
    rewards[wallet].excluded = _cumulativeRewards(shares[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) {
      _depositRewards(wallet, _unclaimed);
    }
  }

  function depositRewards() external payable {
    _depositRewards(_msgSender(), msg.value);
  }

  function _depositRewards(address _wallet, uint256 _amountETH) internal {
    require(_amountETH > 0, 'ETH');
    require(totalSharesDeposited > 0, 'SHARES');
    totalRewards += _amountETH;
    rewardsPerShare += (MULTIPLIER * _amountETH) / totalSharesDeposited;
    emit DepositRewards(_wallet, _amountETH);
  }

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

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

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

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

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

  function setPoolExtension(IPoolExtension _extension) external onlyOwner {
    extension = _extension;
  }

  function setPoolExtensionERC20(IPoolExtension _extension) external onlyOwner {
    extensionERC20 = _extension;
  }

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

  // 1 = 1% 
  function setPenalty(uint256 _percent) external onlyOwner {
    require(_percent < 100, 'lte 100 percent');
    penalty = _percent;
  }

  function withdrawETH(uint256 amount) external onlyOwner {
    require(amount <= address(this).balance, "Insufficient balance");
    address payable to = payable(_msgSender());
    to.transfer(amount);
  }

  function withdrawAnyERC20(uint256 amount, address contractAddress) external onlyOwner {
    IERC20 _token = IERC20(contractAddress);
    require(amount <= _token.balanceOf(address(this)), "Insufficient balance");
    _token.safeTransfer(
      _msgSender(),
      amount
    );
  }

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

File 2 of 10 : PoolManager.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './interfaces/IPoolExtension.sol';
import './StakingPool.sol';

contract PoolManager is Ownable {
  using SafeERC20 for IERC20;
  
  uint256 constant FACTOR = 10000;
  
  address public stakingToken;
  uint256 _totalPercentages;
  bool public adminCanWithdraw = true;

  struct PoolInfo {
    address pool;
    uint256 percentage;
  }

  PoolInfo[] public pools;

  // Token to be staked
  constructor(address _stakingToken) Ownable(_msgSender()) {
    stakingToken = _stakingToken;
    _totalPercentages = FACTOR;
    pools.push(
      PoolInfo({
        pool: address(new StakingPool(_stakingToken, 14 days, _msgSender())),
        percentage: (FACTOR * 10) / 100 // 10%
      })
    );
    pools.push(
      PoolInfo({
        pool: address(new StakingPool(_stakingToken, 28 days, _msgSender())),
        percentage: (FACTOR * 30) / 100 // 30%
      })
    );
    pools.push(
      PoolInfo({
        pool: address(new StakingPool(_stakingToken, 56 days, _msgSender())),
        percentage: (FACTOR * 60) / 100 // 60%
      })
    );
  }

  function getAllPools() external view returns (PoolInfo[] memory) {
    return pools;
  }

  function depositRewards() external payable {
    require(msg.value > 0, 'no rewards');
    uint256 _totalETH;
    for (uint256 _i; _i < pools.length; _i++) {
      uint256 _totalBefore = _totalETH;
      _totalETH += (msg.value * pools[_i].percentage) / FACTOR;
      StakingPool(pools[_i].pool).depositRewards{
        value: _totalETH - _totalBefore
      }();
    }
    uint256 _refund = msg.value - _totalETH;
    if (_refund > 0) {
      (bool _refunded, ) = payable(_msgSender()).call{ value: _refund }('');
      require(_refunded, 'could not refund');
    }
  }

  function setPercentages(uint256[] memory _percentages) external onlyOwner {
    _totalPercentages = 0;
    for (uint256 _i; _i < _percentages.length; _i++) {
      _totalPercentages += _percentages[_i];
      pools[_i].percentage = _percentages[_i];
    }
    require(_totalPercentages <= FACTOR, 'lte 100%');
  }

  function removeWithdrawAbility() external onlyOwner {
    require(adminCanWithdraw, 'already disabled');
    adminCanWithdraw = false;
  }

  function withdrawETH(uint256 amount) external onlyOwner {
    require(amount <= address(this).balance, "Insufficient balance");
    address payable to = payable(_msgSender());
    to.transfer(amount);
  }

  function withdrawAnyERC20(uint256 amount, address contractAddress) external onlyOwner {
    IERC20 _token = IERC20(contractAddress);
    require(amount <= _token.balanceOf(address(this)), "Insufficient balance");
    _token.safeTransfer(
      _msgSender(),
      amount
    );
  }

  function createPool(
    uint256 _lockupSeconds,
    uint256 _percentage
  ) external onlyOwner {
    require(_totalPercentages + _percentage <= FACTOR, 'max percentage');
    _totalPercentages += _percentage;
    pools.push(
      PoolInfo({
        pool: address(new StakingPool(stakingToken, _lockupSeconds, owner())),
        percentage: _percentage
      })
    );
  }

  function removePool(uint256 _idx) external onlyOwner {
    PoolInfo memory _pool = pools[_idx];
    _totalPercentages -= _pool.percentage;
    pools[_idx] = pools[pools.length - 1];
    pools.pop();
  }
}

File 3 of 10 : IPoolExtension.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

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

  function reStake(
    address wallet,
    uint256 amount
  ) external;

  function calculateRewards(address stakeHolder) external view returns (uint);
}

File 4 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../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 An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @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.encodeCall(token.transfer, (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.encodeCall(token.transferFrom, (from, to, 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);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @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.encodeCall(token.approve, (spender, value));

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

    /**
     * @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);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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(token).code.length > 0;
    }
}

File 5 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 6 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 10 : 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 9 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) 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 FailedInnerCall();
        }
    }
}

File 10 of 10 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @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.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
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].
     *
     * CAUTION: See Security Considerations above.
     */
    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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_lockupPeriod","type":"uint256"},{"internalType":"address","name":"_initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"ClaimReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountTokens","type":"uint256"}],"name":"DepositRewards","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":"DistributeReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unstake","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":"depositRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"extension","outputs":[{"internalType":"contract IPoolExtension","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extensionERC20","outputs":[{"internalType":"contract IPoolExtension","name":"","type":"address"}],"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":"penalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"excluded","type":"uint256"},{"internalType":"uint256","name":"realised","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setLockupPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setPenalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPoolExtension","name":"_extension","type":"address"}],"name":"setPoolExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPoolExtension","name":"_extension","type":"address"}],"name":"setPoolExtensionERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"stakedTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"stakeForWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDistributed","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":"totalSharesDeposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedUsers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"contractAddress","type":"address"}],"name":"withdrawAnyERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106101cc575f3560e01c80638da5cb5b116100f6578063dad800c111610094578063efca2eed11610063578063efca2eed146105ee578063f14210a614610618578063f2fde38b14610640578063fc0c546a14610668576101cc565b8063dad800c11461055e578063db2ba85114610586578063eba8a266146105ae578063ee947a7c146105c4576101cc565b8063b2a7e224116100d0578063b2a7e224146104a7578063c771c390146104cf578063c7e1d0b1146104f7578063ce7c2ac214610521576101cc565b80638da5cb5b1461042d5780639531943514610457578063a694fc3a1461047f576101cc565b806339b606481161016e5780634a4b674a1161013d5780634a4b674a14610389578063715018a6146103b157806380bb4055146103c757806389d96917146103f1576101cc565b806339b60648146102e55780633c6e67891461030f57806341aef16214610339578063472f13f314610361576101cc565b8063152111f7116101aa578063152111f7146102615780632d5537b01461026b5780632e17de7814610295578063315a095d146102bd576101cc565b80630700037d146101d05780630e15561a1461020d5780630edd2ffc14610237575b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f19190612344565b610692565b604051610204929190612387565b60405180910390f35b348015610218575f80fd5b506102216106b2565b60405161022e91906123ae565b60405180910390f35b348015610242575f80fd5b5061024b6106b8565b60405161025891906123ae565b60405180910390f35b6102696106be565b005b348015610276575f80fd5b5061027f6106d1565b60405161028c9190612422565b60405180910390f35b3480156102a0575f80fd5b506102bb60048036038101906102b69190612465565b6106f6565b005b3480156102c8575f80fd5b506102e360048036038101906102de9190612465565b610849565b005b3480156102f0575f80fd5b506102f9610931565b6040516103069190612422565b60405180910390f35b34801561031a575f80fd5b50610323610956565b60405161033091906123ae565b60405180910390f35b348015610344575f80fd5b5061035f600480360381019061035a91906124c5565b61095c565b005b34801561036c575f80fd5b5061038760048036038101906103829190612515565b6109bb565b005b348015610394575f80fd5b506103af60048036038101906103aa9190612465565b610a1f565b005b3480156103bc575f80fd5b506103c5610a74565b005b3480156103d2575f80fd5b506103db610a87565b6040516103e891906123ae565b60405180910390f35b3480156103fc575f80fd5b5061041760048036038101906104129190612344565b610a8d565b60405161042491906123ae565b60405180910390f35b348015610438575f80fd5b50610441610b91565b60405161044e9190612562565b60405180910390f35b348015610462575f80fd5b5061047d6004803603810190610478919061278b565b610bb8565b005b34801561048a575f80fd5b506104a560048036038101906104a09190612465565b610ce7565b005b3480156104b2575f80fd5b506104cd60048036038101906104c8919061283c565b610d61565b005b3480156104da575f80fd5b506104f560048036038101906104f09190612465565b610dac565b005b348015610502575f80fd5b5061050b610e04565b60405161051891906123ae565b60405180910390f35b34801561052c575f80fd5b5061054760048036038101906105429190612344565b610e0a565b604051610555929190612387565b60405180910390f35b348015610569575f80fd5b50610584600480360381019061057f919061283c565b610e2a565b005b348015610591575f80fd5b506105ac60048036038101906105a79190612867565b610e75565b005b3480156105b9575f80fd5b506105c2610f72565b005b3480156105cf575f80fd5b506105d861111f565b6040516105e591906123ae565b60405180910390f35b3480156105f9575f80fd5b50610602611125565b60405161060f91906123ae565b60405180910390f35b348015610623575f80fd5b5061063e60048036038101906106399190612465565b61112b565b005b34801561064b575f80fd5b5061066660048036038101906106619190612344565b6111c9565b005b348015610673575f80fd5b5061067c61124d565b6040516106899190612562565b60405180910390f35b600a602052805f5260405f205f91509050805f0154908060010154905082565b600d5481565b60045481565b6106cf6106c9611272565b34611279565b565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106fe6113a8565b60035460095f61070c611272565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600101544261075491906128d2565b10156107d7576107d2610765611272565b6064600454606461077691906128d2565b846107819190612905565b61078b9190612973565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166113f79092919063ffffffff16565b61082b565b61082a6107e2611272565b8260025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166113f79092919063ffffffff16565b5b61083e610836611272565b826001611476565b6108466116ef565b50565b6108516116f8565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061092d610881611272565b5f841461088e5783610907565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108c79190612562565b602060405180830381865afa1580156108e2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090691906129b7565b5b8373ffffffffffffffffffffffffffffffffffffffff166113f79092919063ffffffff16565b5050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b6109646113a8565b61096c6116f8565b61097783838361177f565b7f63e32091e4445d16e29c33a6b264577c2d86694021aa4e6f4dd590048f5792e8836040516109a69190612562565b60405180910390a16109b66116ef565b505050565b6109c36113a8565b6109d56109ce611272565b838361177f565b7f63e32091e4445d16e29c33a6b264577c2d86694021aa4e6f4dd590048f5792e86109fe611272565b604051610a0b9190612562565b60405180910390a1610a1b6116ef565b5050565b610a276116f8565b60648110610a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6190612a3c565b60405180910390fd5b8060048190555050565b610a7c6116f8565b610a855f611a6c565b565b60055481565b5f8060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015403610adc575f9050610b8c565b5f610b2560095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0154611b2d565b90505f600a5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f01549050808211610b7b575f92505050610b8c565b8082610b8791906128d2565b925050505b919050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610bc06113a8565b8051825114610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90612aa4565b60405180910390fd5b5f805b8351811015610c8457828181518110610c2357610c22612ac2565b5b602002602001015182610c369190612aef565b9150610c77848281518110610c4e57610c4d612ac2565b5b6020026020010151848381518110610c6957610c68612ac2565b5b60200260200101515f611476565b8080600101915050610c07565b50610cda610c90611272565b308360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b5d909392919063ffffffff16565b50610ce36116ef565b5050565b610cef6113a8565b610d44610cfa611272565b308360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611b5d909392919063ffffffff16565b610d56610d4f611272565b825f611476565b610d5e6116ef565b50565b610d696116f8565b8060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610db46116f8565b6301e133808110610dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df190612b6c565b60405180910390fd5b8060038190555050565b600b5481565b6009602052805f5260405f205f91509050805f0154908060010154905082565b610e326116f8565b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e7d6116f8565b5f8190508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610eba9190612562565b602060405180830381865afa158015610ed5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef991906129b7565b831115610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290612bd4565b60405180910390fd5b610f6d610f46611272565b848373ffffffffffffffffffffffffffffffffffffffff166113f79092919063ffffffff16565b505050565b610f7a6113a8565b5f73ffffffffffffffffffffffffffffffffffffffff1660075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611115575f60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166364ab8675611014611272565b6040518263ffffffff1660e01b81526004016110309190612562565b602060405180830381865afa15801561104b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106f91906129b7565b905060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663be558aa36110b6611272565b836040518363ffffffff1660e01b81526004016110d4929190612bf2565b5f604051808303815f87803b1580156110eb575f80fd5b505af11580156110fd573d5f803e3d5ffd5b5050505061111361110c611272565b825f611476565b505b61111d6116ef565b565b60035481565b600c5481565b6111336116f8565b47811115611176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116d90612bd4565b60405180910390fd5b5f61117f611272565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f193505050501580156111c4573d5f803e3d5ffd5b505050565b6111d16116f8565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611241575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112389190612562565b60405180910390fd5b61124a81611a6c565b50565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f33905090565b5f81116112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b290612c63565b60405180910390fd5b5f600654116112ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f690612ccb565b60405180910390fd5b80600d5f8282546113109190612aef565b92505081905550600654816ec097ce7bc90715b34b9f10000000006113359190612905565b61133f9190612973565b600b5f82825461134f9190612aef565b925050819055508173ffffffffffffffffffffffffffffffffffffffff167fb9ad861b752f80117b35bea6dec99933d8a5ae360f2839ee8784b750d56134098260405161139c91906123ae565b60405180910390a25050565b6002600154036113ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e490612d33565b60405180910390fd5b6002600181905550565b611471838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb858560405160240161142a929190612bf2565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bdf565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff1660075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115525760075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329cc05cf8484846040518463ffffffff1660e01b815260040161152893929190612d60565b5f604051808303815f87803b15801561153f575f80fd5b505af1925050508015611550575060015b505b5f73ffffffffffffffffffffffffffffffffffffffff1660085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461162e5760085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329cc05cf8484846040518463ffffffff1660e01b815260040161160493929190612d60565b5f604051808303815f87803b15801561161b575f80fd5b505af192505050801561162c575060015b505b80156116915761163e8383611c74565b8273ffffffffffffffffffffffffffffffffffffffff167f85082129d87b2fe11527cb1b3b7a520aeb5aa6913f88a3d8757fe40d1db02fdd8360405161168491906123ae565b60405180910390a26116ea565b61169b8383611ee8565b8273ffffffffffffffffffffffffffffffffffffffff167febedb8b3c678666e7f36970bc8f57abf6d8fa2e828c0da91ea5b75bf68ed101a836040516116e191906123ae565b60405180910390a25b505050565b60018081905550565b611700611272565b73ffffffffffffffffffffffffffffffffffffffff1661171e610b91565b73ffffffffffffffffffffffffffffffffffffffff161461177d57611741611272565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016117749190612562565b60405180910390fd5b565b5f60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f01540315611a67574260095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600101819055505f61181584610a8d565b905080600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015f8282546118669190612aef565b925050819055506118b560095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0154611b2d565b600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f01819055505f811115611a655780600c5f8282546119119190612aef565b925050819055505f4790505f8573ffffffffffffffffffffffffffffffffffffffff168360405161194190612dc2565b5f6040518083038185875af1925050503d805f811461197b576040519150601f19603f3d011682016040523d82523d5f602084013e611980565b606091505b50509050806119c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bb90612e20565b60405180910390fd5b82826119d091906128d2565b471015611a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0990612e88565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff167ff34664cb7e3473d9bcd089297cc2ec340fede133eaf733d0ca506f1e05e2fee08487604051611a5a929190612ea6565b60405180910390a250505b505b505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6ec097ce7bc90715b34b9f1000000000600b5483611b4c9190612905565b611b569190612973565b9050919050565b611bd9848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611b9293929190612ecd565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bdf565b50505050565b5f611c09828473ffffffffffffffffffffffffffffffffffffffff1661212a90919063ffffffff16565b90505f815114158015611c2d575080806020019051810190611c2b9190612f16565b155b15611c6f57826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611c669190612562565b60405180910390fd5b505050565b5f60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0154118015611d01575060095f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f01548111155b611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790612f8b565b60405180910390fd5b5f611d4a83610a8d565b90505f8083600654611d5c91906128d2565b11905080611d7057611d6f845f8061177f565b5b8260065f828254611d8191906128d2565b925050819055508260095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015f828254611dd691906128d2565b925050819055505f60095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015403611e3b5760055f815480929190611e3590612fa9565b91905055505b611e8360095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0154611b2d565b600a5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0181905550808015611ed257505f82115b15611ee257611ee18483611279565b5b50505050565b5f60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f01541115611f3b57611f3a825f8061177f565b5b5f60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015490508160065f828254611f8f9190612aef565b925050819055508160095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f015f828254611fe49190612aef565b925050819055504260095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600101819055505f8114801561207d57505f60095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0154115b1561209a5760055f81548092919061209490612fd0565b91905055505b6120e260095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0154611b2d565b600a5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f0181905550505050565b606061213783835f61213f565b905092915050565b60608147101561218657306040517fcd78605900000000000000000000000000000000000000000000000000000000815260040161217d9190612562565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff1684866040516121ae919061305f565b5f6040518083038185875af1925050503d805f81146121e8576040519150601f19603f3d011682016040523d82523d5f602084013e6121ed565b606091505b50915091506121fd868383612208565b925050509392505050565b60608261221d5761221882612295565b61228d565b5f825114801561224357505f8473ffffffffffffffffffffffffffffffffffffffff163b145b1561228557836040517f9996b31500000000000000000000000000000000000000000000000000000000815260040161227c9190612562565b60405180910390fd5b81905061228e565b5b9392505050565b5f815111156122a75780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612313826122ea565b9050919050565b61232381612309565b811461232d575f80fd5b50565b5f8135905061233e8161231a565b92915050565b5f60208284031215612359576123586122e2565b5b5f61236684828501612330565b91505092915050565b5f819050919050565b6123818161236f565b82525050565b5f60408201905061239a5f830185612378565b6123a76020830184612378565b9392505050565b5f6020820190506123c15f830184612378565b92915050565b5f819050919050565b5f6123ea6123e56123e0846122ea565b6123c7565b6122ea565b9050919050565b5f6123fb826123d0565b9050919050565b5f61240c826123f1565b9050919050565b61241c81612402565b82525050565b5f6020820190506124355f830184612413565b92915050565b6124448161236f565b811461244e575f80fd5b50565b5f8135905061245f8161243b565b92915050565b5f6020828403121561247a576124796122e2565b5b5f61248784828501612451565b91505092915050565b5f8115159050919050565b6124a481612490565b81146124ae575f80fd5b50565b5f813590506124bf8161249b565b92915050565b5f805f606084860312156124dc576124db6122e2565b5b5f6124e986828701612330565b93505060206124fa868287016124b1565b925050604061250b86828701612451565b9150509250925092565b5f806040838503121561252b5761252a6122e2565b5b5f612538858286016124b1565b925050602061254985828601612451565b9150509250929050565b61255c81612309565b82525050565b5f6020820190506125755f830184612553565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6125c58261257f565b810181811067ffffffffffffffff821117156125e4576125e361258f565b5b80604052505050565b5f6125f66122d9565b905061260282826125bc565b919050565b5f67ffffffffffffffff8211156126215761262061258f565b5b602082029050602081019050919050565b5f80fd5b5f61264861264384612607565b6125ed565b9050808382526020820190506020840283018581111561266b5761266a612632565b5b835b8181101561269457806126808882612330565b84526020840193505060208101905061266d565b5050509392505050565b5f82601f8301126126b2576126b161257b565b5b81356126c2848260208601612636565b91505092915050565b5f67ffffffffffffffff8211156126e5576126e461258f565b5b602082029050602081019050919050565b5f612708612703846126cb565b6125ed565b9050808382526020820190506020840283018581111561272b5761272a612632565b5b835b8181101561275457806127408882612451565b84526020840193505060208101905061272d565b5050509392505050565b5f82601f8301126127725761277161257b565b5b81356127828482602086016126f6565b91505092915050565b5f80604083850312156127a1576127a06122e2565b5b5f83013567ffffffffffffffff8111156127be576127bd6122e6565b5b6127ca8582860161269e565b925050602083013567ffffffffffffffff8111156127eb576127ea6122e6565b5b6127f78582860161275e565b9150509250929050565b5f61280b82612309565b9050919050565b61281b81612801565b8114612825575f80fd5b50565b5f8135905061283681612812565b92915050565b5f60208284031215612851576128506122e2565b5b5f61285e84828501612828565b91505092915050565b5f806040838503121561287d5761287c6122e2565b5b5f61288a85828601612451565b925050602061289b85828601612330565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6128dc8261236f565b91506128e78361236f565b92508282039050818111156128ff576128fe6128a5565b5b92915050565b5f61290f8261236f565b915061291a8361236f565b92508282026129288161236f565b9150828204841483151761293f5761293e6128a5565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61297d8261236f565b91506129888361236f565b92508261299857612997612946565b5b828204905092915050565b5f815190506129b18161243b565b92915050565b5f602082840312156129cc576129cb6122e2565b5b5f6129d9848285016129a3565b91505092915050565b5f82825260208201905092915050565b7f6c7465203130302070657263656e7400000000000000000000000000000000005f82015250565b5f612a26600f836129e2565b9150612a31826129f2565b602082019050919050565b5f6020820190508181035f830152612a5381612a1a565b9050919050565b7f494e53594e4300000000000000000000000000000000000000000000000000005f82015250565b5f612a8e6006836129e2565b9150612a9982612a5a565b602082019050919050565b5f6020820190508181035f830152612abb81612a82565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612af98261236f565b9150612b048361236f565b9250828201905080821115612b1c57612b1b6128a5565b5b92915050565b7f6c746520312079656172000000000000000000000000000000000000000000005f82015250565b5f612b56600a836129e2565b9150612b6182612b22565b602082019050919050565b5f6020820190508181035f830152612b8381612b4a565b9050919050565b7f496e73756666696369656e742062616c616e63650000000000000000000000005f82015250565b5f612bbe6014836129e2565b9150612bc982612b8a565b602082019050919050565b5f6020820190508181035f830152612beb81612bb2565b9050919050565b5f604082019050612c055f830185612553565b612c126020830184612378565b9392505050565b7f45544800000000000000000000000000000000000000000000000000000000005f82015250565b5f612c4d6003836129e2565b9150612c5882612c19565b602082019050919050565b5f6020820190508181035f830152612c7a81612c41565b9050919050565b7f53484152455300000000000000000000000000000000000000000000000000005f82015250565b5f612cb56006836129e2565b9150612cc082612c81565b602082019050919050565b5f6020820190508181035f830152612ce281612ca9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f612d1d601f836129e2565b9150612d2882612ce9565b602082019050919050565b5f6020820190508181035f830152612d4a81612d11565b9050919050565b612d5a81612490565b82525050565b5f606082019050612d735f830186612553565b612d806020830185612378565b612d8d6040830184612d51565b949350505050565b5f81905092915050565b50565b5f612dad5f83612d95565b9150612db882612d9f565b5f82019050919050565b5f612dcc82612da2565b9150819050919050565b7f44495354300000000000000000000000000000000000000000000000000000005f82015250565b5f612e0a6005836129e2565b9150612e1582612dd6565b602082019050919050565b5f6020820190508181035f830152612e3781612dfe565b9050919050565b7f44495354310000000000000000000000000000000000000000000000000000005f82015250565b5f612e726005836129e2565b9150612e7d82612e3e565b602082019050919050565b5f6020820190508181035f830152612e9f81612e66565b9050919050565b5f604082019050612eb95f830185612378565b612ec66020830184612d51565b9392505050565b5f606082019050612ee05f830186612553565b612eed6020830185612553565b612efa6040830184612378565b949350505050565b5f81519050612f108161249b565b92915050565b5f60208284031215612f2b57612f2a6122e2565b5b5f612f3884828501612f02565b91505092915050565b7f52454d3a20616d6f756e740000000000000000000000000000000000000000005f82015250565b5f612f75600b836129e2565b9150612f8082612f41565b602082019050919050565b5f6020820190508181035f830152612fa281612f69565b9050919050565b5f612fb38261236f565b91505f8203612fc557612fc46128a5565b5b600182039050919050565b5f612fda8261236f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361300c5761300b6128a5565b5b600182019050919050565b5f81519050919050565b8281835e5f83830152505050565b5f61303982613017565b6130438185612d95565b9350613053818560208601613021565b80840191505092915050565b5f61306a828461302f565b91508190509291505056fea264697066735822122003cc3aefd9d7e99e387fb793760a115ec78a3673db9900dbb869e6a02310ac0a64736f6c63430008190033

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.