ETH Price: $3,851.73 (-3.42%)

Contract

0xda58927f4065F1D02a6ea850C2Aac49D7362A643
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw148832752022-06-01 6:18:05930 days ago1654064285IN
0xda58927f...D7362A643
0 ETH0.0025548434.53933904
Get Reward148789932022-05-31 13:39:11931 days ago1654004351IN
0xda58927f...D7362A643
0 ETH0.0019426641.74896085
Get Reward147836922022-05-16 2:37:35946 days ago1652668655IN
0xda58927f...D7362A643
0 ETH0.0016498824.83572018
Get Reward147654762022-05-13 5:22:02949 days ago1652419322IN
0xda58927f...D7362A643
0 ETH0.00523833112.57479444
Get Reward147635392022-05-12 21:49:52950 days ago1652392192IN
0xda58927f...D7362A643
0 ETH0.00485373.05221039
Get Reward136367192021-11-18 2:34:391125 days ago1637202879IN
0xda58927f...D7362A643
0 ETH0.0084293126.88617783
Withdraw135846592021-11-09 21:55:101134 days ago1636494910IN
0xda58927f...D7362A643
0 ETH0.01901331165.00169569
Withdraw131318412021-08-31 6:48:081204 days ago1630392488IN
0xda58927f...D7362A643
0 ETH0.00281153.21245145
Withdraw131318352021-08-31 6:46:561204 days ago1630392416IN
0xda58927f...D7362A643
0 ETH0.0071261758.36247718
Get Reward127708152021-07-06 0:50:071261 days ago1625532607IN
0xda58927f...D7362A643
0 ETH0.0006643210
Withdraw127314912021-06-29 22:06:321267 days ago1625004392IN
0xda58927f...D7362A643
0 ETH0.0031042429
Withdraw127276492021-06-29 7:28:191267 days ago1624951699IN
0xda58927f...D7362A643
0 ETH0.0007650812
Get Reward127276352021-06-29 7:25:421267 days ago1624951542IN
0xda58927f...D7362A643
0 ETH0.0013099318
Withdraw125782842021-06-06 2:39:561290 days ago1622947196IN
0xda58927f...D7362A643
0 ETH0.0006914910.84375
Withdraw125731152021-06-05 7:23:061291 days ago1622877786IN
0xda58927f...D7362A643
0 ETH0.0016054615
Withdraw125626402021-06-03 16:39:271293 days ago1622738367IN
0xda58927f...D7362A643
0 ETH0.0022314935
Withdraw125609652021-06-03 10:15:351293 days ago1622715335IN
0xda58927f...D7362A643
0 ETH0.0014664123
Withdraw125193092021-05-27 23:32:051300 days ago1622158325IN
0xda58927f...D7362A643
0 ETH0.0021039833
Get Reward125192942021-05-27 23:28:361300 days ago1622158116IN
0xda58927f...D7362A643
0 ETH0.0031455935
Withdraw125180772021-05-27 18:55:041300 days ago1622141704IN
0xda58927f...D7362A643
0 ETH0.0012769624.2
Withdraw125180772021-05-27 18:55:041300 days ago1622141704IN
0xda58927f...D7362A643
0 ETH0.001543224.2
Get Reward125100382021-05-26 12:48:401301 days ago1622033320IN
0xda58927f...D7362A643
0 ETH0.0023726726.4
Get Reward124512412021-05-17 10:09:441310 days ago1621246184IN
0xda58927f...D7362A643
0 ETH0.0051228157
Withdraw124357082021-05-15 0:07:391313 days ago1621037259IN
0xda58927f...D7362A643
0 ETH0.01205236134
Withdraw123598152021-05-03 7:18:081324 days ago1620026288IN
0xda58927f...D7362A643
0 ETH0.0029791424
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
156331792022-09-28 16:58:11811 days ago1664384291
0xda58927f...D7362A643
0 ETH
148832752022-06-01 6:18:05930 days ago1654064285
0xda58927f...D7362A643
0 ETH
135846592021-11-09 21:55:101134 days ago1636494910
0xda58927f...D7362A643
0 ETH
135846592021-11-09 21:55:101134 days ago1636494910
0xda58927f...D7362A643
0 ETH
131318352021-08-31 6:46:561204 days ago1630392416
0xda58927f...D7362A643
0 ETH
131318352021-08-31 6:46:561204 days ago1630392416
0xda58927f...D7362A643
0 ETH
127314912021-06-29 22:06:321267 days ago1625004392
0xda58927f...D7362A643
0 ETH
127314912021-06-29 22:06:321267 days ago1625004392
0xda58927f...D7362A643
0 ETH
127276492021-06-29 7:28:191267 days ago1624951699
0xda58927f...D7362A643
0 ETH
127276352021-06-29 7:25:421267 days ago1624951542
0xda58927f...D7362A643
0 ETH
125782842021-06-06 2:39:561290 days ago1622947196
0xda58927f...D7362A643
0 ETH
125731152021-06-05 7:23:061291 days ago1622877786
0xda58927f...D7362A643
0 ETH
125731152021-06-05 7:23:061291 days ago1622877786
0xda58927f...D7362A643
0 ETH
125626402021-06-03 16:39:271293 days ago1622738367
0xda58927f...D7362A643
0 ETH
125609652021-06-03 10:15:351293 days ago1622715335
0xda58927f...D7362A643
0 ETH
125193092021-05-27 23:32:051300 days ago1622158325
0xda58927f...D7362A643
0 ETH
125192942021-05-27 23:28:361300 days ago1622158116
0xda58927f...D7362A643
0 ETH
125180772021-05-27 18:55:041300 days ago1622141704
0xda58927f...D7362A643
0 ETH
125100382021-05-26 12:48:401301 days ago1622033320
0xda58927f...D7362A643
0 ETH
124512412021-05-17 10:09:441310 days ago1621246184
0xda58927f...D7362A643
0 ETH
124357082021-05-15 0:07:391313 days ago1621037259
0xda58927f...D7362A643
0 ETH
124357082021-05-15 0:07:391313 days ago1621037259
0xda58927f...D7362A643
0 ETH
123598152021-05-03 7:18:081324 days ago1620026288
0xda58927f...D7362A643
0 ETH
123598152021-05-03 7:18:081324 days ago1620026288
0xda58927f...D7362A643
0 ETH
123402372021-04-30 6:31:101327 days ago1619764270
0xda58927f...D7362A643
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LoyaltyMine

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-25
*/

////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////.////////////////////////////////.////////////////////////////////////
///////////////////////////////////.@.//////////////////////////////////.@./////////////////////////////////
////////////////////////////////.@@.//////////////////////////////////////.@@.//////////////////////////////
/////////////////////////////..@@@.////////////////////////////////////////.@@@..///////////////////////////
///////////////////////////.@@@@@.//////////////////////////////////////////.@@@@@./////////////////////////
/////////////////////////.@@@@@@@////////////////////////////////////////////@@@@@@@.///////////////////////
////////////////////////.@@@@@@@.////////////////////////////////////////////.@@@@@@@.//////////////////////
//////////////////..///.@@@@@@@@//////////////////////////////////////////////@@@@@@@@.///..////////////////
////////////////.@@.//.@@@@@@@@@//////////////////////////////////////////////@@@@@@@@@.//.@@.//////////////
///////////////@@@@.//@@@@@@@@@.//////////////////////////////////////////////.@@@@@@@@@//@@@@@/////////////
//////////////@@@@@@//@@@@@@@@@.//////////////////////////////////////////////.@@@@@@@@@//@@@@@@////////////
/////////////@@@@@@@./@@@@@@@@@@//////////////////////////////////////////////@@@@@@@@@./.@@@@@@@///////////
/////////////@@@@@@@@//@@@@@@@@@.////////////////////////////////////////////.@@@@@@@@@//@@@@@@@@///////////
/////////////@@@@@@@@.//.@@@@@@@@.//////////////////////////////////////////@@@@@@@@@.//.@@@@@@@@///////////
/////////////@@@@@@@@@///.@@@@@@@@@.////////.//////////////////////////////@@@@@@@@@.///@@@@@@@@@///////////
/////////////.@@@@@@@@@///..@@@@@@@.////////.@.///////////////////////////.@@@@@@@.////@@@@@@@@@.///////////
//////////////.@@@@@@@@@.////.@@@@///////////.@@.//////////////////////////.@@@@.////.@@@@@@@@@.////////////
//////////.////.@@@@@@@@@@./////./////////////.@@@@..////////////////////////./////.@@@@@@@@@@.///..////////
//////////@@.///.@@@@@@@@@@@.//////////////////.@@@@@@@@@@./////////////////////..@@@@@@@@@@.///.@@.////////
//////////@@@@.///.@@@@@@@@@@@@.////////////////.@@@@@@@@@@@..///////////////.@@@@@@@@@@@@@.//.@@@@.////////
//////////.@@@@@@.///.@@@@@@@@@@@.///////////////.@@@@@@@@@@@@./////////////.@@@@@@@@@@@.//.@@@@@@@.////////
//////////.@@@@@@@@.////.@@@@@@@@@.///////////////@@@@@@@@@...@////////////.@@@@@@@@@.//..@@@@@@@@@.////////
//////////.@@@@@@@@@@@..////..@@@@@@./////////////@@@@@@@@@ /////////////.@@@@@@..///..@@@@@@@@@@@./////////
///////////.@@@@@@@@@@@@@@..//////.....///////////@@@@@@@@@.///////////...../////..@@@@@@@@@@@@@@@//////////
////////////.@@@@@@@@@@@@@@@@@@....///////////////@@@@@@@@@.///////////////...@@@@@@@@@@@@@@@@@@@.//////////
/////////////.@@@@@@@@@@@@@@@@@@@@@@@@@@@..///////@@@@@@@@@@//////....@@@@@@@@@@@@@@@@@@@@@@@@@@.///////////
//////////////.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.///.@@@@@@@@@@/////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/////////////
////////////////.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@///@@@@@@@@@@@.///.@@@@@@@@@@@@@@@@@@@@@@@@@@@@.//////////////
//////////////////.@@@@@@@@@@@@@@@@@@@@@@@@@@@@/@@@@@@@@@@@@@./.@@@@@@@@@@@@@@@@@@@@@@@@@@@.////////////////
////////////////////.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..//////////////////
//////////////////////..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@./////////////////////
/////////////////////////..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.////////////////////////
/////////////////////////////..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..///////////////////////////               
/////////////////////////////////..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..///////////////////////////////
//////////////////////////////////////...@@@@@@@@@@@@@@@@@@@@@@@@@@@@...////////////////////////////////////
//////////////////////////////////////////////...@@@@@@@@@@@@@@...//////////////////////////////////////////
//////////////////////////////////////////////////.@@@@@@@@@////////////////////////////////////////////////
////////////////////////////////////////////////.@@@@@./@@@@@///////////////////////////////////////////////
///////////////////////////////////////////////.@@@@@@///@@@@@./////////////////////////////////////////////
/////////////////////////////////////////////.@@@@@@@/.@./@@@@@@.///////////////////////////////////////////
////////////////////////////////////////////@@@@@@@@/.@@@/.@@@@@@@./////////////////////////////////////////
///////////////////////////////////////////.@@@@@@@//@@@@@//@@@@@@@.////////////////////////////////////////
////////////////////////////////////////////.@@@@@./@@@@@@@/.@@@@@./////////////////////////////////////////
//////////////////////////////////////////////.@@./@@@@@@@@@/.@@.///////////////////////////////////////////
///////////////////////////////////////////////../@@@@@@@@@@@/..////////////////////////////////////////////
/////////////////////////////////////////////////@@@@@@@@@@@@@//////////////////////////////////////////////
////////////////////////////////////////////////@@@@@@@@@@@@@@@/////////////////////////////////////////////
///////////////////////////////////////////////@@@@@@.///.@@@@@.////////////////////////////////////////////
//////////////////////////////////////////////.@@..//.@@..//..@@.///////////////////////////////////////////
/////////////////////////////////////////////..//////@@@@//////...//////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////_______///________//____////____//_______//______///////__///__////______////______////////////
/////////////@@_____|//@@@__@@@\/\@@@\  /@@@//|@@@____||@@@_  \/////|@@\ |@@|///  __  \//|@@@_@@\///////////
////////////|@@|//__//|@@|  |@@|//\@@@\/@@@///|@@|__///|@@|_)  |////|@@@\|@@|/|@@|  |@@|/|@@|_)@@|//////////
////////////|@@| |_@|/|@@|  |@@|///\@@@@@@////|@@@__|//|@@@@@@//////|@@.@`@@|/|@@|  |@@|/|@@@@@@////////////
////////////|@@|__|@|/|@@`--'@@|////\@@@@/////|@@|____/|@@|\@@\----.|@@|\@@@|/|@@`--'@@|/|@@|\@@\----.//////
/////////////\______|//\______///////\__//////|_______|| _| `._____||__| \__|//\______///|@_| `._____|//////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////

// SPDX-License-Identifier: MIT
// Author: Uni <3
// Intent: Rewards Loyalty Points to the LOYAL early adopters of Governor DAO.
// We Are One. We Are All.

// File: browser/Address.sol

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.3._
     */
    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.3._
     */
    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: browser/SafeERC20.sol

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: browser/ReentrancyGuard.sol

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 () {
        _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: browser/Context.sol

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: browser/Ownable.sol

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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: browser/Pausable.sol

pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

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

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

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

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

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

// File: browser/IERC20.sol

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: browser/IStakedRewardsPool.sol

pragma solidity ^0.7.0;


interface IStakedRewardsPool {
	/* Views */

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

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

	function rewardsToken() external view returns (IERC20);

	function stakingToken() external view returns (IERC20);

	function stakingTokenDecimals() external view returns (uint8);

	function totalSupply() external view returns (uint256);

	/* Mutators */

	function exit() external;

	function getReward() external;

	function getRewardExact(uint256 amount) external;

	function pause() external;

	function recoverUnsupportedERC20(
		IERC20 token,
		address to,
		uint256 amount
	) external;

	function stake(uint256 amount) external;

	function unpause() external;

	function updateReward() external;

	function updateRewardFor(address account) external;

	function withdraw(uint256 amount) external;

	/* Events */

	event RewardPaid(address indexed account, uint256 amount);
	event Staked(address indexed account, uint256 amount);
	event Withdrawn(address indexed account, uint256 amount);
	event Recovered(IERC20 token, address indexed to, uint256 amount);
}

// File: browser/IStakedRewardsPoolTimedRate.sol

pragma solidity ^0.7.0;


interface IStakedRewardsPoolTimedRate is IStakedRewardsPool {
	/* Views */

	function accruedRewardPerToken() external view returns (uint256);

	function hasEnded() external view returns (bool);

	function hasStarted() external view returns (bool);

	function lastTimeRewardApplicable() external view returns (uint256);

	function periodDuration() external view returns (uint256);

	function periodEndTime() external view returns (uint256);

	function periodStartTime() external view returns (uint256);

	function rewardRate() external view returns (uint256);

	function timeRemainingInPeriod() external view returns (uint256);

	/* Mutators */

	function addToRewardsAllocation(uint256 amount) external;

	function setNewPeriod(uint256 startTime, uint256 endTime) external;

	/* Events */

	event RewardAdded(uint256 amount);
	event NewPeriodSet(uint256 startTIme, uint256 endTime);
}

// File: browser/SafeMath.sol

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.
     */
    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.
     */
    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.
     */
    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.
     */
    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.
     */
    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: browser/Math.sol

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: browser/StakedRewardsPool.sol

pragma solidity ^0.7.0;

abstract contract StakedRewardsPool is Context,	ReentrancyGuard, Ownable, Pausable, IStakedRewardsPool {
	using SafeERC20 for IERC20;
	using SafeMath for uint256;

	mapping(address => uint256) internal _rewards;

	uint8 private _stakingTokenDecimals;
	IERC20 private _rewardsToken;
	IERC20 private _stakingToken;
	uint256 private _stakingTokenBase;

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

	constructor(IERC20 rewardsToken_, IERC20 stakingToken_, uint8 stakingTokenDecimals_) Ownable() {
		// Prevent overflow, though 76 would create a safe but unusable contract
		require(stakingTokenDecimals_ < 77, 'SR Pool: 76 decimals limit');
		_rewardsToken = rewardsToken_;
		_stakingToken = stakingToken_;
		_stakingTokenDecimals = stakingTokenDecimals_;
		_stakingTokenBase = 10**stakingTokenDecimals_;
	}


	/* Public Views */

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

	function earned(address account) public view virtual override returns (uint256);

	function rewardsToken() public view override returns (IERC20) {	return _rewardsToken; }

	function stakingToken() public view override returns (IERC20) {	return _stakingToken; }

	function stakingTokenDecimals() public view override returns (uint8) { return _stakingTokenDecimals; }

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

	/* Public Mutators */

	function exit() public override nonReentrant { _exit();	}

	function getReward() public override nonReentrant {	_getReward(); }

	function getRewardExact(uint256 amount) public override nonReentrant { _getRewardExact(amount);	}

	function pause() public override onlyOwner { _pause(); }

	function recoverUnsupportedERC20(IERC20 token, address to, uint256 amount) public override onlyOwner { _recoverUnsupportedERC20(token, to, amount); }

	function stake(uint256 amount) public override nonReentrant whenNotPaused {	_stakeFrom(_msgSender(), amount); }

	function unpause() public override onlyOwner { _unpause(); }

	function updateReward() public override nonReentrant { _updateRewardFor(_msgSender()); }

	function updateRewardFor(address account) public override nonReentrant { _updateRewardFor(account); }

	function withdraw(uint256 amount) public override nonReentrant { _withdraw(amount); }

	function _getStakingTokenBase() internal view returns (uint256) { return _stakingTokenBase; }

	/* Internal Mutators */

	function _exit() internal virtual {
		_withdraw(_balances[_msgSender()]);
		_getReward();
	}

	function _getReward() internal virtual {
		_updateRewardFor(_msgSender());
		uint256 reward = _rewards[_msgSender()];
		if (reward > 0) {
			_rewards[_msgSender()] = 0;
			_rewardsToken.safeTransfer(_msgSender(), reward); // consider transfer
		
			emit RewardPaid(_msgSender(), reward);
		}
	}

	function _getRewardExact(uint256 amount) internal virtual {
		_updateRewardFor(_msgSender());
		uint256 reward = _rewards[_msgSender()];
		require(amount <= reward, 'SR Pool: cannot redeem more rewards than earned');
		
		_rewards[_msgSender()] = reward.sub(amount);
		_rewardsToken.safeTransfer(_msgSender(), amount); // consider transfer
		
		emit RewardPaid(_msgSender(), amount);
	}

	function _recoverUnsupportedERC20(IERC20 token, address to,	uint256 amount) internal virtual {
		require(token != _stakingToken, 'StakedRewardsPool: cannot withdraw the staking token');
		require(token != _rewardsToken, 'StakedRewardsPool: cannot withdraw the rewards token');
		
		token.safeTransfer(to, amount);
		
		emit Recovered(token, to, amount);
	}

	function _stakeFrom(address account, uint256 amount) internal virtual {
		require(account != address(0), 'SR Pool: cannot stake from the zero address');
		require(amount > 0, 'SR Pool: cannot stake zero');
		
		_updateRewardFor(account);
		
		_totalSupply = _totalSupply.add(amount);
		_balances[account] = _balances[account].add(amount);
		_stakingToken.safeTransferFrom(account, address(this), amount);
		
		emit Staked(account, amount);
	}

	function _updateRewardFor(address account) internal virtual;

	function _withdraw(uint256 amount) internal virtual {
		require(amount > 0, 'StakedRewardsPool: cannot withdraw zero');
		
		_updateRewardFor(_msgSender());
		
		_totalSupply = _totalSupply.sub(amount);
		_balances[_msgSender()] = _balances[_msgSender()].sub(amount);
		_stakingToken.safeTransfer(_msgSender(), amount);
		_getReward();
		
		emit Withdrawn(_msgSender(), amount);
	}
}

// File: browser/LoyaltyMine.sol

pragma solidity ^0.7.0;

// Accuracy in block.timestamp is not needed.
// https://consensys.github.io/smart-contract-best-practices/recommendations/#the-15-second-rule
/* solhint-disable not-rely-on-time */

contract LoyaltyMine is StakedRewardsPool, IStakedRewardsPoolTimedRate {
	using SafeMath for uint256;

	uint256 private _accruedRewardPerToken;
	mapping(address => uint256) private _accruedRewardPerTokenPaid;
	uint256 private _lastUpdateTime;
	uint256 private _periodEndTime;
	uint256 private _periodStartTime;
	uint256 private _rewardRate;

	modifier whenStarted {
		require(hasStarted(), 'SRPTR: current rewards distribution period has not yet begun');
		_;
	}

	constructor(IERC20 rewardsToken, IERC20 stakingToken, uint8 stakingTokenDecimals, uint256 periodStartTime_, uint256 periodEndTime_)
	StakedRewardsPool(rewardsToken, stakingToken, stakingTokenDecimals) {
		_periodStartTime = periodStartTime_;
		_periodEndTime = periodEndTime_;
	}

	// Represents the ratio of reward token to staking token accrued thus far
	// multiplied by 10**stakingTokenDecimal (in event of a fraction).
	function accruedRewardPerToken() public view override returns (uint256) {
		uint256 totalSupply = totalSupply();
		if (totalSupply == 0) {
			return _accruedRewardPerToken;
		}

		uint256 lastUpdateTime = _lastUpdateTime;
		uint256 lastTimeApplicable = lastTimeRewardApplicable();

		// Allow staking at any time without earning undue rewards.
		// The following is guaranteed if the next `if` is true:
		// lastUpdateTime == previous _periodEndTime || lastUpdateTime == 0
		if (_periodStartTime > lastUpdateTime) {
			// Prevent underflow
			if (_periodStartTime > lastTimeApplicable) {
				return _accruedRewardPerToken;
			}
			lastUpdateTime = _periodStartTime;
		}

		uint256 dt = lastTimeApplicable.sub(lastUpdateTime);

		if (dt == 0) {
			return _accruedRewardPerToken;
		}

		uint256 accruedReward = _rewardRate.mul(dt);
		return _accruedRewardPerToken.add(accruedReward.mul(_getStakingTokenBase()).div(totalSupply));
	}

	function earned(address account) public view override(IStakedRewardsPool, StakedRewardsPool) returns (uint256) {
		// Divide by stakingTokenBase in accordance with accruedRewardPerToken()
		return
			balanceOf(account)
				.mul(accruedRewardPerToken().sub(_accruedRewardPerTokenPaid[account]))
				.div(_getStakingTokenBase())
				.add(_rewards[account]);
	}

	function hasStarted() public view override returns (bool) {	return block.timestamp >= _periodStartTime; }

	function hasEnded() public view override returns (bool) { return block.timestamp >= _periodEndTime;	}

	function lastTimeRewardApplicable() public view override returns (uint256) {
		// Returns 0 if we have never run a staking period, else most recent historical endTime.
		if (!hasStarted()) {
			return _lastUpdateTime;
		}
		return Math.min(block.timestamp, _periodEndTime);
	}

	function periodDuration() public view override returns (uint256) { return _periodEndTime.sub(_periodStartTime);	}

	function periodEndTime() public view override returns (uint256) { return _periodEndTime; }

	function periodStartTime() public view override returns (uint256) { return _periodStartTime; }

	function rewardRate() public view override returns (uint256) { return _rewardRate; }

	function timeRemainingInPeriod() public view override whenStarted returns (uint256)	{
		if (hasEnded()) {
			return 0;
		}

		return _periodEndTime.sub(block.timestamp);
	}

	/* Public Mutators */

	function addToRewardsAllocation(uint256 amount)	public override nonReentrant onlyOwner {
		_addToRewardsAllocation(amount);
	}

	function setNewPeriod(uint256 startTime, uint256 endTime) public override onlyOwner {
		require(!hasStarted() || hasEnded(), 'SRPTR: cannot change an ongoing staking period');
		require(endTime > startTime, 'SRPTR: ends before the fun begins');
		// The lastTimeRewardApplicable() function would not allow rewards for a past period that was never initiated.
		require(startTime > block.timestamp, 'SRPTR: startTime must be greater than the current block time');
		// Ensure rewards are fully granted before changing the period.
		_updateAccrual();

		if (hasEnded()) {
			// Reset reward rate if this a **new** period (not changing one)
			// Note: you MUST addToRewardsAllocation again if you forgot to call
			// this after the previous period ended but before adding rewards.
			_rewardRate = 0;
		} else {
			// Update reward rate for new duration.
			uint256 totalReward = _rewardRate.mul(periodDuration());
			_rewardRate = totalReward.div(endTime.sub(startTime));
		}

		_periodStartTime = startTime;
		_periodEndTime = endTime;

		emit NewPeriodSet(startTime, endTime);
	}

	/* Internal Mutators */

	// Ensure that the amount param is equal to the amount you've added to the contract, otherwise the funds will run out before _periodEndTime.
	// If called during an ongoing staking period, then the amount will be allocated to the current staking period, otherwise the next period.
	function _addToRewardsAllocation(uint256 amount) internal {
		// TODO Require that amount <= available rewards (see below)
		_updateAccrual();

		// Update reward rate based on remaining time.
		uint256 remainingTime;
		if (!hasStarted() || hasEnded()) {
			remainingTime = periodDuration();
		} else {
			remainingTime = timeRemainingInPeriod();
		}

		_rewardRate = _rewardRate.add(amount.div(remainingTime));

		emit RewardAdded(amount);
	}

	function _updateAccrual() internal {
		_accruedRewardPerToken = accruedRewardPerToken();
		_lastUpdateTime = lastTimeRewardApplicable();
	}

	// This logic is needed for any interaction that may manipulate rewards.
	function _updateRewardFor(address account) internal override {
		_updateAccrual();
		// Allocate accrued rewards.
		_rewards[account] = earned(account);
		// Remove ability to earn rewards on or before the current timestamp.
		_accruedRewardPerTokenPaid[account] = _accruedRewardPerToken;
	}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"rewardsToken","type":"address"},{"internalType":"contract IERC20","name":"stakingToken","type":"address"},{"internalType":"uint8","name":"stakingTokenDecimals","type":"uint8"},{"internalType":"uint256","name":"periodStartTime_","type":"uint256"},{"internalType":"uint256","name":"periodEndTime_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTIme","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"NewPeriodSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"accruedRewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addToRewardsAllocation","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":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getRewardExact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverUnsupportedERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardRate","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":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"setNewPeriod","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":"stakingTokenDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeRemainingInPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"updateRewardFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200329838038062003298833981810160405260a08110156200003757600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050848484600160008190555060006200008d6200028760201b60201c565b905080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506000600160146101000a81548160ff021916908315150217905550604d8160ff1610620001c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f535220506f6f6c3a20373620646563696d616c73206c696d697400000000000081525060200191505060405180910390fd5b82600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548160ff021916908360ff1602179055508060ff16600a0a60058190555050505081600c8190555080600b8190555050505050506200028f565b600033905090565b612ff9806200029f6000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c806380faa57d1161010f578063b9f7a7b5116100a2578063ecb70fb711610071578063ecb70fb71461063c578063f2fde38b1461065c578063f36c0a72146106a0578063f4695199146106aa576101e4565b8063b9f7a7b5146105bf578063bdf7acce146105e0578063d1af0c7d146105fe578063e9fad8ee14610632576101e4565b80638da5cb5b116100de5780638da5cb5b14610521578063996f093214610555578063a694fc3a14610573578063b470aade146105a1576101e4565b806380faa57d1461044757806381b72684146104655780638456cb59146104a957806386a86d41146104b3576101e4565b80633f4ba83a11610187578063715018a611610156578063715018a6146103cd57806372f702f3146103d7578063736d7c231461040b5780637b0a47ee14610429576101e4565b80633f4ba83a1461032b57806344691f7e146103355780635c975abb1461035557806370a0823114610375576101e4565b806318160ddd116101c357806318160ddd146102a75780631d8df8f9146102c55780632e1a7d4d146102f35780633d18b91214610321576101e4565b80628cc262146101e957806306032dec146102415780630c2d27ac1461026f575b600080fd5b61022b600480360360208110156101ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106c8565b6040518082815260200191505060405180910390f35b61026d6004803603602081101561025757600080fd5b81019080803590602001909291905050506107ae565b005b6102a56004803603604081101561028557600080fd5b810190808035906020019092919080359060200190929190505050610843565b005b6102af610aea565b6040518082815260200191505060405180910390f35b6102f1600480360360208110156102db57600080fd5b8101908080359060200190929190505050610af4565b005b61031f6004803603602081101561030957600080fd5b8101908080359060200190929190505050610c53565b005b610329610ce8565b005b610333610d7b565b005b61033d610e4f565b60405180821515815260200191505060405180910390f35b61035d610e5c565b60405180821515815260200191505060405180910390f35b6103b76004803603602081101561038b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e73565b6040518082815260200191505060405180910390f35b6103d5610ebc565b005b6103df611047565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610413611071565b6040518082815260200191505060405180910390f35b610431611101565b6040518082815260200191505060405180910390f35b61044f61110b565b6040518082815260200191505060405180910390f35b6104a76004803603602081101561047b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611135565b005b6104b16111ca565b005b61051f600480360360608110156104c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061129e565b005b610529611378565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055d6113a2565b6040518082815260200191505060405180910390f35b61059f6004803603602081101561058957600080fd5b81019080803590602001909291905050506113ac565b005b6105a96114cc565b6040518082815260200191505060405180910390f35b6105c76114ea565b604051808260ff16815260200191505060405180910390f35b6105e8611501565b6040518082815260200191505060405180910390f35b61060661150b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61063a611535565b005b6106446115c8565b60405180821515815260200191505060405180910390f35b61069e6004803603602081101561067257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115d5565b005b6106a86117e5565b005b6106b2611880565b6040518082815260200191505060405180910390f35b60006107a7600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461079961071861196d565b61078b610774600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610766611880565b61197790919063ffffffff16565b61077d88610e73565b6119fa90919063ffffffff16565b611a8090919063ffffffff16565b611b0990919063ffffffff16565b9050919050565b60026000541415610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555061083881611b91565b600160008190555050565b61084b611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610915610e4f565b158061092557506109246115c8565b5b61097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612f2a602e913960400191505060405180910390fd5b8181116109d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f796021913960400191505060405180910390fd5b428211610a2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612ec7603c913960400191505060405180910390fd5b610a32611d57565b610a3a6115c8565b15610a4c576000600d81905550610a99565b6000610a6a610a596114cc565b600d546119fa90919063ffffffff16565b9050610a91610a82848461197790919063ffffffff16565b82611a8090919063ffffffff16565b600d81905550505b81600c8190555080600b819055507fa6b56f4ff0798bc2816f31bd924541079dbadafce7eaf7f72fe7127d5d0d8be18282604051808381526020018281526020019250505060405180910390a15050565b6000600754905090565b60026000541415610b6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550610b7d611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c4881611d75565b600160008190555050565b60026000541415610ccc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550610cdd81611e1e565b600160008190555050565b60026000541415610d61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550610d71611ff9565b6001600081905550565b610d83611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610e4d612156565b565b6000600c54421015905090565b6000600160149054906101000a900460ff16905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ec4611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061107b610e4f565b6110d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612de0603c913960400191505060405180910390fd5b6110d86115c8565b156110e657600090506110fe565b6110fb42600b5461197790919063ffffffff16565b90505b90565b6000600d54905090565b6000611115610e4f565b61112357600a549050611132565b61112f42600b54612249565b90505b90565b600260005414156111ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506111bf81612262565b600160008190555050565b6111d2611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611294576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61129c6122ff565b565b6112a6611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611368576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6113738383836123f2565b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b54905090565b60026000541415611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160149054906101000a900460ff16156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6114c16114bb611d4f565b826125dc565b600160008190555050565b60006114e5600c54600b5461197790919063ffffffff16565b905090565b6000600360009054906101000a900460ff16905090565b6000600c54905090565b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260005414156115ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506115be612832565b6001600081905550565b6000600b54421015905090565b6115dd611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461169f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611725576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612e1c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6002600054141561185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550611876611871611d4f565b612262565b6001600081905550565b60008061188b610aea565b905060008114156118a15760085491505061196a565b6000600a54905060006118b261110b565b905081600c5411156118db5780600c5411156118d557600854935050505061196a565b600c5491505b60006118f0838361197790919063ffffffff16565b905060008114156119095760085494505050505061196a565b600061192082600d546119fa90919063ffffffff16565b90506119626119518661194361193461196d565b856119fa90919063ffffffff16565b611a8090919063ffffffff16565b600854611b0990919063ffffffff16565b955050505050505b90565b6000600554905090565b6000828211156119ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415611a0d5760009050611a7a565b6000828402905082848281611a1e57fe5b0414611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f586021913960400191505060405180910390fd5b809150505b92915050565b6000808211611af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611b0057fe5b04905092915050565b600080828401905083811015611b87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611ba1611b9c611d4f565b612262565b600060026000611baf611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080821115611c45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612db1602f913960400191505060405180910390fd5b611c58828261197790919063ffffffff16565b60026000611c64611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611cf6611cad611d4f565b83600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b611cfe611d4f565b73ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486836040518082815260200191505060405180910390a25050565b600033905090565b611d5f611880565b600881905550611d6d61110b565b600a81905550565b611d7d611d57565b6000611d87610e4f565b1580611d975750611d966115c8565b5b15611dab57611da46114cc565b9050611db6565b611db3611071565b90505b611ddd611dcc8284611a8090919063ffffffff16565b600d54611b0990919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b60008111611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612f036027913960400191505060405180910390fd5b611e87611e82611d4f565b612262565b611e9c8160075461197790919063ffffffff16565b600781905550611efb8160066000611eb2611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461197790919063ffffffff16565b60066000611f07611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f99611f50611d4f565b82600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b611fa1611ff9565b611fa9611d4f565b73ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040518082815260200191505060405180910390a250565b612009612004611d4f565b612262565b600060026000612017611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156121535760006002600061206b611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120fd6120b4611d4f565b82600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b612105611d4f565b73ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50565b600160149054906101000a900460ff166121d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600160146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61221c611d4f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000818310612258578161225a565b825b905092915050565b61226a611d57565b612273816106c8565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600160149054906101000a900460ff1615612382576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60018060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123c5611d4f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612499576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612d7d6034913960400191505060405180910390fd5b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612e426034913960400191505060405180910390fd5b61256b82828573ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167ffff3b3844276f57024e0b42afec1a37f75db36511e43819a4f2a63ab7862b6488483604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a2505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180612e76602b913960400191505060405180910390fd5b600081116126d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f535220506f6f6c3a2063616e6e6f74207374616b65207a65726f00000000000081525060200191505060405180910390fd5b6126e182612262565b6126f681600754611b0990919063ffffffff16565b60078190555061274e81600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b0990919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506127e0823083600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661292d909392919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a25050565b61288160066000612841611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e1e565b612889611ff9565b565b6129288363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506129ee565b505050565b6129e8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506129ee565b50505050565b6000612a50826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612add9092919063ffffffff16565b9050600081511115612ad857808060200190516020811015612a7157600080fd5b8101908080519060200190929190505050612ad7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612f9a602a913960400191505060405180910390fd5b5b505050565b6060612aec8484600085612af5565b90509392505050565b606082471015612b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ea16026913960400191505060405180910390fd5b612b5985612c9d565b612bcb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612c1a5780518252602082019150602081019050602083039250612bf7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b5091509150612c91828286612cb0565b92505050949350505050565b600080823b905060008111915050919050565b60608315612cc057829050612d75565b600083511115612cd35782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d3a578082015181840152602081019050612d1f565b50505050905090810190601f168015612d675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe5374616b656452657761726473506f6f6c3a2063616e6e6f7420776974686472617720746865207374616b696e6720746f6b656e535220506f6f6c3a2063616e6e6f742072656465656d206d6f72652072657761726473207468616e206561726e656453525054523a2063757272656e74207265776172647320646973747269627574696f6e20706572696f6420686173206e6f742079657420626567756e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735374616b656452657761726473506f6f6c3a2063616e6e6f7420776974686472617720746865207265776172647320746f6b656e535220506f6f6c3a2063616e6e6f74207374616b652066726f6d20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c53525054523a20737461727454696d65206d7573742062652067726561746572207468616e207468652063757272656e7420626c6f636b2074696d655374616b656452657761726473506f6f6c3a2063616e6e6f74207769746864726177207a65726f53525054523a2063616e6e6f74206368616e676520616e206f6e676f696e67207374616b696e6720706572696f64536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7753525054523a20656e6473206265666f7265207468652066756e20626567696e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220eb22be2f36c9427017d729055333f622a36c8bf80bd251f317aa0f9defe9804c64736f6c63430007060033000000000000000000000000eda4f23957d2f819c22761c4d6d6157bd3fe0724000000000000000000000000515d7e9d75e2b76db60f8a051cd890eba23286bc000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000600e5e5f0000000000000000000000000000000000000000000000000000000060650cff

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c806380faa57d1161010f578063b9f7a7b5116100a2578063ecb70fb711610071578063ecb70fb71461063c578063f2fde38b1461065c578063f36c0a72146106a0578063f4695199146106aa576101e4565b8063b9f7a7b5146105bf578063bdf7acce146105e0578063d1af0c7d146105fe578063e9fad8ee14610632576101e4565b80638da5cb5b116100de5780638da5cb5b14610521578063996f093214610555578063a694fc3a14610573578063b470aade146105a1576101e4565b806380faa57d1461044757806381b72684146104655780638456cb59146104a957806386a86d41146104b3576101e4565b80633f4ba83a11610187578063715018a611610156578063715018a6146103cd57806372f702f3146103d7578063736d7c231461040b5780637b0a47ee14610429576101e4565b80633f4ba83a1461032b57806344691f7e146103355780635c975abb1461035557806370a0823114610375576101e4565b806318160ddd116101c357806318160ddd146102a75780631d8df8f9146102c55780632e1a7d4d146102f35780633d18b91214610321576101e4565b80628cc262146101e957806306032dec146102415780630c2d27ac1461026f575b600080fd5b61022b600480360360208110156101ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106c8565b6040518082815260200191505060405180910390f35b61026d6004803603602081101561025757600080fd5b81019080803590602001909291905050506107ae565b005b6102a56004803603604081101561028557600080fd5b810190808035906020019092919080359060200190929190505050610843565b005b6102af610aea565b6040518082815260200191505060405180910390f35b6102f1600480360360208110156102db57600080fd5b8101908080359060200190929190505050610af4565b005b61031f6004803603602081101561030957600080fd5b8101908080359060200190929190505050610c53565b005b610329610ce8565b005b610333610d7b565b005b61033d610e4f565b60405180821515815260200191505060405180910390f35b61035d610e5c565b60405180821515815260200191505060405180910390f35b6103b76004803603602081101561038b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e73565b6040518082815260200191505060405180910390f35b6103d5610ebc565b005b6103df611047565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610413611071565b6040518082815260200191505060405180910390f35b610431611101565b6040518082815260200191505060405180910390f35b61044f61110b565b6040518082815260200191505060405180910390f35b6104a76004803603602081101561047b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611135565b005b6104b16111ca565b005b61051f600480360360608110156104c957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061129e565b005b610529611378565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055d6113a2565b6040518082815260200191505060405180910390f35b61059f6004803603602081101561058957600080fd5b81019080803590602001909291905050506113ac565b005b6105a96114cc565b6040518082815260200191505060405180910390f35b6105c76114ea565b604051808260ff16815260200191505060405180910390f35b6105e8611501565b6040518082815260200191505060405180910390f35b61060661150b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61063a611535565b005b6106446115c8565b60405180821515815260200191505060405180910390f35b61069e6004803603602081101561067257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115d5565b005b6106a86117e5565b005b6106b2611880565b6040518082815260200191505060405180910390f35b60006107a7600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461079961071861196d565b61078b610774600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610766611880565b61197790919063ffffffff16565b61077d88610e73565b6119fa90919063ffffffff16565b611a8090919063ffffffff16565b611b0990919063ffffffff16565b9050919050565b60026000541415610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555061083881611b91565b600160008190555050565b61084b611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610915610e4f565b158061092557506109246115c8565b5b61097a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612f2a602e913960400191505060405180910390fd5b8181116109d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f796021913960400191505060405180910390fd5b428211610a2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612ec7603c913960400191505060405180910390fd5b610a32611d57565b610a3a6115c8565b15610a4c576000600d81905550610a99565b6000610a6a610a596114cc565b600d546119fa90919063ffffffff16565b9050610a91610a82848461197790919063ffffffff16565b82611a8090919063ffffffff16565b600d81905550505b81600c8190555080600b819055507fa6b56f4ff0798bc2816f31bd924541079dbadafce7eaf7f72fe7127d5d0d8be18282604051808381526020018281526020019250505060405180910390a15050565b6000600754905090565b60026000541415610b6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550610b7d611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c3f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c4881611d75565b600160008190555050565b60026000541415610ccc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550610cdd81611e1e565b600160008190555050565b60026000541415610d61576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550610d71611ff9565b6001600081905550565b610d83611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610e4d612156565b565b6000600c54421015905090565b6000600160149054906101000a900460ff16905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ec4611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061107b610e4f565b6110d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612de0603c913960400191505060405180910390fd5b6110d86115c8565b156110e657600090506110fe565b6110fb42600b5461197790919063ffffffff16565b90505b90565b6000600d54905090565b6000611115610e4f565b61112357600a549050611132565b61112f42600b54612249565b90505b90565b600260005414156111ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506111bf81612262565b600160008190555050565b6111d2611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611294576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61129c6122ff565b565b6112a6611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611368576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6113738383836123f2565b505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b54905090565b60026000541415611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160149054906101000a900460ff16156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6114c16114bb611d4f565b826125dc565b600160008190555050565b60006114e5600c54600b5461197790919063ffffffff16565b905090565b6000600360009054906101000a900460ff16905090565b6000600c54905090565b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260005414156115ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506115be612832565b6001600081905550565b6000600b54421015905090565b6115dd611d4f565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461169f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611725576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612e1c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6002600054141561185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550611876611871611d4f565b612262565b6001600081905550565b60008061188b610aea565b905060008114156118a15760085491505061196a565b6000600a54905060006118b261110b565b905081600c5411156118db5780600c5411156118d557600854935050505061196a565b600c5491505b60006118f0838361197790919063ffffffff16565b905060008114156119095760085494505050505061196a565b600061192082600d546119fa90919063ffffffff16565b90506119626119518661194361193461196d565b856119fa90919063ffffffff16565b611a8090919063ffffffff16565b600854611b0990919063ffffffff16565b955050505050505b90565b6000600554905090565b6000828211156119ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415611a0d5760009050611a7a565b6000828402905082848281611a1e57fe5b0414611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f586021913960400191505060405180910390fd5b809150505b92915050565b6000808211611af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611b0057fe5b04905092915050565b600080828401905083811015611b87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611ba1611b9c611d4f565b612262565b600060026000611baf611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905080821115611c45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180612db1602f913960400191505060405180910390fd5b611c58828261197790919063ffffffff16565b60026000611c64611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611cf6611cad611d4f565b83600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b611cfe611d4f565b73ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486836040518082815260200191505060405180910390a25050565b600033905090565b611d5f611880565b600881905550611d6d61110b565b600a81905550565b611d7d611d57565b6000611d87610e4f565b1580611d975750611d966115c8565b5b15611dab57611da46114cc565b9050611db6565b611db3611071565b90505b611ddd611dcc8284611a8090919063ffffffff16565b600d54611b0990919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b60008111611e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612f036027913960400191505060405180910390fd5b611e87611e82611d4f565b612262565b611e9c8160075461197790919063ffffffff16565b600781905550611efb8160066000611eb2611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461197790919063ffffffff16565b60066000611f07611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f99611f50611d4f565b82600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b611fa1611ff9565b611fa9611d4f565b73ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040518082815260200191505060405180910390a250565b612009612004611d4f565b612262565b600060026000612017611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156121535760006002600061206b611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120fd6120b4611d4f565b82600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b612105611d4f565b73ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50565b600160149054906101000a900460ff166121d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b6000600160146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61221c611d4f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6000818310612258578161225a565b825b905092915050565b61226a611d57565b612273816106c8565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600160149054906101000a900460ff1615612382576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60018060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123c5611d4f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612499576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612d7d6034913960400191505060405180910390fd5b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612540576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526034815260200180612e426034913960400191505060405180910390fd5b61256b82828573ffffffffffffffffffffffffffffffffffffffff1661288b9092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167ffff3b3844276f57024e0b42afec1a37f75db36511e43819a4f2a63ab7862b6488483604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a2505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612662576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180612e76602b913960400191505060405180910390fd5b600081116126d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f535220506f6f6c3a2063616e6e6f74207374616b65207a65726f00000000000081525060200191505060405180910390fd5b6126e182612262565b6126f681600754611b0990919063ffffffff16565b60078190555061274e81600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b0990919063ffffffff16565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506127e0823083600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661292d909392919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a25050565b61288160066000612841611d4f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e1e565b612889611ff9565b565b6129288363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506129ee565b505050565b6129e8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506129ee565b50505050565b6000612a50826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612add9092919063ffffffff16565b9050600081511115612ad857808060200190516020811015612a7157600080fd5b8101908080519060200190929190505050612ad7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612f9a602a913960400191505060405180910390fd5b5b505050565b6060612aec8484600085612af5565b90509392505050565b606082471015612b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612ea16026913960400191505060405180910390fd5b612b5985612c9d565b612bcb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612c1a5780518252602082019150602081019050602083039250612bf7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b5091509150612c91828286612cb0565b92505050949350505050565b600080823b905060008111915050919050565b60608315612cc057829050612d75565b600083511115612cd35782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d3a578082015181840152602081019050612d1f565b50505050905090810190601f168015612d675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe5374616b656452657761726473506f6f6c3a2063616e6e6f7420776974686472617720746865207374616b696e6720746f6b656e535220506f6f6c3a2063616e6e6f742072656465656d206d6f72652072657761726473207468616e206561726e656453525054523a2063757272656e74207265776172647320646973747269627574696f6e20706572696f6420686173206e6f742079657420626567756e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735374616b656452657761726473506f6f6c3a2063616e6e6f7420776974686472617720746865207265776172647320746f6b656e535220506f6f6c3a2063616e6e6f74207374616b652066726f6d20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c53525054523a20737461727454696d65206d7573742062652067726561746572207468616e207468652063757272656e7420626c6f636b2074696d655374616b656452657761726473506f6f6c3a2063616e6e6f74207769746864726177207a65726f53525054523a2063616e6e6f74206368616e676520616e206f6e676f696e67207374616b696e6720706572696f64536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7753525054523a20656e6473206265666f7265207468652066756e20626567696e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220eb22be2f36c9427017d729055333f622a36c8bf80bd251f317aa0f9defe9804c64736f6c63430007060033

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

000000000000000000000000eda4f23957d2f819c22761c4d6d6157bd3fe0724000000000000000000000000515d7e9d75e2b76db60f8a051cd890eba23286bc000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000600e5e5f0000000000000000000000000000000000000000000000000000000060650cff

-----Decoded View---------------
Arg [0] : rewardsToken (address): 0xEdA4F23957d2F819c22761C4d6D6157bd3fE0724
Arg [1] : stakingToken (address): 0x515d7E9D75E2b76DB60F8a051Cd890eBa23286Bc
Arg [2] : stakingTokenDecimals (uint8): 18
Arg [3] : periodStartTime_ (uint256): 1611554399
Arg [4] : periodEndTime_ (uint256): 1617235199

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000eda4f23957d2f819c22761c4d6d6157bd3fe0724
Arg [1] : 000000000000000000000000515d7e9d75e2b76db60f8a051cd890eba23286bc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000000000000000600e5e5f
Arg [4] : 0000000000000000000000000000000000000000000000000000000060650cff


Deployed Bytecode Sourcemap

45257:5896:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47132:365;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41996:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48748:1103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41745:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48615:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42693:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;41924:67;;;:::i;:::-;;42429:60;;;:::i;:::-;;47502:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26000:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41259:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24394:148;;;:::i;:::-;;41546:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48406:178;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48317:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47718:282;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42587:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42098:56;;;:::i;:::-;;42159:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23752:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48123:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42313:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48005:113;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41638:102;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48218:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41454:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41862:57;;;:::i;:::-;;47612:101;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;24697:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42494:88;;;:::i;:::-;;46170:957;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47132:365;47234:7;47335:157;47474:8;:17;47483:7;47474:17;;;;;;;;;;;;;;;;47335:128;47440:22;:20;:22::i;:::-;47335:94;47364:64;47392:26;:35;47419:7;47392:35;;;;;;;;;;;;;;;;47364:23;:21;:23::i;:::-;:27;;:64;;;;:::i;:::-;47335:18;47345:7;47335:9;:18::i;:::-;:28;;:94;;;;:::i;:::-;:104;;:128;;;;:::i;:::-;:138;;:157;;;;:::i;:::-;47324:168;;47132:365;;;:::o;41996:97::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;42067:23:::1;42083:6;42067:15;:23::i;:::-;20725:1:::0;21678:7;:22;;;;41996:97;:::o;48748:1103::-;23974:12;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48846:12:::1;:10;:12::i;:::-;48845:13;:27;;;;48862:10;:8;:10::i;:::-;48845:27;48837:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48946:9;48936:7;:19;48928:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49132:15;49120:9;:27;49112:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49284:16;:14;:16::i;:::-;49311:10;:8;:10::i;:::-;49307:432;;;49556:1;49542:11;:15;;;;49307:432;;;49619:19;49641:33;49657:16;:14;:16::i;:::-;49641:11;;:15;;:33;;;;:::i;:::-;49619:55;;49694:39;49710:22;49722:9;49710:7;:11;;:22;;;;:::i;:::-;49694:11;:15;;:39;;;;:::i;:::-;49680:11;:53;;;;49307:432;;49764:9;49745:16;:28;;;;49795:7;49778:14;:24;;;;49814:32;49827:9;49838:7;49814:32;;;;;;;;;;;;;;;;;;;;;;;;48748:1103:::0;;:::o;41745:86::-;41798:7;41816:12;;41809:19;;41745:86;:::o;48615:128::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;23974:12:::1;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;48707:31:::2;48731:6;48707:23;:31::i;:::-;20725:1:::0;21678:7;:22;;;;48615:128;:::o;42693:85::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;42758:17:::1;42768:6;42758:9;:17::i;:::-;20725:1:::0;21678:7;:22;;;;42693:85;:::o;41924:67::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;41976:12:::1;:10;:12::i;:::-;20725:1:::0;21678:7;:22;;;;41924:67::o;42429:60::-;23974:12;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42476:10:::1;:8;:10::i;:::-;42429:60::o:0;47502:105::-;47554:4;47588:16;;47569:15;:35;;47562:42;;47502:105;:::o;26000:78::-;26039:4;26063:7;;;;;;;;;;;26056:14;;26000:78;:::o;41259:105::-;41325:7;41343:9;:18;41353:7;41343:18;;;;;;;;;;;;;;;;41336:25;;41259:105;;;:::o;24394:148::-;23974:12;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24501:1:::1;24464:40;;24485:6;;;;;;;;;;;24464:40;;;;;;;;;;;;24532:1;24515:6;;:19;;;;;;;;;;;;;;;;;;24394:148::o:0;41546:87::-;41600:6;41617:13;;;;;;;;;;;41610:20;;41546:87;:::o;48406:178::-;48481:7;45644:12;:10;:12::i;:::-;45636:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48499:10:::1;:8;:10::i;:::-;48495:36;;;48524:1;48517:8;;;;48495:36;48544:35;48563:15;48544:14;;:18;;:35;;;;:::i;:::-;48537:42;;45726:1;48406:178:::0;:::o;48317:84::-;48369:7;48387:11;;48380:18;;48317:84;:::o;47718:282::-;47784:7;47895:12;:10;:12::i;:::-;47890:53;;47922:15;;47915:22;;;;47890:53;47954:41;47963:15;47980:14;;47954:8;:41::i;:::-;47947:48;;47718:282;;:::o;42587:101::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;42660:25:::1;42677:7;42660:16;:25::i;:::-;20725:1:::0;21678:7;:22;;;;42587:101;:::o;42098:56::-;23974:12;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42143:8:::1;:6;:8::i;:::-;42098:56::o:0;42159:149::-;23974:12;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42262:43:::1;42287:5;42294:2;42298:6;42262:24;:43::i;:::-;42159:149:::0;;;:::o;23752:79::-;23790:7;23817:6;;;;;;;;;;;23810:13;;23752:79;:::o;48123:90::-;48178:7;48196:14;;48189:21;;48123:90;:::o;42313:111::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;26318:7:::1;;;;;;;;;;;26317:8;26309:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;42389:32:::2;42400:12;:10;:12::i;:::-;42414:6;42389:10;:32::i;:::-;20725:1:::0;21678:7;:22;;;;42313:111;:::o;48005:113::-;48061:7;48079:36;48098:16;;48079:14;;:18;;:36;;;;:::i;:::-;48072:43;;48005:113;:::o;41638:102::-;41700:5;41716:21;;;;;;;;;;;41709:28;;41638:102;:::o;48218:94::-;48275:7;48293:16;;48286:23;;48218:94;:::o;41454:87::-;41508:6;41525:13;;;;;;;;;;;41518:20;;41454:87;:::o;41862:57::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;41909:7:::1;:5;:7::i;:::-;20725:1:::0;21678:7;:22;;;;41862:57::o;47612:101::-;47662:4;47696:14;;47677:15;:33;;47670:40;;47612:101;:::o;24697:244::-;23974:12;:10;:12::i;:::-;23964:22;;:6;;;;;;;;;;;:22;;;23956:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24806:1:::1;24786:22;;:8;:22;;;;24778:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24896:8;24867:38;;24888:6;;;;;;;;;;;24867:38;;;;;;;;;;;;24925:8;24916:6;;:17;;;;;;;;;;;;;;;;;;24697:244:::0;:::o;42494:88::-;20769:1;21366:7;;:19;;21358:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:1;21499:7;:18;;;;42549:30:::1;42566:12;:10;:12::i;:::-;42549:16;:30::i;:::-;20725:1:::0;21678:7;:22;;;;42494:88::o;46170:957::-;46233:7;46247:19;46269:13;:11;:13::i;:::-;46247:35;;46306:1;46291:11;:16;46287:63;;;46322:22;;46315:29;;;;;46287:63;46356:22;46381:15;;46356:40;;46401:26;46430;:24;:26::i;:::-;46401:55;;46680:14;46661:16;;:33;46657:200;;;46750:18;46731:16;;:37;46727:86;;;46784:22;;46777:29;;;;;;;46727:86;46835:16;;46818:33;;46657:200;46863:10;46876:38;46899:14;46876:18;:22;;:38;;;;:::i;:::-;46863:51;;46931:1;46925:2;:7;46921:54;;;46947:22;;46940:29;;;;;;;;46921:54;46981:21;47005:19;47021:2;47005:11;;:15;;:19;;;;:::i;:::-;46981:43;;47036:86;47063:58;47109:11;47063:41;47081:22;:20;:22::i;:::-;47063:13;:17;;:41;;;;:::i;:::-;:45;;:58;;;;:::i;:::-;47036:22;;:26;;:86;;;;:::i;:::-;47029:93;;;;;;;46170:957;;:::o;42783:93::-;42838:7;42856:17;;42849:24;;42783:93;:::o;35260:158::-;35318:7;35351:1;35346;:6;;35338:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35409:1;35405;:5;35398:12;;35260:158;;;;:::o;35677:220::-;35735:7;35764:1;35759;:6;35755:20;;;35774:1;35767:8;;;;35755:20;35786:9;35802:1;35798;:5;35786:17;;35831:1;35826;35822;:5;;;;;;:10;35814:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35888:1;35881:8;;;35677:220;;;;;:::o;36375:153::-;36433:7;36465:1;36461;:5;36453:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36519:1;36515;:5;;;;;;36508:12;;36375:153;;;;:::o;34798:179::-;34856:7;34876:9;34892:1;34888;:5;34876:17;;34917:1;34912;:6;;34904:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34968:1;34961:8;;;34798:179;;;;:::o;43317:395::-;43380:30;43397:12;:10;:12::i;:::-;43380:16;:30::i;:::-;43415:14;43432:8;:22;43441:12;:10;:12::i;:::-;43432:22;;;;;;;;;;;;;;;;43415:39;;43477:6;43467;:16;;43459:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43569:18;43580:6;43569;:10;;:18;;;;:::i;:::-;43544:8;:22;43553:12;:10;:12::i;:::-;43544:22;;;;;;;;;;;;;;;:43;;;;43592:48;43619:12;:10;:12::i;:::-;43633:6;43592:13;;;;;;;;;;;:26;;;;:48;;;;;:::i;:::-;43686:12;:10;:12::i;:::-;43675:32;;;43700:6;43675:32;;;;;;;;;;;;;;;;;;43317:395;;:::o;22323:106::-;22376:15;22411:10;22404:17;;22323:106;:::o;50631:142::-;50696:23;:21;:23::i;:::-;50671:22;:48;;;;50742:26;:24;:26::i;:::-;50724:15;:44;;;;50631:142::o;50168:458::-;50295:16;:14;:16::i;:::-;50368:21;50399:12;:10;:12::i;:::-;50398:13;:27;;;;50415:10;:8;:10::i;:::-;50398:27;50394:134;;;50449:16;:14;:16::i;:::-;50433:32;;50394:134;;;50499:23;:21;:23::i;:::-;50483:39;;50394:134;50548:42;50564:25;50575:13;50564:6;:10;;:25;;;;:::i;:::-;50548:11;;:15;;:42;;;;:::i;:::-;50534:11;:56;;;;50602:19;50614:6;50602:19;;;;;;;;;;;;;;;;;;50168:458;;:::o;44608:392::-;44682:1;44673:6;:10;44665:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44736:30;44753:12;:10;:12::i;:::-;44736:16;:30::i;:::-;44790:24;44807:6;44790:12;;:16;;:24;;;;:::i;:::-;44775:12;:39;;;;44845:35;44873:6;44845:9;:23;44855:12;:10;:12::i;:::-;44845:23;;;;;;;;;;;;;;;;:27;;:35;;;;:::i;:::-;44819:9;:23;44829:12;:10;:12::i;:::-;44819:23;;;;;;;;;;;;;;;:61;;;;44885:48;44912:12;:10;:12::i;:::-;44926:6;44885:13;;;;;;;;;;;:26;;;;:48;;;;;:::i;:::-;44938:12;:10;:12::i;:::-;44974;:10;:12::i;:::-;44964:31;;;44988:6;44964:31;;;;;;;;;;;;;;;;;;44608:392;:::o;43009:303::-;43053:30;43070:12;:10;:12::i;:::-;43053:16;:30::i;:::-;43088:14;43105:8;:22;43114:12;:10;:12::i;:::-;43105:22;;;;;;;;;;;;;;;;43088:39;;43145:1;43136:6;:10;43132:176;;;43179:1;43154:8;:22;43163:12;:10;:12::i;:::-;43154:22;;;;;;;;;;;;;;;:26;;;;43186:48;43213:12;:10;:12::i;:::-;43227:6;43186:13;;;;;;;;;;;:26;;;;:48;;;;;:::i;:::-;43281:12;:10;:12::i;:::-;43270:32;;;43295:6;43270:32;;;;;;;;;;;;;;;;;;43132:176;43009:303;:::o;27049:120::-;26594:7;;;;;;;;;;;26586:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27118:5:::1;27108:7;;:15;;;;;;;;;;;;;;;;;;27139:22;27148:12;:10;:12::i;:::-;27139:22;;;;;;;;;;;;;;;;;;;;27049:120::o:0;39876:106::-;39934:7;39965:1;39961;:5;:13;;39973:1;39961:13;;;39969:1;39961:13;39954:20;;39876:106;;;;:::o;50853:297::-;50919:16;:14;:16::i;:::-;50992:15;50999:7;50992:6;:15::i;:::-;50972:8;:17;50981:7;50972:17;;;;;;;;;;;;;;;:35;;;;51123:22;;51085:26;:35;51112:7;51085:35;;;;;;;;;;;;;;;:60;;;;50853:297;:::o;26790:118::-;26318:7;;;;;;;;;;;26317:8;26309:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26860:4:::1;26850:7:::0;::::1;:14;;;;;;;;;;;;;;;;;;26880:20;26887:12;:10;:12::i;:::-;26880:20;;;;;;;;;;;;;;;;;;;;26790:118::o:0;43717:363::-;43832:13;;;;;;;;;;;43823:22;;:5;:22;;;;43815:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43924:13;;;;;;;;;;;43915:22;;:5;:22;;;;43907:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44003:30;44022:2;44026:6;44003:5;:18;;;;:30;;;;;:::i;:::-;44064:2;44047:28;;;44057:5;44068:6;44047:28;;;;;;;;;;;;;;;;;;;;;;;;;;43717:363;;;:::o;44085:453::-;44187:1;44168:21;;:7;:21;;;;44160:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44259:1;44250:6;:10;44242:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44300:25;44317:7;44300:16;:25::i;:::-;44349:24;44366:6;44349:12;;:16;;:24;;;;:::i;:::-;44334:12;:39;;;;44399:30;44422:6;44399:9;:18;44409:7;44399:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;44378:9;:18;44388:7;44378:18;;;;;;;;;;;;;;;:51;;;;44434:62;44465:7;44482:4;44489:6;44434:13;;;;;;;;;;;:30;;;;:62;;;;;;:::i;:::-;44517:7;44510:23;;;44526:6;44510:23;;;;;;;;;;;;;;;;;;44085:453;;:::o;42909:95::-;42948:34;42958:9;:23;42968:12;:10;:12::i;:::-;42958:23;;;;;;;;;;;;;;;;42948:9;:34::i;:::-;42987:12;:10;:12::i;:::-;42909:95::o;15970:177::-;16053:86;16073:5;16103:23;;;16128:2;16132:5;16080:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16053:19;:86::i;:::-;15970:177;;;:::o;16155:205::-;16256:96;16276:5;16306:27;;;16335:4;16341:2;16345:5;16283:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16256:19;:96::i;:::-;16155:205;;;;:::o;18275:761::-;18699:23;18725:69;18753:4;18725:69;;;;;;;;;;;;;;;;;18733:5;18725:27;;;;:69;;;;;:::i;:::-;18699:95;;18829:1;18809:10;:17;:21;18805:224;;;18951:10;18940:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18932:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18805:224;18275:761;;;:::o;10995:195::-;11098:12;11130:52;11152:6;11160:4;11166:1;11169:12;11130:21;:52::i;:::-;11123:59;;10995:195;;;;;:::o;12047:530::-;12174:12;12232:5;12207:21;:30;;12199:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12299:18;12310:6;12299:10;:18::i;:::-;12291:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12425:12;12439:23;12466:6;:11;;12486:5;12494:4;12466:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12424:75;;;;12517:52;12535:7;12544:10;12556:12;12517:17;:52::i;:::-;12510:59;;;;12047:530;;;;;;:::o;8077:422::-;8137:4;8345:12;8456:7;8444:20;8436:28;;8490:1;8483:4;:8;8476:15;;;8077:422;;;:::o;14587:742::-;14702:12;14731:7;14727:595;;;14762:10;14755:17;;;;14727:595;14896:1;14876:10;:17;:21;14872:439;;;15139:10;15133:17;15200:15;15187:10;15183:2;15179:19;15172:44;15087:148;15282:12;15275:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14587:742;;;;;;:::o

Swarm Source

ipfs://eb22be2f36c9427017d729055333f622a36c8bf80bd251f317aa0f9defe9804c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.