Contract 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe12a5d102104a75cedcb7fcab3975d03df1002716584387c9d86fe50ccc2180bHarvest273244342022-09-29 3:04:251 hr 37 mins ago0xa402970fa646e7a2946084e2591b52f285e4b498 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001287
0x2df5a660cdf5556488ce883cb60fbe14f3ba535e06724232547c4ac097c76d91Harvest273130672022-09-29 1:38:133 hrs 3 mins ago0xfe95b935eabda9fc47233223c057c590e95ce47b IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001318
0xc0137222ab29783b20fd1527fbd88ede5a70a16a70da1ee076fb6dc13012784dHarvest272923742022-09-28 21:50:546 hrs 51 mins ago0x5345462544ed763639519376c298e939228dd1f4 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001997
0x7b528c0750838d2c7fae8d5706d6c898918d7158423d603581538cf3145b3a28Harvest272746212022-09-28 18:56:149 hrs 45 mins ago0x468325e9ed9bbef9e0b61f15bffa3a349bf11719 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00003305
0x09f61f4d7b7771bde4a89930a3484383063455515af3cc03b5e004a2f7ea7c76Harvest272622722022-09-28 17:12:1811 hrs 29 mins ago0x6fe2efdc638130633267fd8331123cc952609e96 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002239
0x7003a0a601fb4c7621b420488c0367d221a71e6aa5728b32836d016870bec49eHarvest272622162022-09-28 17:11:5611 hrs 30 mins ago0xea9256149c6ede78ef457e293d9014703e7b4ccb IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002292
0xa1c0b1dc9e929cf09c2c1ac5634c72d19c52368d5b36dcb529cf5612f3b8dd46Harvest272598392022-09-28 16:54:5611 hrs 47 mins ago0xda1a96d6a534c864f6a58aff1ea7d61b29914404 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002283
0x2c9172fb9155fc82411da84e78545b599a0b88fb63c554d8019e18fd048b0ab9Harvest272188922022-09-28 13:15:3315 hrs 26 mins ago0x66d1f600b54b9c2576ba45cfd2090ac8e941db2e IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001785
0x86283d106462847c1aee9eb398bb677837df30fd6cc8b8dec6975d0e7059962eHarvest272182652022-09-28 13:12:3515 hrs 29 mins ago0xea22e820a89ba3e188f91966f6841b9902d964c7 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001776
0x5b84e40f8a1577c9cf3147afe64f9e81e272f01442c24ff0cc656ba0de6fc069Harvest272010352022-09-28 11:42:0217 hrs ago0xa70e6fe4488104be32b9b657f5be7b68afc17f9a IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00051699
0x12089053169623b43a8563e836dbb6395582143e81dc63b95f2ad3c056ad81b2Harvest271916322022-09-28 10:48:4417 hrs 53 mins ago0xc29d2a180f8991c0a0e1b9f1bb8a7f53a6413820 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001368
0x662f005585bfc99f7cd327cdaa28b314376df343eacdf68394608248b83c2debHarvest271406312022-09-28 6:31:0622 hrs 11 mins ago0x089bf34290ff2767fbd1cda881566c76415a9c00 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001208
0x727f6682ba3cf11c286169e7a15e8b74deca08f586aa38dd97d92fe3a1d568d6Harvest270916382022-09-28 1:54:361 day 2 hrs ago0x80eba6761f3fc3359131439fa359b5b44b912d4f IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001369
0x82c1bd8cc82c3ddd9d97a762e590e5723b1e86a25b76069d125ac78628cf8adaDeposit270685822022-09-27 22:32:311 day 6 hrs ago0x04aadbe98e5808f9ffd85f26b61fc8abaf7b79f8 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002264
0x94536fe66523b3ee5b3b909ca58e75d17db9d6c0e6f7bee3c36c3c5b86046e55Harvest270680092022-09-27 22:24:281 day 6 hrs ago0x04aadbe98e5808f9ffd85f26b61fc8abaf7b79f8 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001908
0x7b79e7f4b5381eb73d974293d010ee6ca27b108d897f5df17d9ed980da719721Harvest270520792022-09-27 19:43:001 day 8 hrs ago0x7309a2d6e791ee15aee63f2bf979385395c9cfcf IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002965
0xcf8f9e4ebaa470522410af5b287e047c6583d7d352fafdde5b2242d14689c621Harvest270432292022-09-27 18:19:261 day 10 hrs ago0x0edcaeb7270005f31e51790ba2c5c574ff24dec6 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00004147
0x5bd6650c215afec24db9cf35da0bdfeed981b517dc49c8cad04f1efddd057e72Harvest270392712022-09-27 17:44:151 day 10 hrs ago0x6fe2efdc638130633267fd8331123cc952609e96 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.0000454
0xf7929f59fc976773f805056cd4700de053306bddfb00e568a6d6c2a3b585117eHarvest270391702022-09-27 17:43:261 day 10 hrs ago0xea9256149c6ede78ef457e293d9014703e7b4ccb IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00004674
0xb04857f3f26fd21e4805cf863cbb76138f93a5a6249fb0337930e97170da9d57Harvest270245312022-09-27 16:13:421 day 12 hrs ago0xebf8ad9529c8acb0feee7843d05b964a7636ab53 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002734
0xf63e8f9479438bb09871b519d2500872cbd8348248c89387335b6d6506bb9ed9Harvest270151502022-09-27 15:19:141 day 13 hrs ago0x880e14298dd46418806f7b5e12b92aa9873bb5d4 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002772
0xf6083066c8a6e109d38ea607f53605a5f438a842d8a86e38ac21becb8f64ce87Harvest269843092022-09-27 12:20:461 day 16 hrs ago0x21d1a3455f6620c4588554025370cccb9d24f68c IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001614
0xd3b72cb26e1994f3a8a731ce3e666c8e28bf8a1adf82a6c4eff76fee3c2aaeebHarvest269663602022-09-27 10:21:561 day 18 hrs ago0x7d9907f35d4d77661571c7bef5244e4e2aa460d8 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00001567
0x52bdaa16979e44db1c2a272fc323e4cf48cef8ad04c767e87f6fde92c4215047Withdraw269659602022-09-27 10:19:121 day 18 hrs ago0x7d9907f35d4d77661571c7bef5244e4e2aa460d8 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002069
0x93ed2c9bfc1da692871c6bee076dfd531bcca6af8b51f029dfb8f2b9407b4be5Harvest269590382022-09-27 9:21:111 day 19 hrs ago0xe9e0df61b13b9795398d0e2679fc3e4a63e7c359 IN  0xa61f0d1d831ba4be2ae253c13ff906d9463299c20 ETH0.00002398
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xe12a5d102104a75cedcb7fcab3975d03df1002716584387c9d86fe50ccc2180b273244342022-09-29 3:04:251 hr 37 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0xe12a5d102104a75cedcb7fcab3975d03df1002716584387c9d86fe50ccc2180b273244342022-09-29 3:04:251 hr 37 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x2df5a660cdf5556488ce883cb60fbe14f3ba535e06724232547c4ac097c76d91273130672022-09-29 1:38:133 hrs 3 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x2df5a660cdf5556488ce883cb60fbe14f3ba535e06724232547c4ac097c76d91273130672022-09-29 1:38:133 hrs 3 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0xc0137222ab29783b20fd1527fbd88ede5a70a16a70da1ee076fb6dc13012784d272923742022-09-28 21:50:546 hrs 51 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0xc0137222ab29783b20fd1527fbd88ede5a70a16a70da1ee076fb6dc13012784d272923742022-09-28 21:50:546 hrs 51 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x7b528c0750838d2c7fae8d5706d6c898918d7158423d603581538cf3145b3a28272746212022-09-28 18:56:149 hrs 45 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x7b528c0750838d2c7fae8d5706d6c898918d7158423d603581538cf3145b3a28272746212022-09-28 18:56:149 hrs 45 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x09f61f4d7b7771bde4a89930a3484383063455515af3cc03b5e004a2f7ea7c76272622722022-09-28 17:12:1811 hrs 29 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x09f61f4d7b7771bde4a89930a3484383063455515af3cc03b5e004a2f7ea7c76272622722022-09-28 17:12:1811 hrs 29 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x7003a0a601fb4c7621b420488c0367d221a71e6aa5728b32836d016870bec49e272622162022-09-28 17:11:5611 hrs 30 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x7003a0a601fb4c7621b420488c0367d221a71e6aa5728b32836d016870bec49e272622162022-09-28 17:11:5611 hrs 30 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0xa1c0b1dc9e929cf09c2c1ac5634c72d19c52368d5b36dcb529cf5612f3b8dd46272598392022-09-28 16:54:5611 hrs 47 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0xa1c0b1dc9e929cf09c2c1ac5634c72d19c52368d5b36dcb529cf5612f3b8dd46272598392022-09-28 16:54:5611 hrs 47 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x2c9172fb9155fc82411da84e78545b599a0b88fb63c554d8019e18fd048b0ab9272188922022-09-28 13:15:3315 hrs 26 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x2c9172fb9155fc82411da84e78545b599a0b88fb63c554d8019e18fd048b0ab9272188922022-09-28 13:15:3315 hrs 26 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x86283d106462847c1aee9eb398bb677837df30fd6cc8b8dec6975d0e7059962e272182652022-09-28 13:12:3515 hrs 29 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x86283d106462847c1aee9eb398bb677837df30fd6cc8b8dec6975d0e7059962e272182652022-09-28 13:12:3515 hrs 29 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x5b84e40f8a1577c9cf3147afe64f9e81e272f01442c24ff0cc656ba0de6fc069272010352022-09-28 11:42:0217 hrs ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x5b84e40f8a1577c9cf3147afe64f9e81e272f01442c24ff0cc656ba0de6fc069272010352022-09-28 11:42:0217 hrs ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x12089053169623b43a8563e836dbb6395582143e81dc63b95f2ad3c056ad81b2271916322022-09-28 10:48:4417 hrs 53 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x12089053169623b43a8563e836dbb6395582143e81dc63b95f2ad3c056ad81b2271916322022-09-28 10:48:4417 hrs 53 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x662f005585bfc99f7cd327cdaa28b314376df343eacdf68394608248b83c2deb271406312022-09-28 6:31:0622 hrs 11 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x662f005585bfc99f7cd327cdaa28b314376df343eacdf68394608248b83c2deb271406312022-09-28 6:31:0622 hrs 11 mins ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
0x727f6682ba3cf11c286169e7a15e8b74deca08f586aa38dd97d92fe3a1d568d6270916382022-09-28 1:54:361 day 2 hrs ago 0xa61f0d1d831ba4be2ae253c13ff906d9463299c2 PlutusDAO: PLS Token0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PlutusChef

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : PlutusChef.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import { IWhitelist } from '../Whitelist.sol';

contract PlutusChef is Pausable, Ownable {
  uint256 private constant MUL_CONSTANT = 1e14;
  IERC20 public immutable stakingToken;
  IERC20 public immutable pls;

  // Info of each user.
  struct UserInfo {
    uint96 amount; // Staking tokens the user has provided
    int128 plsRewardDebt;
  }

  IWhitelist public whitelist;
  address public operator;

  uint256 public plsPerSecond;
  uint128 public accPlsPerShare;
  uint96 private shares; // total staked
  uint32 public lastRewardSecond;

  mapping(address => UserInfo) public userInfo;

  constructor(address _stakingToken, address _pls) {
    stakingToken = IERC20(_stakingToken);
    pls = IERC20(_pls);
    lastRewardSecond = 1659736800;
  }

  function deposit(uint96 _amount) external {
    _isEligibleSender();
    _deposit(msg.sender, _amount);
  }

  function withdraw(uint96 _amount) external {
    _isEligibleSender();
    _withdraw(msg.sender, _amount);
  }

  function harvest() external {
    _isEligibleSender();
    _harvest(msg.sender);
  }

  /**
   * Withdraw without caring about rewards. EMERGENCY ONLY.
   */
  function emergencyWithdraw() external {
    _isEligibleSender();
    UserInfo storage user = userInfo[msg.sender];

    uint96 _amount = user.amount;

    user.amount = 0;
    user.plsRewardDebt = 0;

    if (shares >= _amount) {
      shares -= _amount;
    } else {
      shares = 0;
    }

    stakingToken.transfer(msg.sender, _amount);
    emit EmergencyWithdraw(msg.sender, _amount);
  }

  /**
    Keep reward variables up to date. Ran before every mutative function.
   */
  function updateShares() public whenNotPaused {
    // if block.timestamp <= lastRewardSecond, already updated.
    if (block.timestamp <= lastRewardSecond) {
      return;
    }

    // if pool has no supply
    if (shares == 0) {
      lastRewardSecond = uint32(block.timestamp);
      return;
    }

    unchecked {
      accPlsPerShare += rewardPerShare(plsPerSecond);
    }

    lastRewardSecond = uint32(block.timestamp);
  }

  /** OPERATOR */
  function depositFor(address _user, uint88 _amount) external {
    if (msg.sender != operator) revert UNAUTHORIZED();
    _deposit(_user, _amount);
  }

  function withdrawFor(address _user, uint88 _amount) external {
    if (msg.sender != operator) revert UNAUTHORIZED();
    _withdraw(_user, _amount);
  }

  function harvestFor(address _user) external {
    if (msg.sender != operator) revert UNAUTHORIZED();
    _harvest(_user);
  }

  /** VIEWS */

  /**
    Calculates the reward per share since `lastRewardSecond` was updated
  */
  function rewardPerShare(uint256 _rewardRatePerSecond) public view returns (uint128) {
    // duration = block.timestamp - lastRewardSecond;
    // tokenReward = duration * _rewardRatePerSecond;
    // tokenRewardPerShare = (tokenReward * MUL_CONSTANT) / shares;

    unchecked {
      return uint128(((block.timestamp - lastRewardSecond) * _rewardRatePerSecond * MUL_CONSTANT) / shares);
    }
  }

  /**
    View function to see pending rewards on frontend
   */
  function pendingRewards(address _user) external view returns (uint256 _pendingPls) {
    uint256 _plsPS = accPlsPerShare;

    if (block.timestamp > lastRewardSecond && shares != 0) {
      _plsPS += rewardPerShare(plsPerSecond);
    }

    UserInfo memory user = userInfo[_user];

    _pendingPls = _calculatePending(user.plsRewardDebt, _plsPS, user.amount);
  }

  /** PRIVATE */
  function _isEligibleSender() private view {
    if (msg.sender != tx.origin && whitelist.isWhitelisted(msg.sender) == false) revert UNAUTHORIZED();
  }

  function _calculatePending(
    int128 _rewardDebt,
    uint256 _accPerShare, // Stay 256;
    uint96 _amount
  ) private pure returns (uint128) {
    if (_rewardDebt < 0) {
      return uint128(_calculateRewardDebt(_accPerShare, _amount)) + uint128(-_rewardDebt);
    } else {
      return uint128(_calculateRewardDebt(_accPerShare, _amount)) - uint128(_rewardDebt);
    }
  }

  function _calculateRewardDebt(uint256 _accPlsPerShare, uint96 _amount) private pure returns (uint256) {
    unchecked {
      return (_amount * _accPlsPerShare) / MUL_CONSTANT;
    }
  }

  function _safeTokenTransfer(
    IERC20 _token,
    address _to,
    uint256 _amount
  ) private {
    uint256 bal = _token.balanceOf(address(this));

    if (_amount > bal) {
      _token.transfer(_to, bal);
    } else {
      _token.transfer(_to, _amount);
    }
  }

  function _deposit(address _user, uint96 _amount) private {
    UserInfo storage user = userInfo[_user];
    if (_amount == 0) revert DEPOSIT_ERROR();
    updateShares();

    uint256 _prev = stakingToken.balanceOf(address(this));

    unchecked {
      user.amount += _amount;
      shares += _amount;
    }

    user.plsRewardDebt = user.plsRewardDebt + int128(uint128(_calculateRewardDebt(accPlsPerShare, _amount)));

    stakingToken.transferFrom(_user, address(this), _amount);

    unchecked {
      if (_prev + _amount != stakingToken.balanceOf(address(this))) revert DEPOSIT_ERROR();
    }

    emit Deposit(_user, _amount);
  }

  function _withdraw(address _user, uint96 _amount) private {
    UserInfo storage user = userInfo[_user];
    if (user.amount < _amount || _amount == 0) revert WITHDRAW_ERROR();
    updateShares();

    unchecked {
      user.amount -= _amount;
      shares -= _amount;
    }

    user.plsRewardDebt = user.plsRewardDebt - int128(uint128(_calculateRewardDebt(accPlsPerShare, _amount)));

    stakingToken.transfer(_user, _amount);
    emit Withdraw(_user, _amount);
  }

  function _harvest(address _user) private {
    updateShares();
    UserInfo storage user = userInfo[_user];

    uint256 plsPending = _calculatePending(user.plsRewardDebt, accPlsPerShare, user.amount);

    user.plsRewardDebt = int128(uint128(_calculateRewardDebt(accPlsPerShare, user.amount)));

    _safeTokenTransfer(pls, _user, plsPending);

    emit Harvest(_user, plsPending);
  }

  /** OWNER FUNCTIONS */
  function setWhitelist(address _whitelist) external onlyOwner {
    whitelist = IWhitelist(_whitelist);
  }

  function setOperator(address _operator) external onlyOwner {
    operator = _operator;
  }

  function setStartTime(uint32 _startTime) external onlyOwner {
    lastRewardSecond = _startTime;
  }

  function setPaused(bool _pauseContract) external onlyOwner {
    if (_pauseContract) {
      _pause();
    } else {
      _unpause();
    }
  }

  function setEmission(uint256 _plsPerSecond) external {
    if (msg.sender == operator || msg.sender == owner()) {
      plsPerSecond = _plsPerSecond;
    } else {
      revert UNAUTHORIZED();
    }
  }

  error DEPOSIT_ERROR();
  error WITHDRAW_ERROR();
  error UNAUTHORIZED();

  event Deposit(address indexed _user, uint256 _amount);
  event Withdraw(address indexed _user, uint256 _amount);
  event Harvest(address indexed _user, uint256 _amount);
  event EmergencyWithdraw(address indexed _user, uint256 _amount);
}

File 2 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 6 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 6 : Whitelist.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import '@openzeppelin/contracts/access/Ownable.sol';

interface IWhitelist {
  function isWhitelisted(address) external view returns (bool);
}

contract Whitelist is IWhitelist, Ownable {
  mapping(address => bool) public isWhitelisted;

  constructor(address _gov) {
    transferOwnership(_gov);
  }

  function whitelistAdd(address _addr) external onlyOwner {
    isWhitelisted[_addr] = true;
    emit AddedToWhitelist(_addr);
  }

  function whitelistRemove(address _addr) external onlyOwner {
    isWhitelisted[_addr] = false;
    emit RemovedFromWhitelist(_addr);
  }

  event RemovedFromWhitelist(address indexed _addr);
  event AddedToWhitelist(address indexed _addr);
}

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_pls","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DEPOSIT_ERROR","type":"error"},{"inputs":[],"name":"UNAUTHORIZED","type":"error"},{"inputs":[],"name":"WITHDRAW_ERROR","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Harvest","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"accPlsPerShare","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint96","name":"_amount","type":"uint96"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint88","name":"_amount","type":"uint88"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"harvestFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardSecond","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"_pendingPls","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pls","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"plsPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardRatePerSecond","type":"uint256"}],"name":"rewardPerShare","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_plsPerSecond","type":"uint256"}],"name":"setEmission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pauseContract","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_startTime","type":"uint32"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint96","name":"amount","type":"uint96"},{"internalType":"int128","name":"plsRewardDebt","type":"int128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelist","outputs":[{"internalType":"contract IWhitelist","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint96","name":"_amount","type":"uint96"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint88","name":"_amount","type":"uint88"}],"name":"withdrawFor","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001aa938038062001aa98339810160408190526200003491620000ef565b6000805460ff19169055620000493362000079565b6001600160a01b039182166080521660a052600480546001600160e01b03166303176c9760e51b17905562000127565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b80516001600160a01b0381168114620000ea57600080fd5b919050565b600080604083850312156200010357600080fd5b6200010e83620000d2565b91506200011e60208401620000d2565b90509250929050565b60805160a051611932620001776000396000818161025e0152610d9f01526000818161032b0152818161080101528181610fe60152818161110601528181611298015261132a01526119326000f3fe608060405234801561001057600080fd5b50600436106101b85760003560e01c80637de35002116100f9578063ddce102f11610097578063e4eae6b711610071578063e4eae6b71461040c578063e87237541461041f578063f2fde38b14610432578063fbe1ebec1461044557600080fd5b8063ddce102f146103d3578063dee4dea0146103e6578063e305e54a146103f957600080fd5b806393e59dc1116100d357806393e59dc114610392578063b3ab15fb146103a5578063cdd8d69c146103b8578063db2e21bc146103cb57600080fd5b80637de3500214610360578063854cff2f146103695780638da5cb5b1461037c57600080fd5b80634641257d116101665780635c975abb116101405780635c975abb14610308578063715018a61461031e57806372f702f31461032657806379017d1b1461034d57600080fd5b80634641257d146102c157806350b6f4d1146102c9578063570ca735146102f557600080fd5b8063223e5a9d11610197578063223e5a9d146102595780632a4100681461029857806331d7a262146102a057600080fd5b80621db0ba146101bd57806316c38b3c146101ed5780631959a00214610202575b600080fd5b6004546101d0906001600160801b031681565b6040516001600160801b0390911681526020015b60405180910390f35b6102006101fb366004611619565b610458565b005b610237610210366004611652565b6005602052600090815260409020546001600160601b03811690600160601b9004600f0b82565b604080516001600160601b039093168352600f9190910b6020830152016101e4565b6102807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101e4565b610200610479565b6102b36102ae366004611652565b61053c565b6040519081526020016101e4565b6102006105ff565b6004546102e090600160e01b900463ffffffff1681565b60405163ffffffff90911681526020016101e4565b600254610280906001600160a01b031681565b60005460ff1660405190151581526020016101e4565b610200610610565b6102807f000000000000000000000000000000000000000000000000000000000000000081565b61020061035b36600461166d565b610622565b6102b360035481565b610200610377366004611652565b610668565b60005461010090046001600160a01b0316610280565b600154610280906001600160a01b031681565b6102006103b3366004611652565b61069f565b6101d06103c63660046116b4565b6106d6565b61020061071b565b6102006103e13660046116b4565b6108c8565b6102006103f43660046116cd565b610925565b61020061040736600461166d565b610937565b61020061041a3660046116cd565b610979565b61020061042d3660046116f6565b61098b565b610200610440366004611652565b6109cd565b610200610453366004611652565b610a5f565b610460610a93565b80156104715761046e610af3565b50565b61046e610b4d565b610481610b86565b600454600160e01b900463ffffffff16421161049957565b600454600160801b90046001600160601b03166104e457600480547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16600160e01b4263ffffffff1602179055565b6104ef6003546106d6565b600480546001600160801b03808216939093019092167bffffffffffffffffffffffff0000000000000000000000000000000090921691909117600160e01b4263ffffffff16021790555b565b6004546000906001600160801b03811690600160e01b900463ffffffff16421180156105795750600454600160801b90046001600160601b031615155b1561059f576105896003546106d6565b61059c906001600160801b031682611732565b90505b6001600160a01b0383166000908152600560209081526040918290208251808401909352546001600160601b038116808452600160601b909104600f0b9183018290526105ee91908490610bd9565b6001600160801b0316949350505050565b610607610c37565b61053a33610cf6565b610618610a93565b61053a6000610e0d565b6002546001600160a01b0316331461064d5760405163075fd2b160e01b815260040160405180910390fd5b61066482826affffffffffffffffffffff16610e7d565b5050565b610670610a93565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6106a7610a93565b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6004546000906001600160601b03600160801b8204169063ffffffff600160e01b9091041642038302655af3107a400002816107145761071461174a565b0492915050565b610723610c37565b33600090815260056020526040902080547fffffffff00000000000000000000000000000000000000000000000000000000811682556004546001600160601b0391821691600160801b9091041681116107c45780600460108282829054906101000a90046001600160601b031661079b9190611760565b92506101000a8154816001600160601b0302191690836001600160601b031602179055506107dd565b600480546bffffffffffffffffffffffff60801b191690555b60405163a9059cbb60e01b81523360048201526001600160601b03821660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561084d57600080fd5b505af1158015610861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108859190611788565b506040516001600160601b038216815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96959060200160405180910390a25050565b6002546001600160a01b0316331480610902575060005461010090046001600160a01b03166001600160a01b0316336001600160a01b0316145b1561090c57600355565b60405163075fd2b160e01b815260040160405180910390fd5b61092d610c37565b61046e3382610e7d565b6002546001600160a01b031633146109625760405163075fd2b160e01b815260040160405180910390fd5b61066482826affffffffffffffffffffff166110a7565b610981610c37565b61046e33826110a7565b610993610a93565b6004805463ffffffff909216600160e01b027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6109d5610a93565b6001600160a01b038116610a565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61046e81610e0d565b6002546001600160a01b03163314610a8a5760405163075fd2b160e01b815260040160405180910390fd5b61046e81610cf6565b6000546001600160a01b0361010090910416331461053a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4d565b610afb610b86565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b303390565b6040516001600160a01b03909116815260200160405180910390a1565b610b55611423565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610b30565b60005460ff161561053a5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a4d565b60008084600f0b1215610c1357610bef846117a5565b610c0c90655af3107a40006001600160601b0385168602046117d5565b9050610c30565b610c0c84655af3107a40006001600160601b038516860204611800565b9392505050565b333214801590610cd857506001546040517f3af32abf0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690633af32abf9060240160206040518083038186803b158015610c9e57600080fd5b505afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190611788565b155b1561053a5760405163075fd2b160e01b815260040160405180910390fd5b610cfe610479565b6001600160a01b03811660009081526005602052604081208054600454919291610d4591600160601b8104600f0b916001600160801b0316906001600160601b0316610bd9565b6004548354655af3107a40006001600160801b039283166001600160601b03831602048216600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff909116178455169050610dc57f00000000000000000000000000000000000000000000000000000000000000008483611475565b826001600160a01b03167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba82604051610e0091815260200190565b60405180910390a2505050565b600080546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b6001600160a01b038216600090815260056020526040902080546001600160601b0380841691161080610eb757506001600160601b038216155b15610eee576040517f9b54028b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef6610479565b80546bffffffffffffffffffffffff1981166001600160601b039182168490038216178255600480546bffffffffffffffffffffffff60801b198116600160801b8083048516879003851602908117909255655af3107a40006001600160801b03918216919092161791841691909102048154610f7d9190600160601b9004600f0b611820565b81546001600160801b0391909116600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff90911617815560405163a9059cbb60e01b81526001600160a01b0384811660048301526001600160601b03841660248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611788565b506040516001600160601b03831681526001600160a01b038416907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490602001610e00565b6001600160a01b03821660009081526005602052604090206001600160601b0382166110e65760405163fd9eaf9160e01b815260040160405180910390fd5b6110ee610479565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561115057600080fd5b505afa158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611882565b82546bffffffffffffffffffffffff1981166001600160601b0391821686018216178455600480546bffffffffffffffffffffffff60801b198116600160801b80830485168901851602908117909255929350655af3107a40006001600160801b039384169390911692909217908516020482546112109190600160601b9004600f0b61189b565b82546001600160801b0391909116600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff9091161782556040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301523060248301526001600160601b03851660448301527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401602060405180830381600087803b1580156112dc57600080fd5b505af11580156112f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113149190611788565b506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561137457600080fd5b505afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac9190611882565b836001600160601b03168201146113d65760405163fd9eaf9160e01b815260040160405180910390fd5b6040516001600160601b03841681526001600160a01b038516907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a250505050565b60005460ff1661053a5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a4d565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156114b757600080fd5b505afa1580156114cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ef9190611882565b9050808211156115815760405163a9059cbb60e01b81526001600160a01b0384811660048301526024820183905285169063a9059cbb90604401602060405180830381600087803b15801561154357600080fd5b505af1158015611557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157b9190611788565b50611605565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb90604401602060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611788565b505b50505050565b801515811461046e57600080fd5b60006020828403121561162b57600080fd5b8135610c308161160b565b80356001600160a01b038116811461164d57600080fd5b919050565b60006020828403121561166457600080fd5b610c3082611636565b6000806040838503121561168057600080fd5b61168983611636565b915060208301356affffffffffffffffffffff811681146116a957600080fd5b809150509250929050565b6000602082840312156116c657600080fd5b5035919050565b6000602082840312156116df57600080fd5b81356001600160601b0381168114610c3057600080fd5b60006020828403121561170857600080fd5b813563ffffffff81168114610c3057600080fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156117455761174561171c565b500190565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b03838116908316818110156117805761178061171c565b039392505050565b60006020828403121561179a57600080fd5b8151610c308161160b565b600081600f0b6f7fffffffffffffffffffffffffffffff198114156117cc576117cc61171c565b60000392915050565b60006001600160801b038083168185168083038211156117f7576117f761171c565b01949350505050565b60006001600160801b03838116908316818110156117805761178061171c565b600081600f0b83600f0b60008112816f7fffffffffffffffffffffffffffffff19018312811516156118545761185461171c565b816f7fffffffffffffffffffffffffffffff0183138116156118785761187861171c565b5090039392505050565b60006020828403121561189457600080fd5b5051919050565b600081600f0b83600f0b60008212826f7fffffffffffffffffffffffffffffff038213811516156118ce576118ce61171c565b826f7fffffffffffffffffffffffffffffff190382128116156118f3576118f361171c565b5001939250505056fea2646970667358221220290df23d73c2027eae0d1ae8dd77f3edb3ca26b9bbbad510691a298eaf93fae664736f6c6343000809003300000000000000000000000016e818e279d7a12ff897e257b397172dcaab323b00000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f

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

00000000000000000000000016e818e279d7a12ff897e257b397172dcaab323b00000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f

-----Decoded View---------------
Arg [0] : _stakingToken (address): 0x16e818e279d7a12ff897e257b397172dcaab323b
Arg [1] : _pls (address): 0x51318b7d00db7acc4026c88c3952b66278b6a67f

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000016e818e279d7a12ff897e257b397172dcaab323b
Arg [1] : 00000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.