ETH Price: $3,332.83 (-2.71%)

Contract

0x824206C73e83F5bE019F90a2439275458d9A5de5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim All207439352024-09-13 19:59:2374 days ago1726257563IN
0x824206C7...58d9A5de5
0 ETH0.002146830
Deposit205491442024-08-17 15:08:47101 days ago1723907327IN
0x824206C7...58d9A5de5
0 ETH0.000361292.706179
Withdraw205490982024-08-17 14:59:23101 days ago1723906763IN
0x824206C7...58d9A5de5
0 ETH0.000157532.65896157
Withdraw205321482024-08-15 6:09:35103 days ago1723702175IN
0x824206C7...58d9A5de5
0 ETH0.000175532.96276127
Unlock202652822024-07-09 0:12:59141 days ago1720483979IN
0x824206C7...58d9A5de5
0 ETH0.000231292.05696778
Unlock202619612024-07-08 13:02:35141 days ago1720443755IN
0x824206C7...58d9A5de5
0 ETH0.000506664.5059718
Unlock202506932024-07-06 23:15:59143 days ago1720307759IN
0x824206C7...58d9A5de5
0 ETH0.000252262.24346798
Claim All202506792024-07-06 23:13:11143 days ago1720307591IN
0x824206C7...58d9A5de5
0 ETH0.000107321.49984708
Claim All202498232024-07-06 20:21:47143 days ago1720297307IN
0x824206C7...58d9A5de5
0 ETH0.000068131.92018929
Deposit202496772024-07-06 19:52:23143 days ago1720295543IN
0x824206C7...58d9A5de5
0 ETH0.000263851.75189978
Deposit202496682024-07-06 19:50:35143 days ago1720295435IN
0x824206C7...58d9A5de5
0 ETH0.000217331.44302289
Withdraw202125162024-07-01 15:18:59148 days ago1719847139IN
0x824206C7...58d9A5de5
0 ETH0.0008400914.17951724
Withdraw202125112024-07-01 15:17:59148 days ago1719847079IN
0x824206C7...58d9A5de5
0 ETH0.0008358814.10845596
Withdraw202125062024-07-01 15:16:59148 days ago1719847019IN
0x824206C7...58d9A5de5
0 ETH0.0006732711.36392307
Claim All200538862024-06-09 11:11:47170 days ago1717931507IN
0x824206C7...58d9A5de5
0 ETH0.000278783.89580997
Withdraw200465092024-06-08 10:26:59171 days ago1717842419IN
0x824206C7...58d9A5de5
0 ETH0.000362936.12587166
Unlock199466122024-05-25 11:32:23185 days ago1716636743IN
0x824206C7...58d9A5de5
0 ETH0.000512514.55798965
Unlock199425442024-05-24 21:52:47186 days ago1716587567IN
0x824206C7...58d9A5de5
0 ETH0.000874127.77387299
Unlock199425322024-05-24 21:50:23186 days ago1716587423IN
0x824206C7...58d9A5de5
0 ETH0.0011519710.24488438
Claim All198796912024-05-16 2:55:11194 days ago1715828111IN
0x824206C7...58d9A5de5
0 ETH0.000331334.63014183
Withdraw198239772024-05-08 7:53:11202 days ago1715154791IN
0x824206C7...58d9A5de5
0 ETH0.000350925.92301315
Unlock198214462024-05-07 23:24:23203 days ago1715124263IN
0x824206C7...58d9A5de5
0 ETH0.000514544.57598869
Deposit197433462024-04-27 1:18:23213 days ago1714180703IN
0x824206C7...58d9A5de5
0 ETH0.001113427.39341212
Unlock196095842024-04-08 7:52:35232 days ago1712562755IN
0x824206C7...58d9A5de5
0 ETH0.0016104114.32190714
Claim All196095802024-04-08 7:51:47232 days ago1712562707IN
0x824206C7...58d9A5de5
0 ETH0.0010060314.05855559
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RewardStaked

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : RewardStaked.sol
// contracts/CawName.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/IERC20.sol";
import "./libraries/TransferHelper.sol";
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";
import "../node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol";

/// @title RewardStaked
/// @notice A contract that allows users to stake a specific ERC20 token and earn rewards in other ERC20 tokens.
contract RewardStaked is 
  Context, Ownable,
  ReentrancyGuard
{

  IERC20 public immutable Stakeable;
  address[] public rewardTokens;

  uint256 public totalStaked;
  mapping(address => uint256) public deposits;
  mapping(address => uint256) public lockedUntil;
  mapping(address => mapping(address => uint256)) public nullifiedRewards;


  mapping(address => uint256) public rewardsPerDeposit;
  mapping(address => uint256) public totalRewarded;

  uint256 public precision = 10 ** 8;
  uint256 public lockTime;

  /// @notice Initializes the contract with the stakeable token, lock time, and initial reward tokens.
  /// @param _stakeable The token that users can stake.
  /// @param _lockTime The time that users must wait after unlocking their stake before they can withdraw it.
  /// @param _rewardTokens An array of tokens that users can earn as rewards.
  constructor(address _stakeable, uint256 _lockTime, address[] memory _rewardTokens) {
    Stakeable = IERC20(_stakeable);
    lockTime = _lockTime;

    for (uint16 i=0; i < _rewardTokens.length; i++)
      addRewardToken(_rewardTokens[i]);
  }

  /// @notice Returns the array of reward tokens.
  function getRewardTokens() public virtual view returns (address[] memory) {
    return rewardTokens;
  }

  /// @notice Allows a user to deposit the stakeable token.
  /// @param amount The amount of the stakeable token to deposit.
  function deposit(uint256 amount) external nonReentrant {
    require(!unlockInitiated(msg.sender), "you must wait until you withdraw your tokens");

    TransferHelper.safeTransferFrom(address(Stakeable), msg.sender, address(this), amount);

    // Claims all rewards before updating the user's stake.
    claimAll(getRewardTokens());

    deposits[msg.sender] += amount;
    totalStaked += amount;
  }

  /// @notice Allows a user to unlock their stake.
  function unlock() external nonReentrant {
    require(!unlockInitiated(msg.sender), "Unlock is already pending");

    // Claims all rewards before updating the user's stake.
    claimAll(getRewardTokens());

    totalStaked -= deposits[msg.sender];
    lockedUntil[msg.sender] = block.timestamp + lockTime;
  }

  /// @notice Allows a user to withdraw their stake after it has been unlocked.
  function withdraw() external nonReentrant {
    require(unlockInitiated(msg.sender), "you must unlock your staked tokens first");
    require(isUnlocked(msg.sender), "your staked tokens are still locked");

    uint256 withdrawable = deposits[msg.sender];
    deposits[msg.sender] = 0;

    TransferHelper.safeTransfer(address(Stakeable), msg.sender, withdrawable);
    lockedUntil[msg.sender] = 0;
  }

  /// @notice Nullifies the user's claimable rewards for the given token.
  /// @param token The token for which to nullify the user's rewards.
  function nullifyRewardsForToken(address token) internal {
    nullifiedRewards[token][msg.sender] = rewardsPerDeposit[token];
  }

  /// @notice Allows anyone to add rewards for all stakers.
  /// @param token The token in which the rewards are being added.
  /// @param amount The amount of rewards to add.
  function addRewards(address token, uint256 amount) external {
    require(totalStaked > 0, "can not add rewards if there are no stakers");

    TransferHelper.safeTransferFrom(token, msg.sender, address(this), amount);
    rewardsPerDeposit[token] += precision * amount / totalStaked;
    totalRewarded[token] += amount;
  }

  /// @notice Returns various information about the current state of the contract and the user's stake.
  /// @param user The user to retrieve information for.
  function getInfo(address user) external view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
    return (
      totalStaked,
      deposits[user],
      lockedUntil[user],
      Stakeable.decimals(),
      Stakeable.balanceOf(user),
      Stakeable.allowance(user, address(this))
    );
  }

  /// @notice Returns various information about all of the reward tokens and the user's claimable rewards.
  /// @param user The user to retrieve information for.
  function allClaimable(address user) external view returns (address[] memory, string[] memory, uint256[] memory, uint256[] memory, uint256[] memory) {
    address[] memory tokens = getRewardTokens();
    uint256[] memory totalRewards = new uint256[](tokens.length);
    uint256[] memory canClaim = new uint256[](tokens.length);
    uint256[] memory decimals = new uint256[](tokens.length);
    string[] memory symbols = new string[](tokens.length);

    for (uint16 i=0; i < tokens.length; i++) {
      IERC20 token = IERC20(tokens[i]);

      symbols[i] = token.symbol();
      decimals[i] = token.decimals();
      canClaim[i] = claimable(tokens[i], user);
      totalRewards[i] = totalRewarded[tokens[i]];
    }

    return (tokens, symbols, decimals, canClaim, totalRewards);
  }

  /// @notice Returns the amount of the given token that the user can claim as rewards.
  /// @param token The token to check.
  /// @param user The user to check.
  function claimable(address token, address user) public view returns (uint256){
    if (unlockInitiated(user)) return 0;

    return deposits[user] * (rewardsPerDeposit[token] - nullifiedRewards[token][user]) / precision;
  }

  /// @notice Allows the user to claim their rewards in the given token.
  /// @param token The token to claim rewards in.
  function claim(address token) internal {
    uint256 willClaim = claimable(token, msg.sender);
    nullifyRewardsForToken(token);

    if (willClaim > 0)
      IERC20(token).transfer(msg.sender, willClaim);
  }

  /// @notice Allows the user to claim their rewards in all tokens.
  /// @param rewards An array of tokens to claim rewards in.
  function claimAll(address[] memory rewards) public {
    for (uint16 i=0; i < rewards.length; i++)
      claim(rewards[i]);
  }

  /// @notice Returns whether the user has initiated an unlock.
  /// @param user The user to check.
  function unlockInitiated(address user) public view returns (bool) {
    return lockedUntil[user] > 0;
  }

  /// @notice Returns whether the user's stake is currently locked.
  /// @param user The user to check.
  function isUnlocked(address user) public view returns (bool) {
    return unlockInitiated(user) && lockedUntil[user] < block.timestamp;
  }

  /// @notice Removes a reward token.
  /// @param index The index of the token to remove.
  function removeRewardToken(uint16 index) public onlyOwner {
    require(rewardTokens.length > index, "invalid index");

    address lastToken = rewardTokens[rewardTokens.length - 1];
    rewardTokens.pop();

    if (rewardTokens.length > index)
      rewardTokens[index] = lastToken;
  }

  /// @notice Adds a new reward token.
  /// @param token The token to add.
  function addRewardToken(address token) public onlyOwner {
    for (uint16 i=0; i < rewardTokens.length; i++)
      require(rewardTokens[i] != token, "this token is already a reward token");

    rewardTokens.push(token);
  }

}

File 2 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;
    }
}

File 3 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 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 5 of 6 : TransferHelper.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
  function safeApprove(
    address token,
    address to,
    uint256 value
  ) internal {
    // bytes4(keccak256(bytes('approve(address,uint256)')));
    (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
    require(
      success && (data.length == 0 || abi.decode(data, (bool))),
      'TransferHelper::safeApprove: approve failed'
    );
  }

  function safeTransfer(
    address token,
    address to,
    uint256 value
  ) internal {
    // bytes4(keccak256(bytes('transfer(address,uint256)')));
    (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
    require(
      success && (data.length == 0 || abi.decode(data, (bool))),
      'TransferHelper::safeTransfer: transfer failed'
    );
  }

  function safeTransferFrom(
    address token,
    address from,
    address to,
    uint256 value
  ) internal {
    // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
    (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
    require(
      success && (data.length == 0 || abi.decode(data, (bool))),
      'TransferHelper::transferFrom: transferFrom failed'
    );
  }

  function safeTransferETH(address to, uint256 value) internal {
    (bool success, ) = to.call{value: value}(new bytes(0));
    require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
  }
}

File 6 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 symbol of the token
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the amount of decimals of the token
     */
    function decimals() 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakeable","type":"address"},{"internalType":"uint256","name":"_lockTime","type":"uint256"},{"internalType":"address[]","name":"_rewardTokens","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"Stakeable","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"addRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"allClaimable","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"string[]","name":"","type":"string[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"rewards","type":"address[]"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"user","type":"address"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardTokens","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedUntil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"nullifiedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precision","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"index","type":"uint16"}],"name":"removeRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsPerDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalRewarded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"unlockInitiated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526305f5e1006009553480156200001957600080fd5b50604051620038213803806200382183398181016040528101906200003f91906200060b565b6200005f620000536200010460201b60201c565b6200010c60201b60201c565b600180819055508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505081600a8190555060005b81518161ffff161015620000fa57620000e4828261ffff1681518110620000d057620000cf62000686565b5b6020026020010151620001d060201b60201c565b8080620000f190620006f2565b915050620000a4565b505050506200083c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001e06200032860201b60201c565b60005b6002805490508161ffff161015620002c1578173ffffffffffffffffffffffffffffffffffffffff1660028261ffff168154811062000227576200022662000686565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603620002ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a290620007a8565b60405180910390fd5b8080620002b890620006f2565b915050620001e3565b506002819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620003386200010460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200035e620003b960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ae906200081a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042382620003f6565b9050919050565b620004358162000416565b81146200044157600080fd5b50565b60008151905062000455816200042a565b92915050565b6000819050919050565b62000470816200045b565b81146200047c57600080fd5b50565b600081519050620004908162000465565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004e6826200049b565b810181811067ffffffffffffffff82111715620005085762000507620004ac565b5b80604052505050565b60006200051d620003e2565b90506200052b8282620004db565b919050565b600067ffffffffffffffff8211156200054e576200054d620004ac565b5b602082029050602081019050919050565b600080fd5b60006200057b620005758462000530565b62000511565b90508083825260208201905060208402830185811115620005a157620005a06200055f565b5b835b81811015620005ce5780620005b9888262000444565b845260208401935050602081019050620005a3565b5050509392505050565b600082601f830112620005f057620005ef62000496565b5b81516200060284826020860162000564565b91505092915050565b600080600060608486031215620006275762000626620003ec565b5b6000620006378682870162000444565b93505060206200064a868287016200047f565b925050604084015167ffffffffffffffff8111156200066e576200066d620003f1565b5b6200067c86828701620005d8565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061ffff82169050919050565b6000620006ff82620006e4565b915061ffff8203620007165762000715620006b5565b5b600182019050919050565b600082825260208201905092915050565b7f7468697320746f6b656e20697320616c7265616479206120726577617264207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b60006200079060248362000721565b91506200079d8262000732565b604082019050919050565b60006020820190508181036000830152620007c38162000781565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200080260208362000721565b91506200080f82620007ca565b602082019050919050565b600060208201905081810360008301526200083581620007f3565b9050919050565b608051612fa66200087b60003960008181610842015281816110cf0152818161114701528181611558015281816115e701526116810152612fa66000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80639c423950116100de578063c878feac11610097578063f2fde38b11610071578063f2fde38b14610475578063f384fe7614610491578063fc7e286d146104c1578063ffdd5cf1146104f15761018e565b8063c878feac146103f7578063d3b5dc3b14610427578063d4570c1c146104455761018e565b80639c4239501461035d578063a69df4b514610379578063a9fc507b14610383578063b61463da1461039f578063b6b55f25146103bd578063c4f59f9b146103d95761018e565b80636864c06d1161014b5780637bb7bed1116101255780637bb7bed1146102c1578063817b1cd2146102f15780638da5cb5b1461030f5780639bc289f11461032d5761018e565b80636864c06d14610257578063715018a61461028757806371656dc1146102915761018e565b80630d668087146101935780631c03e6cc146101b15780631e2de0d1146101cd5780632bbf532a146101e95780633ccfd60b14610219578063528d4f5b14610223575b600080fd5b61019b610526565b6040516101a89190611cc1565b60405180910390f35b6101cb60048036038101906101c69190611d4e565b61052c565b005b6101e760048036038101906101e29190611ed4565b610672565b005b61020360048036038101906101fe9190611d4e565b6106c0565b6040516102109190611f38565b60405180910390f35b61022161071c565b005b61023d60048036038101906102389190611d4e565b6108b8565b60405161024e959493929190612210565b60405180910390f35b610271600480360381019061026c9190611d4e565b610c62565b60405161027e9190611cc1565b60405180910390f35b61028f610c7a565b005b6102ab60048036038101906102a69190612286565b610c8e565b6040516102b89190611cc1565b60405180910390f35b6102db60048036038101906102d691906122f2565b610cb3565b6040516102e8919061232e565b60405180910390f35b6102f9610cf2565b6040516103069190611cc1565b60405180910390f35b610317610cf8565b604051610324919061232e565b60405180910390f35b61034760048036038101906103429190611d4e565b610d21565b6040516103549190611cc1565b60405180910390f35b61037760048036038101906103729190612383565b610d39565b005b610381610e9e565b005b61039d600480360381019061039891906123b0565b610fb2565b005b6103a76110cd565b6040516103b4919061244f565b60405180910390f35b6103d760048036038101906103d291906122f2565b6110f1565b005b6103e16111f8565b6040516103ee919061246a565b60405180910390f35b610411600480360381019061040c9190611d4e565b611286565b60405161041e9190611f38565b60405180910390f35b61042f6112d1565b60405161043c9190611cc1565b60405180910390f35b61045f600480360381019061045a9190612286565b6112d7565b60405161046c9190611cc1565b60405180910390f35b61048f600480360381019061048a9190611d4e565b611417565b005b6104ab60048036038101906104a69190611d4e565b61149a565b6040516104b89190611cc1565b60405180910390f35b6104db60048036038101906104d69190611d4e565b6114b2565b6040516104e89190611cc1565b60405180910390f35b61050b60048036038101906105069190611d4e565b6114ca565b60405161051d9695949392919061248c565b60405180910390f35b600a5481565b610534611730565b60005b6002805490508161ffff16101561060b578173ffffffffffffffffffffffffffffffffffffffff1660028261ffff1681548110610577576105766124ed565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036105f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ef9061259f565b60405180910390fd5b8080610603906125ee565b915050610537565b506002819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60005b81518161ffff1610156106bc576106a9828261ffff168151811061069c5761069b6124ed565b5b60200260200101516117ae565b80806106b4906125ee565b915050610675565b5050565b60006106cb82611286565b8015610715575042600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b9050919050565b610724611852565b61072d33611286565b61076c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107639061268a565b60405180910390fd5b610775336106c0565b6107b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ab9061271c565b60405180910390fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506108687f000000000000000000000000000000000000000000000000000000000000000033836118a1565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550506108b66119d7565b565b606080606080606060006108ca6111f8565b90506000815167ffffffffffffffff8111156108e9576108e8611d91565b5b6040519080825280602002602001820160405280156109175781602001602082028036833780820191505090505b5090506000825167ffffffffffffffff81111561093757610936611d91565b5b6040519080825280602002602001820160405280156109655781602001602082028036833780820191505090505b5090506000835167ffffffffffffffff81111561098557610984611d91565b5b6040519080825280602002602001820160405280156109b35781602001602082028036833780820191505090505b5090506000845167ffffffffffffffff8111156109d3576109d2611d91565b5b604051908082528060200260200182016040528015610a0657816020015b60608152602001906001900390816109f15790505b50905060005b85518161ffff161015610c44576000868261ffff1681518110610a3257610a316124ed565b5b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610a87573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610ab091906127e2565b838361ffff1681518110610ac757610ac66124ed565b5b60200260200101819052508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b419190612840565b848361ffff1681518110610b5857610b576124ed565b5b602002602001018181525050610b8c878361ffff1681518110610b7e57610b7d6124ed565b5b60200260200101518e6112d7565b858361ffff1681518110610ba357610ba26124ed565b5b60200260200101818152505060086000888461ffff1681518110610bca57610bc96124ed565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054868361ffff1681518110610c2457610c236124ed565b5b602002602001018181525050508080610c3c906125ee565b915050610a0c565b50848183858799509950995099509950505050505091939590929450565b60076020528060005260406000206000915090505481565b610c82611730565b610c8c60006119e0565b565b6006602052816000526040600020602052806000526040600020600091509150505481565b60028181548110610cc357600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60056020528060005260406000206000915090505481565b610d41611730565b8061ffff1660028054905011610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d83906128b9565b60405180910390fd5b600060026001600280549050610da291906128d9565b81548110610db357610db26124ed565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506002805480610df257610df161290d565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590558161ffff166002805490501115610e9a578060028361ffff1681548110610e5157610e506124ed565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b610ea6611852565b610eaf33611286565b15610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690612988565b60405180910390fd5b610eff610efa6111f8565b610672565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460036000828254610f5091906128d9565b92505081905550600a5442610f6591906129a8565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fb06119d7565b565b600060035411610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee90612a4e565b60405180910390fd5b61100382333084611aa4565b600354816009546110149190612a6e565b61101e9190612adf565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106c91906129a8565b9250508190555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c291906129a8565b925050819055505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6110f9611852565b61110233611286565b15611142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113990612b82565b60405180910390fd5b61116e7f0000000000000000000000000000000000000000000000000000000000000000333084611aa4565b61117e6111796111f8565b610672565b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111cd91906129a8565b9250508190555080600360008282546111e691906129a8565b925050819055506111f56119d7565b50565b6060600280548060200260200160405190810160405280929190818152602001828054801561127c57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611232575b5050505050905090565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b60095481565b60006112e282611286565b156112f05760009050611411565b600954600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ba91906128d9565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114049190612a6e565b61140e9190612adf565b90505b92915050565b61141f611730565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361148e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148590612c14565b60405180910390fd5b611497816119e0565b50565b60086020528060005260406000206000915090505481565b60046020528060005260406000206000915090505481565b600080600080600080600354600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e59190612840565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a082318c6040518263ffffffff1660e01b815260040161163e919061232e565b602060405180830381865afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190612840565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e8d306040518363ffffffff1660e01b81526004016116da929190612c34565b602060405180830381865afa1580156116f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171b9190612840565b95509550955095509550955091939550919395565b611738611bdd565b73ffffffffffffffffffffffffffffffffffffffff16611756610cf8565b73ffffffffffffffffffffffffffffffffffffffff16146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390612ca9565b60405180910390fd5b565b60006117ba82336112d7565b90506117c582611be5565b600081111561184e578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611809929190612cc9565b6020604051808303816000875af1158015611828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184c9190612d1e565b505b5050565b600260015403611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90612d97565b60405180910390fd5b6002600181905550565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016118d3929190612cc9565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516119219190612dfe565b6000604051808303816000865af19150503d806000811461195e576040519150601f19603f3d011682016040523d82523d6000602084013e611963565b606091505b5091509150818015611991575060008151148061199057508080602001905181019061198f9190612d1e565b5b5b6119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790612e87565b60405180910390fd5b5050505050565b60018081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611ad893929190612ea7565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611b269190612dfe565b6000604051808303816000865af19150503d8060008114611b63576040519150601f19603f3d011682016040523d82523d6000602084013e611b68565b606091505b5091509150818015611b965750600081511480611b95575080806020019051810190611b949190612d1e565b5b5b611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc90612f50565b60405180910390fd5b505050505050565b600033905090565b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000819050919050565b611cbb81611ca8565b82525050565b6000602082019050611cd66000830184611cb2565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d1b82611cf0565b9050919050565b611d2b81611d10565b8114611d3657600080fd5b50565b600081359050611d4881611d22565b92915050565b600060208284031215611d6457611d63611ce6565b5b6000611d7284828501611d39565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611dc982611d80565b810181811067ffffffffffffffff82111715611de857611de7611d91565b5b80604052505050565b6000611dfb611cdc565b9050611e078282611dc0565b919050565b600067ffffffffffffffff821115611e2757611e26611d91565b5b602082029050602081019050919050565b600080fd5b6000611e50611e4b84611e0c565b611df1565b90508083825260208201905060208402830185811115611e7357611e72611e38565b5b835b81811015611e9c5780611e888882611d39565b845260208401935050602081019050611e75565b5050509392505050565b600082601f830112611ebb57611eba611d7b565b5b8135611ecb848260208601611e3d565b91505092915050565b600060208284031215611eea57611ee9611ce6565b5b600082013567ffffffffffffffff811115611f0857611f07611ceb565b5b611f1484828501611ea6565b91505092915050565b60008115159050919050565b611f3281611f1d565b82525050565b6000602082019050611f4d6000830184611f29565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611f8881611d10565b82525050565b6000611f9a8383611f7f565b60208301905092915050565b6000602082019050919050565b6000611fbe82611f53565b611fc88185611f5e565b9350611fd383611f6f565b8060005b83811015612004578151611feb8882611f8e565b9750611ff683611fa6565b925050600181019050611fd7565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561207757808201518184015260208101905061205c565b60008484015250505050565b600061208e8261203d565b6120988185612048565b93506120a8818560208601612059565b6120b181611d80565b840191505092915050565b60006120c88383612083565b905092915050565b6000602082019050919050565b60006120e882612011565b6120f2818561201c565b9350836020820285016121048561202d565b8060005b85811015612140578484038952815161212185826120bc565b945061212c836120d0565b925060208a01995050600181019050612108565b50829750879550505050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61218781611ca8565b82525050565b6000612199838361217e565b60208301905092915050565b6000602082019050919050565b60006121bd82612152565b6121c7818561215d565b93506121d28361216e565b8060005b838110156122035781516121ea888261218d565b97506121f5836121a5565b9250506001810190506121d6565b5085935050505092915050565b600060a082019050818103600083015261222a8188611fb3565b9050818103602083015261223e81876120dd565b9050818103604083015261225281866121b2565b9050818103606083015261226681856121b2565b9050818103608083015261227a81846121b2565b90509695505050505050565b6000806040838503121561229d5761229c611ce6565b5b60006122ab85828601611d39565b92505060206122bc85828601611d39565b9150509250929050565b6122cf81611ca8565b81146122da57600080fd5b50565b6000813590506122ec816122c6565b92915050565b60006020828403121561230857612307611ce6565b5b6000612316848285016122dd565b91505092915050565b61232881611d10565b82525050565b6000602082019050612343600083018461231f565b92915050565b600061ffff82169050919050565b61236081612349565b811461236b57600080fd5b50565b60008135905061237d81612357565b92915050565b60006020828403121561239957612398611ce6565b5b60006123a78482850161236e565b91505092915050565b600080604083850312156123c7576123c6611ce6565b5b60006123d585828601611d39565b92505060206123e6858286016122dd565b9150509250929050565b6000819050919050565b600061241561241061240b84611cf0565b6123f0565b611cf0565b9050919050565b6000612427826123fa565b9050919050565b60006124398261241c565b9050919050565b6124498161242e565b82525050565b60006020820190506124646000830184612440565b92915050565b600060208201905081810360008301526124848184611fb3565b905092915050565b600060c0820190506124a16000830189611cb2565b6124ae6020830188611cb2565b6124bb6040830187611cb2565b6124c86060830186611cb2565b6124d56080830185611cb2565b6124e260a0830184611cb2565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082825260208201905092915050565b7f7468697320746f6b656e20697320616c7265616479206120726577617264207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b600061258960248361251c565b91506125948261252d565b604082019050919050565b600060208201905081810360008301526125b88161257c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006125f982612349565b915061ffff820361260d5761260c6125bf565b5b600182019050919050565b7f796f75206d75737420756e6c6f636b20796f7572207374616b656420746f6b6560008201527f6e73206669727374000000000000000000000000000000000000000000000000602082015250565b600061267460288361251c565b915061267f82612618565b604082019050919050565b600060208201905081810360008301526126a381612667565b9050919050565b7f796f7572207374616b656420746f6b656e7320617265207374696c6c206c6f6360008201527f6b65640000000000000000000000000000000000000000000000000000000000602082015250565b600061270660238361251c565b9150612711826126aa565b604082019050919050565b60006020820190508181036000830152612735816126f9565b9050919050565b600080fd5b600067ffffffffffffffff82111561275c5761275b611d91565b5b61276582611d80565b9050602081019050919050565b600061278561278084612741565b611df1565b9050828152602081018484840111156127a1576127a061273c565b5b6127ac848285612059565b509392505050565b600082601f8301126127c9576127c8611d7b565b5b81516127d9848260208601612772565b91505092915050565b6000602082840312156127f8576127f7611ce6565b5b600082015167ffffffffffffffff81111561281657612815611ceb565b5b612822848285016127b4565b91505092915050565b60008151905061283a816122c6565b92915050565b60006020828403121561285657612855611ce6565b5b60006128648482850161282b565b91505092915050565b7f696e76616c696420696e64657800000000000000000000000000000000000000600082015250565b60006128a3600d8361251c565b91506128ae8261286d565b602082019050919050565b600060208201905081810360008301526128d281612896565b9050919050565b60006128e482611ca8565b91506128ef83611ca8565b9250828203905081811115612907576129066125bf565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f556e6c6f636b20697320616c72656164792070656e64696e6700000000000000600082015250565b600061297260198361251c565b915061297d8261293c565b602082019050919050565b600060208201905081810360008301526129a181612965565b9050919050565b60006129b382611ca8565b91506129be83611ca8565b92508282019050808211156129d6576129d56125bf565b5b92915050565b7f63616e206e6f742061646420726577617264732069662074686572652061726560008201527f206e6f207374616b657273000000000000000000000000000000000000000000602082015250565b6000612a38602b8361251c565b9150612a43826129dc565b604082019050919050565b60006020820190508181036000830152612a6781612a2b565b9050919050565b6000612a7982611ca8565b9150612a8483611ca8565b9250828202612a9281611ca8565b91508282048414831517612aa957612aa86125bf565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612aea82611ca8565b9150612af583611ca8565b925082612b0557612b04612ab0565b5b828204905092915050565b7f796f75206d757374207761697420756e74696c20796f7520776974686472617760008201527f20796f757220746f6b656e730000000000000000000000000000000000000000602082015250565b6000612b6c602c8361251c565b9150612b7782612b10565b604082019050919050565b60006020820190508181036000830152612b9b81612b5f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612bfe60268361251c565b9150612c0982612ba2565b604082019050919050565b60006020820190508181036000830152612c2d81612bf1565b9050919050565b6000604082019050612c49600083018561231f565b612c56602083018461231f565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c9360208361251c565b9150612c9e82612c5d565b602082019050919050565b60006020820190508181036000830152612cc281612c86565b9050919050565b6000604082019050612cde600083018561231f565b612ceb6020830184611cb2565b9392505050565b612cfb81611f1d565b8114612d0657600080fd5b50565b600081519050612d1881612cf2565b92915050565b600060208284031215612d3457612d33611ce6565b5b6000612d4284828501612d09565b91505092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612d81601f8361251c565b9150612d8c82612d4b565b602082019050919050565b60006020820190508181036000830152612db081612d74565b9050919050565b600081519050919050565b600081905092915050565b6000612dd882612db7565b612de28185612dc2565b9350612df2818560208601612059565b80840191505092915050565b6000612e0a8284612dcd565b915081905092915050565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b6000612e71602d8361251c565b9150612e7c82612e15565b604082019050919050565b60006020820190508181036000830152612ea081612e64565b9050919050565b6000606082019050612ebc600083018661231f565b612ec9602083018561231f565b612ed66040830184611cb2565b949350505050565b7f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008201527f616e7366657246726f6d206661696c6564000000000000000000000000000000602082015250565b6000612f3a60318361251c565b9150612f4582612ede565b604082019050919050565b60006020820190508181036000830152612f6981612f2d565b905091905056fea2646970667358221220b4391e3ee312384c3c762093487e3f2088c518d4b4e9e00a7ee9592675d93ef364736f6c6343000813003300000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f0000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000007000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80639c423950116100de578063c878feac11610097578063f2fde38b11610071578063f2fde38b14610475578063f384fe7614610491578063fc7e286d146104c1578063ffdd5cf1146104f15761018e565b8063c878feac146103f7578063d3b5dc3b14610427578063d4570c1c146104455761018e565b80639c4239501461035d578063a69df4b514610379578063a9fc507b14610383578063b61463da1461039f578063b6b55f25146103bd578063c4f59f9b146103d95761018e565b80636864c06d1161014b5780637bb7bed1116101255780637bb7bed1146102c1578063817b1cd2146102f15780638da5cb5b1461030f5780639bc289f11461032d5761018e565b80636864c06d14610257578063715018a61461028757806371656dc1146102915761018e565b80630d668087146101935780631c03e6cc146101b15780631e2de0d1146101cd5780632bbf532a146101e95780633ccfd60b14610219578063528d4f5b14610223575b600080fd5b61019b610526565b6040516101a89190611cc1565b60405180910390f35b6101cb60048036038101906101c69190611d4e565b61052c565b005b6101e760048036038101906101e29190611ed4565b610672565b005b61020360048036038101906101fe9190611d4e565b6106c0565b6040516102109190611f38565b60405180910390f35b61022161071c565b005b61023d60048036038101906102389190611d4e565b6108b8565b60405161024e959493929190612210565b60405180910390f35b610271600480360381019061026c9190611d4e565b610c62565b60405161027e9190611cc1565b60405180910390f35b61028f610c7a565b005b6102ab60048036038101906102a69190612286565b610c8e565b6040516102b89190611cc1565b60405180910390f35b6102db60048036038101906102d691906122f2565b610cb3565b6040516102e8919061232e565b60405180910390f35b6102f9610cf2565b6040516103069190611cc1565b60405180910390f35b610317610cf8565b604051610324919061232e565b60405180910390f35b61034760048036038101906103429190611d4e565b610d21565b6040516103549190611cc1565b60405180910390f35b61037760048036038101906103729190612383565b610d39565b005b610381610e9e565b005b61039d600480360381019061039891906123b0565b610fb2565b005b6103a76110cd565b6040516103b4919061244f565b60405180910390f35b6103d760048036038101906103d291906122f2565b6110f1565b005b6103e16111f8565b6040516103ee919061246a565b60405180910390f35b610411600480360381019061040c9190611d4e565b611286565b60405161041e9190611f38565b60405180910390f35b61042f6112d1565b60405161043c9190611cc1565b60405180910390f35b61045f600480360381019061045a9190612286565b6112d7565b60405161046c9190611cc1565b60405180910390f35b61048f600480360381019061048a9190611d4e565b611417565b005b6104ab60048036038101906104a69190611d4e565b61149a565b6040516104b89190611cc1565b60405180910390f35b6104db60048036038101906104d69190611d4e565b6114b2565b6040516104e89190611cc1565b60405180910390f35b61050b60048036038101906105069190611d4e565b6114ca565b60405161051d9695949392919061248c565b60405180910390f35b600a5481565b610534611730565b60005b6002805490508161ffff16101561060b578173ffffffffffffffffffffffffffffffffffffffff1660028261ffff1681548110610577576105766124ed565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036105f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ef9061259f565b60405180910390fd5b8080610603906125ee565b915050610537565b506002819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60005b81518161ffff1610156106bc576106a9828261ffff168151811061069c5761069b6124ed565b5b60200260200101516117ae565b80806106b4906125ee565b915050610675565b5050565b60006106cb82611286565b8015610715575042600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b9050919050565b610724611852565b61072d33611286565b61076c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107639061268a565b60405180910390fd5b610775336106c0565b6107b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ab9061271c565b60405180910390fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506108687f00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f33836118a1565b6000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550506108b66119d7565b565b606080606080606060006108ca6111f8565b90506000815167ffffffffffffffff8111156108e9576108e8611d91565b5b6040519080825280602002602001820160405280156109175781602001602082028036833780820191505090505b5090506000825167ffffffffffffffff81111561093757610936611d91565b5b6040519080825280602002602001820160405280156109655781602001602082028036833780820191505090505b5090506000835167ffffffffffffffff81111561098557610984611d91565b5b6040519080825280602002602001820160405280156109b35781602001602082028036833780820191505090505b5090506000845167ffffffffffffffff8111156109d3576109d2611d91565b5b604051908082528060200260200182016040528015610a0657816020015b60608152602001906001900390816109f15790505b50905060005b85518161ffff161015610c44576000868261ffff1681518110610a3257610a316124ed565b5b602002602001015190508073ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610a87573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610ab091906127e2565b838361ffff1681518110610ac757610ac66124ed565b5b60200260200101819052508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b419190612840565b848361ffff1681518110610b5857610b576124ed565b5b602002602001018181525050610b8c878361ffff1681518110610b7e57610b7d6124ed565b5b60200260200101518e6112d7565b858361ffff1681518110610ba357610ba26124ed565b5b60200260200101818152505060086000888461ffff1681518110610bca57610bc96124ed565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054868361ffff1681518110610c2457610c236124ed565b5b602002602001018181525050508080610c3c906125ee565b915050610a0c565b50848183858799509950995099509950505050505091939590929450565b60076020528060005260406000206000915090505481565b610c82611730565b610c8c60006119e0565b565b6006602052816000526040600020602052806000526040600020600091509150505481565b60028181548110610cc357600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60056020528060005260406000206000915090505481565b610d41611730565b8061ffff1660028054905011610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d83906128b9565b60405180910390fd5b600060026001600280549050610da291906128d9565b81548110610db357610db26124ed565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506002805480610df257610df161290d565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590558161ffff166002805490501115610e9a578060028361ffff1681548110610e5157610e506124ed565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b610ea6611852565b610eaf33611286565b15610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690612988565b60405180910390fd5b610eff610efa6111f8565b610672565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460036000828254610f5091906128d9565b92505081905550600a5442610f6591906129a8565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fb06119d7565b565b600060035411610ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fee90612a4e565b60405180910390fd5b61100382333084611aa4565b600354816009546110149190612a6e565b61101e9190612adf565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461106c91906129a8565b9250508190555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c291906129a8565b925050819055505050565b7f00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f81565b6110f9611852565b61110233611286565b15611142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113990612b82565b60405180910390fd5b61116e7f00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f333084611aa4565b61117e6111796111f8565b610672565b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111cd91906129a8565b9250508190555080600360008282546111e691906129a8565b925050819055506111f56119d7565b50565b6060600280548060200260200160405190810160405280929190818152602001828054801561127c57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611232575b5050505050905090565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b60095481565b60006112e282611286565b156112f05760009050611411565b600954600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113ba91906128d9565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114049190612a6e565b61140e9190612adf565b90505b92915050565b61141f611730565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361148e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148590612c14565b60405180910390fd5b611497816119e0565b50565b60086020528060005260406000206000915090505481565b60046020528060005260406000206000915090505481565b600080600080600080600354600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020547f00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f73ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e59190612840565b7f00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f73ffffffffffffffffffffffffffffffffffffffff166370a082318c6040518263ffffffff1660e01b815260040161163e919061232e565b602060405180830381865afa15801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190612840565b7f00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e8d306040518363ffffffff1660e01b81526004016116da929190612c34565b602060405180830381865afa1580156116f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171b9190612840565b95509550955095509550955091939550919395565b611738611bdd565b73ffffffffffffffffffffffffffffffffffffffff16611756610cf8565b73ffffffffffffffffffffffffffffffffffffffff16146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390612ca9565b60405180910390fd5b565b60006117ba82336112d7565b90506117c582611be5565b600081111561184e578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401611809929190612cc9565b6020604051808303816000875af1158015611828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061184c9190612d1e565b505b5050565b600260015403611897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188e90612d97565b60405180910390fd5b6002600181905550565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016118d3929190612cc9565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516119219190612dfe565b6000604051808303816000865af19150503d806000811461195e576040519150601f19603f3d011682016040523d82523d6000602084013e611963565b606091505b5091509150818015611991575060008151148061199057508080602001905181019061198f9190612d1e565b5b5b6119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790612e87565b60405180910390fd5b5050505050565b60018081905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611ad893929190612ea7565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611b269190612dfe565b6000604051808303816000865af19150503d8060008114611b63576040519150601f19603f3d011682016040523d82523d6000602084013e611b68565b606091505b5091509150818015611b965750600081511480611b95575080806020019051810190611b949190612d1e565b5b5b611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc90612f50565b60405180910390fd5b505050505050565b600033905090565b600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000819050919050565b611cbb81611ca8565b82525050565b6000602082019050611cd66000830184611cb2565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d1b82611cf0565b9050919050565b611d2b81611d10565b8114611d3657600080fd5b50565b600081359050611d4881611d22565b92915050565b600060208284031215611d6457611d63611ce6565b5b6000611d7284828501611d39565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611dc982611d80565b810181811067ffffffffffffffff82111715611de857611de7611d91565b5b80604052505050565b6000611dfb611cdc565b9050611e078282611dc0565b919050565b600067ffffffffffffffff821115611e2757611e26611d91565b5b602082029050602081019050919050565b600080fd5b6000611e50611e4b84611e0c565b611df1565b90508083825260208201905060208402830185811115611e7357611e72611e38565b5b835b81811015611e9c5780611e888882611d39565b845260208401935050602081019050611e75565b5050509392505050565b600082601f830112611ebb57611eba611d7b565b5b8135611ecb848260208601611e3d565b91505092915050565b600060208284031215611eea57611ee9611ce6565b5b600082013567ffffffffffffffff811115611f0857611f07611ceb565b5b611f1484828501611ea6565b91505092915050565b60008115159050919050565b611f3281611f1d565b82525050565b6000602082019050611f4d6000830184611f29565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611f8881611d10565b82525050565b6000611f9a8383611f7f565b60208301905092915050565b6000602082019050919050565b6000611fbe82611f53565b611fc88185611f5e565b9350611fd383611f6f565b8060005b83811015612004578151611feb8882611f8e565b9750611ff683611fa6565b925050600181019050611fd7565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561207757808201518184015260208101905061205c565b60008484015250505050565b600061208e8261203d565b6120988185612048565b93506120a8818560208601612059565b6120b181611d80565b840191505092915050565b60006120c88383612083565b905092915050565b6000602082019050919050565b60006120e882612011565b6120f2818561201c565b9350836020820285016121048561202d565b8060005b85811015612140578484038952815161212185826120bc565b945061212c836120d0565b925060208a01995050600181019050612108565b50829750879550505050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61218781611ca8565b82525050565b6000612199838361217e565b60208301905092915050565b6000602082019050919050565b60006121bd82612152565b6121c7818561215d565b93506121d28361216e565b8060005b838110156122035781516121ea888261218d565b97506121f5836121a5565b9250506001810190506121d6565b5085935050505092915050565b600060a082019050818103600083015261222a8188611fb3565b9050818103602083015261223e81876120dd565b9050818103604083015261225281866121b2565b9050818103606083015261226681856121b2565b9050818103608083015261227a81846121b2565b90509695505050505050565b6000806040838503121561229d5761229c611ce6565b5b60006122ab85828601611d39565b92505060206122bc85828601611d39565b9150509250929050565b6122cf81611ca8565b81146122da57600080fd5b50565b6000813590506122ec816122c6565b92915050565b60006020828403121561230857612307611ce6565b5b6000612316848285016122dd565b91505092915050565b61232881611d10565b82525050565b6000602082019050612343600083018461231f565b92915050565b600061ffff82169050919050565b61236081612349565b811461236b57600080fd5b50565b60008135905061237d81612357565b92915050565b60006020828403121561239957612398611ce6565b5b60006123a78482850161236e565b91505092915050565b600080604083850312156123c7576123c6611ce6565b5b60006123d585828601611d39565b92505060206123e6858286016122dd565b9150509250929050565b6000819050919050565b600061241561241061240b84611cf0565b6123f0565b611cf0565b9050919050565b6000612427826123fa565b9050919050565b60006124398261241c565b9050919050565b6124498161242e565b82525050565b60006020820190506124646000830184612440565b92915050565b600060208201905081810360008301526124848184611fb3565b905092915050565b600060c0820190506124a16000830189611cb2565b6124ae6020830188611cb2565b6124bb6040830187611cb2565b6124c86060830186611cb2565b6124d56080830185611cb2565b6124e260a0830184611cb2565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082825260208201905092915050565b7f7468697320746f6b656e20697320616c7265616479206120726577617264207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b600061258960248361251c565b91506125948261252d565b604082019050919050565b600060208201905081810360008301526125b88161257c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006125f982612349565b915061ffff820361260d5761260c6125bf565b5b600182019050919050565b7f796f75206d75737420756e6c6f636b20796f7572207374616b656420746f6b6560008201527f6e73206669727374000000000000000000000000000000000000000000000000602082015250565b600061267460288361251c565b915061267f82612618565b604082019050919050565b600060208201905081810360008301526126a381612667565b9050919050565b7f796f7572207374616b656420746f6b656e7320617265207374696c6c206c6f6360008201527f6b65640000000000000000000000000000000000000000000000000000000000602082015250565b600061270660238361251c565b9150612711826126aa565b604082019050919050565b60006020820190508181036000830152612735816126f9565b9050919050565b600080fd5b600067ffffffffffffffff82111561275c5761275b611d91565b5b61276582611d80565b9050602081019050919050565b600061278561278084612741565b611df1565b9050828152602081018484840111156127a1576127a061273c565b5b6127ac848285612059565b509392505050565b600082601f8301126127c9576127c8611d7b565b5b81516127d9848260208601612772565b91505092915050565b6000602082840312156127f8576127f7611ce6565b5b600082015167ffffffffffffffff81111561281657612815611ceb565b5b612822848285016127b4565b91505092915050565b60008151905061283a816122c6565b92915050565b60006020828403121561285657612855611ce6565b5b60006128648482850161282b565b91505092915050565b7f696e76616c696420696e64657800000000000000000000000000000000000000600082015250565b60006128a3600d8361251c565b91506128ae8261286d565b602082019050919050565b600060208201905081810360008301526128d281612896565b9050919050565b60006128e482611ca8565b91506128ef83611ca8565b9250828203905081811115612907576129066125bf565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f556e6c6f636b20697320616c72656164792070656e64696e6700000000000000600082015250565b600061297260198361251c565b915061297d8261293c565b602082019050919050565b600060208201905081810360008301526129a181612965565b9050919050565b60006129b382611ca8565b91506129be83611ca8565b92508282019050808211156129d6576129d56125bf565b5b92915050565b7f63616e206e6f742061646420726577617264732069662074686572652061726560008201527f206e6f207374616b657273000000000000000000000000000000000000000000602082015250565b6000612a38602b8361251c565b9150612a43826129dc565b604082019050919050565b60006020820190508181036000830152612a6781612a2b565b9050919050565b6000612a7982611ca8565b9150612a8483611ca8565b9250828202612a9281611ca8565b91508282048414831517612aa957612aa86125bf565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612aea82611ca8565b9150612af583611ca8565b925082612b0557612b04612ab0565b5b828204905092915050565b7f796f75206d757374207761697420756e74696c20796f7520776974686472617760008201527f20796f757220746f6b656e730000000000000000000000000000000000000000602082015250565b6000612b6c602c8361251c565b9150612b7782612b10565b604082019050919050565b60006020820190508181036000830152612b9b81612b5f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612bfe60268361251c565b9150612c0982612ba2565b604082019050919050565b60006020820190508181036000830152612c2d81612bf1565b9050919050565b6000604082019050612c49600083018561231f565b612c56602083018461231f565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c9360208361251c565b9150612c9e82612c5d565b602082019050919050565b60006020820190508181036000830152612cc281612c86565b9050919050565b6000604082019050612cde600083018561231f565b612ceb6020830184611cb2565b9392505050565b612cfb81611f1d565b8114612d0657600080fd5b50565b600081519050612d1881612cf2565b92915050565b600060208284031215612d3457612d33611ce6565b5b6000612d4284828501612d09565b91505092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612d81601f8361251c565b9150612d8c82612d4b565b602082019050919050565b60006020820190508181036000830152612db081612d74565b9050919050565b600081519050919050565b600081905092915050565b6000612dd882612db7565b612de28185612dc2565b9350612df2818560208601612059565b80840191505092915050565b6000612e0a8284612dcd565b915081905092915050565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b6000612e71602d8361251c565b9150612e7c82612e15565b604082019050919050565b60006020820190508181036000830152612ea081612e64565b9050919050565b6000606082019050612ebc600083018661231f565b612ec9602083018561231f565b612ed66040830184611cb2565b949350505050565b7f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008201527f616e7366657246726f6d206661696c6564000000000000000000000000000000602082015250565b6000612f3a60318361251c565b9150612f4582612ede565b604082019050919050565b60006020820190508181036000830152612f6981612f2d565b905091905056fea2646970667358221220b4391e3ee312384c3c762093487e3f2088c518d4b4e9e00a7ee9592675d93ef364736f6c63430008130033

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

00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f0000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000007000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f

-----Decoded View---------------
Arg [0] : _stakeable (address): 0x38A94e92A19E970c144DEd0B2DD47278CA11CC1F
Arg [1] : _lockTime (uint256): 2592000
Arg [2] : _rewardTokens (address[]): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0x6B175474E89094C44Da98b954EedeAC495271d0F,0xdAC17F958D2ee523a2206206994597C13D831ec7,0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE,0x38A94e92A19E970c144DEd0B2DD47278CA11CC1F

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000278d00
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [5] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [6] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [7] : 0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
Arg [8] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [9] : 00000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce
Arg [10] : 00000000000000000000000038a94e92a19e970c144ded0b2dd47278ca11cc1f


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.