Contract 0xC3524bDB38CA27fc3F1c74D2E502e12392D82c3A

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9dc0ad4b866e51e30edcd657d546cd34353e01732af586dad4e642a33b1dd673Withdraw299792782022-06-25 11:33:417 days 12 hrs ago0x3f84d63ab6b6e42abb239bc3d13accfb9db5bab3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.00290873604 41.16
0xeaf781c6d41a0e1761befb05192556ef83ba70f4ecd43b8277b3664e915c5396Get Reward299791672022-06-25 11:29:517 days 12 hrs ago0x3f84d63ab6b6e42abb239bc3d13accfb9db5bab3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.002092650001 30.000000023
0x2517f37fc56778bb430cadd0e30ab2307262800e35f093ea2dddff2f11349ac9Get Reward294352622022-06-11 12:08:0921 days 11 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.002100861534 31.398319155
0x0ff2560f5a8e8ea536c29ba4000df8ea6a15aa7e33962bd1e3ec3895452b0bf7Withdraw294352272022-06-11 12:06:5921 days 11 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003689404017 37.239999769
0x6c6f7173c629aa7ed4640a86f711dab15ed72a54d37a5a6717c71791f28f1930Stake290362302022-06-01 14:24:1831 days 9 hrs ago0x3f84d63ab6b6e42abb239bc3d13accfb9db5bab3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003466472392 30.054381761
0x612fd3df71fc569a3534f0a5ffeaf39070d979720fc12aa9d8e09b91e9d3fcccGet Reward290362152022-06-01 14:23:4431 days 9 hrs ago0x3f84d63ab6b6e42abb239bc3d13accfb9db5bab3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.002446835329 32.44881481
0x129fd1e6f60b991e0833ef9e4c0843beae1ca117f7b7ee38bee7daa994cdc67dStake284099132022-05-17 1:01:3246 days 22 hrs ago0xe083c1b3a66c56547064d16bc39413c17296c0f3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003949380787 35.71643745
0xd7a744292668533a377eda18e04ba7e25a5b092e5a564621fdbb0ec3e16c984bGet Reward284098802022-05-17 1:00:2646 days 22 hrs ago0xe083c1b3a66c56547064d16bc39413c17296c0f3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.002614244786 34.668922721
0xc5cc8142d39468886736a838e3f2b395b4854dc4ea710316b9c3a35deb989fdeStake283874372022-05-16 11:36:3247 days 12 hrs ago0x3f84d63ab6b6e42abb239bc3d13accfb9db5bab3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003865482858 33.510323688
0x912c87c263c5e1dda4c0d95e415ca7d0848c26ba4592e28ac8be7653cdd657e1Get Reward283874102022-05-16 11:35:3847 days 12 hrs ago0x3f84d63ab6b6e42abb239bc3d13accfb9db5bab3 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.002581095229 34.229308404
0xb998a907fe081c3457c44d30d135b7a0de7dc57441eb8ecd9d8cb30b11c83333Notify Reward Am...280611292022-05-08 5:56:1755 days 18 hrs agoHEXARS: Deployer IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.00182912802930.069999996
0x33715fd998f62d6b4604540e96d5a63deb7edf2ecda780f75a9fb4562fdcbcceGet Reward279336622022-05-05 0:45:5458 days 23 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003997924309 43.218000017
0x74ec7bf9f4754fa6283ad10801e0c5707d0cbef26feea10545e274587e593874Stake279331072022-05-05 0:26:2458 days 23 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.004122291625 44.100000274
0xc8e675aa504644ee4844b5a248e997a21805d270197576475ad7d3a6b9be1573Get Reward277370632022-04-30 1:18:2063 days 22 hrs ago0x890634bab78d0d3854876ea935d714a893ccc0fc IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.000200212502 2.500000026
0xcf7537fe1f140d2c30b0c330e616837c3ddf3aab60f3565e28dc5da3f33a74fdGet Reward276412772022-04-27 15:10:4066 days 8 hrs ago0x890634bab78d0d3854876ea935d714a893ccc0fc IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.000236265002 2.500000028
0x234ce49d4c982e6bcd2d441960b33a336fb3354e978b1079a36a588b390083cfGet Reward273241902022-04-19 12:55:1474 days 11 hrs ago0x499d276cf1041fa1bc0188af467cf11ac2efb3ba IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.00283491793 37.595389371
0xee84861fad68904c88e439d27c42faadde8e0deaeb0c4b848ebd99e1fbc5092cStake270936802022-04-13 16:28:4180 days 7 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.00411739996 37.23996925
0x4aa7ba30321814ae9de022176da6237b87efedb4cfc8cd345bfd47a3373d6ef6Get Reward268779442022-04-08 4:56:2485 days 18 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.000231304835 2.500430622
0x2233da57aecd034a3308ff9d914e53bb5bfcdbe08bd98fc579dac6907468f848Stake268541492022-04-07 14:01:5186 days 9 hrs ago0x499d276cf1041fa1bc0188af467cf11ac2efb3ba IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.008980119057 77.857803514
0xc3ffc05cb402e8027d5f942b3a95c4262f94954b0d6784cc0b9beac7ba2b928cGet Reward268541072022-04-07 13:59:1186 days 9 hrs ago0x499d276cf1041fa1bc0188af467cf11ac2efb3ba IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003687675241 46.047015559
0x13522154b928dc2b4dc7813d9174e4e033faa1a971fcaa8ddcf0088ecae9a19dGet Reward268539532022-04-07 13:50:5586 days 10 hrs ago0x499d276cf1041fa1bc0188af467cf11ac2efb3ba IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.002607994373 32.565329008
0x35a72e3f11c83a4268ca331647a4e6c6dfdb17a8920f717b95fabefd040d5025Get Reward268476102022-04-07 9:38:0086 days 14 hrs ago0x080db813286b31a2ef1c9f50d7825ee9227a4f6e IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.0034135567236.12
0x7a8d98b17acdc34d7468a2437d5a170efdba42228b378795c6bc0c770719c6b4Notify Reward Am...268324202022-04-07 0:12:5986 days 23 hrs agoHEXARS: Deployer IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.00191910234331.304683922
0xd451a270529457629fd313e1f6c0ce7f1172054e146a57087c7c51d1d6814f1dStake264778412022-03-28 22:55:3196 days 1 hr ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.003598495555 32.543187994
0x07fe0558a57cd100ea63a0b5c8550160caae079798a76dec688b3d8e3da08f2dStake262248782022-03-22 11:19:46102 days 12 hrs ago0x0b5df0420a168527f6617bd048d261263cecfe99 IN  0xc3524bdb38ca27fc3f1c74d2e502e12392d82c3a0 MATIC0.004442160831 30.655253589
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x84B6f099B7Eb9aF65EF6ad51257eCe92BB81Ee01

Contract Name:
StakingRewards

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 12 : 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 2 of 12 : 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;
    }
}

File 3 of 12 : 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 4 of 12 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using 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 5 of 12 : 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 6 of 12 : 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 7 of 12 : Failsafe.sol
pragma solidity ^0.6.2;

import "./Owned.sol";

abstract contract Failsafe is Owned {
    bool public failsafeModeActive = false;

    constructor() internal {
        require(owner != address(0), "Owner must be set");
    }

    function enableFailsafeMode() public virtual onlyOwner {
        failsafeModeActive = true;
        emit FailsafeModeEnabled();
    }

    event FailsafeModeEnabled();

    modifier normalMode {
        require(
            !failsafeModeActive,
            "This action cannot be performed while the contract is in Failsafe Mode"
        );
        _;
    }

    modifier failsafeMode {
        require(
            failsafeModeActive,
            "This action can only be performed while the contract is in Failsafe Mode"
        );
        _;
    }
}

File 8 of 12 : Owned.sol
pragma solidity ^0.6.2;

// https://docs.synthetix.io/contracts/source/contracts/owned
contract Owned {
    address public owner;
    address public nominatedOwner;

    constructor(address _owner) public {
        require(_owner != address(0), "Owner address cannot be 0");
        owner = _owner;
        emit OwnerChanged(address(0), _owner);
    }

    function nominateNewOwner(address _owner) external onlyOwner {
        nominatedOwner = _owner;
        emit OwnerNominated(_owner);
    }

    function acceptOwnership() external {
        require(
            msg.sender == nominatedOwner,
            "You must be nominated before you can accept ownership"
        );
        emit OwnerChanged(owner, nominatedOwner);
        owner = nominatedOwner;
        nominatedOwner = address(0);
    }

    modifier onlyOwner {
        _onlyOwner();
        _;
    }

    function _onlyOwner() private view {
        require(
            msg.sender == owner,
            "Only the contract owner may perform this action"
        );
    }

    event OwnerNominated(address newOwner);
    event OwnerChanged(address oldOwner, address newOwner);
}

File 9 of 12 : RewardsDistributionRecipient.sol
pragma solidity ^0.6.2;

// Inheritance
import "./Owned.sol";

// https://docs.synthetix.io/contracts/source/contracts/rewardsdistributionrecipient
abstract contract RewardsDistributionRecipient is Owned {
    address public rewardsDistribution;

    function notifyRewardAmount(uint256 reward) external virtual;

    modifier onlyRewardsDistribution() {
        require(
            msg.sender == rewardsDistribution,
            "Caller is not RewardsDistribution contract"
        );
        _;
    }

    function setRewardsDistribution(address _rewardsDistribution)
        external
        onlyOwner
    {
        rewardsDistribution = _rewardsDistribution;
    }
}

File 10 of 12 : StakingRewards.sol
pragma solidity ^0.6.2;

import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";

// Inheritance
import "./interfaces/IStakingRewards.sol";
import "./RewardsDistributionRecipient.sol";
import "./SynthetixPausable.sol";
import "./Failsafe.sol";

// https://docs.synthetix.io/contracts/source/contracts/stakingrewards
contract StakingRewards is
    IStakingRewards,
    RewardsDistributionRecipient,
    ReentrancyGuard,
    Failsafe,
    SynthetixPausable
{
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public override rewardRate = 0;
    uint256 public override rewardsDuration = 180 days;
    uint256 public override minimumStakeAmount;
    uint256 public override minimumStakeTime;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

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

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

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

    constructor(
        address _owner,
        address _rewardsDistribution,
        address _rewardsToken,
        address _stakingToken,
        uint256 _minimumStakeAmount,
        uint256 _minimumStakeTime
    ) public Owned(_owner) {
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);
        rewardsDistribution = _rewardsDistribution;
        minimumStakeAmount = _minimumStakeAmount;
        minimumStakeTime = _minimumStakeTime;
    }

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

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

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

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

    function rewardPerToken() public view override 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 override returns (uint256) {
        return
            _balances[account]
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
                .div(1e18)
                .add(rewards[account]);
    }

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

    function getStakeRewardDistributionTimeLeft()
        external
        override
        view
        returns (uint256)
    {
        (bool success, uint256 diff) = periodFinish.trySub(block.timestamp);
        return success ? diff : 0;
    }

    function getStakeUnlockTimeLeft() external override view returns (uint256) {
        (bool success, uint256 diff) =
            _stakeTimestamp[msg.sender].add(minimumStakeTime).trySub(
                block.timestamp
            );
        return success ? diff : 0;
    }

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

    function stake(uint256 amount)
        external
        override
        normalMode
        nonReentrant
        notPaused
        updateReward(msg.sender)
    {
        require(amount >= minimumStakeAmount, "Minimum stake amount required");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        if (_stakeTimestamp[msg.sender] == 0) {
            _stakeTimestamp[msg.sender] = block.timestamp;
        }
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount)
        public
        override
        normalMode
        nonReentrant
        updateReward(msg.sender)
    {
        require(amount > 0, "Cannot withdraw 0");
        require(
            minimumStakeTime == 0 ||
                block.timestamp.sub(_stakeTimestamp[msg.sender]) >=
                minimumStakeTime,
            "Cannot withdraw until minimum staking time has passed"
        );
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        if (_balances[msg.sender] == 0) {
            _stakeTimestamp[msg.sender] = 0;
        }
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function getReward()
        public
        override
        normalMode
        nonReentrant
        updateReward(msg.sender)
    {
        require(
            minimumStakeTime == 0 ||
                block.timestamp.sub(_stakeTimestamp[msg.sender]) >=
                minimumStakeTime,
            "Cannot get reward until minimum staking time has passed"
        );
        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 override normalMode {
        withdraw(_balances[msg.sender]);
        getReward();
    }

    function recoverOwnStake() external failsafeMode {
        uint256 amount = _balances[msg.sender];
        if (amount > 0) {
            _totalSupply = _totalSupply.sub(amount);
            _balances[msg.sender] = _balances[msg.sender].sub(amount);
            stakingToken.safeTransfer(msg.sender, amount);
        }
    }

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

    function notifyRewardAmount(uint256 reward)
        external
        override
        normalMode
        onlyRewardsDistribution
        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);
    }

    // End rewards emission earlier
    function updatePeriodFinish(uint256 timestamp)
        external
        normalMode
        onlyOwner
        updateReward(address(0))
    {
        require(
            timestamp > lastUpdateTime,
            "Timestamp must be after lastUpdateTime"
        );
        periodFinish = timestamp;
    }

    // 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
        normalMode
        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 setMinimumStakeAmount(uint256 _minimumStakeAmount)
        external
        normalMode
        onlyOwner
    {
        minimumStakeAmount = _minimumStakeAmount;
        emit MinimumStakeAmountUpdated(_minimumStakeAmount);
    }

    function setMinimumStakeTime(uint256 _minimumStakeTime)
        external
        normalMode
        onlyOwner
    {
        minimumStakeTime = _minimumStakeTime;
        emit MinimumStakeTimeUpdated(_minimumStakeTime);
    }

    function enableFailsafeMode() public override normalMode onlyOwner {
        minimumStakeAmount = 0;
        minimumStakeTime = 0;
        periodFinish = 0;
        rewardRate = 0;
        rewardPerTokenStored = 0;

        super.enableFailsafeMode();
    }

    function recoverExtraStakingTokensToOwner() external onlyOwner {
        // stake() and withdraw() should guarantee that
        // _totalSupply <= stakingToken.balanceOf(this)
        uint256 stakingTokenAmountBelongingToOwner =
            stakingToken.balanceOf(address(this)).sub(_totalSupply);

        if (stakingTokenAmountBelongingToOwner > 0) {
            stakingToken.safeTransfer(
                owner,
                stakingTokenAmountBelongingToOwner
            );
        }
    }

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

    modifier updateReward(address account) {
        if (!failsafeModeActive) {
            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 MinimumStakeAmountUpdated(uint256 newMinimumStakeAmount);
    event MinimumStakeTimeUpdated(uint256 newMinimumStakeTime);
    event Recovered(address token, uint256 amount);
}

File 11 of 12 : SynthetixPausable.sol
pragma solidity ^0.6.2;

// Inheritance
import "./Owned.sol";

// https://docs.synthetix.io/contracts/source/contracts/pausable
abstract contract SynthetixPausable is Owned {
    uint256 public lastPauseTime;
    bool public paused;

    constructor() internal {
        // This contract is abstract, and thus cannot be instantiated directly
        require(owner != address(0), "Owner must be set");
        // Paused will be false, and lastPauseTime will be 0 upon initialisation
    }

    /**
     * @notice Change the paused state of the contract
     * @dev Only the contract owner may call this.
     */
    function setPaused(bool _paused) external onlyOwner {
        // Ensure we're actually changing the state before we do anything
        if (_paused == paused) {
            return;
        }

        // Set our paused state.
        paused = _paused;

        // If applicable, set the last pause time.
        if (paused) {
            lastPauseTime = now;
        }

        // Let everyone know that our pause state has changed.
        emit PauseChanged(paused);
    }

    event PauseChanged(bool isPaused);

    modifier notPaused {
        require(
            !paused,
            "This action cannot be performed while the contract is paused"
        );
        _;
    }
}

File 12 of 12 : IStakingRewards.sol
pragma solidity >=0.4.24;

// https://docs.synthetix.io/contracts/source/interfaces/istakingrewards
interface IStakingRewards {
    // Views
    function lastTimeRewardApplicable() external view returns (uint256);

    function rewardPerToken() external view returns (uint256);

    function earned(address account) external view returns (uint256);

    function getRewardForDuration() external view returns (uint256);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function minimumStakeAmount() external view returns (uint256);

    function minimumStakeTime() external view returns (uint256);

    function getStakeRewardDistributionTimeLeft() external view returns (uint256);

    function getStakeUnlockTimeLeft() external view returns (uint256);

    function rewardRate() external view returns (uint256);

    function rewardsDuration() external view returns (uint256);

    // Mutative
    function stake(uint256 amount) external;

    function withdraw(uint256 amount) external;

    function getReward() external;

    function exit() external;

    // 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 MinimumStakeTimeUpdated(uint256 newMinimumStakeTime);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardsDistribution","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"uint256","name":"_minimumStakeAmount","type":"uint256"},{"internalType":"uint256","name":"_minimumStakeTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"FailsafeModeEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMinimumStakeAmount","type":"uint256"}],"name":"MinimumStakeAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMinimumStakeTime","type":"uint256"}],"name":"MinimumStakeTimeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"enableFailsafeMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"failsafeModeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"getStakeRewardDistributionTimeLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakeUnlockTimeLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPauseTime","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":[],"name":"minimumStakeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumStakeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"recoverExtraStakingTokensToOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverOwnStake","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":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_minimumStakeAmount","type":"uint256"}],"name":"setMinimumStakeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumStakeTime","type":"uint256"}],"name":"setMinimumStakeTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","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":"uint256","name":"timestamp","type":"uint256"}],"name":"updatePeriodFinish","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"}]

60806040526004805460ff191690556000600881905560095562ed4e00600a5534801561002b57600080fd5b5060405161233b38038061233b833981810160405260c081101561004e57600080fd5b508051602082015160408301516060840151608085015160a0909501519394929391929091856001600160a01b0381166100cf576040805162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b038316908117825560408051928352602083019190915280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a15060016003556000546001600160a01b031661017e576040805162461bcd60e51b815260206004820152601160248201527013dddb995c881b5d5cdd081899481cd95d607a1b604482015290519081900360640190fd5b6000546001600160a01b03166101cf576040805162461bcd60e51b815260206004820152601160248201527013dddb995c881b5d5cdd081899481cd95d607a1b604482015290519081900360640190fd5b60068054610100600160a81b0319166101006001600160a01b0396871602179055600780546001600160a01b03199081169486169490941790556002805490931694909316939093179055600b91909155600c5550612108806102336000396000f3fe608060405234801561001057600080fd5b506004361061025d5760003560e01c80636b036f4511610146578063a694fc3a116100c3578063df136d6511610087578063df136d6514610533578063e2adc2371461053b578063e942204614610543578063e9fad8ee14610560578063ebe2b12b14610568578063f603944c146105705761025d565b8063a694fc3a146104e1578063c8f33c91146104fe578063cc1a378f14610506578063cd3daf9d14610523578063d1af0c7d1461052b5761025d565b806380faa57d1161010a57806380faa57d146104775780638980f11f1461047f5780638b876347146104ab5780638da5cb5b146104d157806391b4ded9146104d95761025d565b80636b036f451461043157806370a082311461043957806372f702f31461045f57806379ba5097146104675780637b0a47ee1461046f5761025d565b806327ab1969116101df5780633d18b912116101a35780633d18b912146103d05780633fc6df6e146103d857806344142db5146103fc57806353a47bb714610404578063556f6e6b1461040c5780635c975abb146104295761025d565b806327ab19691461037e5780632e1a7d4d146103865780632f3d3b14146103a3578063386a9525146103ab5780633c6b16ab146103b35761025d565b806316c38b3c1161022657806316c38b3c1461032157806318160ddd1461034057806319762143146103485780631c1f78eb1461036e578063242df9e1146103765761025d565b80628cc262146102625780630700037d1461029a5780630d29fcd4146102c05780631265cc97146102df5780631627540c146102fb575b600080fd5b6102886004803603602081101561027857600080fd5b50356001600160a01b0316610578565b60408051918252519081900360200190f35b610288600480360360208110156102b057600080fd5b50356001600160a01b03166105f6565b6102dd600480360360208110156102d657600080fd5b5035610608565b005b6102e761068d565b604080519115158252519081900360200190f35b6102dd6004803603602081101561031157600080fd5b50356001600160a01b0316610696565b6102dd6004803603602081101561033757600080fd5b503515156106f2565b61028861076c565b6102dd6004803603602081101561035e57600080fd5b50356001600160a01b0316610773565b61028861079d565b6102886107bb565b6102886107c1565b6102dd6004803603602081101561039c57600080fd5b50356107f4565b6102dd610a4f565b610288610afc565b6102dd600480360360208110156103c957600080fd5b5035610b02565b6102dd610d87565b6103e0610f75565b604080516001600160a01b039092168252519081900360200190f35b6102dd610f84565b6103e061103a565b6102dd6004803603602081101561042257600080fd5b5035611049565b6102e7611140565b610288611149565b6102886004803603602081101561044f57600080fd5b50356001600160a01b031661114f565b6103e061116a565b6102dd611179565b610288611235565b61028861123b565b6102dd6004803603604081101561049557600080fd5b506001600160a01b038135169060200135611249565b610288600480360360208110156104c157600080fd5b50356001600160a01b0316611300565b6103e0611312565b610288611321565b6102dd600480360360208110156104f757600080fd5b5035611327565b610288611579565b6102dd6004803603602081101561051c57600080fd5b503561157f565b610288611644565b6103e0611692565b6102886116a6565b6102dd6116ac565b6102dd6004803603602081101561055957600080fd5b5035611719565b6102dd61179e565b610288611801565b610288611807565b6001600160a01b038116600090815260106020908152604080832054600f9092528220546105f091906105ea90670de0b6b3a7640000906105e4906105c5906105bf611644565b90611836565b6001600160a01b03881660009081526012602052604090205490611893565b906118f3565b9061195a565b92915050565b60106020526000908152604090205481565b60045460ff161561064a5760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6106526119b4565b600b8190556040805182815290517ff7fc4cb95c43f64f7a376fd9ef5947d85e6aff2df3e9b1715789ffff63d716329181900360200190a150565b60045460ff1681565b61069e6119b4565b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b6106fa6119b4565b60065460ff161515811515141561071057610769565b6006805460ff1916821515179081905560ff161561072d57426005555b6006546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b6011545b90565b61077b6119b4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006107b6600a5460095461189390919063ffffffff16565b905090565b600c5481565b60008060006107db426008546119fd90919063ffffffff16565b91509150816107eb5760006107ed565b805b9250505090565b60045460ff16156108365760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6002600354141561088e576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600355600454339060ff166108f9576108a7611644565b600e556108b261123b565b600d556001600160a01b038116156108f9576108cd81610578565b6001600160a01b038216600090815260106020908152604080832093909355600e54600f909152919020555b60008211610942576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b600c54158061096d5750600c543360009081526013602052604090205461096a904290611836565b10155b6109a85760405162461bcd60e51b8152600401808060200182810382526035815260200180611f906035913960400191505060405180910390fd5b6011546109b59083611836565b601155336000908152601260205260409020546109d29083611836565b3360009081526012602052604090208190556109f957336000908152601360205260408120555b600754610a10906001600160a01b03163384611a23565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600355565b60045460ff16610a905760405162461bcd60e51b8152600401808060200182810382526048815260200180611ed26048913960600191505060405180910390fd5b33600090815260126020526040902054801561076957601154610ab39082611836565b60115533600090815260126020526040902054610ad09082611836565b33600081815260126020526040902091909155600754610769916001600160a01b039091169083611a23565b600a5481565b60045460ff1615610b445760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6002546001600160a01b03163314610b8d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612027602a913960400191505060405180910390fd5b60045460009060ff16610bf457610ba2611644565b600e55610bad61123b565b600d556001600160a01b03811615610bf457610bc881610578565b6001600160a01b038216600090815260106020908152604080832093909355600e54600f909152919020555b6008544210610c1357600a54610c0b9083906118f3565b600955610c56565b600854600090610c239042611836565b90506000610c3c6009548361189390919063ffffffff16565b600a54909150610c50906105e4868461195a565b60095550505b600654604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ca657600080fd5b505afa158015610cba573d6000803e3d6000fd5b505050506040513d6020811015610cd057600080fd5b5051600a54909150610ce39082906118f3565b6009541115610d39576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b42600d819055600a54610d4c919061195a565b6008556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60045460ff1615610dc95760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b60026003541415610e21576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600355600454339060ff16610e8c57610e3a611644565b600e55610e4561123b565b600d556001600160a01b03811615610e8c57610e6081610578565b6001600160a01b038216600090815260106020908152604080832093909355600e54600f909152919020555b600c541580610eb75750600c5433600090815260136020526040902054610eb4904290611836565b10155b610ef25760405162461bcd60e51b815260040180806020018281038252603781526020018061207b6037913960400191505060405180910390fd5b336000908152601060205260409020548015610f6c5733600081815260106020526040812055600654610f35916101009091046001600160a01b03169083611a23565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001600355565b6002546001600160a01b031681565b610f8c6119b4565b601154600754604080516370a0823160e01b815230600482015290516000936110159390926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015610fe357600080fd5b505afa158015610ff7573d6000803e3d6000fd5b505050506040513d602081101561100d57600080fd5b505190611836565b9050801561076957600054600754610769916001600160a01b03918216911683611a23565b6001546001600160a01b031681565b60045460ff161561108b5760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6110936119b4565b60045460009060ff166110fa576110a8611644565b600e556110b361123b565b600d556001600160a01b038116156110fa576110ce81610578565b6001600160a01b038216600090815260106020908152604080832093909355600e54600f909152919020555b600d54821161113a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611fc56026913960400191505060405180910390fd5b50600855565b60065460ff1681565b600b5481565b6001600160a01b031660009081526012602052604090205490565b6007546001600160a01b031681565b6001546001600160a01b031633146111c25760405162461bcd60e51b8152600401808060200182810382526035815260200180611e576035913960400191505060405180910390fd5b600054600154604080516001600160a01b03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b60095481565b60006107b642600854611a7a565b6112516119b4565b6007546001600160a01b038381169116141561129e5760405162461bcd60e51b81526004018080602001828103825260218152602001806120b26021913960400191505060405180910390fd5b6000546112b8906001600160a01b03848116911683611a23565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b600f6020526000908152604090205481565b6000546001600160a01b031681565b60055481565b60045460ff16156113695760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b600260035414156113c1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260035560065460ff16156114085760405162461bcd60e51b815260040180806020018281038252603c815260200180611feb603c913960400191505060405180910390fd5b600454339060ff1661146e5761141c611644565b600e5561142761123b565b600d556001600160a01b0381161561146e5761144281610578565b6001600160a01b038216600090815260106020908152604080832093909355600e54600f909152919020555b600b548210156114c5576040805162461bcd60e51b815260206004820152601d60248201527f4d696e696d756d207374616b6520616d6f756e74207265717569726564000000604482015290519081900360640190fd5b6011546114d2908361195a565b601155336000908152601260205260409020546114ef908361195a565b33600090815260126020908152604080832093909355601390522054611522573360009081526013602052604090204290555b60075461153a906001600160a01b0316333085611a90565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001600355565b600d5481565b60045460ff16156115c15760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6115c96119b4565b60085442116116095760405162461bcd60e51b8152600401808060200182810382526058815260200180611dff6058913960600191505060405180910390fd5b600a8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b60006011546000141561165a5750600e54610770565b6107b66116896011546105e4670de0b6b3a7640000611683600954611683600d546105bf61123b565b90611893565b600e549061195a565b60065461010090046001600160a01b031681565b600e5481565b60045460ff16156116ee5760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6116f66119b4565b6000600b819055600c81905560088190556009819055600e55611717611af0565b565b60045460ff161561175b5760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b6117636119b4565b600c8190556040805182815290517f2b0fa66d155c9598699cb6569577f27b95729bbf580268eed39db6bc4e8144779181900360200190a150565b60045460ff16156117e05760405162461bcd60e51b8152600401808060200182810382526046815260200180611e8c6046913960600191505060405180910390fd5b336000908152601260205260409020546117f9906107f4565b611717610d87565b60085481565b600c54336000908152601360205260408120549091829182916107db914291611830919061195a565b906119fd565b60008282111561188d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826118a2575060006105f0565b828202828482816118af57fe5b04146118ec5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f6f6021913960400191505060405180910390fd5b9392505050565b6000808211611949576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161195257fe5b049392505050565b6000828201838110156118ec576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000546001600160a01b031633146117175760405162461bcd60e51b815260040180806020018281038252602f815260200180611f40602f913960400191505060405180910390fd5b60008083831115611a1357506000905080611a1c565b50600190508183035b9250929050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a75908490611b30565b505050565b6000818310611a8957816118ec565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611aea908590611b30565b50505050565b611af86119b4565b6004805460ff191660011790556040517fe68101b30364d616deefc8cd307b7e27ccbd9c73f138bd478179497563d97a1190600090a1565b6060611b85826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611be19092919063ffffffff16565b805190915015611a7557808060200190516020811015611ba457600080fd5b5051611a755760405162461bcd60e51b815260040180806020018281038252602a815260200180612051602a913960400191505060405180910390fd5b6060611bf08484600085611bf8565b949350505050565b606082471015611c395760405162461bcd60e51b8152600401808060200182810382526026815260200180611f1a6026913960400191505060405180910390fd5b611c4285611d54565b611c93576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611cd25780518252601f199092019160209182019101611cb3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d34576040519150601f19603f3d011682016040523d82523d6000602084013e611d39565b606091505b5091509150611d49828286611d5a565b979650505050505050565b3b151590565b60608315611d695750816118ec565b825115611d795782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611dc3578181015183820152602001611dab565b50505050905090810190601f168015611df05780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f64596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869705468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e747261637420697320696e204661696c73616665204d6f64655468697320616374696f6e2063616e206f6e6c7920626520706572666f726d6564207768696c652074686520636f6e747261637420697320696e204661696c73616665204d6f6465416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e6e6f7420776974686472617720756e74696c206d696e696d756d207374616b696e672074696d65206861732070617373656454696d657374616d70206d757374206265206166746572206c61737455706461746554696d655468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f74206765742072657761726420756e74696c206d696e696d756d207374616b696e672074696d65206861732070617373656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea2646970667358221220c829ca00d0d74d5446827613ee67735ddb3a3b397e8e95f7860de2ea7862b9f164736f6c634300060c00330000000000000000000000005fb72ffdc43a06addb92c2ee9eb09cb9bfe887c90000000000000000000000005fb72ffdc43a06addb92c2ee9eb09cb9bfe887c90000000000000000000000004137a460afeaac114918cba38a6c055322995ae70000000000000000000000007499433dd328215c738bd58f52f7a87468d1512a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000

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