Latest 25 from a total of 14,012 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 395288546 | 44 days ago | IN | 0 ETH | 0.00000072 | ||||
| Harvest | 395288449 | 44 days ago | IN | 0 ETH | 0.0000005 | ||||
| Withdraw | 395205329 | 44 days ago | IN | 0 ETH | 0.00000116 | ||||
| Harvest | 395204991 | 44 days ago | IN | 0 ETH | 0.00000051 | ||||
| Harvest | 392596066 | 52 days ago | IN | 0 ETH | 0.00000055 | ||||
| Withdraw | 392595986 | 52 days ago | IN | 0 ETH | 0.00000093 | ||||
| Harvest | 384319662 | 76 days ago | IN | 0 ETH | 0.00000052 | ||||
| Withdraw | 384319612 | 76 days ago | IN | 0 ETH | 0.00000082 | ||||
| Withdraw | 384275459 | 76 days ago | IN | 0 ETH | 0.00000388 | ||||
| Harvest | 384275187 | 76 days ago | IN | 0 ETH | 0.00000348 | ||||
| Withdraw | 384275126 | 76 days ago | IN | 0 ETH | 0.0000047 | ||||
| Harvest | 381693358 | 83 days ago | IN | 0 ETH | 0.0000005 | ||||
| Harvest | 381590514 | 84 days ago | IN | 0 ETH | 0.00000045 | ||||
| Harvest | 381046886 | 85 days ago | IN | 0 ETH | 0.0000005 | ||||
| Harvest | 378325689 | 93 days ago | IN | 0 ETH | 0.00000046 | ||||
| Withdraw | 378325183 | 93 days ago | IN | 0 ETH | 0.00000073 | ||||
| Harvest | 377335413 | 96 days ago | IN | 0 ETH | 0.00000051 | ||||
| Harvest | 375979404 | 100 days ago | IN | 0 ETH | 0.00001215 | ||||
| Withdraw | 375978913 | 100 days ago | IN | 0 ETH | 0.00002139 | ||||
| Harvest | 372486065 | 110 days ago | IN | 0 ETH | 0.00000051 | ||||
| Harvest | 367964979 | 123 days ago | IN | 0 ETH | 0.00000055 | ||||
| Harvest | 367423265 | 125 days ago | IN | 0 ETH | 0.00000051 | ||||
| Withdraw | 366651963 | 127 days ago | IN | 0 ETH | 0.0000008 | ||||
| Harvest | 366647594 | 127 days ago | IN | 0 ETH | 0.00000102 | ||||
| Withdraw | 366647477 | 127 days ago | IN | 0 ETH | 0.00000168 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 72086600 | 999 days ago | 0 ETH | ||||
| 72086600 | 999 days ago | 0 ETH | ||||
| 72067390 | 999 days ago | 0 ETH | ||||
| 72067390 | 999 days ago | 0 ETH | ||||
| 72066810 | 999 days ago | 0 ETH | ||||
| 72066810 | 999 days ago | 0 ETH | ||||
| 72066810 | 999 days ago | 0 ETH | ||||
| 72066574 | 999 days ago | 0 ETH | ||||
| 72066574 | 999 days ago | 0 ETH | ||||
| 72066574 | 999 days ago | 0 ETH | ||||
| 72058514 | 999 days ago | 0 ETH | ||||
| 72058514 | 999 days ago | 0 ETH | ||||
| 72058514 | 999 days ago | 0 ETH | ||||
| 72057821 | 999 days ago | 0 ETH | ||||
| 72057410 | 999 days ago | 0 ETH | ||||
| 72057410 | 999 days ago | 0 ETH | ||||
| 72045406 | 999 days ago | 0 ETH | ||||
| 72045406 | 999 days ago | 0 ETH | ||||
| 72041170 | 999 days ago | 0 ETH | ||||
| 72035252 | 999 days ago | 0 ETH | ||||
| 72035252 | 999 days ago | 0 ETH | ||||
| 72035252 | 999 days ago | 0 ETH | ||||
| 72033511 | 999 days ago | 0 ETH | ||||
| 72033511 | 999 days ago | 0 ETH | ||||
| 72033511 | 999 days ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
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)
// 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 = 1661731200;
}
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);
}// 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);
}// 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);
}
}// 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());
}
}// 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);
}// 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;
}
}{
"optimizer": {
"enabled": true,
"runs": 1000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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"}]Contract Creation Code
60c06040523480156200001157600080fd5b5060405162001aa838038062001aa88339810160408190526200003491620000ee565b6000805460ff19169055620000493362000078565b6001600160a01b039182166080521660a052600480546001600160e01b031662c6180360e71b17905562000126565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b80516001600160a01b0381168114620000e957600080fd5b919050565b600080604083850312156200010257600080fd5b6200010d83620000d1565b91506200011d60208401620000d1565b90509250929050565b60805160a051611932620001766000396000818161025e0152610d9f01526000818161032b0152818161080101528181610fe60152818161110601528181611298015261132a01526119326000f3fe608060405234801561001057600080fd5b50600436106101b85760003560e01c80637de35002116100f9578063ddce102f11610097578063e4eae6b711610071578063e4eae6b71461040c578063e87237541461041f578063f2fde38b14610432578063fbe1ebec1461044557600080fd5b8063ddce102f146103d3578063dee4dea0146103e6578063e305e54a146103f957600080fd5b806393e59dc1116100d357806393e59dc114610392578063b3ab15fb146103a5578063cdd8d69c146103b8578063db2e21bc146103cb57600080fd5b80637de3500214610360578063854cff2f146103695780638da5cb5b1461037c57600080fd5b80634641257d116101665780635c975abb116101405780635c975abb14610308578063715018a61461031e57806372f702f31461032657806379017d1b1461034d57600080fd5b80634641257d146102c157806350b6f4d1146102c9578063570ca735146102f557600080fd5b8063223e5a9d11610197578063223e5a9d146102595780632a4100681461029857806331d7a262146102a057600080fd5b80621db0ba146101bd57806316c38b3c146101ed5780631959a00214610202575b600080fd5b6004546101d0906001600160801b031681565b6040516001600160801b0390911681526020015b60405180910390f35b6102006101fb366004611619565b610458565b005b610237610210366004611652565b6005602052600090815260409020546001600160601b03811690600160601b9004600f0b82565b604080516001600160601b039093168352600f9190910b6020830152016101e4565b6102807f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101e4565b610200610479565b6102b36102ae366004611652565b61053c565b6040519081526020016101e4565b6102006105ff565b6004546102e090600160e01b900463ffffffff1681565b60405163ffffffff90911681526020016101e4565b600254610280906001600160a01b031681565b60005460ff1660405190151581526020016101e4565b610200610610565b6102807f000000000000000000000000000000000000000000000000000000000000000081565b61020061035b36600461166d565b610622565b6102b360035481565b610200610377366004611652565b610668565b60005461010090046001600160a01b0316610280565b600154610280906001600160a01b031681565b6102006103b3366004611652565b61069f565b6101d06103c63660046116b4565b6106d6565b61020061071b565b6102006103e13660046116b4565b6108c8565b6102006103f43660046116cd565b610925565b61020061040736600461166d565b610937565b61020061041a3660046116cd565b610979565b61020061042d3660046116f6565b61098b565b610200610440366004611652565b6109cd565b610200610453366004611652565b610a5f565b610460610a93565b80156104715761046e610af3565b50565b61046e610b4d565b610481610b86565b600454600160e01b900463ffffffff16421161049957565b600454600160801b90046001600160601b03166104e457600480547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16600160e01b4263ffffffff1602179055565b6104ef6003546106d6565b600480546001600160801b03808216939093019092167bffffffffffffffffffffffff0000000000000000000000000000000090921691909117600160e01b4263ffffffff16021790555b565b6004546000906001600160801b03811690600160e01b900463ffffffff16421180156105795750600454600160801b90046001600160601b031615155b1561059f576105896003546106d6565b61059c906001600160801b031682611732565b90505b6001600160a01b0383166000908152600560209081526040918290208251808401909352546001600160601b038116808452600160601b909104600f0b9183018290526105ee91908490610bd9565b6001600160801b0316949350505050565b610607610c37565b61053a33610cf6565b610618610a93565b61053a6000610e0d565b6002546001600160a01b0316331461064d5760405163075fd2b160e01b815260040160405180910390fd5b61066482826affffffffffffffffffffff16610e7d565b5050565b610670610a93565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6106a7610a93565b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6004546000906001600160601b03600160801b8204169063ffffffff600160e01b9091041642038302655af3107a400002816107145761071461174a565b0492915050565b610723610c37565b33600090815260056020526040902080547fffffffff00000000000000000000000000000000000000000000000000000000811682556004546001600160601b0391821691600160801b9091041681116107c45780600460108282829054906101000a90046001600160601b031661079b9190611760565b92506101000a8154816001600160601b0302191690836001600160601b031602179055506107dd565b600480546bffffffffffffffffffffffff60801b191690555b60405163a9059cbb60e01b81523360048201526001600160601b03821660248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561084d57600080fd5b505af1158015610861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108859190611788565b506040516001600160601b038216815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96959060200160405180910390a25050565b6002546001600160a01b0316331480610902575060005461010090046001600160a01b03166001600160a01b0316336001600160a01b0316145b1561090c57600355565b60405163075fd2b160e01b815260040160405180910390fd5b61092d610c37565b61046e3382610e7d565b6002546001600160a01b031633146109625760405163075fd2b160e01b815260040160405180910390fd5b61066482826affffffffffffffffffffff166110a7565b610981610c37565b61046e33826110a7565b610993610a93565b6004805463ffffffff909216600160e01b027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6109d5610a93565b6001600160a01b038116610a565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61046e81610e0d565b6002546001600160a01b03163314610a8a5760405163075fd2b160e01b815260040160405180910390fd5b61046e81610cf6565b6000546001600160a01b0361010090910416331461053a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4d565b610afb610b86565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b303390565b6040516001600160a01b03909116815260200160405180910390a1565b610b55611423565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610b30565b60005460ff161561053a5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a4d565b60008084600f0b1215610c1357610bef846117a5565b610c0c90655af3107a40006001600160601b0385168602046117d5565b9050610c30565b610c0c84655af3107a40006001600160601b038516860204611800565b9392505050565b333214801590610cd857506001546040517f3af32abf0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690633af32abf9060240160206040518083038186803b158015610c9e57600080fd5b505afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190611788565b155b1561053a5760405163075fd2b160e01b815260040160405180910390fd5b610cfe610479565b6001600160a01b03811660009081526005602052604081208054600454919291610d4591600160601b8104600f0b916001600160801b0316906001600160601b0316610bd9565b6004548354655af3107a40006001600160801b039283166001600160601b03831602048216600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff909116178455169050610dc57f00000000000000000000000000000000000000000000000000000000000000008483611475565b826001600160a01b03167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba82604051610e0091815260200190565b60405180910390a2505050565b600080546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b6001600160a01b038216600090815260056020526040902080546001600160601b0380841691161080610eb757506001600160601b038216155b15610eee576040517f9b54028b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef6610479565b80546bffffffffffffffffffffffff1981166001600160601b039182168490038216178255600480546bffffffffffffffffffffffff60801b198116600160801b8083048516879003851602908117909255655af3107a40006001600160801b03918216919092161791841691909102048154610f7d9190600160601b9004600f0b611820565b81546001600160801b0391909116600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff90911617815560405163a9059cbb60e01b81526001600160a01b0384811660048301526001600160601b03841660248301527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611788565b506040516001600160601b03831681526001600160a01b038416907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490602001610e00565b6001600160a01b03821660009081526005602052604090206001600160601b0382166110e65760405163fd9eaf9160e01b815260040160405180910390fd5b6110ee610479565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561115057600080fd5b505afa158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611882565b82546bffffffffffffffffffffffff1981166001600160601b0391821686018216178455600480546bffffffffffffffffffffffff60801b198116600160801b80830485168901851602908117909255929350655af3107a40006001600160801b039384169390911692909217908516020482546112109190600160601b9004600f0b61189b565b82546001600160801b0391909116600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff9091161782556040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301523060248301526001600160601b03851660448301527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90606401602060405180830381600087803b1580156112dc57600080fd5b505af11580156112f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113149190611788565b506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561137457600080fd5b505afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac9190611882565b836001600160601b03168201146113d65760405163fd9eaf9160e01b815260040160405180910390fd5b6040516001600160601b03841681526001600160a01b038516907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a250505050565b60005460ff1661053a5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a4d565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156114b757600080fd5b505afa1580156114cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ef9190611882565b9050808211156115815760405163a9059cbb60e01b81526001600160a01b0384811660048301526024820183905285169063a9059cbb90604401602060405180830381600087803b15801561154357600080fd5b505af1158015611557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157b9190611788565b50611605565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb90604401602060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611788565b505b50505050565b801515811461046e57600080fd5b60006020828403121561162b57600080fd5b8135610c308161160b565b80356001600160a01b038116811461164d57600080fd5b919050565b60006020828403121561166457600080fd5b610c3082611636565b6000806040838503121561168057600080fd5b61168983611636565b915060208301356affffffffffffffffffffff811681146116a957600080fd5b809150509250929050565b6000602082840312156116c657600080fd5b5035919050565b6000602082840312156116df57600080fd5b81356001600160601b0381168114610c3057600080fd5b60006020828403121561170857600080fd5b813563ffffffff81168114610c3057600080fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156117455761174561171c565b500190565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b03838116908316818110156117805761178061171c565b039392505050565b60006020828403121561179a57600080fd5b8151610c308161160b565b600081600f0b6f7fffffffffffffffffffffffffffffff198114156117cc576117cc61171c565b60000392915050565b60006001600160801b038083168185168083038211156117f7576117f761171c565b01949350505050565b60006001600160801b03838116908316818110156117805761178061171c565b600081600f0b83600f0b60008112816f7fffffffffffffffffffffffffffffff19018312811516156118545761185461171c565b816f7fffffffffffffffffffffffffffffff0183138116156118785761187861171c565b5090039392505050565b60006020828403121561189457600080fd5b5051919050565b600081600f0b83600f0b60008212826f7fffffffffffffffffffffffffffffff038213811516156118ce576118ce61171c565b826f7fffffffffffffffffffffffffffffff190382128116156118f3576118f361171c565b5001939250505056fea26469706673582212206972e5daf493661d6e200ff6ed344417e0a11fb4111976e75812ac9b2f24e3bc64736f6c634300080900330000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff100000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101b85760003560e01c80637de35002116100f9578063ddce102f11610097578063e4eae6b711610071578063e4eae6b71461040c578063e87237541461041f578063f2fde38b14610432578063fbe1ebec1461044557600080fd5b8063ddce102f146103d3578063dee4dea0146103e6578063e305e54a146103f957600080fd5b806393e59dc1116100d357806393e59dc114610392578063b3ab15fb146103a5578063cdd8d69c146103b8578063db2e21bc146103cb57600080fd5b80637de3500214610360578063854cff2f146103695780638da5cb5b1461037c57600080fd5b80634641257d116101665780635c975abb116101405780635c975abb14610308578063715018a61461031e57806372f702f31461032657806379017d1b1461034d57600080fd5b80634641257d146102c157806350b6f4d1146102c9578063570ca735146102f557600080fd5b8063223e5a9d11610197578063223e5a9d146102595780632a4100681461029857806331d7a262146102a057600080fd5b80621db0ba146101bd57806316c38b3c146101ed5780631959a00214610202575b600080fd5b6004546101d0906001600160801b031681565b6040516001600160801b0390911681526020015b60405180910390f35b6102006101fb366004611619565b610458565b005b610237610210366004611652565b6005602052600090815260409020546001600160601b03811690600160601b9004600f0b82565b604080516001600160601b039093168352600f9190910b6020830152016101e4565b6102807f00000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f81565b6040516001600160a01b0390911681526020016101e4565b610200610479565b6102b36102ae366004611652565b61053c565b6040519081526020016101e4565b6102006105ff565b6004546102e090600160e01b900463ffffffff1681565b60405163ffffffff90911681526020016101e4565b600254610280906001600160a01b031681565b60005460ff1660405190151581526020016101e4565b610200610610565b6102807f0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff181565b61020061035b36600461166d565b610622565b6102b360035481565b610200610377366004611652565b610668565b60005461010090046001600160a01b0316610280565b600154610280906001600160a01b031681565b6102006103b3366004611652565b61069f565b6101d06103c63660046116b4565b6106d6565b61020061071b565b6102006103e13660046116b4565b6108c8565b6102006103f43660046116cd565b610925565b61020061040736600461166d565b610937565b61020061041a3660046116cd565b610979565b61020061042d3660046116f6565b61098b565b610200610440366004611652565b6109cd565b610200610453366004611652565b610a5f565b610460610a93565b80156104715761046e610af3565b50565b61046e610b4d565b610481610b86565b600454600160e01b900463ffffffff16421161049957565b600454600160801b90046001600160601b03166104e457600480547bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16600160e01b4263ffffffff1602179055565b6104ef6003546106d6565b600480546001600160801b03808216939093019092167bffffffffffffffffffffffff0000000000000000000000000000000090921691909117600160e01b4263ffffffff16021790555b565b6004546000906001600160801b03811690600160e01b900463ffffffff16421180156105795750600454600160801b90046001600160601b031615155b1561059f576105896003546106d6565b61059c906001600160801b031682611732565b90505b6001600160a01b0383166000908152600560209081526040918290208251808401909352546001600160601b038116808452600160601b909104600f0b9183018290526105ee91908490610bd9565b6001600160801b0316949350505050565b610607610c37565b61053a33610cf6565b610618610a93565b61053a6000610e0d565b6002546001600160a01b0316331461064d5760405163075fd2b160e01b815260040160405180910390fd5b61066482826affffffffffffffffffffff16610e7d565b5050565b610670610a93565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6106a7610a93565b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6004546000906001600160601b03600160801b8204169063ffffffff600160e01b9091041642038302655af3107a400002816107145761071461174a565b0492915050565b610723610c37565b33600090815260056020526040902080547fffffffff00000000000000000000000000000000000000000000000000000000811682556004546001600160601b0391821691600160801b9091041681116107c45780600460108282829054906101000a90046001600160601b031661079b9190611760565b92506101000a8154816001600160601b0302191690836001600160601b031602179055506107dd565b600480546bffffffffffffffffffffffff60801b191690555b60405163a9059cbb60e01b81523360048201526001600160601b03821660248201527f0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff16001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561084d57600080fd5b505af1158015610861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108859190611788565b506040516001600160601b038216815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96959060200160405180910390a25050565b6002546001600160a01b0316331480610902575060005461010090046001600160a01b03166001600160a01b0316336001600160a01b0316145b1561090c57600355565b60405163075fd2b160e01b815260040160405180910390fd5b61092d610c37565b61046e3382610e7d565b6002546001600160a01b031633146109625760405163075fd2b160e01b815260040160405180910390fd5b61066482826affffffffffffffffffffff166110a7565b610981610c37565b61046e33826110a7565b610993610a93565b6004805463ffffffff909216600160e01b027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6109d5610a93565b6001600160a01b038116610a565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61046e81610e0d565b6002546001600160a01b03163314610a8a5760405163075fd2b160e01b815260040160405180910390fd5b61046e81610cf6565b6000546001600160a01b0361010090910416331461053a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4d565b610afb610b86565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b303390565b6040516001600160a01b03909116815260200160405180910390a1565b610b55611423565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610b30565b60005460ff161561053a5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a4d565b60008084600f0b1215610c1357610bef846117a5565b610c0c90655af3107a40006001600160601b0385168602046117d5565b9050610c30565b610c0c84655af3107a40006001600160601b038516860204611800565b9392505050565b333214801590610cd857506001546040517f3af32abf0000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690633af32abf9060240160206040518083038186803b158015610c9e57600080fd5b505afa158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190611788565b155b1561053a5760405163075fd2b160e01b815260040160405180910390fd5b610cfe610479565b6001600160a01b03811660009081526005602052604081208054600454919291610d4591600160601b8104600f0b916001600160801b0316906001600160601b0316610bd9565b6004548354655af3107a40006001600160801b039283166001600160601b03831602048216600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff909116178455169050610dc57f00000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f8483611475565b826001600160a01b03167fc9695243a805adb74c91f28311176c65b417e842d5699893cef56d18bfa48cba82604051610e0091815260200190565b60405180910390a2505050565b600080546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b6001600160a01b038216600090815260056020526040902080546001600160601b0380841691161080610eb757506001600160601b038216155b15610eee576040517f9b54028b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef6610479565b80546bffffffffffffffffffffffff1981166001600160601b039182168490038216178255600480546bffffffffffffffffffffffff60801b198116600160801b8083048516879003851602908117909255655af3107a40006001600160801b03918216919092161791841691909102048154610f7d9190600160601b9004600f0b611820565b81546001600160801b0391909116600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff90911617815560405163a9059cbb60e01b81526001600160a01b0384811660048301526001600160601b03841660248301527f0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff1169063a9059cbb90604401602060405180830381600087803b15801561102a57600080fd5b505af115801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611788565b506040516001600160601b03831681526001600160a01b038416907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490602001610e00565b6001600160a01b03821660009081526005602052604090206001600160601b0382166110e65760405163fd9eaf9160e01b815260040160405180910390fd5b6110ee610479565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff16001600160a01b0316906370a082319060240160206040518083038186803b15801561115057600080fd5b505afa158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611882565b82546bffffffffffffffffffffffff1981166001600160601b0391821686018216178455600480546bffffffffffffffffffffffff60801b198116600160801b80830485168901851602908117909255929350655af3107a40006001600160801b039384169390911692909217908516020482546112109190600160601b9004600f0b61189b565b82546001600160801b0391909116600160601b027fffffffff00000000000000000000000000000000ffffffffffffffffffffffff9091161782556040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301523060248301526001600160601b03851660448301527f0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff116906323b872dd90606401602060405180830381600087803b1580156112dc57600080fd5b505af11580156112f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113149190611788565b506040516370a0823160e01b81523060048201527f0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff16001600160a01b0316906370a082319060240160206040518083038186803b15801561137457600080fd5b505afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac9190611882565b836001600160601b03168201146113d65760405163fd9eaf9160e01b815260040160405180910390fd5b6040516001600160601b03841681526001600160a01b038516907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a250505050565b60005460ff1661053a5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a4d565b6040516370a0823160e01b81523060048201526000906001600160a01b038516906370a082319060240160206040518083038186803b1580156114b757600080fd5b505afa1580156114cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ef9190611882565b9050808211156115815760405163a9059cbb60e01b81526001600160a01b0384811660048301526024820183905285169063a9059cbb90604401602060405180830381600087803b15801561154357600080fd5b505af1158015611557573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157b9190611788565b50611605565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb90604401602060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611788565b505b50505050565b801515811461046e57600080fd5b60006020828403121561162b57600080fd5b8135610c308161160b565b80356001600160a01b038116811461164d57600080fd5b919050565b60006020828403121561166457600080fd5b610c3082611636565b6000806040838503121561168057600080fd5b61168983611636565b915060208301356affffffffffffffffffffff811681146116a957600080fd5b809150509250929050565b6000602082840312156116c657600080fd5b5035919050565b6000602082840312156116df57600080fd5b81356001600160601b0381168114610c3057600080fd5b60006020828403121561170857600080fd5b813563ffffffff81168114610c3057600080fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156117455761174561171c565b500190565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b03838116908316818110156117805761178061171c565b039392505050565b60006020828403121561179a57600080fd5b8151610c308161160b565b600081600f0b6f7fffffffffffffffffffffffffffffff198114156117cc576117cc61171c565b60000392915050565b60006001600160801b038083168185168083038211156117f7576117f761171c565b01949350505050565b60006001600160801b03838116908316818110156117805761178061171c565b600081600f0b83600f0b60008112816f7fffffffffffffffffffffffffffffff19018312811516156118545761185461171c565b816f7fffffffffffffffffffffffffffffff0183138116156118785761187861171c565b5090039392505050565b60006020828403121561189457600080fd5b5051919050565b600081600f0b83600f0b60008212826f7fffffffffffffffffffffffffffffff038213811516156118ce576118ce61171c565b826f7fffffffffffffffffffffffffffffff190382128116156118f3576118f361171c565b5001939250505056fea26469706673582212206972e5daf493661d6e200ff6ed344417e0a11fb4111976e75812ac9b2f24e3bc64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff100000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f
-----Decoded View---------------
Arg [0] : _stakingToken (address): 0x5326E71Ff593Ecc2CF7AcaE5Fe57582D6e74CFF1
Arg [1] : _pls (address): 0x51318B7D00db7ACc4026C88c3952B66278B6A67F
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005326e71ff593ecc2cf7acae5fe57582d6e74cff1
Arg [1] : 00000000000000000000000051318b7d00db7acc4026c88c3952b66278b6a67f
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.