Contract 0xC1c3740a269BA3ed7AA2Cea36F336A6042e1889f

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xaa8bf7537510ccb72fcf98c3eb062ea0080ffd753d6751a098a68f5af513e18bRecover ERC20148148552022-05-17 13:04:0040 days 7 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.00196739439
0x5fc5415e0cacd383ddbe2c43b0465a8ca9c6e82dcae3318ac67d7cd614f5e4ddRecover ERC20147478822022-05-15 23:48:3741 days 20 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.00212429139
0x212241fe813787e25bfaeba2b1023d26a994af7d32745a74eb2f90f6ae03597aExit25267902021-07-01 8:49:44360 days 11 hrs ago0x4a8b990bd250030ba3f717af8024a1dd23cc148f IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.036798975
0xc224c7c699c6dd290e55c756eb415306f8e4dda43158d0da20c8e0bfa48f0b26Exit24110652021-06-22 7:17:44369 days 12 hrs ago0xe9a7c8540d98a242611dd5447f0cc80a5c4de027 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.036798975
0x781dab850142480592f1843b88ffc69987366697b62dcd941e271a8c80241befExit24102332021-06-22 5:02:25369 days 15 hrs ago0x94b1646bea5b2072beab3dce9ed244095ececfd0 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.029838825
0x5b522ede1fe575b3586876d79ad19bf8e689072b4b6a09a6e9f58e210e5d127cGet Reward24102292021-06-22 5:01:49369 days 15 hrs ago0x94b1646bea5b2072beab3dce9ed244095ececfd0 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.021570975
0xccef06ecc2bcf2d7d328b959f8949234115e18d7aabb0bec999378f6b3d18cf9Exit24072702021-06-21 21:45:50369 days 22 hrs ago0xf73daf38a523a5c0a25319e4163024d701cfb70c IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.036798975
0x2da2f74359622db9e60bcec5592f6e8748f2ceb9dfe0a82df547131554250a39Exit24010842021-06-21 9:55:42370 days 10 hrs ago0xa7ad1d5a0dbd8928d9a5f7cf25f7434d701f6af2 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.029838825
0x85194de2390b0620c4b07e55f808abd56e048dd132e758e90bc38be2c06377cbStake With Permi...24010522021-06-21 9:52:48370 days 10 hrs ago0xa7ad1d5a0dbd8928d9a5f7cf25f7434d701f6af2 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.0290988
0x27812fb00a3d024aaf4f64fa7212e9697df6c3ece6cd849c2882f3f18b8020d4Exit24010372021-06-21 9:51:46370 days 10 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.029838825
0xa990fbee33532ceb4f3ff8dd6b1dbc0b391d3a1475d3a28fcba1c12faa06745cStake With Permi...24009992021-06-21 9:48:53370 days 10 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.0290988
0x58fb828addff5ceb68e8557e0aa1bd156979883e8190e0e8f88ae50412022487Set Coverage Amo...24009732021-06-21 9:46:10370 days 10 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.02046015
0x0b77ae0a6478db5634a45577f2f1439d4ce2bc58a7703dfbf0beb3d4e06fdf52Exit24007412021-06-21 9:27:37370 days 10 hrs ago0xa7ad1d5a0dbd8928d9a5f7cf25f7434d701f6af2 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.036798975
0xb55e1a47db1a7570e26f4b3565b2fe86a840051857d3a5a3db6d76aaa69ac041Exit24007332021-06-21 9:26:37370 days 10 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.038079225
0x1fe968d602f540a128e45c048e869e31ec54183aad95628fc71d0df5842a4f71Set Coverage Amo...23988352021-06-21 5:43:51370 days 14 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.01150515
0xebde68a07e6303e9aea3d9c62553640f523d48c50ac12d7906a017b0d71ff84eSet Coverage Amo...23988252021-06-21 5:42:42370 days 14 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.02039265
0x52c8468b9bf9e51349e607b52195ab39976b0fcbfa39e2164323c78d0f057b2eExit23960402021-06-20 23:00:13370 days 21 hrs ago0x85b452216b053cbb018d9c7c4195da51b600c28e IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.038061675
0xb52291ce62fe51ec4c3eef9a0003f780d6466f65daae1316eb93cd0bce95b142Exit23856882021-06-19 23:42:14371 days 20 hrs ago0xb08fcc3e288cdd9b1871e8d97f4c4b4a2ebcb984 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.039426525
0xfde4fa224199185f94ec0caef4b018abf18f119ce0b0320528387807edef3254Stake With Permi...23856652021-06-19 23:38:04371 days 20 hrs ago0xb08fcc3e288cdd9b1871e8d97f4c4b4a2ebcb984 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.038695275
0xa3188e3d0430c853d8c0a6e84a81007e49e830f5d8be36c40c714decbeb430f3Get Reward23834942021-06-19 17:50:23372 days 2 hrs ago0x85b452216b053cbb018d9c7c4195da51b600c28e IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.02284245
0x4b4f247d529bc11b9dc1f57bffcd433ad3ccc10d50f929fcdb8d8f0dfc03b2fcSet Coverage Amo...23762582021-06-18 22:20:26372 days 21 hrs ago0xba49776326a1ca54eb4f406c94ae4e1ebe458e19 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.029454975
0x212b8f1c1513418fb444c6b84d13ac4106f7fbf17baad1b7d46e7357d05b8ccdExit23734252021-06-18 16:02:35373 days 4 hrs ago0xa29222addf60776428bde7e2f4cd89d4eda49259 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.038061675
0xa0222d2c15a3e2aa36a7716b5d441193bd2e851160d6f0c26cbd5de4a0cacda4Stake With Permi...23670512021-06-18 0:37:59373 days 19 hrs ago0x21fa786336435635d30e5034b6f2d9a872336f62 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.038695275
0x656be8dc3091fd57570dd89f7e2121b6fa79720e787f6f56fbd4081b4ad7445bGet Reward23628272021-06-17 15:57:36374 days 4 hrs ago0xa7ad1d5a0dbd8928d9a5f7cf25f7434d701f6af2 IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.02284245
0x6b670ce1079f1c16b1a80bc9306aa724a2e366c05ff0320babf1ab78752c5646Stake With Permi...23571562021-06-17 5:43:44374 days 14 hrs ago0x4a8b990bd250030ba3f717af8024a1dd23cc148f IN  0xc1c3740a269ba3ed7aa2cea36f336a6042e1889f0 AVAX0.034850475
[ 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 0xc990380d5fB656010bCB8AB1E7f1041Bc3155DfD

Contract Name:
StakingRewardsILPV2

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-11-16
*/

// Sources flattened with hardhat v2.1.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]


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 @openzeppelin/contracts/access/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 @openzeppelin/contracts/math/[email protected]


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 @openzeppelin/contracts/math/[email protected]


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 @openzeppelin/contracts/token/ERC20/[email protected]


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 @openzeppelin/contracts/utils/[email protected]


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 @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.0;



/**
 * @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 @openzeppelin/contracts/utils/[email protected]


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 contracts/interfaces/IElkERC20.sol

pragma solidity >=0.5.0;

interface IElkERC20 {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}


// File contracts/StakingRewardsILPV2.sol


pragma solidity ^0.7.6;





contract StakingRewardsILPV2 is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 1624219200;
    uint256 public rewardRate;
    uint256 public rewardsDuration = 21 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;
    mapping(address => uint256) private _coverages;

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

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

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

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

    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }
    
    function coverageOf(address account) external view returns (uint256) {
        return _coverages[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 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 stakeWithPermit(uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);

        // permit
        IElkERC20(address(stakingToken)).permit(msg.sender, address(this), amount, deadline, v, r, s);

        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 getCoverage() public nonReentrant {
        uint256 coverageAmount = _coverages[msg.sender];
        if (coverageAmount > 0) {
            _coverages[msg.sender] = 0;
            rewardsToken.safeTransfer(msg.sender, coverageAmount);
            emit CoveragePaid(msg.sender, coverageAmount);
        }
    }

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

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

    // Always needs to update the balance of the contract when calling this method
    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.
        uint 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);
    }
    
    function setCoverageAmount(address addr, uint256 amount) public onlyOwner {
        _coverages[addr] = amount;
    }
    
    function setCoverageAmounts(address[] memory addresses, uint256[] memory amounts) external onlyOwner {
        require(addresses.length == amounts.length, "The same number of addresses and amounts must be provided");
        for (uint i=0; i < addresses.length; ++i) {
            setCoverageAmount(addresses[i], amounts[i]);
        }
    }

    // End rewards emission earlier
    function updatePeriodFinish(uint timestamp) external onlyOwner updateReward(address(0)) {
        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 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 updateLastTime(uint timestamp) external onlyOwner {
	    lastUpdateTime = timestamp;
    }

    /* ========== 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 CoveragePaid(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CoveragePaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"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":[{"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":"coverageOf","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":"getCoverage","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":"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":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setCoverageAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setCoverageAmounts","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":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","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":"uint256","name":"timestamp","type":"uint256"}],"name":"updateLastTime","outputs":[],"stateMutability":"nonpayable","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"}]

60806040526360cf9e40600455621baf8060065534801561001f57600080fd5b5060405161208f38038061208f8339818101604052604081101561004257600080fd5b5080516020909101516001600090815561005a6100d9565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b039384166001600160a01b031991821617909155600380549290931691161790556100dd565b3390565b611fa3806100ec6000396000f3fe608060405234801561001057600080fd5b50600436106101ef5760003560e01c806380faa57d1161010f578063cd3daf9d116100a2578063e9fad8ee11610071578063e9fad8ee1461057f578063ebe2b12b14610587578063ecd9ba821461058f578063f2fde38b146105c7576101ef565b8063cd3daf9d1461054a578063d1af0c7d14610552578063d9142bbe1461055a578063df136d6514610577576101ef565b8063905b7d3c116100de578063905b7d3c146103e1578063a694fc3a14610508578063c8f33c9114610525578063cc1a378f1461052d576101ef565b806380faa57d1461037f5780638980f11f146103875780638b876347146103b35780638da5cb5b146103d9576101ef565b80633d18b9121161018757806370a082311161015657806370a0823114610325578063715018a61461034b57806372f702f3146103535780637b0a47ee14610377576101ef565b80633d18b912146102cc57806343d45c17146102d4578063556f6e6b146103005780636de4ab871461031d576101ef565b80631c1f78eb116101c35780631c1f78eb146102805780632e1a7d4d14610288578063386a9525146102a75780633c6b16ab146102af576101ef565b80628cc262146101f45780630700037d1461022c578063120459871461025257806318160ddd14610278575b600080fd5b61021a6004803603602081101561020a57600080fd5b50356001600160a01b03166105ed565b60408051918252519081900360200190f35b61021a6004803603602081101561024257600080fd5b50356001600160a01b031661066b565b61021a6004803603602081101561026857600080fd5b50356001600160a01b031661067d565b61021a610698565b61021a61069f565b6102a56004803603602081101561029e57600080fd5b50356106bd565b005b61021a61085f565b6102a5600480360360208110156102c557600080fd5b5035610865565b6102a5610adc565b6102a5600480360360408110156102ea57600080fd5b506001600160a01b038135169060200135610c13565b6102a56004803603602081101561031657600080fd5b5035610ca3565b6102a5610d79565b61021a6004803603602081101561033b57600080fd5b50356001600160a01b0316610e53565b6102a5610e6e565b61035b610f39565b604080516001600160a01b039092168252519081900360200190f35b61021a610f48565b61021a610f4e565b6102a56004803603604081101561039d57600080fd5b506001600160a01b038135169060200135610f5c565b61021a600480360360208110156103c957600080fd5b50356001600160a01b0316611081565b61035b611093565b6102a5600480360360408110156103f757600080fd5b81019060208101813564010000000081111561041257600080fd5b82018360208201111561042457600080fd5b8035906020019184602083028401116401000000008311171561044657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561049657600080fd5b8201836020820111156104a857600080fd5b803590602001918460208302840111640100000000831117156104ca57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506110a2945050505050565b6102a56004803603602081101561051e57600080fd5b503561119f565b61021a611342565b6102a56004803603602081101561054357600080fd5b5035611348565b61021a611437565b61035b611485565b6102a56004803603602081101561057057600080fd5b5035611494565b61021a61150d565b6102a5611513565b61021a61153e565b6102a5600480360360a08110156105a557600080fd5b5080359060208101359060ff6040820135169060608101359060800135611544565b6102a5600480360360208110156105dd57600080fd5b50356001600160a01b031661178f565b6001600160a01b0381166000908152600a60209081526040808320546009909252822054610665919061065f90670de0b6b3a7640000906106599061063a90610634611437565b906118b1565b6001600160a01b0388166000908152600c60205260409020549061190e565b9061196e565b906119d5565b92915050565b600a6020526000908152604090205481565b6001600160a01b03166000908152600d602052604090205490565b600b545b90565b60006106b860065460055461190e90919063ffffffff16565b905090565b60026000541415610715576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610723611437565b60085561072e610f4e565b6007556001600160a01b0381161561077557610749816105ed565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600082116107ca576040805162461bcd60e51b815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b600b546107d790836118b1565b600b55336000908152600c60205260409020546107f490836118b1565b336000818152600c6020526040902091909155600354610820916001600160a01b039091169084611a2f565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b60065481565b61086d611aaf565b6001600160a01b031661087e611093565b6001600160a01b0316146108d9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60006108e3611437565b6008556108ee610f4e565b6007556001600160a01b0381161561093557610909816105ed565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60045442106109545760065461094c90839061196e565b600555610997565b60045460009061096490426118b1565b9050600061097d6005548361190e90919063ffffffff16565b6006549091506109919061065986846119d5565b60055550505b600254604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156109fb57600080fd5b505afa158015610a0f573d6000803e3d6000fd5b505050506040513d6020811015610a2557600080fd5b5051600654909150610a3890829061196e565b6005541115610a8e576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b426007819055600654610aa191906119d5565b6004556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60026000541415610b34576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610b42611437565b600855610b4d610f4e565b6007556001600160a01b03811615610b9457610b68816105ed565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b336000908152600a60205260409020548015610c0a57336000818152600a6020526040812055600254610bd3916001600160a01b039091169083611a2f565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001600055565b610c1b611aaf565b6001600160a01b0316610c2c611093565b6001600160a01b031614610c87576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b039091166000908152600d6020526040902055565b610cab611aaf565b6001600160a01b0316610cbc611093565b6001600160a01b031614610d17576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000610d21611437565b600855610d2c610f4e565b6007556001600160a01b03811615610d7357610d47816105ed565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b50600455565b60026000541415610dd1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000908155338152600d60205260409020548015610e4b57336000818152600d6020526040812055600254610e14916001600160a01b039091169083611a2f565b60408051828152905133917fef4696bdcf47e292773442e4169d670e1b2d0d3f5ceff2a5c1e236c10109ee80919081900360200190a25b506001600055565b6001600160a01b03166000908152600c602052604090205490565b610e76611aaf565b6001600160a01b0316610e87611093565b6001600160a01b031614610ee2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36001805473ffffffffffffffffffffffffffffffffffffffff19169055565b6003546001600160a01b031681565b60055481565b60006106b842600454611ab3565b610f64611aaf565b6001600160a01b0316610f75611093565b6001600160a01b031614610fd0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546001600160a01b038381169116141561101d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f4d6021913960400191505060405180910390fd5b611039611028611093565b6001600160a01b0384169083611a2f565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b60096020526000908152604090205481565b6001546001600160a01b031690565b6110aa611aaf565b6001600160a01b03166110bb611093565b6001600160a01b031614611116576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80518251146111565760405162461bcd60e51b8152600401808060200182810382526039815260200180611ea36039913960400191505060405180910390fd5b60005b825181101561119a5761119283828151811061117157fe5b602002602001015183838151811061118557fe5b6020026020010151610c13565b600101611159565b505050565b600260005414156111f7576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533611205611437565b600855611210610f4e565b6007556001600160a01b038116156112575761122b816105ed565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600082116112ac576040805162461bcd60e51b815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600b546112b990836119d5565b600b55336000908152600c60205260409020546112d690836119d5565b336000818152600c6020526040902091909155600354611303916001600160a01b03909116903085611ac9565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001600055565b60075481565b611350611aaf565b6001600160a01b0316611361611093565b6001600160a01b0316146113bc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60045442116113fc5760405162461bcd60e51b8152600401808060200182810382526058815260200180611e256058913960600191505060405180910390fd5b60068190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600b546000141561144d575060085461069c565b6106b861147c600b54610659670de0b6b3a7640000611476600554611476600754610634610f4e565b9061190e565b600854906119d5565b6002546001600160a01b031681565b61149c611aaf565b6001600160a01b03166114ad611093565b6001600160a01b031614611508576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600755565b60085481565b336000908152600c602052604090205461152c906106bd565b611534610adc565b61153c610d79565b565b60045481565b6002600054141561159c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055336115aa611437565b6008556115b5610f4e565b6007556001600160a01b038116156115fc576115d0816105ed565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008611611651576040805162461bcd60e51b815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600b5461165e90876119d5565b600b55336000908152600c602052604090205461167b90876119d5565b336000818152600c60205260408082209390935560035483517fd505accf0000000000000000000000000000000000000000000000000000000081526004810193909352306024840152604483018a90526064830189905260ff8816608484015260a4830187905260c4830186905292516001600160a01b039093169263d505accf9260e480820193929182900301818387803b15801561171b57600080fd5b505af115801561172f573d6000803e3d6000fd5b505060035461174c92506001600160a01b03169050333089611ac9565b60408051878152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050600160005550505050565b611797611aaf565b6001600160a01b03166117a8611093565b6001600160a01b031614611803576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166118485760405162461bcd60e51b8152600401808060200182810382526026815260200180611e7d6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600082821115611908576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261191d57506000610665565b8282028284828161192a57fe5b04146119675760405162461bcd60e51b8152600401808060200182810382526021815260200180611f026021913960400191505060405180910390fd5b9392505050565b60008082116119c4576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816119cd57fe5b049392505050565b600082820183811015611967576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261119a908490611b57565b3390565b6000818310611ac25781611967565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611b51908590611b57565b50505050565b6000611bac826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c089092919063ffffffff16565b80519091501561119a57808060200190516020811015611bcb57600080fd5b505161119a5760405162461bcd60e51b815260040180806020018281038252602a815260200180611f23602a913960400191505060405180910390fd5b6060611c178484600085611c1f565b949350505050565b606082471015611c605760405162461bcd60e51b8152600401808060200182810382526026815260200180611edc6026913960400191505060405180910390fd5b611c6985611d7a565b611cba576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310611cf85780518252601f199092019160209182019101611cd9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d5a576040519150601f19603f3d011682016040523d82523d6000602084013e611d5f565b606091505b5091509150611d6f828286611d80565b979650505050505050565b3b151590565b60608315611d8f575081611967565b825115611d9f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611de9578181015183820152602001611dd1565b50505050905090810190601f168015611e165780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735468652073616d65206e756d626572206f662061646472657373657320616e6420616d6f756e7473206d7573742062652070726f7669646564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea264697066735822122057adea84fb403e14ce2513dc2ecaaf19823da1d9c2fb4e54dd48c612a7cd39d964736f6c63430007060033000000000000000000000000e1c8f3d529bea8e3fa1fac5b416335a2f998ee1c000000000000000000000000febf47cf89f766e6c24317b17f862ba5d4d82f8c

Deployed ByteCode Sourcemap

30328:7892:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32152:198;;;;;;;;;;;;;;;;-1:-1:-1;32152:198:0;-1:-1:-1;;;;;32152:198:0;;:::i;:::-;;;;;;;;;;;;;;;;30847:42;;;;;;;;;;;;;;;;-1:-1:-1;30847:42:0;-1:-1:-1;;;;;30847:42:0;;:::i;31553:114::-;;;;;;;;;;;;;;;;-1:-1:-1;31553:114:0;-1:-1:-1;;;;;31553:114:0;;:::i;31328:93::-;;;:::i;32358:121::-;;;:::i;33478:357::-;;;;;;;;;;;;;;;;-1:-1:-1;33478:357:0;;:::i;:::-;;30656:40;;;:::i;34763:1069::-;;;;;;;;;;;;;;;;-1:-1:-1;34763:1069:0;;:::i;33843:307::-;;;:::i;35844:118::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35844:118:0;;;;;;;;:::i;36365:131::-;;;;;;;;;;;;;;;;-1:-1:-1;36365:131:0;;:::i;34162:324::-;;;:::i;31429:112::-;;;;;;;;;;;;;;;;-1:-1:-1;31429:112:0;-1:-1:-1;;;;;31429:112:0;;:::i;2826:148::-;;;:::i;30544:26::-;;;:::i;:::-;;;;-1:-1:-1;;;;;30544:26:0;;;;;;;;;;;;;;30624:25;;;:::i;31675:131::-;;;:::i;36615:304::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36615:304:0;;;;;;;;:::i;30783:57::-;;;;;;;;;;;;;;;;-1:-1:-1;30783:57:0;-1:-1:-1;;;;;30783:57:0;;:::i;2175:87::-;;;:::i;35974:346::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35974:346:0;;;;;;;;-1:-1:-1;35974:346:0;;-1:-1:-1;;35974:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35974:346:0;;-1:-1:-1;35974:346:0;;-1:-1:-1;;;;;35974:346:0:i;32541:369::-;;;;;;;;;;;;;;;;-1:-1:-1;32541:369:0;;:::i;30703:29::-;;;:::i;36927:360::-;;;;;;;;;;;;;;;;-1:-1:-1;36927:360:0;;:::i;31814:330::-;;;:::i;30511:26::-;;;:::i;37299:101::-;;;;;;;;;;;;;;;;-1:-1:-1;37299:101:0;;:::i;30739:35::-;;;:::i;34494:121::-;;;:::i;30577:40::-;;;:::i;32918:552::-;;;;;;;;;;;;;;;;-1:-1:-1;32918:552:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;3129:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3129:244:0;-1:-1:-1;;;;;3129:244:0;;:::i;32152:198::-;-1:-1:-1;;;;;32325:16:0;;32206:7;32325:16;;;:7;:16;;;;;;;;;32277:22;:31;;;;;;32233:109;;32325:16;32233:87;;32315:4;;32233:77;;32256:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;-1:-1:-1;;;;;32233:18:0;;;;;;:9;:18;;;;;;;:22;:77::i;:::-;:81;;:87::i;:::-;:91;;:109::i;:::-;32226:116;32152:198;-1:-1:-1;;32152:198:0:o;30847:42::-;;;;;;;;;;;;;:::o;31553:114::-;-1:-1:-1;;;;;31640:19:0;31613:7;31640:19;;;:10;:19;;;;;;;31553:114::o;31328:93::-;31401:12;;31328:93;;:::o;32358:121::-;32413:7;32440:31;32455:15;;32440:10;;:14;;:31;;;;:::i;:::-;32433:38;;32358:121;:::o;33478:357::-;28074:1;28680:7;;:19;;28672:63;;;;;-1:-1:-1;;;28672:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28074:1;28813:7;:18;33545:10:::1;37526:16;:14;:16::i;:::-;37503:20;:39:::0;37570:26:::1;:24;:26::i;:::-;37553:14;:43:::0;-1:-1:-1;;;;;37611:21:0;::::1;::::0;37607:157:::1;;37668:15;37675:7;37668:6;:15::i;:::-;-1:-1:-1::0;;;;;37649:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37732:20:::1;::::0;37698:22:::1;:31:::0;;;;;;:54;37607:157:::1;33585:1:::2;33576:6;:10;33568:40;;;::::0;;-1:-1:-1;;;33568:40:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;33634:12;::::0;:24:::2;::::0;33651:6;33634:16:::2;:24::i;:::-;33619:12;:39:::0;33703:10:::2;33693:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;33719:6;33693:25:::2;:33::i;:::-;33679:10;33669:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;33737:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;33737:12:0;;::::2;::::0;33775:6;33737:25:::2;:45::i;:::-;33798:29;::::0;;;;;;;33808:10:::2;::::0;33798:29:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;28030:1:0;28992:7;:22;33478:357::o;30656:40::-;;;;:::o;34763:1069::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34847:1:::1;37526:16;:14;:16::i;:::-;37503:20;:39:::0;37570:26:::1;:24;:26::i;:::-;37553:14;:43:::0;-1:-1:-1;;;;;37611:21:0;::::1;::::0;37607:157:::1;;37668:15;37675:7;37668:6;:15::i;:::-;-1:-1:-1::0;;;;;37649:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37732:20:::1;::::0;37698:22:::1;:31:::0;;;;;;:54;37607:157:::1;34885:12:::2;;34866:15;:31;34862:318;;34938:15;::::0;34927:27:::2;::::0;:6;;:10:::2;:27::i;:::-;34914:10;:40:::0;34862:318:::2;;;35007:12;::::0;34987:17:::2;::::0;35007:33:::2;::::0;35024:15:::2;35007:16;:33::i;:::-;34987:53;;35055:16;35074:25;35088:10;;35074:9;:13;;:25;;;;:::i;:::-;35152:15;::::0;35055:44;;-1:-1:-1;35127:41:0::2;::::0;:20:::2;:6:::0;35055:44;35127:10:::2;:20::i;:41::-;35114:10;:54:::0;-1:-1:-1;;34862:318:0::2;35555:12;::::0;:37:::2;::::0;;;;;35586:4:::2;35555:37;::::0;::::2;::::0;;;35540:12:::2;::::0;-1:-1:-1;;;;;35555:12:0::2;::::0;:22:::2;::::0;:37;;;;;::::2;::::0;;;;;;;;:12;:37;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;35555:37:0;35637:15:::2;::::0;35555:37;;-1:-1:-1;35625:28:0::2;::::0;35555:37;;35625:11:::2;:28::i;:::-;35611:10;;:42;;35603:79;;;::::0;;-1:-1:-1;;;35603:79:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;35712:15;35695:14;:32:::0;;;35773:15:::2;::::0;35753:36:::2;::::0;35712:15;35753:19:::2;:36::i;:::-;35738:12;:51:::0;35805:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;37774:1;2466::::1;34763:1069:::0;:::o;33843:307::-;28074:1;28680:7;;:19;;28672:63;;;;;-1:-1:-1;;;28672:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28074:1;28813:7;:18;33897:10:::1;37526:16;:14;:16::i;:::-;37503:20;:39:::0;37570:26:::1;:24;:26::i;:::-;37553:14;:43:::0;-1:-1:-1;;;;;37611:21:0;::::1;::::0;37607:157:::1;;37668:15;37675:7;37668:6;:15::i;:::-;-1:-1:-1::0;;;;;37649:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37732:20:::1;::::0;37698:22:::1;:31:::0;;;;;;:54;37607:157:::1;33945:10:::2;33920:14;33937:19:::0;;;:7:::2;:19;::::0;;;;;33971:10;;33967:176:::2;;34006:10;34020:1;33998:19:::0;;;:7:::2;:19;::::0;;;;:23;34036:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;34036:12:0;;::::2;::::0;34074:6;34036:25:::2;:45::i;:::-;34101:30;::::0;;;;;;;34112:10:::2;::::0;34101:30:::2;::::0;;;;;::::2;::::0;;::::2;33967:176;-1:-1:-1::0;;28030:1:0;28992:7;:22;33843:307::o;35844:118::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35929:16:0;;::::1;;::::0;;;:10:::1;:16;::::0;;;;:25;35844:118::o;36365:131::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36449:1:::1;37526:16;:14;:16::i;:::-;37503:20;:39:::0;37570:26:::1;:24;:26::i;:::-;37553:14;:43:::0;-1:-1:-1;;;;;37611:21:0;::::1;::::0;37607:157:::1;;37668:15;37675:7;37668:6;:15::i;:::-;-1:-1:-1::0;;;;;37649:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37732:20:::1;::::0;37698:22:::1;:31:::0;;;;;;:54;37607:157:::1;-1:-1:-1::0;36464:12:0::2;:24:::0;36365:131::o;34162:324::-;28074:1;28680:7;;:19;;28672:63;;;;;-1:-1:-1;;;28672:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28074:1;28813:7;:18;;;34252:10:::1;34241:22:::0;;:10:::1;:22;::::0;;;;;34278:18;;34274:205:::1;;34324:10;34338:1;34313:22:::0;;;:10:::1;:22;::::0;;;;:26;34354:12:::1;::::0;:53:::1;::::0;-1:-1:-1;;;;;34354:12:0;;::::1;::::0;34392:14;34354:25:::1;:53::i;:::-;34427:40;::::0;;;;;;;34440:10:::1;::::0;34427:40:::1;::::0;;;;;::::1;::::0;;::::1;34274:205;-1:-1:-1::0;28030:1:0;28992:7;:22;34162:324::o;31429:112::-;-1:-1:-1;;;;;31515:18:0;31488:7;31515:18;;;:9;:18;;;;;;;31429:112::o;2826:148::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2917:6:::1;::::0;2896:40:::1;::::0;2933:1:::1;::::0;-1:-1:-1;;;;;2917:6:0::1;::::0;2896:40:::1;::::0;2933:1;;2896:40:::1;2947:6;:19:::0;;-1:-1:-1;;2947:19:0::1;::::0;;2826:148::o;30544:26::-;;;-1:-1:-1;;;;;30544:26:0;;:::o;30624:25::-;;;;:::o;31675:131::-;31732:7;31759:39;31768:15;31785:12;;31759:8;:39::i;36615:304::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36742:12:::1;::::0;-1:-1:-1;;;;;36718:37:0;;::::1;36742:12:::0;::::1;36718:37;;36710:83;;;;-1:-1:-1::0;;;36710:83:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36804:55;36838:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;36804:33:0;::::1;::::0;36847:11;36804:33:::1;:55::i;:::-;36875:36;::::0;;-1:-1:-1;;;;;36875:36:0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;36615:304:::0;;:::o;30783:57::-;;;;;;;;;;;;;:::o;2175:87::-;2248:6;;-1:-1:-1;;;;;2248:6:0;2175:87;:::o;35974:346::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36114:7:::1;:14;36094:9;:16;:34;36086:104;;;;-1:-1:-1::0;;;36086:104:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36206:6;36201:112;36220:9;:16;36216:1;:20;36201:112;;;36258:43;36276:9;36286:1;36276:12;;;;;;;;;;;;;;36290:7;36298:1;36290:10;;;;;;;;;;;;;;36258:17;:43::i;:::-;36238:3;;36201:112;;;;35974:346:::0;;:::o;32541:369::-;28074:1;28680:7;;:19;;28672:63;;;;;-1:-1:-1;;;28672:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28074:1;28813:7;:18;32607:10:::1;37526:16;:14;:16::i;:::-;37503:20;:39:::0;37570:26:::1;:24;:26::i;:::-;37553:14;:43:::0;-1:-1:-1;;;;;37611:21:0;::::1;::::0;37607:157:::1;;37668:15;37675:7;37668:6;:15::i;:::-;-1:-1:-1::0;;;;;37649:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37732:20:::1;::::0;37698:22:::1;:31:::0;;;;;;:54;37607:157:::1;32647:1:::2;32638:6;:10;32630:37;;;::::0;;-1:-1:-1;;;32630:37:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;32693:12;::::0;:24:::2;::::0;32710:6;32693:16:::2;:24::i;:::-;32678:12;:39:::0;32762:10:::2;32752:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;32778:6;32752:25:::2;:33::i;:::-;32738:10;32728:21;::::0;;;:9:::2;:21;::::0;;;;:57;;;;32796:12:::2;::::0;:64:::2;::::0;-1:-1:-1;;;;;32796:12:0;;::::2;::::0;32846:4:::2;32853:6:::0;32796:29:::2;:64::i;:::-;32876:26;::::0;;;;;;;32883:10:::2;::::0;32876:26:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;28030:1:0;28992:7;:22;32541:369::o;30703:29::-;;;;:::o;36927:360::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37051:12:::1;;37033:15;:30;37011:168;;;;-1:-1:-1::0;;;37011:168:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37190:15;:34:::0;;;37240:39:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;36927:360:::0;:::o;31814:330::-;31861:7;31885:12;;31901:1;31885:17;31881:77;;;-1:-1:-1;31926:20:0;;31919:27;;31881:77;31988:148;32031:90;32108:12;;32031:72;32098:4;32031:62;32082:10;;32031:46;32062:14;;32031:26;:24;:26::i;:46::-;:50;;:62::i;:90::-;31988:20;;;:24;:148::i;30511:26::-;;;-1:-1:-1;;;;;30511:26:0;;:::o;37299:101::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37366:14:::1;:26:::0;37299:101::o;30739:35::-;;;;:::o;34494:121::-;34549:10;34539:21;;;;:9;:21;;;;;;34530:31;;:8;:31::i;:::-;34572:11;:9;:11::i;:::-;34594:13;:11;:13::i;:::-;34494:121::o;30577:40::-;;;;:::o;32918:552::-;28074:1;28680:7;;:19;;28672:63;;;;;-1:-1:-1;;;28672:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28074:1;28813:7;:18;33040:10:::1;37526:16;:14;:16::i;:::-;37503:20;:39:::0;37570:26:::1;:24;:26::i;:::-;37553:14;:43:::0;-1:-1:-1;;;;;37611:21:0;::::1;::::0;37607:157:::1;;37668:15;37675:7;37668:6;:15::i;:::-;-1:-1:-1::0;;;;;37649:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;37732:20:::1;::::0;37698:22:::1;:31:::0;;;;;;:54;37607:157:::1;33080:1:::2;33071:6;:10;33063:37;;;::::0;;-1:-1:-1;;;33063:37:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;33126:12;::::0;:24:::2;::::0;33143:6;33126:16:::2;:24::i;:::-;33111:12;:39:::0;33195:10:::2;33185:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;33211:6;33185:25:::2;:33::i;:::-;33171:10;33161:21;::::0;;;:9:::2;:21;::::0;;;;;:57;;;;33268:12:::2;::::0;33250:93;;;;;::::2;::::0;::::2;::::0;;;;33310:4:::2;33250:93:::0;;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33268:12:0;;::::2;::::0;33250:39:::2;::::0;:93;;;;;33161:21;33250:93;;;;;;33161:21;33268:12;33250:93;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;33356:12:0::2;::::0;:64:::2;::::0;-1:-1:-1;;;;;;33356:12:0::2;::::0;-1:-1:-1;33386:10:0::2;33406:4;33413:6:::0;33356:29:::2;:64::i;:::-;33436:26;::::0;;;;;;;33443:10:::2;::::0;33436:26:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;28030:1:0;28992:7;:22;-1:-1:-1;;;;32918:552:0:o;3129:244::-;2406:12;:10;:12::i;:::-;-1:-1:-1;;;;;2395:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2395:23:0;;2387:68;;;;;-1:-1:-1;;;2387:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3218:22:0;::::1;3210:73;;;;-1:-1:-1::0;;;3210:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3320:6;::::0;3299:38:::1;::::0;-1:-1:-1;;;;;3299:38:0;;::::1;::::0;3320:6:::1;::::0;3299:38:::1;::::0;3320:6:::1;::::0;3299:38:::1;3348:6;:17:::0;;-1:-1:-1;;3348:17:0::1;-1:-1:-1::0;;;;;3348:17:0;;;::::1;::::0;;;::::1;::::0;;3129:244::o;7512:158::-;7570:7;7603:1;7598;:6;;7590:49;;;;;-1:-1:-1;;;7590:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7657:5:0;;;7512:158::o;7929:220::-;7987:7;8011:6;8007:20;;-1:-1:-1;8026:1:0;8019:8;;8007:20;8050:5;;;8054:1;8050;:5;:1;8074:5;;;;;:10;8066:56;;;;-1:-1:-1;;;8066:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8140:1;7929:220;-1:-1:-1;;;7929:220:0:o;8627:153::-;8685:7;8717:1;8713;:5;8705:44;;;;;-1:-1:-1;;;8705:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8771:1;8767;:5;;;;;;;8627:153;-1:-1:-1;;;8627:153:0:o;7050:179::-;7108:7;7140:5;;;7164:6;;;;7156:46;;;;;-1:-1:-1;;;7156:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23243:177;23353:58;;;-1:-1:-1;;;;;23353:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23376:23;23353:58;;;23326:86;;23346:5;;23326:19;:86::i;704:106::-;792:10;704:106;:::o;3822:::-;3880:7;3911:1;3907;:5;:13;;3919:1;3907:13;;;-1:-1:-1;3915:1:0;;3900:20;-1:-1:-1;3822:106:0:o;23428:205::-;23556:68;;;-1:-1:-1;;;;;23556:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23579:27;23556:68;;;23529:96;;23549:5;;23529:19;:96::i;:::-;23428:205;;;;:::o;25548:761::-;25972:23;25998:69;26026:4;25998:69;;;;;;;;;;;;;;;;;26006:5;-1:-1:-1;;;;;25998:27:0;;;:69;;;;;:::i;:::-;26082:17;;25972:95;;-1:-1:-1;26082:21:0;26078:224;;26224:10;26213:30;;;;;;;;;;;;;;;-1:-1:-1;26213:30:0;26205:85;;;;-1:-1:-1;;;26205:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18232:195;18335:12;18367:52;18389:6;18397:4;18403:1;18406:12;18367:21;:52::i;:::-;18360:59;18232:195;-1:-1:-1;;;;18232:195:0:o;19284:530::-;19411:12;19469:5;19444:21;:30;;19436:81;;;;-1:-1:-1;;;19436:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19536:18;19547:6;19536:10;:18::i;:::-;19528:60;;;;;-1:-1:-1;;;19528:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19662:12;19676:23;19703:6;-1:-1:-1;;;;;19703:11:0;19723:5;19731:4;19703:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19703:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19661:75;;;;19754:52;19772:7;19781:10;19793:12;19754:17;:52::i;:::-;19747:59;19284:530;-1:-1:-1;;;;;;;19284:530:0:o;15314:422::-;15681:20;15720:8;;;15314:422::o;21824:742::-;21939:12;21968:7;21964:595;;;-1:-1:-1;21999:10:0;21992:17;;21964:595;22113:17;;:21;22109:439;;22376:10;22370:17;22437:15;22424:10;22420:2;22416:19;22409:44;22324:148;22519:12;22512:20;;-1:-1:-1;;;22512:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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