ETH Price: $3,429.46 (+3.28%)

Contract

0x3c13813bCaCB0351ec84b5E1cc43943401B5F50a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit135298772021-11-01 7:23:551118 days ago1635751435IN
0x3c13813b...401B5F50a
0 ETH0.01204182106.09535567
Exit131634092021-09-05 3:50:541175 days ago1630813854IN
0x3c13813b...401B5F50a
0 ETH0.0107325683.40896506
Exit130232022021-08-14 12:08:481197 days ago1628942928IN
0x3c13813b...401B5F50a
0 ETH0.0036933437
Exit129839572021-08-08 10:45:061203 days ago1628419506IN
0x3c13813b...401B5F50a
0 ETH0.0036980528.73968727
Exit129504902021-08-03 5:33:321208 days ago1627968812IN
0x3c13813b...401B5F50a
0 ETH0.0063719747.00000145
Exit129240602021-07-30 1:11:291212 days ago1627607489IN
0x3c13813b...401B5F50a
0 ETH0.0029398429
Exit128994382021-07-26 3:25:321216 days ago1627269932IN
0x3c13813b...401B5F50a
0 ETH0.0029398429
Exit128837332021-07-23 16:41:321219 days ago1627058492IN
0x3c13813b...401B5F50a
0 ETH0.0041465935
Exit128621772021-07-20 7:52:431222 days ago1626767563IN
0x3c13813b...401B5F50a
0 ETH0.0030412230
Exit128565672021-07-19 10:48:191223 days ago1626691699IN
0x3c13813b...401B5F50a
0 ETH0.0015401613
Exit128511712021-07-18 14:37:501224 days ago1626619070IN
0x3c13813b...401B5F50a
0 ETH0.0031987927
Exit128314222021-07-15 11:55:561227 days ago1626350156IN
0x3c13813b...401B5F50a
0 ETH0.0030412230.00000145
Exit128180372021-07-13 9:37:281229 days ago1626169048IN
0x3c13813b...401B5F50a
0 ETH0.0018955816
Exit128101022021-07-12 3:42:521230 days ago1626061372IN
0x3c13813b...401B5F50a
0 ETH0.0023694820
Exit128073022021-07-11 17:14:011231 days ago1626023641IN
0x3c13813b...401B5F50a
0 ETH0.0021691816
Exit128031532021-07-11 1:39:411231 days ago1625967581IN
0x3c13813b...401B5F50a
0 ETH0.0011847410
Exit127949892021-07-09 19:20:381233 days ago1625858438IN
0x3c13813b...401B5F50a
0 ETH0.002331623
Exit127821612021-07-07 19:21:011235 days ago1625685661IN
0x3c13813b...401B5F50a
0 ETH0.0030412230
Get Reward127799352021-07-07 11:08:401235 days ago1625656120IN
0x3c13813b...401B5F50a
0 ETH0.0020313624
Get Reward127779612021-07-07 3:36:161235 days ago1625628976IN
0x3c13813b...401B5F50a
0 ETH0.002363935
Get Reward127627472021-07-04 18:52:331238 days ago1625424753IN
0x3c13813b...401B5F50a
0 ETH0.0006299412
Withdraw127627312021-07-04 18:48:291238 days ago1625424509IN
0x3c13813b...401B5F50a
0 ETH0.0010561111
Get Reward127456142021-07-02 2:51:041240 days ago1625194264IN
0x3c13813b...401B5F50a
0 ETH0.000473457.01
Get Reward127371772021-06-30 19:08:081242 days ago1625080088IN
0x3c13813b...401B5F50a
0 ETH0.0024545629
Get Reward127369802021-06-30 18:26:581242 days ago1625077618IN
0x3c13813b...401B5F50a
0 ETH0.0021612832
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:
StakingRewards

Compiler Version
v0.7.3+commit.9bfce1f6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 11: StakingRewards.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.3;

import "./Ownable.sol";
import "./Math.sol";
import "./ERC20.sol";
import "./SafeERC20.sol";
import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
import "./Pausable.sol";

// https://docs.synthetix.io/contracts/source/contracts/stakingrewards
contract StakingRewards is ReentrancyGuard, Pausable, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== STATE VARIABLES ========== */

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 30 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    /* ========== CONSTRUCTOR ========== */

    constructor(
        address _owner,
        address _rewardsToken,
        address _stakingToken
    ) {
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);

        transferOwnership(_owner);
    }

    /* ========== VIEWS ========== */

    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply)
            );
    }

    function earned(address account) public view returns (uint256) {
        return
            _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(
                rewards[account]
            );
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function stake(uint256 amount) external nonReentrant whenNotPaused updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function getReward() public nonReentrant updateReward(msg.sender) {
        uint256 reward = rewards[msg.sender];
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rewardsToken.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function exit() external {
        withdraw(_balances[msg.sender]);
        getReward();
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    function notifyRewardAmount(uint256 reward) external onlyOwner updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint256 balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
    function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        require(tokenAddress != address(stakingToken), "Cannot withdraw the staking token");
        IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the duration for the new period"
        );
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }

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

    /* ========== MODIFIERS ========== */

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    /* ========== EVENTS ========== */

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

File 2 of 11: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 3 of 11: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 11: ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 5 of 11: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

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

File 6 of 11: Math.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 7 of 11: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 8 of 11: Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./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 () internal {
        _paused = false;
    }

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

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

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

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

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

File 9 of 11: ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        _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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 10 of 11: SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 11 of 11: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"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":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","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":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_p","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600455600060055562278d006006553480156200002257600080fd5b5060405162001af738038062001af7833981810160405260608110156200004857600080fd5b508051602082015160409092015160016000818155815460ff191690915591929162000073620000fc565b60018054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519192509060009060008051602062001ad7833981519152908290a350600280546001600160a01b038085166001600160a01b0319928316179092556003805492841692909116919091179055620000f38362000100565b5050506200022a565b3390565b6200010a620000fc565b6001600160a01b03166200011d62000216565b6001600160a01b03161462000179576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620001c05760405162461bcd60e51b815260040180806020018281038252602681526020018062001ab16026913960400191505060405180910390fd5b6001546040516001600160a01b03808416926101009004169060008051602062001ad783398151915290600090a3600180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60015461010090046001600160a01b031690565b611877806200023a6000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80637b0a47ee116100f9578063cc1a378f11610097578063df136d6511610071578063df136d65146103b0578063e9fad8ee146103b8578063ebe2b12b146103c0578063f2fde38b146103c8576101a8565b8063cc1a378f14610383578063cd3daf9d146103a0578063d1af0c7d146103a8576101a8565b80638b876347116100d35780638b876347146103305780638da5cb5b14610356578063a694fc3a1461035e578063c8f33c911461037b576101a8565b80637b0a47ee146102f457806380faa57d146102fc5780638980f11f14610304576101a8565b8063386a9525116101665780635c975abb116101405780635c975abb1461028657806370a08231146102a2578063715018a6146102c857806372f702f3146102d0576101a8565b8063386a9525146102595780633c6b16ab146102615780633d18b9121461027e576101a8565b80628cc262146101ad5780630700037d146101e557806316c38b3c1461020b57806318160ddd1461022c5780631c1f78eb146102345780632e1a7d4d1461023c575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b03166103ee565b60408051918252519081900360200190f35b6101d3600480360360208110156101fb57600080fd5b50356001600160a01b031661046c565b61022a6004803603602081101561022157600080fd5b5035151561047e565b005b6101d36104fe565b6101d3610505565b61022a6004803603602081101561025257600080fd5b5035610523565b6101d36106b9565b61022a6004803603602081101561027757600080fd5b50356106bf565b61022a61090b565b61028e610a42565b604080519115158252519081900360200190f35b6101d3600480360360208110156102b857600080fd5b50356001600160a01b0316610a4b565b61022a610a66565b6102d8610b18565b604080516001600160a01b039092168252519081900360200190f35b6101d3610b27565b6101d3610b2d565b61022a6004803603604081101561031a57600080fd5b506001600160a01b038135169060200135610b3b565b6101d36004803603602081101561034657600080fd5b50356001600160a01b0316610c4e565b6102d8610c60565b61022a6004803603602081101561037457600080fd5b5035610c74565b6101d3610e55565b61022a6004803603602081101561039957600080fd5b5035610e5b565b6101d3610f38565b6102d8610f86565b6101d3610f95565b61022a610f9b565b6101d3610fbe565b61022a600480360360208110156103de57600080fd5b50356001600160a01b0316610fc4565b6001600160a01b0381166000908152600a60209081526040808320546009909252822054610466919061046090670de0b6b3a76400009061045a9061043b90610435610f38565b906110d2565b6001600160a01b0388166000908152600c60205260409020549061112f565b9061118f565b906111f6565b92915050565b600a6020526000908152604090205481565b610486611250565b6001600160a01b0316610497610c60565b6001600160a01b0316146104e0576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b80156104f3576104ee611254565b6104fb565b6104fb6112f3565b50565b600b545b90565b600061051e60065460055461112f90919063ffffffff16565b905090565b6002600054141561057b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610589610f38565b600855610594610b2d565b6007556001600160a01b038116156105db576105af816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211610624576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b600b5461063190836110d2565b600b55336000908152600c602052604090205461064e90836110d2565b336000818152600c602052604090209190915560035461067a916001600160a01b039091169084611376565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b60065481565b6106c7611250565b6001600160a01b03166106d8610c60565b6001600160a01b031614610721576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b600061072b610f38565b600855610736610b2d565b6007556001600160a01b0381161561077d57610751816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600454421061079c5760065461079490839061118f565b6005556107df565b6004546000906107ac90426110d2565b905060006107c56005548361112f90919063ffffffff16565b6006549091506107d99061045a86846111f6565b60055550505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561082a57600080fd5b505afa15801561083e573d6000803e3d6000fd5b505050506040513d602081101561085457600080fd5b505160065490915061086790829061118f565b60055411156108bd576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b4260078190556006546108d091906111f6565b6004556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60026000541415610963576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610971610f38565b60085561097c610b2d565b6007556001600160a01b038116156109c357610997816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b336000908152600a60205260409020548015610a3957336000818152600a6020526040812055600254610a02916001600160a01b039091169083611376565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001600055565b60015460ff1690565b6001600160a01b03166000908152600c602052604090205490565b610a6e611250565b6001600160a01b0316610a7f610c60565b6001600160a01b031614610ac8576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b60015460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360018054610100600160a81b0319169055565b6003546001600160a01b031681565b60055481565b600061051e426004546113cd565b610b43611250565b6001600160a01b0316610b54610c60565b6001600160a01b031614610b9d576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b6003546001600160a01b0383811691161415610bea5760405162461bcd60e51b81526004018080602001828103825260218152602001806118216021913960400191505060405180910390fd5b610c06610bf5610c60565b6001600160a01b0384169083611376565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b60096020526000908152604090205481565b60015461010090046001600160a01b031690565b60026000541415610ccc576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055610cd9610a42565b15610d1e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b33610d27610f38565b600855610d32610b2d565b6007556001600160a01b03811615610d7957610d4d816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211610dbf576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b600b54610dcc90836111f6565b600b55336000908152600c6020526040902054610de990836111f6565b336000818152600c6020526040902091909155600354610e16916001600160a01b039091169030856113e3565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001600055565b60075481565b610e63611250565b6001600160a01b0316610e74610c60565b6001600160a01b031614610ebd576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b6004544211610efd5760405162461bcd60e51b81526004018080602001828103825260588152602001806117126058913960600191505060405180910390fd5b60068190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600b5460001415610f4e5750600854610502565b61051e610f7d600b5461045a670de0b6b3a7640000610f77600554610f77600754610435610b2d565b9061112f565b600854906111f6565b6002546001600160a01b031681565b60085481565b336000908152600c6020526040902054610fb490610523565b610fbc61090b565b565b60045481565b610fcc611250565b6001600160a01b0316610fdd610c60565b6001600160a01b031614611026576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b6001600160a01b03811661106b5760405162461bcd60e51b815260040180806020018281038252602681526020018061176a6026913960400191505060405180910390fd5b6001546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600082821115611129576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261113e57506000610466565b8282028284828161114b57fe5b04146111885760405162461bcd60e51b81526004018080602001828103825260218152602001806117b66021913960400191505060405180910390fd5b9392505050565b60008082116111e5576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816111ee57fe5b049392505050565b600082820183811015611188576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b61125c610a42565b156112a1576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112d6611250565b604080516001600160a01b039092168252519081900360200190a1565b6112fb610a42565b611343576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6112d6611250565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113c8908490611443565b505050565b60008183106113dc5781611188565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261143d908590611443565b50505050565b6060611498826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114f49092919063ffffffff16565b8051909150156113c8578080602001905160208110156114b757600080fd5b50516113c85760405162461bcd60e51b815260040180806020018281038252602a8152602001806117f7602a913960400191505060405180910390fd5b6060611503848460008561150b565b949350505050565b60608247101561154c5760405162461bcd60e51b81526004018080602001828103825260268152602001806117906026913960400191505060405180910390fd5b61155585611667565b6115a6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106115e55780518252601f1990920191602091820191016115c6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611647576040519150601f19603f3d011682016040523d82523d6000602084013e61164c565b606091505b509150915061165c82828661166d565b979650505050505050565b3b151590565b6060831561167c575081611188565b82511561168c5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116d65781810151838201526020016116be565b50505050905090810190601f1680156117035780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea2646970667358221220a5be3ae2e931771d7e59718d9855fb89200d551519ec00a80973aac977448df964736f6c634300070300334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000000000000000000007301c46be73bb04847576b6af107172bf5e8388e00000000000000000000000044564d0bd94343f72e3c8a0d22308b7fa71db0bb00000000000000000000000002d463574ce1e45d9f6258518d3ff7667c78383d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80637b0a47ee116100f9578063cc1a378f11610097578063df136d6511610071578063df136d65146103b0578063e9fad8ee146103b8578063ebe2b12b146103c0578063f2fde38b146103c8576101a8565b8063cc1a378f14610383578063cd3daf9d146103a0578063d1af0c7d146103a8576101a8565b80638b876347116100d35780638b876347146103305780638da5cb5b14610356578063a694fc3a1461035e578063c8f33c911461037b576101a8565b80637b0a47ee146102f457806380faa57d146102fc5780638980f11f14610304576101a8565b8063386a9525116101665780635c975abb116101405780635c975abb1461028657806370a08231146102a2578063715018a6146102c857806372f702f3146102d0576101a8565b8063386a9525146102595780633c6b16ab146102615780633d18b9121461027e576101a8565b80628cc262146101ad5780630700037d146101e557806316c38b3c1461020b57806318160ddd1461022c5780631c1f78eb146102345780632e1a7d4d1461023c575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b03166103ee565b60408051918252519081900360200190f35b6101d3600480360360208110156101fb57600080fd5b50356001600160a01b031661046c565b61022a6004803603602081101561022157600080fd5b5035151561047e565b005b6101d36104fe565b6101d3610505565b61022a6004803603602081101561025257600080fd5b5035610523565b6101d36106b9565b61022a6004803603602081101561027757600080fd5b50356106bf565b61022a61090b565b61028e610a42565b604080519115158252519081900360200190f35b6101d3600480360360208110156102b857600080fd5b50356001600160a01b0316610a4b565b61022a610a66565b6102d8610b18565b604080516001600160a01b039092168252519081900360200190f35b6101d3610b27565b6101d3610b2d565b61022a6004803603604081101561031a57600080fd5b506001600160a01b038135169060200135610b3b565b6101d36004803603602081101561034657600080fd5b50356001600160a01b0316610c4e565b6102d8610c60565b61022a6004803603602081101561037457600080fd5b5035610c74565b6101d3610e55565b61022a6004803603602081101561039957600080fd5b5035610e5b565b6101d3610f38565b6102d8610f86565b6101d3610f95565b61022a610f9b565b6101d3610fbe565b61022a600480360360208110156103de57600080fd5b50356001600160a01b0316610fc4565b6001600160a01b0381166000908152600a60209081526040808320546009909252822054610466919061046090670de0b6b3a76400009061045a9061043b90610435610f38565b906110d2565b6001600160a01b0388166000908152600c60205260409020549061112f565b9061118f565b906111f6565b92915050565b600a6020526000908152604090205481565b610486611250565b6001600160a01b0316610497610c60565b6001600160a01b0316146104e0576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b80156104f3576104ee611254565b6104fb565b6104fb6112f3565b50565b600b545b90565b600061051e60065460055461112f90919063ffffffff16565b905090565b6002600054141561057b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610589610f38565b600855610594610b2d565b6007556001600160a01b038116156105db576105af816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211610624576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b600b5461063190836110d2565b600b55336000908152600c602052604090205461064e90836110d2565b336000818152600c602052604090209190915560035461067a916001600160a01b039091169084611376565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b60065481565b6106c7611250565b6001600160a01b03166106d8610c60565b6001600160a01b031614610721576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b600061072b610f38565b600855610736610b2d565b6007556001600160a01b0381161561077d57610751816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600454421061079c5760065461079490839061118f565b6005556107df565b6004546000906107ac90426110d2565b905060006107c56005548361112f90919063ffffffff16565b6006549091506107d99061045a86846111f6565b60055550505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561082a57600080fd5b505afa15801561083e573d6000803e3d6000fd5b505050506040513d602081101561085457600080fd5b505160065490915061086790829061118f565b60055411156108bd576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b4260078190556006546108d091906111f6565b6004556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60026000541415610963576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610971610f38565b60085561097c610b2d565b6007556001600160a01b038116156109c357610997816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b336000908152600a60205260409020548015610a3957336000818152600a6020526040812055600254610a02916001600160a01b039091169083611376565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001600055565b60015460ff1690565b6001600160a01b03166000908152600c602052604090205490565b610a6e611250565b6001600160a01b0316610a7f610c60565b6001600160a01b031614610ac8576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b60015460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360018054610100600160a81b0319169055565b6003546001600160a01b031681565b60055481565b600061051e426004546113cd565b610b43611250565b6001600160a01b0316610b54610c60565b6001600160a01b031614610b9d576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b6003546001600160a01b0383811691161415610bea5760405162461bcd60e51b81526004018080602001828103825260218152602001806118216021913960400191505060405180910390fd5b610c06610bf5610c60565b6001600160a01b0384169083611376565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b60096020526000908152604090205481565b60015461010090046001600160a01b031690565b60026000541415610ccc576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055610cd9610a42565b15610d1e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b33610d27610f38565b600855610d32610b2d565b6007556001600160a01b03811615610d7957610d4d816103ee565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211610dbf576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b600b54610dcc90836111f6565b600b55336000908152600c6020526040902054610de990836111f6565b336000818152600c6020526040902091909155600354610e16916001600160a01b039091169030856113e3565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001600055565b60075481565b610e63611250565b6001600160a01b0316610e74610c60565b6001600160a01b031614610ebd576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b6004544211610efd5760405162461bcd60e51b81526004018080602001828103825260588152602001806117126058913960600191505060405180910390fd5b60068190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600b5460001415610f4e5750600854610502565b61051e610f7d600b5461045a670de0b6b3a7640000610f77600554610f77600754610435610b2d565b9061112f565b600854906111f6565b6002546001600160a01b031681565b60085481565b336000908152600c6020526040902054610fb490610523565b610fbc61090b565b565b60045481565b610fcc611250565b6001600160a01b0316610fdd610c60565b6001600160a01b031614611026576040805162461bcd60e51b815260206004820181905260248201526000805160206117d7833981519152604482015290519081900360640190fd5b6001600160a01b03811661106b5760405162461bcd60e51b815260040180806020018281038252602681526020018061176a6026913960400191505060405180910390fd5b6001546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600082821115611129576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261113e57506000610466565b8282028284828161114b57fe5b04146111885760405162461bcd60e51b81526004018080602001828103825260218152602001806117b66021913960400191505060405180910390fd5b9392505050565b60008082116111e5576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816111ee57fe5b049392505050565b600082820183811015611188576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b61125c610a42565b156112a1576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112d6611250565b604080516001600160a01b039092168252519081900360200190a1565b6112fb610a42565b611343576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6112d6611250565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526113c8908490611443565b505050565b60008183106113dc5781611188565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261143d908590611443565b50505050565b6060611498826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114f49092919063ffffffff16565b8051909150156113c8578080602001905160208110156114b757600080fd5b50516113c85760405162461bcd60e51b815260040180806020018281038252602a8152602001806117f7602a913960400191505060405180910390fd5b6060611503848460008561150b565b949350505050565b60608247101561154c5760405162461bcd60e51b81526004018080602001828103825260268152602001806117906026913960400191505060405180910390fd5b61155585611667565b6115a6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106115e55780518252601f1990920191602091820191016115c6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611647576040519150601f19603f3d011682016040523d82523d6000602084013e61164c565b606091505b509150915061165c82828661166d565b979650505050505050565b3b151590565b6060831561167c575081611188565b82511561168c5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116d65781810151838201526020016116be565b50505050905090810190601f1680156117035780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea2646970667358221220a5be3ae2e931771d7e59718d9855fb89200d551519ec00a80973aac977448df964736f6c63430007030033

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

0000000000000000000000007301c46be73bb04847576b6af107172bf5e8388e00000000000000000000000044564d0bd94343f72e3c8a0d22308b7fa71db0bb00000000000000000000000002d463574ce1e45d9f6258518d3ff7667c78383d

-----Decoded View---------------
Arg [0] : _owner (address): 0x7301C46be73bB04847576b6Af107172bF5e8388e
Arg [1] : _rewardsToken (address): 0x44564d0bd94343f72E3C8a0D22308B7Fa71DB0Bb
Arg [2] : _stakingToken (address): 0x02D463574ce1E45D9F6258518d3ff7667c78383d

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007301c46be73bb04847576b6af107172bf5e8388e
Arg [1] : 00000000000000000000000044564d0bd94343f72e3c8a0d22308b7fa71db0bb
Arg [2] : 00000000000000000000000002d463574ce1e45d9f6258518d3ff7667c78383d


Deployed Bytecode Sourcemap

305:5975:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1949:238;;;;;;;;;;;;;;;;-1:-1:-1;1949:238:10;-1:-1:-1;;;;;1949:238:10;;:::i;:::-;;;;;;;;;;;;;;;;809:42;;;;;;;;;;;;;;;;-1:-1:-1;809:42:10;-1:-1:-1;;;;;809:42:10;;:::i;5400:145::-;;;;;;;;;;;;;;;;-1:-1:-1;5400:145:10;;;;:::i;:::-;;1273:91;;;:::i;2193:119::-;;;:::i;2753:351::-;;;;;;;;;;;;;;;;-1:-1:-1;2753:351:10;;:::i;623:40::-;;;:::i;3570:1053::-;;;;;;;;;;;;;;;;-1:-1:-1;3570:1053:10;;:::i;3110:300::-;;;:::i;1052:84:6:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;1370:110:10;;;;;;;;;;;;;;;;-1:-1:-1;1370:110:10;-1:-1:-1;;;;;1370:110:10;;:::i;1710:145:5:-;;;:::i;519:26:10:-;;;:::i;:::-;;;;-1:-1:-1;;;;;519:26:10;;;;;;;;;;;;;;588:29;;;:::i;1486:129::-;;;:::i;4735:300::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4735:300:10;;;;;;;;:::i;746:57::-;;;;;;;;;;;;;;;;-1:-1:-1;746:57:10;-1:-1:-1;;;;;746:57:10;;:::i;1078:85:5:-;;;:::i;2370:377:10:-;;;;;;;;;;;;;;;;-1:-1:-1;2370:377:10;;:::i;669:29::-;;;:::i;5041:353::-;;;;;;;;;;;;;;;;-1:-1:-1;5041:353:10;;:::i;1621:322::-;;;:::i;487:26::-;;;:::i;704:35::-;;;:::i;3416:94::-;;;:::i;551:31::-;;;:::i;2004:240:5:-;;;;;;;;;;;;;;;;-1:-1:-1;2004:240:5;-1:-1:-1;;;;;2004:240:5;;:::i;1949:238:10:-;-1:-1:-1;;;;;2150:16:10;;2003:7;2150:16;;;:7;:16;;;;;;;;;2085:22;:31;;;;;;2041:139;;2150:16;2041:87;;2123:4;;2041:77;;2064:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;-1:-1:-1;;;;;2041:18:10;;;;;;:9;:18;;;;;;;:22;:77::i;:::-;:81;;:87::i;:::-;:91;;:139::i;:::-;2022:158;1949:238;-1:-1:-1;;1949:238:10:o;809:42::-;;;;;;;;;;;;;:::o;5400:145::-;1301:12:5;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:5;;1282:68;;;;;-1:-1:-1;;;1282:68:5;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:5;;;;;;;;;;;;;;;5461:2:10::1;5457:82;;;5479:8;:6;:8::i;:::-;5457:82;;;5518:10;:8;:10::i;:::-;5400:145:::0;:::o;1273:91::-;1345:12;;1273:91;;:::o;2193:119::-;2248:7;2274:31;2289:15;;2274:10;;:14;;:31;;;;:::i;:::-;2267:38;;2193:119;:::o;2753:351::-;1688:1:7;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;2820:10:10::1;5666:16;:14;:16::i;:::-;5643:20;:39:::0;5709:26:::1;:24;:26::i;:::-;5692:14;:43:::0;-1:-1:-1;;;;;5749:21:10;::::1;::::0;5745:154:::1;;5805:15;5812:7;5805:6;:15::i;:::-;-1:-1:-1::0;;;;;5786:16:10;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;5868:20:::1;::::0;5834:22:::1;:31:::0;;;;;;:54;5745:154:::1;2859:1:::2;2850:6;:10;2842:40;;;::::0;;-1:-1:-1;;;2842:40:10;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;2842:40:10;;;;;;;;;;;;;::::2;;2907:12;::::0;:24:::2;::::0;2924:6;2907:16:::2;:24::i;:::-;2892:12;:39:::0;2975:10:::2;2965:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;2991:6;2965:25:::2;:33::i;:::-;2951:10;2941:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;3008:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;3008:12:10;;::::2;::::0;3046:6;3008:25:::2;:45::i;:::-;3068:29;::::0;;;;;;;3078:10:::2;::::0;3068:29:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;1645:1:7;2580:7;:22;2753:351:10:o;623:40::-;;;;:::o;3570:1053::-;1301:12:5;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:5;;1282:68;;;;;-1:-1:-1;;;1282:68:5;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:5;;;;;;;;;;;;;;;3654:1:10::1;5666:16;:14;:16::i;:::-;5643:20;:39:::0;5709:26:::1;:24;:26::i;:::-;5692:14;:43:::0;-1:-1:-1;;;;;5749:21:10;::::1;::::0;5745:154:::1;;5805:15;5812:7;5805:6;:15::i;:::-;-1:-1:-1::0;;;;;5786:16:10;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;5868:20:::1;::::0;5834:22:::1;:31:::0;;;;;;:54;5745:154:::1;3691:12:::2;;3672:15;:31;3668:312;;3743:15;::::0;3732:27:::2;::::0;:6;;:10:::2;:27::i;:::-;3719:10;:40:::0;3668:312:::2;;;3810:12;::::0;3790:17:::2;::::0;3810:33:::2;::::0;3827:15:::2;3810:16;:33::i;:::-;3790:53;;3857:16;3876:25;3890:10;;3876:9;:13;;:25;;;;:::i;:::-;3953:15;::::0;3857:44;;-1:-1:-1;3928:41:10::2;::::0;:20:::2;:6:::0;3857:44;3928:10:::2;:20::i;:41::-;3915:10;:54:::0;-1:-1:-1;;3668:312:10::2;4352:12;::::0;:37:::2;::::0;;-1:-1:-1;;;4352:37:10;;4383:4:::2;4352:37;::::0;::::2;::::0;;;4334:15:::2;::::0;-1:-1:-1;;;;;4352:12:10::2;::::0;:22:::2;::::0;:37;;;;;::::2;::::0;;;;;;;;:12;:37;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;4352:37:10;4433:15:::2;::::0;4352:37;;-1:-1:-1;4421:28:10::2;::::0;4352:37;;4421:11:::2;:28::i;:::-;4407:10;;:42;;4399:79;;;::::0;;-1:-1:-1;;;4399:79:10;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;4506:15;4489:14;:32:::0;;;4566:15:::2;::::0;4546:36:::2;::::0;4506:15;4546:19:::2;:36::i;:::-;4531:12;:51:::0;4597:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;5908:1;1360::5::1;3570:1053:10::0;:::o;3110:300::-;1688:1:7;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;3164:10:10::1;5666:16;:14;:16::i;:::-;5643:20;:39:::0;5709:26:::1;:24;:26::i;:::-;5692:14;:43:::0;-1:-1:-1;;;;;5749:21:10;::::1;::::0;5745:154:::1;;5805:15;5812:7;5805:6;:15::i;:::-;-1:-1:-1::0;;;;;5786:16:10;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;5868:20:::1;::::0;5834:22:::1;:31:::0;;;;;;:54;5745:154:::1;3211:10:::2;3186:14;3203:19:::0;;;:7:::2;:19;::::0;;;;;3236:10;;3232:172:::2;;3270:10;3284:1;3262:19:::0;;;:7:::2;:19;::::0;;;;:23;3299:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;3299:12:10;;::::2;::::0;3337:6;3299:25:::2;:45::i;:::-;3363:30;::::0;;;;;;;3374:10:::2;::::0;3363:30:::2;::::0;;;;;::::2;::::0;;::::2;3232:172;-1:-1:-1::0;;1645:1:7;2580:7;:22;3110:300:10:o;1052:84:6:-;1122:7;;;;1052:84;:::o;1370:110:10:-;-1:-1:-1;;;;;1455:18:10;1429:7;1455:18;;;:9;:18;;;;;;;1370:110::o;1710:145:5:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:5;;1282:68;;;;;-1:-1:-1;;;1282:68:5;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:5;;;;;;;;;;;;;;;1800:6:::1;::::0;1779:40:::1;::::0;1816:1:::1;::::0;1800:6:::1;::::0;::::1;-1:-1:-1::0;;;;;1800:6:5::1;::::0;1779:40:::1;::::0;1816:1;;1779:40:::1;1829:6;:19:::0;;-1:-1:-1;;;;;;1829:19:5::1;::::0;;1710:145::o;519:26:10:-;;;-1:-1:-1;;;;;519:26:10;;:::o;588:29::-;;;;:::o;1486:129::-;1543:7;1569:39;1578:15;1595:12;;1569:8;:39::i;4735:300::-;1301:12:5;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:5;;1282:68;;;;;-1:-1:-1;;;1282:68:5;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:5;;;;;;;;;;;;;;;4861:12:10::1;::::0;-1:-1:-1;;;;;4837:37:10;;::::1;4861:12:::0;::::1;4837:37;;4829:83;;;;-1:-1:-1::0;;;4829:83:10::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4922:55;4956:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;4922:33:10;::::1;::::0;4965:11;4922:33:::1;:55::i;:::-;4992:36;::::0;;-1:-1:-1;;;;;4992:36:10;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;4735:300:::0;;:::o;746:57::-;;;;;;;;;;;;;:::o;1078:85:5:-;1150:6;;;;;-1:-1:-1;;;;;1150:6:5;;1078:85::o;2370:377:10:-;1688:1:7;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;1366:8:6::1;:6;:8::i;:::-;1365:9;1357:38;;;::::0;;-1:-1:-1;;;1357:38:6;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1357:38:6;;;;;;;;;;;;;::::1;;2450:10:10::2;5666:16;:14;:16::i;:::-;5643:20;:39:::0;5709:26:::2;:24;:26::i;:::-;5692:14;:43:::0;-1:-1:-1;;;;;5749:21:10;::::2;::::0;5745:154:::2;;5805:15;5812:7;5805:6;:15::i;:::-;-1:-1:-1::0;;;;;5786:16:10;::::2;;::::0;;;:7:::2;:16;::::0;;;;;;;:34;;;;5868:20:::2;::::0;5834:22:::2;:31:::0;;;;;;:54;5745:154:::2;2489:1:::3;2480:6;:10;2472:37;;;::::0;;-1:-1:-1;;;2472:37:10;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;2472:37:10;;;;;;;;;;;;;::::3;;2534:12;::::0;:24:::3;::::0;2551:6;2534:16:::3;:24::i;:::-;2519:12;:39:::0;2602:10:::3;2592:21;::::0;;;:9:::3;:21;::::0;;;;;:33:::3;::::0;2618:6;2592:25:::3;:33::i;:::-;2578:10;2568:21;::::0;;;:9:::3;:21;::::0;;;;:57;;;;2635:12:::3;::::0;:64:::3;::::0;-1:-1:-1;;;;;2635:12:10;;::::3;::::0;2685:4:::3;2692:6:::0;2635:29:::3;:64::i;:::-;2714:26;::::0;;;;;;;2721:10:::3;::::0;2714:26:::3;::::0;;;;;::::3;::::0;;::::3;-1:-1:-1::0;;1645:1:7;2580:7;:22;2370:377:10:o;669:29::-;;;;:::o;5041:353::-;1301:12:5;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:5;;1282:68;;;;;-1:-1:-1;;;1282:68:5;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:5;;;;;;;;;;;;;;;5163:12:10::1;;5145:15;:30;5124:165;;;;-1:-1:-1::0;;;5124:165:10::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:15;:34:::0;;;5348:39:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;5041:353:::0;:::o;1621:322::-;1668:7;1691:12;;1707:1;1691:17;1687:75;;;-1:-1:-1;1731:20:10;;1724:27;;1687:75;1790:146;1832:90;1909:12;;1832:72;1899:4;1832:62;1883:10;;1832:46;1863:14;;1832:26;:24;:26::i;:46::-;:50;;:62::i;:90::-;1790:20;;;:24;:146::i;487:26::-;;;-1:-1:-1;;;;;487:26:10;;:::o;704:35::-;;;;:::o;3416:94::-;3470:10;3460:21;;;;:9;:21;;;;;;3451:31;;:8;:31::i;:::-;3492:11;:9;:11::i;:::-;3416:94::o;551:31::-;;;;:::o;2004:240:5:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:5;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:5;;1282:68;;;;;-1:-1:-1;;;1282:68:5;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:5;;;;;;;;;;;;;;;-1:-1:-1;;;;;2092:22:5;::::1;2084:73;;;;-1:-1:-1::0;;;2084:73:5::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2193:6;::::0;2172:38:::1;::::0;-1:-1:-1;;;;;2172:38:5;;::::1;::::0;2193:6:::1;::::0;::::1;;::::0;2172:38:::1;::::0;;;::::1;2220:6;:17:::0;;-1:-1:-1;;;;;2220:17:5;;::::1;;;-1:-1:-1::0;;;;;;2220:17:5;;::::1;::::0;;;::::1;::::0;;2004:240::o;3136:155:9:-;3194:7;3226:1;3221;:6;;3213:49;;;;;-1:-1:-1;;;3213:49:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3279:5:9;;;3136:155::o;3538:215::-;3596:7;3619:6;3615:20;;-1:-1:-1;3634:1:9;3627:8;;3615:20;3657:5;;;3661:1;3657;:5;:1;3680:5;;;;;:10;3672:56;;;;-1:-1:-1;;;3672:56:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3745:1;3538:215;-1:-1:-1;;;3538:215:9:o;4217:150::-;4275:7;4306:1;4302;:5;4294:44;;;;;-1:-1:-1;;;4294:44:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;4359:1;4355;:5;;;;;;;4217:150;-1:-1:-1;;;4217:150:9:o;2690:175::-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;;-1:-1:-1;;;2794:46:9;;;;;;;;;;;;;;;;;;;;;;;;;;;598:104:1;685:10;598:104;:::o;1817:115:6:-;1366:8;:6;:8::i;:::-;1365:9;1357:38;;;;;-1:-1:-1;;;1357:38:6;;;;;;;;;;;;-1:-1:-1;;;1357:38:6;;;;;;;;;;;;;;;1886:4:::1;1876:14:::0;;-1:-1:-1;;1876:14:6::1;::::0;::::1;::::0;;1905:20:::1;1912:12;:10;:12::i;:::-;1905:20;::::0;;-1:-1:-1;;;;;1905:20:6;;::::1;::::0;;;;;;;::::1;::::0;;::::1;1817:115::o:0;2064:117::-;1631:8;:6;:8::i;:::-;1623:41;;;;;-1:-1:-1;;;1623:41:6;;;;;;;;;;;;-1:-1:-1;;;1623:41:6;;;;;;;;;;;;;;;2122:7:::1;:15:::0;;-1:-1:-1;;2122:15:6::1;::::0;;2152:22:::1;2161:12;:10;:12::i;685:175:8:-:0;794:58;;;-1:-1:-1;;;;;794:58:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;794:58:8;-1:-1:-1;;;794:58:8;;;767:86;;787:5;;767:19;:86::i;:::-;685:175;;;:::o;399:104:4:-;457:7;487:1;483;:5;:13;;495:1;483:13;;;-1:-1:-1;491:1:4;;476:20;-1:-1:-1;399:104:4:o;866:203:8:-;993:68;;;-1:-1:-1;;;;;993:68:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;993:68:8;-1:-1:-1;;;993:68:8;;;966:96;;986:5;;966:19;:96::i;:::-;866:203;;;;:::o;2948:751::-;3367:23;3393:69;3421:4;3393:69;;;;;;;;;;;;;;;;;3401:5;-1:-1:-1;;;;;3393:27:8;;;:69;;;;;:::i;:::-;3476:17;;3367:95;;-1:-1:-1;3476:21:8;3472:221;;3616:10;3605:30;;;;;;;;;;;;;;;-1:-1:-1;3605:30:8;3597:85;;;;-1:-1:-1;;;3597:85:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3581:193:0;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:0:o;4608:523::-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;;-1:-1:-1;;;4850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:0;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5022:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:0:o;726:413::-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:0;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;-1:-1:-1;;;7765:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://a5be3ae2e931771d7e59718d9855fb89200d551519ec00a80973aac977448df9

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.