Contract 0xf83c98f880c48957349c358de9699275621e2749

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9bde20924a0ecd08fec1e8619ef860e83563d0a1b4464a957179f5622371d2fbSet Reward Rate187264812022-08-16 17:10:2641 days 13 hrs ago0x6b5732937e1c3b041b95d523c1817e45746d39c0 IN  0xf83c98f880c48957349c358de9699275621e27490 AVAX0.001656096 26
0xdc3b5b44e6a86af9273a053de93fc87c3a7844fe634d0d0d4aa06ef7137ad66b0x61010060186646322022-08-15 6:33:0843 days 26 mins ago0x6b5732937e1c3b041b95d523c1817e45746d39c0 IN  Create: SimpleRewarderPerSec0 AVAX0.056536267643 26.825346
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimpleRewarderPerSec

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2022-08-15
*/

// SPDX-License-Identifier: MIXED

// File @openzeppelin/contracts/math/[email protected]
// License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

// File @openzeppelin/contracts/utils/[email protected]
// License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File @openzeppelin/contracts/utils/[email protected]
// License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// File contracts/boringcrypto/BoringOwnable.sol
// License-Identifier: MIT
pragma solidity 0.6.12;

// Audit on 5-Jan-2021 by Keno and BoringCrypto
// Source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol + Claimable.sol
// Edited by BoringCrypto

contract BoringOwnableData {
    address public owner;
    address public pendingOwner;
}

contract BoringOwnable is BoringOwnableData {
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /// @notice `owner` defaults to msg.sender on construction.
    constructor() public {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

    /// @notice Transfers ownership to `newOwner`. Either directly or claimable by the new pending owner.
    /// Can only be invoked by the current `owner`.
    /// @param newOwner Address of the new owner.
    /// @param direct True if `newOwner` should be set immediately. False if `newOwner` needs to use `claimOwnership`.
    /// @param renounce Allows the `newOwner` to be `address(0)` if `direct` and `renounce` is True. Has no effect otherwise.
    function transferOwnership(
        address newOwner,
        bool direct,
        bool renounce
    ) public onlyOwner {
        if (direct) {
            // Checks
            require(newOwner != address(0) || renounce, "Ownable: zero address");

            // Effects
            emit OwnershipTransferred(owner, newOwner);
            owner = newOwner;
            pendingOwner = address(0);
        } else {
            // Effects
            pendingOwner = newOwner;
        }
    }

    /// @notice Needs to be called by `pendingOwner` to claim ownership.
    function claimOwnership() public {
        address _pendingOwner = pendingOwner;

        // Checks
        require(msg.sender == _pendingOwner, "Ownable: caller != pending owner");

        // Effects
        emit OwnershipTransferred(owner, _pendingOwner);
        owner = _pendingOwner;
        pendingOwner = address(0);
    }

    /// @notice Only allows the `owner` to execute the function.
    modifier onlyOwner() {
        require(msg.sender == owner, "Ownable: caller is not the owner");
        _;
    }
}

// File contracts/interfaces/IERC20.sol
// License-Identifier: MIT
pragma solidity 0.6.12;

interface IERC20 {
    function totalSupply() external view returns (uint256);

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

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    // EIP 2612
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

// File contracts/libraries/SafeERC20.sol
// License-Identifier: MIT
pragma solidity 0.6.12;

library SafeERC20 {
    function safeSymbol(IERC20 token) internal view returns (string memory) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(0x95d89b41));
        return success && data.length > 0 ? abi.decode(data, (string)) : "???";
    }

    function safeName(IERC20 token) internal view returns (string memory) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(0x06fdde03));
        return success && data.length > 0 ? abi.decode(data, (string)) : "???";
    }

    function safeDecimals(IERC20 token) public view returns (uint8) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(0x313ce567));
        return success && data.length == 32 ? abi.decode(data, (uint8)) : 18;
    }

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(0xa9059cbb, to, amount));
        require(success && (data.length == 0 || abi.decode(data, (bool))), "SafeERC20: Transfer failed");
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(
            abi.encodeWithSelector(0x23b872dd, from, address(this), amount)
        );
        require(success && (data.length == 0 || abi.decode(data, (bool))), "SafeERC20: TransferFrom failed");
    }
}

// File contracts/rewarders/SimpleRewarderPerSec.sol
// License-Identifier: GPL-3.0
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;





interface IRewarder {
    using SafeERC20 for IERC20;

    function onJoeReward(address user, uint256 newLpAmount) external;

    function pendingTokens(address user) external view returns (uint256 pending);

    function rewardToken() external view returns (IERC20);
}

interface IMasterChefJoe {
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
    }

    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this poolInfo. SUSHI to distribute per block.
        uint256 lastRewardTimestamp; // Last block timestamp that SUSHI distribution occurs.
        uint256 accJoePerShare; // Accumulated SUSHI per share, times 1e12. See below.
    }

    function poolInfo(uint256 pid) external view returns (PoolInfo memory);

    function totalAllocPoint() external view returns (uint256);

    function deposit(uint256 _pid, uint256 _amount) external;
}

/**
 * This is a sample contract to be used in the MasterChefJoe contract for partners to reward
 * stakers with their native token alongside JOE.
 *
 * It assumes no minting rights, so requires a set amount of YOUR_TOKEN to be transferred to this contract prior.
 * E.g. say you've allocated 100,000 XYZ to the JOE-XYZ farm over 30 days. Then you would need to transfer
 * 100,000 XYZ and set the block reward accordingly so it's fully distributed after 30 days.
 *
 *
 * Issue with the previous version is that this fraction, `tokenReward.mul(ACC_TOKEN_PRECISION).div(lpSupply)`,
 * can return 0 or be very inacurate with some tokens:
 *      uint256 timeElapsed = block.timestamp.sub(pool.lastRewardTimestamp);
 *      uint256 tokenReward = timeElapsed.mul(tokenPerSec);
 *      accTokenPerShare = accTokenPerShare.add(
 *          tokenReward.mul(ACC_TOKEN_PRECISION).div(lpSupply)
 *      );
 *  The goal is to set ACC_TOKEN_PRECISION high enough to prevent this without causing overflow too.
 */
contract SimpleRewarderPerSec is IRewarder, BoringOwnable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public immutable override rewardToken;
    IERC20 public immutable lpToken;
    bool public immutable isNative;
    IMasterChefJoe public immutable MCJ;

    /// @notice Info of each MCJ user.
    /// `amount` LP token amount the user has provided.
    /// `rewardDebt` The amount of YOUR_TOKEN entitled to the user.
    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
        uint256 unpaidRewards;
    }

    /// @notice Info of each MCJ poolInfo.
    /// `accTokenPerShare` Amount of YOUR_TOKEN each LP token is worth.
    /// `lastRewardTimestamp` The last timestamp YOUR_TOKEN was rewarded to the poolInfo.
    struct PoolInfo {
        uint256 accTokenPerShare;
        uint256 lastRewardTimestamp;
    }

    /// @notice Info of the poolInfo.
    PoolInfo public poolInfo;
    /// @notice Info of each user that stakes LP tokens.
    mapping(address => UserInfo) public userInfo;

    uint256 public tokenPerSec;

    uint256 private ACC_TOKEN_PRECISION;

    event OnReward(address indexed user, uint256 amount);
    event RewardRateUpdated(uint256 oldRate, uint256 newRate);

    modifier onlyMCJ() {
        require(msg.sender == address(MCJ), "onlyMCJ: only MasterChefJoe can call this function");
        _;
    }

    constructor(
        IERC20 _rewardToken,
        IERC20 _lpToken,
        uint256 _tokenPerSec,
        IMasterChefJoe _MCJ,
        bool _isNative
    ) public {
        require(Address.isContract(address(_rewardToken)), "constructor: reward token must be a valid contract");
        require(Address.isContract(address(_lpToken)), "constructor: LP token must be a valid contract");
        require(Address.isContract(address(_MCJ)), "constructor: MasterChefJoe must be a valid contract");
        require(_tokenPerSec <= 1e30, "constructor: token per seconds can't be greater than 1e30");

        rewardToken = _rewardToken;
        lpToken = _lpToken;
        tokenPerSec = _tokenPerSec;
        MCJ = _MCJ;
        isNative = _isNative;
        poolInfo = PoolInfo({lastRewardTimestamp: block.timestamp, accTokenPerShare: 0});

        // Given the fraction, tokenReward * ACC_TOKEN_PRECISION / lpSupply, we consider
        // several edge cases.

        // Edge case n1: maximize the numerator, minimize the denominator.
        // `lpSupply` = 1 WEI
        // `tokenPerSec` = 1e(30)
        // `timeElapsed` = 31 years, i.e. 1e9 seconds
        // result = 1e9 * 1e30 * 1e36 / 1
        //        = 1e75
        // (No overflow as max uint256 is 1.15e77).
        // PS: This will overflow when `timeElapsed` becomes greater than 1e11, i.e. in more than 3_000 years
        // so it should be fine.
        //
        // Edge case n2: minimize the numerator, maximize the denominator.
        // `lpSupply` = max(uint112) = 1e34
        // `tokenPerSec` = 1 WEI
        // `timeElapsed` = 1 second
        // result = 1 * 1 * 1e36 / 1e34
        //        = 1e2
        // (Not rounded to zero, therefore ACC_TOKEN_PRECISION = 1e36 is safe)
        ACC_TOKEN_PRECISION = 1e36;
    }

    /// @notice Update reward variables of the given poolInfo.
    /// @return pool Returns the pool that was updated.
    function updatePool() public returns (PoolInfo memory pool) {
        pool = poolInfo;

        if (block.timestamp > pool.lastRewardTimestamp) {
            uint256 lpSupply = lpToken.balanceOf(address(MCJ));

            if (lpSupply > 0) {
                uint256 timeElapsed = block.timestamp.sub(pool.lastRewardTimestamp);
                uint256 tokenReward = timeElapsed.mul(tokenPerSec);
                pool.accTokenPerShare = pool.accTokenPerShare.add((tokenReward.mul(ACC_TOKEN_PRECISION) / lpSupply));
            }

            pool.lastRewardTimestamp = block.timestamp;
            poolInfo = pool;
        }
    }

    /// @notice Sets the distribution reward rate. This will also update the poolInfo.
    /// @param _tokenPerSec The number of tokens to distribute per second
    function setRewardRate(uint256 _tokenPerSec) external onlyOwner {
        updatePool();

        uint256 oldRate = tokenPerSec;
        tokenPerSec = _tokenPerSec;

        emit RewardRateUpdated(oldRate, _tokenPerSec);
    }

    /// @notice Function called by MasterChefJoe whenever staker claims JOE harvest. Allows staker to also receive a 2nd reward token.
    /// @param _user Address of user
    /// @param _lpAmount Number of LP tokens the user has
    function onJoeReward(address _user, uint256 _lpAmount) external override onlyMCJ nonReentrant {
        updatePool();
        PoolInfo memory pool = poolInfo;
        UserInfo storage user = userInfo[_user];
        uint256 pending;
        if (user.amount > 0) {
            pending = (user.amount.mul(pool.accTokenPerShare) / ACC_TOKEN_PRECISION).sub(user.rewardDebt).add(
                user.unpaidRewards
            );

            if (isNative) {
                uint256 balance = address(this).balance;
                if (pending > balance) {
                    (bool success, ) = _user.call.value(balance)("");
                    require(success, "Transfer failed");
                    user.unpaidRewards = pending - balance;
                } else {
                    (bool success, ) = _user.call.value(pending)("");
                    require(success, "Transfer failed");
                    user.unpaidRewards = 0;
                }
            } else {
                uint256 balance = rewardToken.balanceOf(address(this));
                if (pending > balance) {
                    rewardToken.safeTransfer(_user, balance);
                    user.unpaidRewards = pending - balance;
                } else {
                    rewardToken.safeTransfer(_user, pending);
                    user.unpaidRewards = 0;
                }
            }
        }

        user.amount = _lpAmount;
        user.rewardDebt = user.amount.mul(pool.accTokenPerShare) / ACC_TOKEN_PRECISION;
        emit OnReward(_user, pending - user.unpaidRewards);
    }

    /// @notice View function to see pending tokens
    /// @param _user Address of user.
    /// @return pending reward for a given user.
    function pendingTokens(address _user) external view override returns (uint256 pending) {
        PoolInfo memory pool = poolInfo;
        UserInfo storage user = userInfo[_user];

        uint256 accTokenPerShare = pool.accTokenPerShare;
        uint256 lpSupply = lpToken.balanceOf(address(MCJ));

        if (block.timestamp > pool.lastRewardTimestamp && lpSupply != 0) {
            uint256 timeElapsed = block.timestamp.sub(pool.lastRewardTimestamp);
            uint256 tokenReward = timeElapsed.mul(tokenPerSec);
            accTokenPerShare = accTokenPerShare.add(tokenReward.mul(ACC_TOKEN_PRECISION).div(lpSupply));
        }

        pending = (user.amount.mul(accTokenPerShare) / ACC_TOKEN_PRECISION).sub(user.rewardDebt).add(
            user.unpaidRewards
        );
    }

    /// @notice In case rewarder is stopped before emissions finished, this function allows
    /// withdrawal of remaining tokens.
    function emergencyWithdraw() public onlyOwner {
        if (isNative) {
            (bool success, ) = msg.sender.call.value(address(this).balance)("");
            require(success, "Transfer failed");
        } else {
            rewardToken.safeTransfer(address(msg.sender), rewardToken.balanceOf(address(this)));
        }
    }

    /// @notice View function to see balance of reward token.
    function balance() external view returns (uint256) {
        if (isNative) {
            return address(this).balance;
        } else {
            return rewardToken.balanceOf(address(this));
        }
    }

    /// @notice payable function needed to receive AVAX
    receive() external payable {}
}

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint256","name":"_tokenPerSec","type":"uint256"},{"internalType":"contract IMasterChefJoe","name":"_MCJ","type":"address"},{"internalType":"bool","name":"_isNative","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnReward","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":"uint256","name":"oldRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"RewardRateUpdated","type":"event"},{"inputs":[],"name":"MCJ","outputs":[{"internalType":"contract IMasterChefJoe","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isNative","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_lpAmount","type":"uint256"}],"name":"onJoeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingTokens","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPerSec","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"bool","name":"direct","type":"bool"},{"internalType":"bool","name":"renounce","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updatePool","outputs":[{"components":[{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint256","name":"lastRewardTimestamp","type":"uint256"}],"internalType":"struct SimpleRewarderPerSec.PoolInfo","name":"pool","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"unpaidRewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101006040523480156200001257600080fd5b5060405162002acb38038062002acb8339818101604052810190620000389190620003b0565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36001600281905550620000f1856200034160201b6200163b1760201c565b62000133576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200012a90620005d2565b60405180910390fd5b62000149846200034160201b6200163b1760201c565b6200018b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001829062000616565b60405180910390fd5b620001a1826200034160201b6200163b1760201c565b620001e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001da9062000638565b60405180910390fd5b6c0c9f2c9cd04674edea4000000083111562000236576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200022d90620005f4565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050826006819055508173ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080151560c081151560f81b8152505060405180604001604052806000815260200142815250600360008201518160000155602082015181600101559050506ec097ce7bc90715b34b9f1000000000600781905550505050505062000745565b600080823b905060008111915050919050565b6000815190506200036581620006dd565b92915050565b6000815190506200037c81620006f7565b92915050565b600081519050620003938162000711565b92915050565b600081519050620003aa816200072b565b92915050565b600080600080600060a08688031215620003c957600080fd5b6000620003d9888289016200036b565b9550506020620003ec888289016200036b565b9450506040620003ff8882890162000399565b9350506060620004128882890162000382565b9250506080620004258882890162000354565b9150509295509295909350565b6000620004416032836200065a565b91507f636f6e7374727563746f723a2072657761726420746f6b656e206d757374206260008301527f6520612076616c696420636f6e747261637400000000000000000000000000006020830152604082019050919050565b6000620004a96039836200065a565b91507f636f6e7374727563746f723a20746f6b656e20706572207365636f6e6473206360008301527f616e27742062652067726561746572207468616e2031653330000000000000006020830152604082019050919050565b600062000511602e836200065a565b91507f636f6e7374727563746f723a204c5020746f6b656e206d75737420626520612060008301527f76616c696420636f6e74726163740000000000000000000000000000000000006020830152604082019050919050565b6000620005796033836200065a565b91507f636f6e7374727563746f723a204d6173746572436865664a6f65206d7573742060008301527f626520612076616c696420636f6e7472616374000000000000000000000000006020830152604082019050919050565b60006020820190508181036000830152620005ed8162000432565b9050919050565b600060208201905081810360008301526200060f816200049a565b9050919050565b60006020820190508181036000830152620006318162000502565b9050919050565b6000602082019050818103600083015262000653816200056a565b9050919050565b600082825260208201905092915050565b60006200067882620006b3565b9050919050565b60008115159050919050565b600062000698826200066b565b9050919050565b6000620006ac826200066b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b620006e8816200067f565b8114620006f457600080fd5b50565b62000702816200068b565b81146200070e57600080fd5b50565b6200071c816200069f565b81146200072857600080fd5b50565b6200073681620006d3565b81146200074257600080fd5b50565b60805160601c60a05160601c60c05160f81c60e05160601c6122fe620007cd600039806106625280610bc6528061107a52806114e45250806108155280610dba5280610ee6528061127b525080610d96528061103e52806114a85250806109c55280610a7d5280610ad85280610f1452806113575280611400528061161952506122fe6000f3fe6080604052600436106101025760003560e01c806373cfc6b211610095578063c031a66f11610064578063c031a66f1461030d578063db2e21bc1461034a578063e30c397814610361578063e3161ddd1461038c578063f7c618c1146103b757610109565b806373cfc6b2146102635780638da5cb5b1461028e5780639e447fc6146102b9578063b69ef8a8146102e257610109565b80634e71e0c8116100d15780634e71e0c8146101ca57806350fd1f3e146101e15780635a2f3d091461020c5780635fcbd2851461023857610109565b8063078dfbe71461010e5780631959a002146101375780631a7af8b01461017657806330628e151461019f57610109565b3661010957005b600080fd5b34801561011a57600080fd5b506101356004803603810190610130919061199c565b6103e2565b005b34801561014357600080fd5b5061015e60048036038101906101599190611973565b610636565b60405161016d9392919061212c565b60405180910390f35b34801561018257600080fd5b5061019d600480360381019061019891906119eb565b610660565b005b3480156101ab57600080fd5b506101b4610bc4565b6040516101c19190611f52565b60405180910390f35b3480156101d657600080fd5b506101df610be8565b005b3480156101ed57600080fd5b506101f6610d7c565b60405161020391906120e8565b60405180910390f35b34801561021857600080fd5b50610221610d82565b60405161022f929190612103565b60405180910390f35b34801561024457600080fd5b5061024d610d94565b60405161025a9190611f37565b60405180910390f35b34801561026f57600080fd5b50610278610db8565b6040516102859190611f1c565b60405180910390f35b34801561029a57600080fd5b506102a3610ddc565b6040516102b09190611ebd565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190611a50565b610e00565b005b3480156102ee57600080fd5b506102f7610ee2565b60405161030491906120e8565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190611973565b610fc1565b60405161034191906120e8565b60405180910390f35b34801561035657600080fd5b5061035f6111eb565b005b34801561036d57600080fd5b50610376611447565b6040516103839190611ebd565b60405180910390f35b34801561039857600080fd5b506103a161146d565b6040516103ae91906120cd565b60405180910390f35b3480156103c357600080fd5b506103cc611617565b6040516103d99190611f37565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610470576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104679061202d565b60405180910390fd5b81156105ef57600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415806104af5750805b6104ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e590611fad565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610631565b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050565b60056020528060005260406000206000915090508060000154908060010154908060020154905083565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e59061208d565b60405180910390fd5b600280541415610733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072a906120ad565b60405180910390fd5b6002808190555061074261146d565b5061074b6118f0565b60036040518060400160405290816000820154815260200160018201548152505090506000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008082600001541115610b2a57610811826002015461080384600101546007546107ed8860000151886000015461164e90919063ffffffff16565b816107f457fe5b046116be90919063ffffffff16565b61170e90919063ffffffff16565b90507f0000000000000000000000000000000000000000000000000000000000000000156109c1576000479050808211156109035760008673ffffffffffffffffffffffffffffffffffffffff168260405161086c90611ea8565b60006040518083038185875af1925050503d80600081146108a9576040519150601f19603f3d011682016040523d82523d6000602084013e6108ae565b606091505b50509050806108f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e990611f6d565b60405180910390fd5b8183038460020181905550506109bb565b60008673ffffffffffffffffffffffffffffffffffffffff168360405161092990611ea8565b60006040518083038185875af1925050503d8060008114610966576040519150601f19603f3d011682016040523d82523d6000602084013e61096b565b606091505b50509050806109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a690611f6d565b60405180910390fd5b60008460020181905550505b50610b29565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a1c9190611ed8565b60206040518083038186803b158015610a3457600080fd5b505afa158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6c9190611a79565b905080821115610ad157610ac186827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166117639092919063ffffffff16565b8082038360020181905550610b27565b610b1c86837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166117639092919063ffffffff16565b600083600201819055505b505b5b838260000181905550600754610b518460000151846000015461164e90919063ffffffff16565b81610b5857fe5b0482600101819055508473ffffffffffffffffffffffffffffffffffffffff167fd1072bb52c3131d0c96197b73fb8a45637e30f8b6664fc142310cc9b242859b483600201548303604051610bad91906120e8565b60405180910390a250505060016002819055505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c749061204d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60065481565b60038060000154908060010154905082565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e859061202d565b60405180910390fd5b610e9661146d565b5060006006549050816006819055507fc390a98ace15a7bb6bab611eedfdbb2685043b241a869420043cdfb23ccfee508183604051610ed6929190612103565b60405180910390a15050565b60007f000000000000000000000000000000000000000000000000000000000000000015610f1257479050610fbe565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f6b9190611ed8565b60206040518083038186803b158015610f8357600080fd5b505afa158015610f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbb9190611a79565b90505b90565b6000610fcb6118f0565b60036040518060400160405290816000820154815260200160018201548152505090506000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260000151905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016110b59190611ebd565b60206040518083038186803b1580156110cd57600080fd5b505afa1580156110e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111059190611a79565b905083602001514211801561111b575060008114155b156111925760006111398560200151426116be90919063ffffffff16565b905060006111526006548361164e90919063ffffffff16565b905061118d61117e846111706007548561164e90919063ffffffff16565b61189a90919063ffffffff16565b8561170e90919063ffffffff16565b935050505b6111e083600201546111d285600101546007546111bc87896000015461164e90919063ffffffff16565b816111c357fe5b046116be90919063ffffffff16565b61170e90919063ffffffff16565b945050505050919050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611279576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112709061202d565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000156113515760003373ffffffffffffffffffffffffffffffffffffffff16476040516112c590611ea8565b60006040518083038185875af1925050503d8060008114611302576040519150601f19603f3d011682016040523d82523d6000602084013e611307565b606091505b505090508061134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290611f6d565b60405180910390fd5b50611445565b611444337f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113ae9190611ed8565b60206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe9190611a79565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166117639092919063ffffffff16565b5b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114756118f0565b600360405180604001604052908160008201548152602001600182015481525050905080602001514211156116145760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161151f9190611ebd565b60206040518083038186803b15801561153757600080fd5b505afa15801561154b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156f9190611a79565b905060008111156115ee5760006115938360200151426116be90919063ffffffff16565b905060006115ac6006548361164e90919063ffffffff16565b90506115e2836115c76007548461164e90919063ffffffff16565b816115ce57fe5b04856000015161170e90919063ffffffff16565b84600001818152505050505b428260200181815250508160036000820151816000015560208201518160010155905050505b90565b7f000000000000000000000000000000000000000000000000000000000000000081565b600080823b905060008111915050919050565b60008083141561166157600090506116b8565b600082840290508284828161167257fe5b04146116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa9061200d565b60405180910390fd5b809150505b92915050565b600082821115611703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fa90611fcd565b60405180910390fd5b818303905092915050565b600080828401905083811015611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175090611f8d565b60405180910390fd5b8091505092915050565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611796929190611ef3565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516117e49190611e91565b6000604051808303816000865af19150503d8060008114611821576040519150601f19603f3d011682016040523d82523d6000602084013e611826565b606091505b509150915081801561185457506000815114806118535750808060200190518101906118529190611a27565b5b5b611893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188a9061206d565b60405180910390fd5b5050505050565b60008082116118de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d590611fed565b60405180910390fd5b8183816118e757fe5b04905092915050565b604051806040016040528060008152602001600081525090565b60008135905061191981612283565b92915050565b60008135905061192e8161229a565b92915050565b6000815190506119438161229a565b92915050565b600081359050611958816122b1565b92915050565b60008151905061196d816122b1565b92915050565b60006020828403121561198557600080fd5b60006119938482850161190a565b91505092915050565b6000806000606084860312156119b157600080fd5b60006119bf8682870161190a565b93505060206119d08682870161191f565b92505060406119e18682870161191f565b9150509250925092565b600080604083850312156119fe57600080fd5b6000611a0c8582860161190a565b9250506020611a1d85828601611949565b9150509250929050565b600060208284031215611a3957600080fd5b6000611a4784828501611934565b91505092915050565b600060208284031215611a6257600080fd5b6000611a7084828501611949565b91505092915050565b600060208284031215611a8b57600080fd5b6000611a998482850161195e565b91505092915050565b611aab816121d2565b82525050565b611aba8161218a565b82525050565b611ac98161219c565b82525050565b6000611ada82612163565b611ae4818561216e565b9350611af4818560208601612250565b80840191505092915050565b611b09816121e4565b82525050565b611b1881612208565b82525050565b6000611b2b600f83612179565b91507f5472616e73666572206661696c656400000000000000000000000000000000006000830152602082019050919050565b6000611b6b601b83612179565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b6000611bab601583612179565b91507f4f776e61626c653a207a65726f206164647265737300000000000000000000006000830152602082019050919050565b6000611beb601e83612179565b91507f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006000830152602082019050919050565b6000611c2b601a83612179565b91507f536166654d6174683a206469766973696f6e206279207a65726f0000000000006000830152602082019050919050565b6000611c6b602183612179565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611cd1602083612179565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000611d11602083612179565b91507f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726000830152602082019050919050565b6000611d51601a83612179565b91507f5361666545524332303a205472616e73666572206661696c65640000000000006000830152602082019050919050565b6000611d9160008361216e565b9150600082019050919050565b6000611dab603283612179565b91507f6f6e6c794d434a3a206f6e6c79204d6173746572436865664a6f652063616e2060008301527f63616c6c20746869732066756e6374696f6e00000000000000000000000000006020830152604082019050919050565b6000611e11601f83612179565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b604082016000820151611e5a6000850182611e73565b506020820151611e6d6020850182611e73565b50505050565b611e7c816121c8565b82525050565b611e8b816121c8565b82525050565b6000611e9d8284611acf565b915081905092915050565b6000611eb382611d84565b9150819050919050565b6000602082019050611ed26000830184611ab1565b92915050565b6000602082019050611eed6000830184611aa2565b92915050565b6000604082019050611f086000830185611ab1565b611f156020830184611e82565b9392505050565b6000602082019050611f316000830184611ac0565b92915050565b6000602082019050611f4c6000830184611b00565b92915050565b6000602082019050611f676000830184611b0f565b92915050565b60006020820190508181036000830152611f8681611b1e565b9050919050565b60006020820190508181036000830152611fa681611b5e565b9050919050565b60006020820190508181036000830152611fc681611b9e565b9050919050565b60006020820190508181036000830152611fe681611bde565b9050919050565b6000602082019050818103600083015261200681611c1e565b9050919050565b6000602082019050818103600083015261202681611c5e565b9050919050565b6000602082019050818103600083015261204681611cc4565b9050919050565b6000602082019050818103600083015261206681611d04565b9050919050565b6000602082019050818103600083015261208681611d44565b9050919050565b600060208201905081810360008301526120a681611d9e565b9050919050565b600060208201905081810360008301526120c681611e04565b9050919050565b60006040820190506120e26000830184611e44565b92915050565b60006020820190506120fd6000830184611e82565b92915050565b60006040820190506121186000830185611e82565b6121256020830184611e82565b9392505050565b60006060820190506121416000830186611e82565b61214e6020830185611e82565b61215b6040830184611e82565b949350505050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000612195826121a8565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006121dd8261222c565b9050919050565b60006121ef826121f6565b9050919050565b6000612201826121a8565b9050919050565b60006122138261221a565b9050919050565b6000612225826121a8565b9050919050565b60006122378261223e565b9050919050565b6000612249826121a8565b9050919050565b60005b8381101561226e578082015181840152602081019050612253565b8381111561227d576000848401525b50505050565b61228c8161218a565b811461229757600080fd5b50565b6122a38161219c565b81146122ae57600080fd5b50565b6122ba816121c8565b81146122c557600080fd5b5056fea264697066735822122067310fd42f2614f41b0cc01aae9fc2b1f7cac32e68150db66540dff19cf9f20f64736f6c634300060c0033000000000000000000000000f7d9281e8e363584973f946201b82ba72c965d270000000000000000000000000512ab7ccf96af5512dbc2d4c93048f3f6a166080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000188bed1968b795d5c9022f6a0bb5931ac4c18f000000000000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000f7d9281e8e363584973f946201b82ba72c965d270000000000000000000000000512ab7ccf96af5512dbc2d4c93048f3f6a166080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000188bed1968b795d5c9022f6a0bb5931ac4c18f000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _rewardToken (address): 0xf7d9281e8e363584973f946201b82ba72c965d27
Arg [1] : _lpToken (address): 0x0512ab7ccf96af5512dbc2d4c93048f3f6a16608
Arg [2] : _tokenPerSec (uint256): 0
Arg [3] : _MCJ (address): 0x188bed1968b795d5c9022f6a0bb5931ac4c18f00
Arg [4] : _isNative (bool): False

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000f7d9281e8e363584973f946201b82ba72c965d27
Arg [1] : 0000000000000000000000000512ab7ccf96af5512dbc2d4c93048f3f6a16608
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000188bed1968b795d5c9022f6a0bb5931ac4c18f00
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

25436:8115:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19526:506;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26481:44;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;30134:1605;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;25712:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20114:340;;;;;;;;;;;;;:::i;:::-;;26534:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26392:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;25637:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25675:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18672:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29661:232;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;33240:214;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31889:800;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32831:338;;;;;;;;;;;;;:::i;:::-;;18699:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28846:644;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25586:44;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19526:506;20582:5;;;;;;;;;;20568:19;;:10;:19;;;20560:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;19665:6:::1;19661:364;;;19739:1;19719:22;;:8;:22;;;;:34;;;;19745:8;19719:34;19711:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;19853:8;19825:37;;19846:5;::::0;::::1;;;;;;;;19825:37;;;;;;;;;;;;19885:8;19877:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;19931:1;19908:12;;:25;;;;;;;;;;;;;;;;;;19661:364;;;20005:8;19990:12;;:23;;;;;;;;;;;;;;;;;;19661:364;19526:506:::0;;;:::o;26481:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30134:1605::-;26798:3;26776:26;;:10;:26;;;26768:89;;;;;;;;;;;;:::i;:::-;;;;;;;;;17376:1:::1;17982:7:::0;::::1;:19;;17974:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;17376:1;18115:7:::0;:18:::1;;;;30239:12:::2;:10;:12::i;:::-;;30262:20;;:::i;:::-;30285:8;30262:31;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;30304:21;30328:8;:15;30337:5;30328:15;;;;;;;;;;;;;;;30304:39;;30354:15;30398:1:::0;30384:4:::2;:11;;;:15;30380:1166;;;30426:139;30532:4;:18;;;30426:83;30493:4;:15;;;30468:19;;30427:38;30443:4;:21;;;30427:4;:11;;;:15;;:38;;;;:::i;:::-;:60;;;;;;30426:66;;:83;;;;:::i;:::-;:87;;:139;;;;:::i;:::-;30416:149;;30586:8;30582:953;;;30615:15;30633:21;30615:39;;30687:7;30677;:17;30673:433;;;30720:12;30738:5;:10;;30755:7;30738:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30719:48;;;30798:7;30790:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;30879:7;30869;:17;30848:4;:18;;:38;;;;30673:433;;;;30936:12;30954:5;:10;;30971:7;30954:29;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30935:48;;;31014:7;31006:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;31085:1;31064:4;:18;;:22;;;;30673:433;;30582:953;;;;31146:15;31164:11;:21;;;31194:4;31164:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31146:54;;31233:7;31223;:17;31219:301;;;31265:40;31290:5;31297:7;31265:11;:24;;;;:40;;;;;:::i;:::-;31359:7;31349;:17;31328:4;:18;;:38;;;;31219:301;;;31415:40;31440:5;31447:7;31415:11;:24;;;;:40;;;;;:::i;:::-;31499:1;31478:4;:18;;:22;;;;31219:301;30582:953;;30380:1166;31572:9;31558:4;:11;;:23;;;;31651:19;;31610:38;31626:4;:21;;;31610:4;:11;;;:15;;:38;;;;:::i;:::-;:60;;;;;;31592:4;:15;;:78;;;;31695:5;31686:45;;;31712:4;:18;;;31702:7;:28;31686:45;;;;;;:::i;:::-;;;;;;;;18146:1;;;17332::::1;18294:7;:22;;;;30134:1605:::0;;:::o;25712:35::-;;;:::o;20114:340::-;20158:21;20182:12;;;;;;;;;;;20158:36;;20248:13;20234:27;;:10;:27;;;20226:72;;;;;;;;;;;;:::i;:::-;;;;;;;;;20364:13;20336:42;;20357:5;;;;;;;;;;20336:42;;;;;;;;;;;;20397:13;20389:5;;:21;;;;;;;;;;;;;;;;;;20444:1;20421:12;;:25;;;;;;;;;;;;;;;;;;20114:340;:::o;26534:26::-;;;;:::o;26392:24::-;;;;;;;;;;;;;;:::o;25637:31::-;;;:::o;25675:30::-;;;:::o;18672:20::-;;;;;;;;;;;;:::o;29661:232::-;20582:5;;;;;;;;;;20568:19;;:10;:19;;;20560:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;29736:12:::1;:10;:12::i;:::-;;29761:15;29779:11;;29761:29;;29815:12;29801:11;:26;;;;29845:40;29863:7;29872:12;29845:40;;;;;;;:::i;:::-;;;;;;;;20635:1;29661:232:::0;:::o;33240:214::-;33282:7;33306:8;33302:145;;;33338:21;33331:28;;;;33302:145;33399:11;:21;;;33429:4;33399:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33392:43;;33240:214;;:::o;31889:800::-;31959:15;31987:20;;:::i;:::-;32010:8;31987:31;;;;;;;;;;;;;;;;;;;;;;;;;;;32029:21;32053:8;:15;32062:5;32053:15;;;;;;;;;;;;;;;32029:39;;32081:24;32108:4;:21;;;32081:48;;32140:16;32159:7;:17;;;32185:3;32159:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32140:50;;32225:4;:24;;;32207:15;:42;:59;;;;;32265:1;32253:8;:13;;32207:59;32203:330;;;32283:19;32305:45;32325:4;:24;;;32305:15;:19;;:45;;;;:::i;:::-;32283:67;;32365:19;32387:28;32403:11;;32387;:15;;:28;;;;:::i;:::-;32365:50;;32449:72;32470:50;32511:8;32470:36;32486:19;;32470:11;:15;;:36;;;;:::i;:::-;:40;;:50;;;;:::i;:::-;32449:16;:20;;:72;;;;:::i;:::-;32430:91;;32203:330;;;32555:126;32652:4;:18;;;32555:78;32617:4;:15;;;32592:19;;32556:33;32572:16;32556:4;:11;;;:15;;:33;;;;:::i;:::-;:55;;;;;;32555:61;;:78;;;;:::i;:::-;:82;;:126;;;;:::i;:::-;32545:136;;31889:800;;;;;;;:::o;32831:338::-;20582:5;;;;;;;;;;20568:19;;:10;:19;;;20560:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;32892:8:::1;32888:274;;;32918:12;32936:10;:15;;32958:21;32936:48;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32917:67;;;33007:7;32999:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;32888:274;;;;33067:83;33100:10;33113:11;:21;;;33143:4;33113:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33067:11;:24;;;;:83;;;;;:::i;:::-;32888:274;32831:338::o:0;18699:27::-;;;;;;;;;;;;;:::o;28846:644::-;28884:20;;:::i;:::-;28924:8;28917:15;;;;;;;;;;;;;;;;;;;;;;;;;;;28967:4;:24;;;28949:15;:42;28945:538;;;29008:16;29027:7;:17;;;29053:3;29027:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;29008:50;;29090:1;29079:8;:12;29075:308;;;29112:19;29134:45;29154:4;:24;;;29134:15;:19;;:45;;;;:::i;:::-;29112:67;;29198:19;29220:28;29236:11;;29220;:15;;:28;;;;:::i;:::-;29198:50;;29291:76;29357:8;29318:36;29334:19;;29318:11;:15;;:36;;;;:::i;:::-;:47;;;;;;29291:4;:21;;;:25;;:76;;;;:::i;:::-;29267:4;:21;;:100;;;;;29075:308;;;29426:15;29399:4;:24;;:42;;;;;29467:4;29456:8;:15;;;;;;;;;;;;;;;;;;;28945:538;;28846:644;:::o;25586:44::-;;;:::o;8335:422::-;8395:4;8603:12;8714:7;8702:20;8694:28;;8748:1;8741:4;:8;8734:15;;;8335:422;;;:::o;3743:220::-;3801:7;3830:1;3825;:6;3821:20;;;3840:1;3833:8;;;;3821:20;3852:9;3868:1;3864;:5;3852:17;;3897:1;3892;3888;:5;;;;;;:10;3880:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;3954:1;3947:8;;;3743:220;;;;;:::o;3326:158::-;3384:7;3417:1;3412;:6;;3404:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;3475:1;3471;:5;3464:12;;3326:158;;;;:::o;2864:179::-;2922:7;2942:9;2958:1;2954;:5;2942:17;;2983:1;2978;:6;;2970:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;3034:1;3027:8;;;2864:179;;;;:::o;22404:336::-;22523:12;22537:17;22566:5;22558:19;;22601:10;22613:2;22617:6;22578:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22558:67;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22522:103;;;;22644:7;:57;;;;;22671:1;22656:4;:11;:16;:44;;;;22687:4;22676:24;;;;;;;;;;;;:::i;:::-;22656:44;22644:57;22636:96;;;;;;;;;;;;:::i;:::-;;;;;;;;;22404:336;;;;;:::o;4441:153::-;4499:7;4531:1;4527;:5;4519:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;4585:1;4581;:5;;;;;;4574:12;;4441:153;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;5:130::-;;85:6;72:20;63:29;;97:33;124:5;97:33;:::i;:::-;57:78;;;;:::o;142:124::-;;219:6;206:20;197:29;;231:30;255:5;231:30;:::i;:::-;191:75;;;;:::o;273:128::-;;354:6;348:13;339:22;;366:30;390:5;366:30;:::i;:::-;333:68;;;;:::o;408:130::-;;488:6;475:20;466:29;;500:33;527:5;500:33;:::i;:::-;460:78;;;;:::o;545:134::-;;629:6;623:13;614:22;;641:33;668:5;641:33;:::i;:::-;608:71;;;;:::o;686:241::-;;790:2;778:9;769:7;765:23;761:32;758:2;;;806:1;803;796:12;758:2;841:1;858:53;903:7;894:6;883:9;879:22;858:53;:::i;:::-;848:63;;820:97;752:175;;;;:::o;934:479::-;;;;1066:2;1054:9;1045:7;1041:23;1037:32;1034:2;;;1082:1;1079;1072:12;1034:2;1117:1;1134:53;1179:7;1170:6;1159:9;1155:22;1134:53;:::i;:::-;1124:63;;1096:97;1224:2;1242:50;1284:7;1275:6;1264:9;1260:22;1242:50;:::i;:::-;1232:60;;1203:95;1329:2;1347:50;1389:7;1380:6;1369:9;1365:22;1347:50;:::i;:::-;1337:60;;1308:95;1028:385;;;;;:::o;1420:366::-;;;1541:2;1529:9;1520:7;1516:23;1512:32;1509:2;;;1557:1;1554;1547:12;1509:2;1592:1;1609:53;1654:7;1645:6;1634:9;1630:22;1609:53;:::i;:::-;1599:63;;1571:97;1699:2;1717:53;1762:7;1753:6;1742:9;1738:22;1717:53;:::i;:::-;1707:63;;1678:98;1503:283;;;;;:::o;1793:257::-;;1905:2;1893:9;1884:7;1880:23;1876:32;1873:2;;;1921:1;1918;1911:12;1873:2;1956:1;1973:61;2026:7;2017:6;2006:9;2002:22;1973:61;:::i;:::-;1963:71;;1935:105;1867:183;;;;:::o;2057:241::-;;2161:2;2149:9;2140:7;2136:23;2132:32;2129:2;;;2177:1;2174;2167:12;2129:2;2212:1;2229:53;2274:7;2265:6;2254:9;2250:22;2229:53;:::i;:::-;2219:63;;2191:97;2123:175;;;;:::o;2305:263::-;;2420:2;2408:9;2399:7;2395:23;2391:32;2388:2;;;2436:1;2433;2426:12;2388:2;2471:1;2488:64;2544:7;2535:6;2524:9;2520:22;2488:64;:::i;:::-;2478:74;;2450:108;2382:186;;;;:::o;2575:142::-;2666:45;2705:5;2666:45;:::i;:::-;2661:3;2654:58;2648:69;;:::o;2724:113::-;2807:24;2825:5;2807:24;:::i;:::-;2802:3;2795:37;2789:48;;:::o;2844:104::-;2921:21;2936:5;2921:21;:::i;:::-;2916:3;2909:34;2903:45;;:::o;2955:356::-;;3083:38;3115:5;3083:38;:::i;:::-;3133:88;3214:6;3209:3;3133:88;:::i;:::-;3126:95;;3226:52;3271:6;3266:3;3259:4;3252:5;3248:16;3226:52;:::i;:::-;3299:6;3294:3;3290:16;3283:23;;3063:248;;;;;:::o;3318:154::-;3415:51;3460:5;3415:51;:::i;:::-;3410:3;3403:64;3397:75;;:::o;3479:172::-;3585:60;3639:5;3585:60;:::i;:::-;3580:3;3573:73;3567:84;;:::o;3659:315::-;;3819:67;3883:2;3878:3;3819:67;:::i;:::-;3812:74;;3919:17;3915:1;3910:3;3906:11;3899:38;3965:2;3960:3;3956:12;3949:19;;3805:169;;;:::o;3983:327::-;;4143:67;4207:2;4202:3;4143:67;:::i;:::-;4136:74;;4243:29;4239:1;4234:3;4230:11;4223:50;4301:2;4296:3;4292:12;4285:19;;4129:181;;;:::o;4319:321::-;;4479:67;4543:2;4538:3;4479:67;:::i;:::-;4472:74;;4579:23;4575:1;4570:3;4566:11;4559:44;4631:2;4626:3;4622:12;4615:19;;4465:175;;;:::o;4649:330::-;;4809:67;4873:2;4868:3;4809:67;:::i;:::-;4802:74;;4909:32;4905:1;4900:3;4896:11;4889:53;4970:2;4965:3;4961:12;4954:19;;4795:184;;;:::o;4988:326::-;;5148:67;5212:2;5207:3;5148:67;:::i;:::-;5141:74;;5248:28;5244:1;5239:3;5235:11;5228:49;5305:2;5300:3;5296:12;5289:19;;5134:180;;;:::o;5323:370::-;;5483:67;5547:2;5542:3;5483:67;:::i;:::-;5476:74;;5583:34;5579:1;5574:3;5570:11;5563:55;5652:3;5647:2;5642:3;5638:12;5631:25;5684:2;5679:3;5675:12;5668:19;;5469:224;;;:::o;5702:332::-;;5862:67;5926:2;5921:3;5862:67;:::i;:::-;5855:74;;5962:34;5958:1;5953:3;5949:11;5942:55;6025:2;6020:3;6016:12;6009:19;;5848:186;;;:::o;6043:332::-;;6203:67;6267:2;6262:3;6203:67;:::i;:::-;6196:74;;6303:34;6299:1;6294:3;6290:11;6283:55;6366:2;6361:3;6357:12;6350:19;;6189:186;;;:::o;6384:326::-;;6544:67;6608:2;6603:3;6544:67;:::i;:::-;6537:74;;6644:28;6640:1;6635:3;6631:11;6624:49;6701:2;6696:3;6692:12;6685:19;;6530:180;;;:::o;6719:296::-;;6896:83;6977:1;6972:3;6896:83;:::i;:::-;6889:90;;7007:1;7002:3;6998:11;6991:18;;6882:133;;;:::o;7024:387::-;;7184:67;7248:2;7243:3;7184:67;:::i;:::-;7177:74;;7284:34;7280:1;7275:3;7271:11;7264:55;7353:20;7348:2;7343:3;7339:12;7332:42;7402:2;7397:3;7393:12;7386:19;;7170:241;;;:::o;7420:331::-;;7580:67;7644:2;7639:3;7580:67;:::i;:::-;7573:74;;7680:33;7676:1;7671:3;7667:11;7660:54;7742:2;7737:3;7733:12;7726:19;;7566:185;;;:::o;7842:505::-;7987:4;7982:3;7978:14;8082:4;8075:5;8071:16;8065:23;8094:63;8151:4;8146:3;8142:14;8128:12;8094:63;:::i;:::-;8007:156;8251:4;8244:5;8240:16;8234:23;8263:63;8320:4;8315:3;8311:14;8297:12;8263:63;:::i;:::-;8173:159;7960:387;;;:::o;8354:103::-;8427:24;8445:5;8427:24;:::i;:::-;8422:3;8415:37;8409:48;;:::o;8464:113::-;8547:24;8565:5;8547:24;:::i;:::-;8542:3;8535:37;8529:48;;:::o;8584:271::-;;8737:93;8826:3;8817:6;8737:93;:::i;:::-;8730:100;;8847:3;8840:10;;8718:137;;;;:::o;8862:379::-;;9069:147;9212:3;9069:147;:::i;:::-;9062:154;;9233:3;9226:10;;9050:191;;;:::o;9248:222::-;;9375:2;9364:9;9360:18;9352:26;;9389:71;9457:1;9446:9;9442:17;9433:6;9389:71;:::i;:::-;9346:124;;;;:::o;9477:238::-;;9612:2;9601:9;9597:18;9589:26;;9626:79;9702:1;9691:9;9687:17;9678:6;9626:79;:::i;:::-;9583:132;;;;:::o;9722:333::-;;9877:2;9866:9;9862:18;9854:26;;9891:71;9959:1;9948:9;9944:17;9935:6;9891:71;:::i;:::-;9973:72;10041:2;10030:9;10026:18;10017:6;9973:72;:::i;:::-;9848:207;;;;;:::o;10062:210::-;;10183:2;10172:9;10168:18;10160:26;;10197:65;10259:1;10248:9;10244:17;10235:6;10197:65;:::i;:::-;10154:118;;;;:::o;10279:250::-;;10420:2;10409:9;10405:18;10397:26;;10434:85;10516:1;10505:9;10501:17;10492:6;10434:85;:::i;:::-;10391:138;;;;:::o;10536:268::-;;10686:2;10675:9;10671:18;10663:26;;10700:94;10791:1;10780:9;10776:17;10767:6;10700:94;:::i;:::-;10657:147;;;;:::o;10811:416::-;;11011:2;11000:9;10996:18;10988:26;;11061:9;11055:4;11051:20;11047:1;11036:9;11032:17;11025:47;11086:131;11212:4;11086:131;:::i;:::-;11078:139;;10982:245;;;:::o;11234:416::-;;11434:2;11423:9;11419:18;11411:26;;11484:9;11478:4;11474:20;11470:1;11459:9;11455:17;11448:47;11509:131;11635:4;11509:131;:::i;:::-;11501:139;;11405:245;;;:::o;11657:416::-;;11857:2;11846:9;11842:18;11834:26;;11907:9;11901:4;11897:20;11893:1;11882:9;11878:17;11871:47;11932:131;12058:4;11932:131;:::i;:::-;11924:139;;11828:245;;;:::o;12080:416::-;;12280:2;12269:9;12265:18;12257:26;;12330:9;12324:4;12320:20;12316:1;12305:9;12301:17;12294:47;12355:131;12481:4;12355:131;:::i;:::-;12347:139;;12251:245;;;:::o;12503:416::-;;12703:2;12692:9;12688:18;12680:26;;12753:9;12747:4;12743:20;12739:1;12728:9;12724:17;12717:47;12778:131;12904:4;12778:131;:::i;:::-;12770:139;;12674:245;;;:::o;12926:416::-;;13126:2;13115:9;13111:18;13103:26;;13176:9;13170:4;13166:20;13162:1;13151:9;13147:17;13140:47;13201:131;13327:4;13201:131;:::i;:::-;13193:139;;13097:245;;;:::o;13349:416::-;;13549:2;13538:9;13534:18;13526:26;;13599:9;13593:4;13589:20;13585:1;13574:9;13570:17;13563:47;13624:131;13750:4;13624:131;:::i;:::-;13616:139;;13520:245;;;:::o;13772:416::-;;13972:2;13961:9;13957:18;13949:26;;14022:9;14016:4;14012:20;14008:1;13997:9;13993:17;13986:47;14047:131;14173:4;14047:131;:::i;:::-;14039:139;;13943:245;;;:::o;14195:416::-;;14395:2;14384:9;14380:18;14372:26;;14445:9;14439:4;14435:20;14431:1;14420:9;14416:17;14409:47;14470:131;14596:4;14470:131;:::i;:::-;14462:139;;14366:245;;;:::o;14618:416::-;;14818:2;14807:9;14803:18;14795:26;;14868:9;14862:4;14858:20;14854:1;14843:9;14839:17;14832:47;14893:131;15019:4;14893:131;:::i;:::-;14885:139;;14789:245;;;:::o;15041:416::-;;15241:2;15230:9;15226:18;15218:26;;15291:9;15285:4;15281:20;15277:1;15266:9;15262:17;15255:47;15316:131;15442:4;15316:131;:::i;:::-;15308:139;;15212:245;;;:::o;15464:326::-;;15643:2;15632:9;15628:18;15620:26;;15657:123;15777:1;15766:9;15762:17;15753:6;15657:123;:::i;:::-;15614:176;;;;:::o;15797:222::-;;15924:2;15913:9;15909:18;15901:26;;15938:71;16006:1;15995:9;15991:17;15982:6;15938:71;:::i;:::-;15895:124;;;;:::o;16026:333::-;;16181:2;16170:9;16166:18;16158:26;;16195:71;16263:1;16252:9;16248:17;16239:6;16195:71;:::i;:::-;16277:72;16345:2;16334:9;16330:18;16321:6;16277:72;:::i;:::-;16152:207;;;;;:::o;16366:444::-;;16549:2;16538:9;16534:18;16526:26;;16563:71;16631:1;16620:9;16616:17;16607:6;16563:71;:::i;:::-;16645:72;16713:2;16702:9;16698:18;16689:6;16645:72;:::i;:::-;16728;16796:2;16785:9;16781:18;16772:6;16728:72;:::i;:::-;16520:290;;;;;;:::o;16817:121::-;;16910:5;16904:12;16894:22;;16875:63;;;:::o;16946:144::-;;17081:3;17066:18;;17059:31;;;;:::o;17099:163::-;;17214:6;17209:3;17202:19;17251:4;17246:3;17242:14;17227:29;;17195:67;;;;:::o;17270:91::-;;17332:24;17350:5;17332:24;:::i;:::-;17321:35;;17315:46;;;:::o;17368:85::-;;17441:5;17434:13;17427:21;17416:32;;17410:43;;;:::o;17460:121::-;;17533:42;17526:5;17522:54;17511:65;;17505:76;;;:::o;17588:72::-;;17650:5;17639:16;;17633:27;;;:::o;17667:129::-;;17754:37;17785:5;17754:37;:::i;:::-;17741:50;;17735:61;;;:::o;17803:149::-;;17896:51;17941:5;17896:51;:::i;:::-;17883:64;;17877:75;;;:::o;17959:122::-;;18052:24;18070:5;18052:24;:::i;:::-;18039:37;;18033:48;;;:::o;18088:167::-;;18190:60;18244:5;18190:60;:::i;:::-;18177:73;;18171:84;;;:::o;18262:131::-;;18364:24;18382:5;18364:24;:::i;:::-;18351:37;;18345:48;;;:::o;18400:121::-;;18479:37;18510:5;18479:37;:::i;:::-;18466:50;;18460:61;;;:::o;18528:108::-;;18607:24;18625:5;18607:24;:::i;:::-;18594:37;;18588:48;;;:::o;18644:268::-;18709:1;18716:101;18730:6;18727:1;18724:13;18716:101;;;18806:1;18801:3;18797:11;18791:18;18787:1;18782:3;18778:11;18771:39;18752:2;18749:1;18745:10;18740:15;;18716:101;;;18832:6;18829:1;18826:13;18823:2;;;18897:1;18888:6;18883:3;18879:16;18872:27;18823:2;18693:219;;;;:::o;18920:117::-;18989:24;19007:5;18989:24;:::i;:::-;18982:5;18979:35;18969:2;;19028:1;19025;19018:12;18969:2;18963:74;:::o;19044:111::-;19110:21;19125:5;19110:21;:::i;:::-;19103:5;19100:32;19090:2;;19146:1;19143;19136:12;19090:2;19084:71;:::o;19162:117::-;19231:24;19249:5;19231:24;:::i;:::-;19224:5;19221:35;19211:2;;19270:1;19267;19260:12;19211:2;19205:74;:::o

Swarm Source

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