ETH Price: $3,195.35 (+1.56%)
Gas: 1.39 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw145505832022-04-09 8:58:121026 days ago1649494692IN
0xe8e27396...4CA948629
0 ETH0.0037585728.13070959
Get Reward144704432022-03-27 20:36:441039 days ago1648413404IN
0xe8e27396...4CA948629
0 ETH0.0032205738.88738809
Exit142373792022-02-19 15:54:481075 days ago1645286088IN
0xe8e27396...4CA948629
0 ETH0.0103453763.25509852
Exit142122072022-02-15 17:58:431079 days ago1644947923IN
0xe8e27396...4CA948629
0 ETH0.011513370.39625808
Exit141747932022-02-09 23:21:361085 days ago1644448896IN
0xe8e27396...4CA948629
0 ETH0.0132609788.17194266
Get Reward141669582022-02-08 18:12:421086 days ago1644343962IN
0xe8e27396...4CA948629
0 ETH0.0048316862.00195675
Withdraw141669532022-02-08 18:11:541086 days ago1644343914IN
0xe8e27396...4CA948629
0 ETH0.0077050259.43491868
Exit141639762022-02-08 7:02:181086 days ago1644303738IN
0xe8e27396...4CA948629
0 ETH0.0114396469.94587185
Get Reward141534602022-02-06 15:59:031088 days ago1644163143IN
0xe8e27396...4CA948629
0 ETH0.0041934553.81197279
Withdraw141534102022-02-06 15:48:061088 days ago1644162486IN
0xe8e27396...4CA948629
0 ETH0.0101288966.4398882
Get Reward138379652021-12-19 21:23:281137 days ago1639949008IN
0xe8e27396...4CA948629
0 ETH0.0051141148.44934195
Exit138320752021-12-18 23:24:271138 days ago1639869867IN
0xe8e27396...4CA948629
0 ETH0.0102897255.24713736
Get Reward138302182021-12-18 16:38:591138 days ago1639845539IN
0xe8e27396...4CA948629
0 ETH0.0046417652.475404
Get Reward137846462021-12-11 15:24:431145 days ago1639236283IN
0xe8e27396...4CA948629
0 ETH0.0060567357.37935148
Stake137077712021-11-29 9:21:071157 days ago1638177667IN
0xe8e27396...4CA948629
0 ETH0.0129004195.22426468
Stake136725252021-11-23 18:54:201163 days ago1637693660IN
0xe8e27396...4CA948629
0 ETH0.012672793.54347962
Stake136578952021-11-21 11:26:021165 days ago1637493962IN
0xe8e27396...4CA948629
0 ETH0.0092701668.42763559
Stake136570372021-11-21 8:18:221165 days ago1637482702IN
0xe8e27396...4CA948629
0 ETH0.0116840568.50328185
Stake136545632021-11-20 22:39:541166 days ago1637447994IN
0xe8e27396...4CA948629
0 ETH0.0122827990.65731367
Stake136505002021-11-20 7:14:261166 days ago1637392466IN
0xe8e27396...4CA948629
0 ETH0.0160134793.89312909
Stake136485672021-11-19 23:47:351167 days ago1637365655IN
0xe8e27396...4CA948629
0 ETH0.01751644102.70563832
Stake136475492021-11-19 20:01:341167 days ago1637352094IN
0xe8e27396...4CA948629
0 ETH0.02877862164.14349646
Stake136473932021-11-19 19:23:311167 days ago1637349811IN
0xe8e27396...4CA948629
0 ETH0.0166646897.71144458
Stake136470092021-11-19 17:57:061167 days ago1637344626IN
0xe8e27396...4CA948629
0 ETH0.02423737138.22285791
Stake136465672021-11-19 16:23:071167 days ago1637338987IN
0xe8e27396...4CA948629
0 ETH0.01789294104.91318726
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DeflectPool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-19
*/

// File: node_modules\@openzeppelin\contracts\utils\Context.sol

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin\contracts\access\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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin\contracts\math\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: @openzeppelin\contracts\math\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.
     *
     * _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: node_modules\@openzeppelin\contracts\token\ERC20\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: node_modules\@openzeppelin\contracts\utils\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.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

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

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

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

// File: @openzeppelin\contracts\token\ERC20\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: contracts\LPTokenWrapper.sol


pragma solidity 0.6.12;



abstract contract LPTokenWrapper {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public immutable stakingToken;
    uint256 public immutable devFee;

    address public treasury;
    // Returns the total staked tokens within the contract
    uint256 public totalSupply;
    uint256 public boostedTotalSupply;
    uint256 public startTime;
    uint256 public burnFee;

    struct Balance {
        uint256 balance;
        uint256 boostedBalance;
    }

    mapping(address => Balance) internal _balances;

    constructor(
        uint256 _devFee,
        address _stakingToken,
        address _treasury,
        uint256 _burnFee
    ) public {
        devFee = _devFee;
        stakingToken = IERC20(_stakingToken);
        treasury = _treasury;
        burnFee = _burnFee;
    }

    // Returns staking balance of the account
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account].balance;
    }

    function boostedBalanceOf(address account) public view returns (uint256) {
        return _balances[account].boostedBalance;
    }

    // Stake funds into the pool
    function stake(uint256 amount) public virtual {
        
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);

        if (burnFee > 0 ) {
            uint tokenBurnBalance = amount.mul(burnFee).div(10000);
            uint stakedBalance = amount.sub(tokenBurnBalance);
            _balances[msg.sender].balance = _balances[msg.sender].balance.add(
            stakedBalance
           );
            totalSupply = totalSupply.add(stakedBalance);
            return;
        }
         // Increment sender's balances and total supply
        _balances[msg.sender].balance = _balances[msg.sender].balance.add(
            amount
        );
        totalSupply = totalSupply.add(amount);

    }

    // Subtract balances withdrawn from the user
    function withdraw(uint256 amount) public virtual {
        totalSupply = totalSupply.sub(amount);
        _balances[msg.sender].balance = _balances[msg.sender].balance.sub(
            amount
        );

        // Calculate the withdraw tax (it's 1.5% of the amount)
        uint256 tax = amount.mul(devFee).div(1000);

        // Transfer the tokens to user
        stakingToken.safeTransfer(msg.sender, amount - tax);
        // Tax to treasury
        stakingToken.safeTransfer(treasury, tax);
    }
}

// File: contracts\interfaces\IDeflector.sol


pragma solidity ^0.6.0;

interface IDeflector {
    function calculateBoostedBalance(address _user, uint256 _balance)
        external
        view
        returns (uint256);

    function calculateCost(
        address _user,
        address _token,
        uint256 _nextLevel
    ) external view returns (uint256);

    function updateLevel(
        address _user,
        address _token,
        uint256 _nextLevel,
        uint256 _balance
    ) external returns (uint256);
}

// File: contracts\interfaces\IERC20Metadata.sol


pragma solidity 0.6.12;


interface IERC20Metadata is IERC20 {
    function decimals() external view returns (uint8);
}

// File: contracts\DeflectPool.sol


pragma solidity 0.6.12;

/*
    โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–ˆโ–ˆโ–ˆโ–ˆ โ–’โ–ˆโ–ˆโ–“    โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ  โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–„  โ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“   โ–ˆโ–ˆโ–“โ–ˆโ–ˆโ–ˆ   โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   โ–ˆโ–ˆโ–“
    โ–’โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–Œโ–“โ–ˆ   โ–€  โ–“โ–ˆโ–ˆ   โ–’โ–“โ–ˆโ–ˆโ–’    โ–“โ–ˆ   โ–€ โ–’โ–ˆโ–ˆโ–€ โ–€โ–ˆ  โ–“  โ–ˆโ–ˆโ–’ โ–“โ–’   โ–“โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–’  โ–ˆโ–ˆโ–’ โ–“โ–ˆโ–ˆโ–’
    โ–‘โ–ˆโ–ˆ   โ–ˆโ–Œโ–’โ–ˆโ–ˆโ–ˆ    โ–’โ–ˆโ–ˆโ–ˆโ–ˆ โ–‘โ–’โ–ˆโ–ˆโ–‘    โ–’โ–ˆโ–ˆโ–ˆ   โ–’โ–“โ–ˆ    โ–„    โ–ˆโ–ˆโ–‘ โ–’    โ–“โ–ˆโ–ˆโ–‘ โ–ˆโ–ˆโ–“โ–’โ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–’โ–’โ–ˆโ–ˆโ–‘  โ–ˆโ–ˆโ–’ โ–’โ–ˆโ–ˆโ–‘
    โ–‘โ–“โ–ˆโ–„   โ–Œโ–’โ–“โ–ˆ  โ–„ โ–‘ โ–“โ–ˆโ–’  โ–‘โ–’โ–ˆโ–ˆโ–‘    โ–’โ–“โ–ˆ  โ–„ โ–’โ–“โ–“โ–„ โ–„โ–ˆโ–ˆโ–’โ–‘  โ–ˆโ–ˆ โ–‘    โ–’โ–ˆโ–ˆโ–„โ–ˆโ–“โ–’ โ–’โ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘โ–’โ–ˆโ–ˆ   โ–ˆโ–ˆโ–‘ โ–’โ–ˆโ–ˆโ–‘
    โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–“ โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–‘ โ–’โ–ˆโ–‘   โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–‘โ–’โ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–’ โ–“โ–ˆโ–ˆโ–ˆโ–€ โ–‘  โ–’โ–ˆโ–ˆโ–’     โ–’โ–ˆโ–ˆโ–’ โ–‘  โ–‘โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’
     โ–’โ–’โ–“  โ–’ โ–‘โ–‘ โ–’โ–‘ โ–‘ โ–’ โ–‘   โ–‘ โ–’โ–‘โ–“  โ–‘โ–‘โ–‘ โ–’โ–‘ โ–‘โ–‘ โ–‘โ–’ โ–’  โ–‘  โ–’ โ–‘โ–‘        โ–’โ–“โ–’โ–‘ โ–‘  โ–‘โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘ โ–‘ โ–’โ–‘โ–’โ–‘โ–’โ–‘ โ–‘ โ–’โ–‘โ–“  โ–‘
     โ–‘ โ–’  โ–’  โ–‘ โ–‘  โ–‘ โ–‘     โ–‘ โ–‘ โ–’  โ–‘ โ–‘ โ–‘  โ–‘  โ–‘  โ–’       โ–‘          โ–‘โ–’ โ–‘       โ–‘ โ–’ โ–’โ–‘   โ–‘ โ–’ โ–’โ–‘ โ–‘ โ–‘ โ–’  โ–‘
     โ–‘ โ–‘  โ–‘    โ–‘    โ–‘ โ–‘     โ–‘ โ–‘      โ–‘   โ–‘             โ–‘             โ–‘โ–‘         โ–‘ โ–‘ โ–‘ โ–’  โ–‘ โ–‘ โ–‘ โ–’


*/






/**
 * @title DeflectPool
 * @author DEFLECT PROTOCOL
 * @dev This contract is a time-based yield farming pool with effective-staking multiplier mechanics.
 *
 * * * NOTE: A withdrawal fee of 1.5% is included which is sent to the treasury address. * * *
 */

contract DeflectPool is LPTokenWrapper, Ownable {
    using SafeERC20 for IERC20Metadata;

    IERC20Metadata public immutable rewardToken;
    uint256 public immutable stakingTokenMultiplier;
    IDeflector public immutable deflector;
    uint256 public immutable duration;
    uint256 public immutable deployedTime;
    address public immutable devFund;

    uint256 public periodFinish;
    uint256 public lastUpdateTime;
    uint256 public rewardRate;
    uint256 public rewardPerTokenStored;

    struct RewardInfo {
        uint256 rewards;
        uint256 userRewardPerTokenPaid;
    }

    mapping(address => RewardInfo) public rewards;

    event RewardAdded(uint256 reward);
    event Withdrawn(address indexed user, uint256 amount);
    event Staked(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event Boost(address _token, uint256 level);

    // Set the staking token for the contract
    constructor(
        uint256 _duration,
        address _stakingToken,
        IERC20Metadata _rewardToken,
        address _deflector,
        address _treasury,
        address _devFund,
        uint256 _devFee,
        uint256 _burnFee
    ) public LPTokenWrapper(_devFee, _stakingToken, _treasury, _burnFee) Ownable() {
        require(_duration != 0 && _stakingToken != address(0) && _rewardToken != IERC20Metadata(0) && _deflector != address(0) && _treasury != address(0) && _devFund != address(0), "!constructor");
        deflector = IDeflector(_deflector);
        stakingTokenMultiplier = 10**uint256(IERC20Metadata(_stakingToken).decimals());
        rewardToken = _rewardToken;
        duration = _duration;
        deployedTime = block.timestamp;
        devFund = _devFund;
    }

    function setNewTreasury(address _treasury) external onlyOwner() {
        treasury = _treasury;
    }

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

    /* @dev Returns the current rate of rewards per token (doh) */
    function rewardPerToken() public view returns (uint256) {
        // Do not distribute rewards before startTime.
        if (block.timestamp < startTime) {
            return 0;
        }

        if (totalSupply == 0) {
            return rewardPerTokenStored;
        }

        // Effective total supply takes into account all the multipliers bought by userbase.
        uint256 effectiveTotalSupply = totalSupply.add(boostedTotalSupply);
        // The returrn value is time-based on last time the contract had rewards active multipliede by the reward-rate.
        // It's evened out with a division of bonus effective supply.
        return rewardPerTokenStored
        .add(
            lastTimeRewardsActive()
            .sub(lastUpdateTime)
            .mul(rewardRate)
            .mul(stakingTokenMultiplier)
            .div(effectiveTotalSupply)
        );
    }

    /** @dev Returns the claimable tokens for user.*/
    function earned(address account) public view returns (uint256) {
        uint256 effectiveBalance = _balances[account].balance.add(_balances[account].boostedBalance);
        RewardInfo memory userRewards = rewards[account];
        return effectiveBalance.mul(rewardPerToken().sub(userRewards.userRewardPerTokenPaid)).div(stakingTokenMultiplier).add(userRewards.rewards);
    }

    /** @dev Staking function which updates the user balances in the parent contract */
    function stake(uint256 amount) public override {
        require(amount > 0, "Cannot stake 0");
        updateReward(msg.sender);

        // Call the parent to adjust the balances.
        super.stake(amount);

        // Adjust the bonus effective stake according to the multiplier.
        uint256 boostedBalance = deflector.calculateBoostedBalance(msg.sender, _balances[msg.sender].balance);
        adjustBoostedBalance(boostedBalance);
        emit Staked(msg.sender, amount);
    }

    /** @dev Withdraw function, this pool contains a tax which is defined in the constructor */
    function withdraw(uint256 amount) public override {
        require(amount > 0, "Cannot withdraw 0");
        updateReward(msg.sender);

        // Adjust regular balances
        super.withdraw(amount);

        // And the bonus balances
        uint256 boostedBalance = deflector.calculateBoostedBalance(msg.sender, _balances[msg.sender].balance);
        adjustBoostedBalance(boostedBalance);
        emit Withdrawn(msg.sender, amount);
    }

    /** @dev Adjust the bonus effective stakee for user and whole userbase */
    function adjustBoostedBalance(uint256 _boostedBalance) private {
        Balance storage balances = _balances[msg.sender];
        uint256 previousBoostedBalance = balances.boostedBalance;
        if (_boostedBalance < previousBoostedBalance) {
            uint256 diffBalancesAccounting = previousBoostedBalance.sub(_boostedBalance);
            boostedTotalSupply = boostedTotalSupply.sub(diffBalancesAccounting);
        } else if (_boostedBalance > previousBoostedBalance) {
            uint256 diffBalancesAccounting = _boostedBalance.sub(previousBoostedBalance);
            boostedTotalSupply = boostedTotalSupply.add(diffBalancesAccounting);
        }
        balances.boostedBalance = _boostedBalance;
    }

    // Ease-of-access function for user to remove assets from the pool.
    function exit() external {
        getReward();
        withdraw(balanceOf(msg.sender));
    }

    // Sends out the reward tokens to the user.
    function getReward() public {
        updateReward(msg.sender);
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender].rewards = 0;
            emit RewardPaid(msg.sender, reward);
            rewardToken.safeTransfer(msg.sender, reward);
        }
    }

    // Called to start the pool.
    // Owner must send rewards to the contract and the balance of this token is used as the reward to account for fee on transfer tokens.
    // The reward period will be the duration of the pool.
    function notifyRewardAmount() external onlyOwner() {
        uint256 reward = rewardToken.balanceOf(address(this));
        require(reward > 0, "!reward added");
        // Update reward values
        updateRewardPerTokenStored();

        // Rewardrate must stay at a constant since it's used by end-users claiming rewards after the reward period has finished.
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(duration);
        } else {
            // Remaining time for the pool
            uint256 remainingTime = periodFinish.sub(block.timestamp);
            // And the rewards
            uint256 rewardsRemaining = remainingTime.mul(rewardRate);
            // Set the current rate
            rewardRate = reward.add(rewardsRemaining).div(duration);
        }

        // Set the last updated
        lastUpdateTime = block.timestamp;
        startTime = block.timestamp;
        // Add the period to be equal to duration set.s
        periodFinish = block.timestamp.add(duration);
        emit RewardAdded(reward);
    }

    // Purchase a multiplier level, same level cannot be purchased twice.
    function purchase(address _token, uint256 _newLevel) external {
        require(block.timestamp < periodFinish, "cannot buy after pool ends");

        updateReward(msg.sender);
        
        // Calculates cost, ensures it is a new level too
        uint256 cost = deflector.calculateCost(msg.sender, _token, _newLevel);
        require(cost > 0, "cost cannot be 0");

        // Update level in multiplier contract
        uint256 newBoostedBalance = deflector.updateLevel(msg.sender, _token, _newLevel, _balances[msg.sender].balance);

        // Adjust new level
        adjustBoostedBalance(newBoostedBalance);

        emit Boost(_token, _newLevel);

        uint256 actualCost = cost.mul(periodFinish - block.timestamp).div(duration);

        uint256 devPortion = actualCost.mul(25) / 100;

        // Transfer the bonus cost into the treasury and dev fund.
        IERC20Metadata(_token).safeTransferFrom(msg.sender, devFund, devPortion);
        IERC20Metadata(_token).safeTransferFrom(msg.sender, treasury, actualCost - devPortion);
    }

    // Sync after minting more prism
    function sync() external {
        updateReward(msg.sender);

        uint256 boostedBalance = deflector.calculateBoostedBalance(msg.sender, _balances[msg.sender].balance);
        require(boostedBalance > _balances[msg.sender].boostedBalance, "DeflectPool::sync: Invalid sync invocation");
        // Adjust new level
        adjustBoostedBalance(boostedBalance);
    }

    // Returns the multiplier for user.
    function getUserMultiplier() external view returns (uint256) {
         // And the bonus balances
        uint256 boostedBalance = deflector.calculateBoostedBalance(msg.sender, _balances[msg.sender].balance);
        
        if (boostedBalance == 0) return 0;

        return boostedBalance * 100 / _balances[msg.sender].balance;
    }

    function getLevelCost(address _token, uint256 _level) external view returns (uint256) {
        return deflector.calculateCost(msg.sender, _token, _level);
    }

    // Ejects any remaining tokens from the pool.
    // Callable only after the pool has started and the pools reward distribution period has finished.
    function eject() external onlyOwner() {
        require(block.timestamp >= periodFinish + 12 hours, "Cannot eject before period finishes or pool has started");
        uint256 currBalance = rewardToken.balanceOf(address(this));
        rewardToken.safeTransfer(msg.sender, currBalance);
    }

    // Forcefully retire a pool
    // Only sets the period finish to 0
    // This will prevent more rewards from being disbursed
    function kill() external onlyOwner() {
        periodFinish = block.timestamp;
    }

    // Callable only after the pool has started and the pools reward distribution period has finished.
    function emergencyWithdraw() external {
        require(block.timestamp >= periodFinish + 12 hours, "DeflectPool::emergencyWithdraw: Cannot emergency withdraw before period finishes or pool has started");
        uint256 fullWithdrawal = balanceOf(msg.sender);
        require(fullWithdrawal > 0, "DeflectPool::emergencyWithdraw: Cannot withdraw 0");
        super.withdraw(fullWithdrawal);
        emit Withdrawn(msg.sender, fullWithdrawal);
    }

    function updateRewardPerTokenStored() internal {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardsActive();
    }

    function updateReward(address account) internal {
        updateRewardPerTokenStored();
        rewards[account].rewards = earned(account);
        rewards[account].userRewardPerTokenPaid = rewardPerTokenStored;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"contract IERC20Metadata","name":"_rewardToken","type":"address"},{"internalType":"address","name":"_deflector","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_devFund","type":"address"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"level","type":"uint256"}],"name":"Boost","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":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"boostedBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostedTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deflector","outputs":[{"internalType":"contract IDeflector","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","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":"eject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"getLevelCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getUserMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardsActive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_newLevel","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"},{"internalType":"uint256","name":"userRewardPerTokenPaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setNewTreasury","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":"stakingTokenMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101806040523480156200001257600080fd5b50604051620024b1380380620024b183398181016040526101008110156200003957600080fd5b5080516020820151604083015160608085015160808087015160a08089015160c08a015160e0909a0151918a90529487901b6001600160601b031916909252600080546001600160a01b0319166001600160a01b038316178155600483905596979596949592949093929190620000af6200026e565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35087158015906200011557506001600160a01b03871615155b80156200012a57506001600160a01b03861615155b80156200013f57506001600160a01b03851615155b80156200015457506001600160a01b03841615155b80156200016957506001600160a01b03831615155b620001aa576040805162461bcd60e51b815260206004820152600c60248201526b10b1b7b739ba393ab1ba37b960a11b604482015290519081900360640190fd5b846001600160a01b0316610100816001600160a01b031660601b81525050866001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020257600080fd5b505afa15801562000217573d6000803e3d6000fd5b505050506040513d60208110156200022e57600080fd5b505160ff16600a0a60e05250506001600160601b0319606094851b811660c05261012096909652426101405290921b909316610160525062000272915050565b3390565b60805160601c60a05160c05160601c60e0516101005160601c61012051610140516101605160601c6121676200034a60003980610b8a528061116b525080610bae52508061071f528061077b52806107bb528061081a528061110a52508061087752806109d15280610c055280610f3c528061104152806112ef52806113d6528061176652508061055d528061123c52806114a252508061062d5280610af65280610dcf5280610e7552806116fc525080610be15280611a4d525080610cf05280611a805280611aba5280611c1c52506121676000f3fe608060405234801561001057600080fd5b506004361061023c5760003560e01c80637b0a47ee1161013b578063cd3daf9d116100b8578063ebe2b12b1161007c578063ebe2b12b146104a2578063f2fde38b146104aa578063f7c618c1146104d0578063fce589d8146104d8578063fff6cae9146104e05761023c565b8063cd3daf9d1461047a578063db2e21bc14610482578063df136d651461048a578063e78b69f014610492578063e9fad8ee1461049a5761023c565b80638f9a372d116100ff5780638f9a372d146103fb5780639eade65214610421578063a694fc3a14610429578063b38ef2e814610446578063c8f33c91146104725761023c565b80637b0a47ee146103af5780638112643c146103b757806382e94ac5146103bf5780638da5cb5b146103c75780638de93222146103cf5761023c565b806341c0e1b5116101c95780636b909a071161018d5780636b909a071461036957806370a0823114610371578063715018a61461039757806372f702f31461039f57806378e97925146103a75761023c565b806341c0e1b5146103255780634390d2a81461032d578063461ac0191461035157806361d027b3146103595780636827e764146103615761023c565b80630fd9dd48116102105780630fd9dd48146102ca57806318160ddd146102d25780631beabcd2146102da5780632e1a7d4d146103005780633d18b9121461031d5761023c565b80628cc262146102415780630700037d146102795780630c51dde4146102b85780630fb5a6b4146102c2575b600080fd5b6102676004803603602081101561025757600080fd5b50356001600160a01b03166104e8565b60408051918252519081900360200190f35b61029f6004803603602081101561028f57600080fd5b50356001600160a01b03166105ae565b6040805192835260208301919091528051918290030190f35b6102c06105c7565b005b610267610818565b61026761083c565b610267610919565b610267600480360360208110156102f057600080fd5b50356001600160a01b031661091f565b6102c06004803603602081101561031657600080fd5b503561093d565b6102c0610a86565b6102c0610b20565b610335610b88565b604080516001600160a01b039092168252519081900360200190f35b610267610bac565b610335610bd0565b610267610bdf565b610335610c03565b6102676004803603602081101561038757600080fd5b50356001600160a01b0316610c27565b6102c0610c42565b610335610cee565b610267610d12565b610267610d18565b610267610d1e565b6102c0610d24565b610335610e9c565b6102c0600480360360408110156103e557600080fd5b506001600160a01b038135169060200135610eab565b6102c06004803603602081101561041157600080fd5b50356001600160a01b03166111b6565b61026761123a565b6102c06004803603602081101561043f57600080fd5b503561125e565b6102676004803603604081101561045c57600080fd5b506001600160a01b0381351690602001356113a4565b610267611451565b610267611457565b6102c06114ea565b6102676115bd565b6102676115c3565b6102c06115d6565b6102676115f1565b6102c0600480360360208110156104c057600080fd5b50356001600160a01b03166115f7565b6103356116fa565b61026761171e565b6102c0611724565b6001600160a01b03811660009081526005602052604081206001810154905482916105139190611832565b905061051d611f90565b506001600160a01b0383166000908152600b6020908152604091829020825180840190935280548084526001909101549183018290526105a6916105a0907f00000000000000000000000000000000000000000000000000000000000000009061059a906105939061058d611457565b90611893565b87906118f0565b90611949565b90611832565b949350505050565b600b602052600090815260409020805460019091015482565b6105cf6119b0565b6001600160a01b03166105e0610e9c565b6001600160a01b031614610629576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561069857600080fd5b505afa1580156106ac573d6000803e3d6000fd5b505050506040513d60208110156106c257600080fd5b5051905080610708576040805162461bcd60e51b815260206004820152600d60248201526c085c995dd85c99081859191959609a1b604482015290519081900360640190fd5b6107106119b4565b600754421061074b57610743817f0000000000000000000000000000000000000000000000000000000000000000611949565b6009556107aa565b60075460009061075b9042611893565b90506000610774600954836118f090919063ffffffff16565b90506107a47f000000000000000000000000000000000000000000000000000000000000000061059a8584611832565b60095550505b42600881905560038190556107df907f0000000000000000000000000000000000000000000000000000000000000000611832565b6007556040805182815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a150565b7f000000000000000000000000000000000000000000000000000000000000000081565b336000818152600560209081526040808320548151633b90ebcf60e11b81526004810195909552602485015251919283926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692637721d79e9260448082019391829003018186803b1580156108b957600080fd5b505afa1580156108cd573d6000803e3d6000fd5b505050506040513d60208110156108e357600080fd5b50519050806108f6576000915050610916565b33600090815260056020526040902054606482028161091157fe5b049150505b90565b60015481565b6001600160a01b031660009081526005602052604090206001015490565b60008111610986576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61098f336119cc565b61099881611a04565b336000818152600560209081526040808320548151633b90ebcf60e11b8152600481019590955260248501525191926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692637721d79e92604480840193919291829003018186803b158015610a1557600080fd5b505afa158015610a29573d6000803e3d6000fd5b505050506040513d6020811015610a3f57600080fd5b50519050610a4c81611ae7565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b610a8f336119cc565b6000610a9a336104e8565b90508015610b1d57336000818152600b6020908152604080832092909255815184815291517fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04869281900390910190a2610b1d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611b58565b50565b610b286119b0565b6001600160a01b0316610b39610e9c565b6001600160a01b031614610b82576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b42600755565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b031660009081526005602052604090205490565b610c4a6119b0565b6001600160a01b0316610c5b610e9c565b6001600160a01b031614610ca4576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000081565b60035481565b60095481565b60025481565b610d2c6119b0565b6001600160a01b0316610d3d610e9c565b6001600160a01b031614610d86576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b60075461a8c001421015610dcb5760405162461bcd60e51b81526004018080602001828103825260378152602001806120fb6037913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e3a57600080fd5b505afa158015610e4e573d6000803e3d6000fd5b505050506040513d6020811015610e6457600080fd5b50519050610b1d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611b58565b6006546001600160a01b031690565b6007544210610f01576040805162461bcd60e51b815260206004820152601a60248201527f63616e6e6f742062757920616674657220706f6f6c20656e6473000000000000604482015290519081900360640190fd5b610f0a336119cc565b6040805163053364c560e41b81523360048201526001600160a01b0384811660248301526044820184905291516000927f000000000000000000000000000000000000000000000000000000000000000016916353364c50916064808301926020929190829003018186803b158015610f8257600080fd5b505afa158015610f96573d6000803e3d6000fd5b505050506040513d6020811015610fac57600080fd5b5051905080610ff5576040805162461bcd60e51b815260206004820152601060248201526f0636f73742063616e6e6f7420626520360841b604482015290519081900360640190fd5b33600081815260056020908152604080832054815163c0e26f9f60e01b815260048101959095526001600160a01b038881166024870152604486018890526064860191909152905192937f00000000000000000000000000000000000000000000000000000000000000009091169263c0e26f9f9260848084019391929182900301818787803b15801561108857600080fd5b505af115801561109c573d6000803e3d6000fd5b505050506040513d60208110156110b257600080fd5b505190506110bf81611ae7565b604080516001600160a01b03861681526020810185905281517fe31c25a8c942cffbe38e830ad0320372c461b098e910c8ee77567f287ca603fe929181900390910190a160006111407f000000000000000000000000000000000000000000000000000000000000000061059a4260075403866118f090919063ffffffff16565b9050600060646111518360196118f0565b8161115857fe5b0490506111906001600160a01b038716337f000000000000000000000000000000000000000000000000000000000000000084611baf565b6000546111ae906001600160a01b0388811691339116848603611baf565b505050505050565b6111be6119b0565b6001600160a01b03166111cf610e9c565b6001600160a01b031614611218576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b600081116112a4576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b6112ad336119cc565b6112b681611c0f565b336000818152600560209081526040808320548151633b90ebcf60e11b8152600481019590955260248501525191926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692637721d79e92604480840193919291829003018186803b15801561133357600080fd5b505afa158015611347573d6000803e3d6000fd5b505050506040513d602081101561135d57600080fd5b5051905061136a81611ae7565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6040805163053364c560e41b81523360048201526001600160a01b0384811660248301526044820184905291516000927f000000000000000000000000000000000000000000000000000000000000000016916353364c50916064808301926020929190829003018186803b15801561141c57600080fd5b505afa158015611430573d6000803e3d6000fd5b505050506040513d602081101561144657600080fd5b505190505b92915050565b60085481565b600060035442101561146b57506000610916565b60015461147b5750600a54610916565b600061149460025460015461183290919063ffffffff16565b90506114e46114db8261059a7f00000000000000000000000000000000000000000000000000000000000000006114d56009546114d560085461058d6115c3565b906118f0565b600a5490611832565b91505090565b60075461a8c00142101561152f5760405162461bcd60e51b815260040180806020018281038252606481526020018061206d6064913960800191505060405180910390fd5b600061153a33610c27565b90506000811161157b5760405162461bcd60e51b815260040180806020018281038252603181526020018061203c6031913960400191505060405180910390fd5b61158481611a04565b60408051828152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250565b600a5481565b60006115d142600754611cf9565b905090565b6115de610a86565b6115ef6115ea33610c27565b61093d565b565b60075481565b6115ff6119b0565b6001600160a01b0316611610610e9c565b6001600160a01b031614611659576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b6001600160a01b03811661169e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611fd56026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b60045481565b61172d336119cc565b336000818152600560209081526040808320548151633b90ebcf60e11b8152600481019590955260248501525191926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692637721d79e92604480840193919291829003018186803b1580156117aa57600080fd5b505afa1580156117be573d6000803e3d6000fd5b505050506040513d60208110156117d457600080fd5b50513360009081526005602052604090206001015490915081116118295760405162461bcd60e51b815260040180806020018281038252602a815260200180611fab602a913960400191505060405180910390fd5b610b1d81611ae7565b60008282018381101561188c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000828211156118ea576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826118ff5750600061144b565b8282028284828161190c57fe5b041461188c5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ffb6021913960400191505060405180910390fd5b600080821161199f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816119a857fe5b049392505050565b3390565b6119bc611457565b600a556119c76115c3565b600855565b6119d46119b4565b6119dd816104e8565b6001600160a01b039091166000908152600b60205260409020908155600a54600190910155565b600154611a119082611893565b60015533600090815260056020526040902054611a2e9082611893565b33600090815260056020526040812091909155611a716103e861059a847f00000000000000000000000000000000000000000000000000000000000000006118f0565b9050611aa96001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633838503611b58565b600054611ae3906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911683611b58565b5050565b336000908152600560205260409020600181015480831015611b28576000611b0f8285611893565b600254909150611b1f9082611893565b60025550611b51565b80831115611b51576000611b3c8483611893565b600254909150611b4c9082611832565b600255505b5060010155565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611baa908490611d0f565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611c09908590611d0f565b50505050565b611c446001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611baf565b60045415611cbc576000611c6961271061059a600454856118f090919063ffffffff16565b90506000611c778383611893565b33600090815260056020526040902054909150611c949082611832565b33600090815260056020526040902055600154611cb19082611832565b60015550610b1d9050565b33600090815260056020526040902054611cd69082611832565b33600090815260056020526040902055600154611cf39082611832565b60015550565b6000818310611d08578161188c565b5090919050565b6060611d64826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611dc09092919063ffffffff16565b805190915015611baa57808060200190516020811015611d8357600080fd5b5051611baa5760405162461bcd60e51b815260040180806020018281038252602a8152602001806120d1602a913960400191505060405180910390fd5b60606105a6848460008585611dd485611ee6565b611e25576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611e645780518252601f199092019160209182019101611e45565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611ec6576040519150601f19603f3d011682016040523d82523d6000602084013e611ecb565b606091505b5091509150611edb828286611eec565b979650505050505050565b3b151590565b60608315611efb57508161188c565b825115611f0b5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f55578181015183820152602001611f3d565b50505050905090810190601f168015611f825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405180604001604052806000815260200160008152509056fe4465666c656374506f6f6c3a3a73796e633a20496e76616c69642073796e6320696e766f636174696f6e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420776974686472617720304465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420656d657267656e6379207769746864726177206265666f726520706572696f642066696e6973686573206f7220706f6f6c2068617320737461727465645361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420656a656374206265666f726520706572696f642066696e6973686573206f7220706f6f6c206861732073746172746564a26469706673582212207ee212051c110cbf2134091775bfb73a4c82d8a1a05c92136b2ef353ac50a05964736f6c634300060c003300000000000000000000000000000000000000000000000000000000005c4900000000000000000000000000163b890f4892d593945579028ec44ef0f20a46330000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af0000000000000000000000005abbd94bb0561938130d83fda22e672110e12528000000000000000000000000d6f8da21cb98e9eb3cd27a9034e1a71d17bec9ed00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023c5760003560e01c80637b0a47ee1161013b578063cd3daf9d116100b8578063ebe2b12b1161007c578063ebe2b12b146104a2578063f2fde38b146104aa578063f7c618c1146104d0578063fce589d8146104d8578063fff6cae9146104e05761023c565b8063cd3daf9d1461047a578063db2e21bc14610482578063df136d651461048a578063e78b69f014610492578063e9fad8ee1461049a5761023c565b80638f9a372d116100ff5780638f9a372d146103fb5780639eade65214610421578063a694fc3a14610429578063b38ef2e814610446578063c8f33c91146104725761023c565b80637b0a47ee146103af5780638112643c146103b757806382e94ac5146103bf5780638da5cb5b146103c75780638de93222146103cf5761023c565b806341c0e1b5116101c95780636b909a071161018d5780636b909a071461036957806370a0823114610371578063715018a61461039757806372f702f31461039f57806378e97925146103a75761023c565b806341c0e1b5146103255780634390d2a81461032d578063461ac0191461035157806361d027b3146103595780636827e764146103615761023c565b80630fd9dd48116102105780630fd9dd48146102ca57806318160ddd146102d25780631beabcd2146102da5780632e1a7d4d146103005780633d18b9121461031d5761023c565b80628cc262146102415780630700037d146102795780630c51dde4146102b85780630fb5a6b4146102c2575b600080fd5b6102676004803603602081101561025757600080fd5b50356001600160a01b03166104e8565b60408051918252519081900360200190f35b61029f6004803603602081101561028f57600080fd5b50356001600160a01b03166105ae565b6040805192835260208301919091528051918290030190f35b6102c06105c7565b005b610267610818565b61026761083c565b610267610919565b610267600480360360208110156102f057600080fd5b50356001600160a01b031661091f565b6102c06004803603602081101561031657600080fd5b503561093d565b6102c0610a86565b6102c0610b20565b610335610b88565b604080516001600160a01b039092168252519081900360200190f35b610267610bac565b610335610bd0565b610267610bdf565b610335610c03565b6102676004803603602081101561038757600080fd5b50356001600160a01b0316610c27565b6102c0610c42565b610335610cee565b610267610d12565b610267610d18565b610267610d1e565b6102c0610d24565b610335610e9c565b6102c0600480360360408110156103e557600080fd5b506001600160a01b038135169060200135610eab565b6102c06004803603602081101561041157600080fd5b50356001600160a01b03166111b6565b61026761123a565b6102c06004803603602081101561043f57600080fd5b503561125e565b6102676004803603604081101561045c57600080fd5b506001600160a01b0381351690602001356113a4565b610267611451565b610267611457565b6102c06114ea565b6102676115bd565b6102676115c3565b6102c06115d6565b6102676115f1565b6102c0600480360360208110156104c057600080fd5b50356001600160a01b03166115f7565b6103356116fa565b61026761171e565b6102c0611724565b6001600160a01b03811660009081526005602052604081206001810154905482916105139190611832565b905061051d611f90565b506001600160a01b0383166000908152600b6020908152604091829020825180840190935280548084526001909101549183018290526105a6916105a0907f0000000000000000000000000000000000000000000000000de0b6b3a76400009061059a906105939061058d611457565b90611893565b87906118f0565b90611949565b90611832565b949350505050565b600b602052600090815260409020805460019091015482565b6105cf6119b0565b6001600160a01b03166105e0610e9c565b6001600160a01b031614610629576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b60007f0000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561069857600080fd5b505afa1580156106ac573d6000803e3d6000fd5b505050506040513d60208110156106c257600080fd5b5051905080610708576040805162461bcd60e51b815260206004820152600d60248201526c085c995dd85c99081859191959609a1b604482015290519081900360640190fd5b6107106119b4565b600754421061074b57610743817f00000000000000000000000000000000000000000000000000000000005c4900611949565b6009556107aa565b60075460009061075b9042611893565b90506000610774600954836118f090919063ffffffff16565b90506107a47f00000000000000000000000000000000000000000000000000000000005c490061059a8584611832565b60095550505b42600881905560038190556107df907f00000000000000000000000000000000000000000000000000000000005c4900611832565b6007556040805182815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a150565b7f00000000000000000000000000000000000000000000000000000000005c490081565b336000818152600560209081526040808320548151633b90ebcf60e11b81526004810195909552602485015251919283926001600160a01b037f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af1692637721d79e9260448082019391829003018186803b1580156108b957600080fd5b505afa1580156108cd573d6000803e3d6000fd5b505050506040513d60208110156108e357600080fd5b50519050806108f6576000915050610916565b33600090815260056020526040902054606482028161091157fe5b049150505b90565b60015481565b6001600160a01b031660009081526005602052604090206001015490565b60008111610986576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61098f336119cc565b61099881611a04565b336000818152600560209081526040808320548151633b90ebcf60e11b8152600481019590955260248501525191926001600160a01b037f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af1692637721d79e92604480840193919291829003018186803b158015610a1557600080fd5b505afa158015610a29573d6000803e3d6000fd5b505050506040513d6020811015610a3f57600080fd5b50519050610a4c81611ae7565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b610a8f336119cc565b6000610a9a336104e8565b90508015610b1d57336000818152600b6020908152604080832092909255815184815291517fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04869281900390910190a2610b1d6001600160a01b037f0000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d163383611b58565b50565b610b286119b0565b6001600160a01b0316610b39610e9c565b6001600160a01b031614610b82576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b42600755565b7f000000000000000000000000d6f8da21cb98e9eb3cd27a9034e1a71d17bec9ed81565b7f000000000000000000000000000000000000000000000000000000006197816f81565b6000546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af81565b6001600160a01b031660009081526005602052604090205490565b610c4a6119b0565b6001600160a01b0316610c5b610e9c565b6001600160a01b031614610ca4576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b7f000000000000000000000000163b890f4892d593945579028ec44ef0f20a463381565b60035481565b60095481565b60025481565b610d2c6119b0565b6001600160a01b0316610d3d610e9c565b6001600160a01b031614610d86576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b60075461a8c001421015610dcb5760405162461bcd60e51b81526004018080602001828103825260378152602001806120fb6037913960400191505060405180910390fd5b60007f0000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e3a57600080fd5b505afa158015610e4e573d6000803e3d6000fd5b505050506040513d6020811015610e6457600080fd5b50519050610b1d6001600160a01b037f0000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d163383611b58565b6006546001600160a01b031690565b6007544210610f01576040805162461bcd60e51b815260206004820152601a60248201527f63616e6e6f742062757920616674657220706f6f6c20656e6473000000000000604482015290519081900360640190fd5b610f0a336119cc565b6040805163053364c560e41b81523360048201526001600160a01b0384811660248301526044820184905291516000927f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af16916353364c50916064808301926020929190829003018186803b158015610f8257600080fd5b505afa158015610f96573d6000803e3d6000fd5b505050506040513d6020811015610fac57600080fd5b5051905080610ff5576040805162461bcd60e51b815260206004820152601060248201526f0636f73742063616e6e6f7420626520360841b604482015290519081900360640190fd5b33600081815260056020908152604080832054815163c0e26f9f60e01b815260048101959095526001600160a01b038881166024870152604486018890526064860191909152905192937f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af9091169263c0e26f9f9260848084019391929182900301818787803b15801561108857600080fd5b505af115801561109c573d6000803e3d6000fd5b505050506040513d60208110156110b257600080fd5b505190506110bf81611ae7565b604080516001600160a01b03861681526020810185905281517fe31c25a8c942cffbe38e830ad0320372c461b098e910c8ee77567f287ca603fe929181900390910190a160006111407f00000000000000000000000000000000000000000000000000000000005c490061059a4260075403866118f090919063ffffffff16565b9050600060646111518360196118f0565b8161115857fe5b0490506111906001600160a01b038716337f000000000000000000000000d6f8da21cb98e9eb3cd27a9034e1a71d17bec9ed84611baf565b6000546111ae906001600160a01b0388811691339116848603611baf565b505050505050565b6111be6119b0565b6001600160a01b03166111cf610e9c565b6001600160a01b031614611218576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f0000000000000000000000000000000000000000000000000de0b6b3a764000081565b600081116112a4576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b6112ad336119cc565b6112b681611c0f565b336000818152600560209081526040808320548151633b90ebcf60e11b8152600481019590955260248501525191926001600160a01b037f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af1692637721d79e92604480840193919291829003018186803b15801561133357600080fd5b505afa158015611347573d6000803e3d6000fd5b505050506040513d602081101561135d57600080fd5b5051905061136a81611ae7565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6040805163053364c560e41b81523360048201526001600160a01b0384811660248301526044820184905291516000927f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af16916353364c50916064808301926020929190829003018186803b15801561141c57600080fd5b505afa158015611430573d6000803e3d6000fd5b505050506040513d602081101561144657600080fd5b505190505b92915050565b60085481565b600060035442101561146b57506000610916565b60015461147b5750600a54610916565b600061149460025460015461183290919063ffffffff16565b90506114e46114db8261059a7f0000000000000000000000000000000000000000000000000de0b6b3a76400006114d56009546114d560085461058d6115c3565b906118f0565b600a5490611832565b91505090565b60075461a8c00142101561152f5760405162461bcd60e51b815260040180806020018281038252606481526020018061206d6064913960800191505060405180910390fd5b600061153a33610c27565b90506000811161157b5760405162461bcd60e51b815260040180806020018281038252603181526020018061203c6031913960400191505060405180910390fd5b61158481611a04565b60408051828152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250565b600a5481565b60006115d142600754611cf9565b905090565b6115de610a86565b6115ef6115ea33610c27565b61093d565b565b60075481565b6115ff6119b0565b6001600160a01b0316611610610e9c565b6001600160a01b031614611659576040805162461bcd60e51b8152602060048201819052602482015260008051602061201c833981519152604482015290519081900360640190fd5b6001600160a01b03811661169e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611fd56026913960400191505060405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b7f0000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d81565b60045481565b61172d336119cc565b336000818152600560209081526040808320548151633b90ebcf60e11b8152600481019590955260248501525191926001600160a01b037f000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af1692637721d79e92604480840193919291829003018186803b1580156117aa57600080fd5b505afa1580156117be573d6000803e3d6000fd5b505050506040513d60208110156117d457600080fd5b50513360009081526005602052604090206001015490915081116118295760405162461bcd60e51b815260040180806020018281038252602a815260200180611fab602a913960400191505060405180910390fd5b610b1d81611ae7565b60008282018381101561188c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000828211156118ea576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826118ff5750600061144b565b8282028284828161190c57fe5b041461188c5760405162461bcd60e51b8152600401808060200182810382526021815260200180611ffb6021913960400191505060405180910390fd5b600080821161199f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816119a857fe5b049392505050565b3390565b6119bc611457565b600a556119c76115c3565b600855565b6119d46119b4565b6119dd816104e8565b6001600160a01b039091166000908152600b60205260409020908155600a54600190910155565b600154611a119082611893565b60015533600090815260056020526040902054611a2e9082611893565b33600090815260056020526040812091909155611a716103e861059a847f00000000000000000000000000000000000000000000000000000000000000006118f0565b9050611aa96001600160a01b037f000000000000000000000000163b890f4892d593945579028ec44ef0f20a46331633838503611b58565b600054611ae3906001600160a01b037f000000000000000000000000163b890f4892d593945579028ec44ef0f20a46338116911683611b58565b5050565b336000908152600560205260409020600181015480831015611b28576000611b0f8285611893565b600254909150611b1f9082611893565b60025550611b51565b80831115611b51576000611b3c8483611893565b600254909150611b4c9082611832565b600255505b5060010155565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611baa908490611d0f565b505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611c09908590611d0f565b50505050565b611c446001600160a01b037f000000000000000000000000163b890f4892d593945579028ec44ef0f20a463316333084611baf565b60045415611cbc576000611c6961271061059a600454856118f090919063ffffffff16565b90506000611c778383611893565b33600090815260056020526040902054909150611c949082611832565b33600090815260056020526040902055600154611cb19082611832565b60015550610b1d9050565b33600090815260056020526040902054611cd69082611832565b33600090815260056020526040902055600154611cf39082611832565b60015550565b6000818310611d08578161188c565b5090919050565b6060611d64826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611dc09092919063ffffffff16565b805190915015611baa57808060200190516020811015611d8357600080fd5b5051611baa5760405162461bcd60e51b815260040180806020018281038252602a8152602001806120d1602a913960400191505060405180910390fd5b60606105a6848460008585611dd485611ee6565b611e25576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611e645780518252601f199092019160209182019101611e45565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611ec6576040519150601f19603f3d011682016040523d82523d6000602084013e611ecb565b606091505b5091509150611edb828286611eec565b979650505050505050565b3b151590565b60608315611efb57508161188c565b825115611f0b5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f55578181015183820152602001611f3d565b50505050905090810190601f168015611f825780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405180604001604052806000815260200160008152509056fe4465666c656374506f6f6c3a3a73796e633a20496e76616c69642073796e6320696e766f636174696f6e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420776974686472617720304465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420656d657267656e6379207769746864726177206265666f726520706572696f642066696e6973686573206f7220706f6f6c2068617320737461727465645361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420656a656374206265666f726520706572696f642066696e6973686573206f7220706f6f6c206861732073746172746564a26469706673582212207ee212051c110cbf2134091775bfb73a4c82d8a1a05c92136b2ef353ac50a05964736f6c634300060c0033

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

00000000000000000000000000000000000000000000000000000000005c4900000000000000000000000000163b890f4892d593945579028ec44ef0f20a46330000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af0000000000000000000000005abbd94bb0561938130d83fda22e672110e12528000000000000000000000000d6f8da21cb98e9eb3cd27a9034e1a71d17bec9ed00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _duration (uint256): 6048000
Arg [1] : _stakingToken (address): 0x163B890f4892D593945579028Ec44Ef0f20A4633
Arg [2] : _rewardToken (address): 0x2302f393690487a4Fc5927bBeF63ff113E0c479d
Arg [3] : _deflector (address): 0xc4682e106f76b9a99dAE0F971704EEA60F5CF9aF
Arg [4] : _treasury (address): 0x5ABBd94bb0561938130d83FdA22E672110e12528
Arg [5] : _devFund (address): 0xd6F8da21cB98e9Eb3Cd27A9034E1A71D17beC9ed
Arg [6] : _devFee (uint256): 0
Arg [7] : _burnFee (uint256): 0

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000005c4900
Arg [1] : 000000000000000000000000163b890f4892d593945579028ec44ef0f20a4633
Arg [2] : 0000000000000000000000002302f393690487a4fc5927bbef63ff113e0c479d
Arg [3] : 000000000000000000000000c4682e106f76b9a99dae0f971704eea60f5cf9af
Arg [4] : 0000000000000000000000005abbd94bb0561938130d83fda22e672110e12528
Arg [5] : 000000000000000000000000d6f8da21cb98e9eb3cd27a9034e1a71d17bec9ed
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

31563:11104:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34646:382;;;;;;;;;;;;;;;;-1:-1:-1;34646:382:0;-1:-1:-1;;;;;34646:382:0;;:::i;:::-;;;;;;;;;;;;;;;;32181:45;;;;;;;;;;;;;;;;-1:-1:-1;32181:45:0;-1:-1:-1;;;;;32181:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;37785:1089;;;:::i;:::-;;31809:33;;;:::i;40504:343::-;;;:::i;26625:26::-;;;:::i;27367:132::-;;;;;;;;;;;;;;;;-1:-1:-1;27367:132:0;-1:-1:-1;;;;;27367:132:0;;:::i;35729:456::-;;;;;;;;;;;;;;;;-1:-1:-1;35729:456:0;;:::i;37234:310::-;;;:::i;41619:86::-;;;:::i;31893:32::-;;;:::i;:::-;;;;-1:-1:-1;;;;;31893:32:0;;;;;;;;;;;;;;31849:37;;;:::i;26535:23::-;;;:::i;26495:31::-;;;:::i;31765:37::-;;;:::i;27241:118::-;;;;;;;;;;;;;;;;-1:-1:-1;27241:118:0;-1:-1:-1;;;;;27241:118:0;;:::i;2792:148::-;;;:::i;26452:36::-;;;:::i;26698:24::-;;;:::i;32004:25::-;;;:::i;26658:33::-;;;:::i;41181:296::-;;;:::i;2141:87::-;;;:::i;38957:1075::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38957:1075:0;;;;;;;;:::i;33369:103::-;;;;;;;;;;;;;;;;-1:-1:-1;33369:103:0;-1:-1:-1;;;;;33369:103:0;;:::i;31711:47::-;;;:::i;35125:499::-;;;;;;;;;;;;;;;;-1:-1:-1;35125:499:0;;:::i;40855:163::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40855:163:0;;;;;;;;:::i;31968:29::-;;;:::i;33685:898::-;;;:::i;41817:454::-;;;:::i;32036:35::-;;;:::i;33480:128::-;;;:::i;37080:97::-;;;:::i;31934:27::-;;;:::i;3095:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3095:244:0;-1:-1:-1;;;;;3095:244:0;;:::i;31661:43::-;;;:::i;26729:22::-;;;:::i;40078:377::-;;;:::i;34646:382::-;-1:-1:-1;;;;;34778:18:0;;34700:7;34778:18;;;:9;:18;;;;;:33;;;;34747:26;;34700:7;;34747:65;;:26;:30;:65::i;:::-;34720:92;;34823:29;;:::i;:::-;-1:-1:-1;;;;;;34855:16:0;;;;;;:7;:16;;;;;;;;;34823:48;;;;;;;;;;;;;;;;;;;;;;;;34889:131;;:106;;34972:22;;34889:78;;34910:56;;:16;:14;:16::i;:::-;:20;;:56::i;:::-;34889:16;;:20;:78::i;:::-;:82;;:106::i;:::-;:110;;:131::i;:::-;34882:138;34646:382;-1:-1:-1;;;;34646:382:0:o;32181:45::-;;;;;;;;;;;;;;;;;;;:::o;37785:1089::-;2372:12;:10;:12::i;:::-;-1:-1:-1;;;;;2361:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2361:23:0;;2353:68;;;;;-1:-1:-1;;;2353:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2353:68:0;;;;;;;;;;;;;;;37847:14:::1;37864:11;-1:-1:-1::0;;;;;37864:21:0::1;;37894:4;37864:36;;;;;;;;;;;;;-1:-1:-1::0;;;;;37864:36:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37864:36:0;;-1:-1:-1;37919:10:0;37911:36:::1;;;::::0;;-1:-1:-1;;;37911:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37911:36:0;;;;;;;;;;;;;::::1;;37991:28;:26;:28::i;:::-;38186:12;;38167:15;:31;38163:441;;38228:20;:6:::0;38239:8:::1;38228:10;:20::i;:::-;38215:10;:33:::0;38163:441:::1;;;38349:12;::::0;38325:21:::1;::::0;38349:33:::1;::::0;38366:15:::1;38349:16;:33::i;:::-;38325:57;;38429:24;38456:29;38474:10;;38456:13;:17;;:29;;;;:::i;:::-;38429:56:::0;-1:-1:-1;38550:42:0::1;38583:8;38550:28;:6:::0;38429:56;38550:10:::1;:28::i;:42::-;38537:10;:55:::0;-1:-1:-1;;38163:441:0::1;38666:15;38649:14;:32:::0;;;38692:9:::1;:27:::0;;;38802:29:::1;::::0;38822:8:::1;38802:19;:29::i;:::-;38787:12;:44:::0;38847:19:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;2432:1;37785:1089::o:0;31809:33::-;;;:::o;40504:343::-;40671:10;40556:7;40683:21;;;:9;:21;;;;;;;;:29;40637:76;;-1:-1:-1;;;40637:76:0;;;;;;;;;;;;;;40556:7;;;;-1:-1:-1;;;;;40637:9:0;:33;;;;:76;;;;;;;;;;;:33;:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40637:76:0;;-1:-1:-1;40738:19:0;40734:33;;40766:1;40759:8;;;;;40734:33;40820:10;40810:21;;;;:9;:21;;;;;:29;40804:3;40787:20;;40810:29;40787:52;;;;;40780:59;;;40504:343;;:::o;26625:26::-;;;;:::o;27367:132::-;-1:-1:-1;;;;;27458:18:0;27431:7;27458:18;;;:9;:18;;;;;:33;;;;27367:132::o;35729:456::-;35807:1;35798:6;:10;35790:40;;;;;-1:-1:-1;;;35790:40:0;;;;;;;;;;;;-1:-1:-1;;;35790:40:0;;;;;;;;;;;;;;;35841:24;35854:10;35841:12;:24::i;:::-;35914:22;35929:6;35914:14;:22::i;:::-;36043:10;35984:22;36055:21;;;:9;:21;;;;;;;;:29;36009:76;;-1:-1:-1;;;36009:76:0;;;;;;;;;;;;;;35984:22;;-1:-1:-1;;;;;36009:9:0;:33;;;;:76;;;;;36055:21;;36009:76;;;;;;:33;:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36009:76:0;;-1:-1:-1;36096:36:0;36009:76;36096:20;:36::i;:::-;36148:29;;;;;;;;36158:10;;36148:29;;;;;;;;;;35729:456;;:::o;37234:310::-;37273:24;37286:10;37273:12;:24::i;:::-;37308:14;37325:18;37332:10;37325:6;:18::i;:::-;37308:35;-1:-1:-1;37358:10:0;;37354:183;;37393:10;37415:1;37385:19;;;:7;:19;;;;;;;;:31;;;;37436:30;;;;;;;;;;;;;;;;;37481:44;-1:-1:-1;;;;;37481:11:0;:24;37506:10;37518:6;37481:24;:44::i;:::-;37234:310;:::o;41619:86::-;2372:12;:10;:12::i;:::-;-1:-1:-1;;;;;2361:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2361:23:0;;2353:68;;;;;-1:-1:-1;;;2353:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2353:68:0;;;;;;;;;;;;;;;41682:15:::1;41667:12;:30:::0;41619:86::o;31893:32::-;;;:::o;31849:37::-;;;:::o;26535:23::-;;;-1:-1:-1;;;;;26535:23:0;;:::o;26495:31::-;;;:::o;31765:37::-;;;:::o;27241:118::-;-1:-1:-1;;;;;27325:18:0;27298:7;27325:18;;;:9;:18;;;;;:26;;27241:118::o;2792:148::-;2372:12;:10;:12::i;:::-;-1:-1:-1;;;;;2361:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2361:23:0;;2353:68;;;;;-1:-1:-1;;;2353:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2353:68:0;;;;;;;;;;;;;;;2883:6:::1;::::0;2862:40:::1;::::0;2899:1:::1;::::0;-1:-1:-1;;;;;2883:6:0::1;::::0;2862:40:::1;::::0;2899:1;;2862:40:::1;2913:6;:19:::0;;-1:-1:-1;;;;;;2913:19:0::1;::::0;;2792:148::o;26452:36::-;;;:::o;26698:24::-;;;;:::o;32004:25::-;;;;:::o;26658:33::-;;;;:::o;41181:296::-;2372:12;:10;:12::i;:::-;-1:-1:-1;;;;;2361:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2361:23:0;;2353:68;;;;;-1:-1:-1;;;2353:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2353:68:0;;;;;;;;;;;;;;;41257:12:::1;;41272:8;41257:23;41238:15;:42;;41230:110;;;;-1:-1:-1::0;;;41230:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41351:19;41373:11;-1:-1:-1::0;;;;;41373:21:0::1;;41403:4;41373:36;;;;;;;;;;;;;-1:-1:-1::0;;;;;41373:36:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41373:36:0;;-1:-1:-1;41420:49:0::1;-1:-1:-1::0;;;;;41420:11:0::1;:24;41445:10;41373:36:::0;41420:24:::1;:49::i;2141:87::-:0;2214:6;;-1:-1:-1;;;;;2214:6:0;2141:87;:::o;38957:1075::-;39056:12;;39038:15;:30;39030:69;;;;;-1:-1:-1;;;39030:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39112:24;39125:10;39112:12;:24::i;:::-;39231:54;;;-1:-1:-1;;;39231:54:0;;39255:10;39231:54;;;;-1:-1:-1;;;;;39231:54:0;;;;;;;;;;;;;;;39216:12;;39231:9;:23;;;;:54;;;;;;;;;;;;;;:23;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39231:54:0;;-1:-1:-1;39304:8:0;39296:37;;;;;-1:-1:-1;;;39296:37:0;;;;;;;;;;;;-1:-1:-1;;;39296:37:0;;;;;;;;;;;;;;;39444:10;39394:25;39475:21;;;:9;:21;;;;;;;;:29;39422:83;;-1:-1:-1;;;39422:83:0;;;;;;;;;-1:-1:-1;;;;;39422:83:0;;;;;;;;;;;;;;;;;;;;;;39394:25;;39422:9;:21;;;;;;:83;;;;;39475:21;;39422:83;;;;;;39394:25;39422:21;:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39422:83:0;;-1:-1:-1;39547:39:0;39422:83;39547:20;:39::i;:::-;39604:24;;;-1:-1:-1;;;;;39604:24:0;;;;;;;;;;;;;;;;;;;;;;;39641:18;39662:54;39707:8;39662:40;39686:15;39671:12;;:30;39662:4;:8;;:40;;;;:::i;:54::-;39641:75;-1:-1:-1;39729:18:0;39771:3;39750:18;39641:75;39765:2;39750:14;:18::i;:::-;:24;;;;;;;-1:-1:-1;39855:72:0;-1:-1:-1;;;;;39855:39:0;;39895:10;39907:7;39750:24;39855:39;:72::i;:::-;39990:8;;39938:86;;-1:-1:-1;;;;;39938:39:0;;;;39978:10;;39990:8;40000:23;;;39938:39;:86::i;:::-;38957:1075;;;;;;:::o;33369:103::-;2372:12;:10;:12::i;:::-;-1:-1:-1;;;;;2361:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2361:23:0;;2353:68;;;;;-1:-1:-1;;;2353:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2353:68:0;;;;;;;;;;;;;;;33444:8:::1;:20:::0;;-1:-1:-1;;;;;;33444:20:0::1;-1:-1:-1::0;;;;;33444:20:0;;;::::1;::::0;;;::::1;::::0;;33369:103::o;31711:47::-;;;:::o;35125:499::-;35200:1;35191:6;:10;35183:37;;;;;-1:-1:-1;;;35183:37:0;;;;;;;;;;;;-1:-1:-1;;;35183:37:0;;;;;;;;;;;;;;;35231:24;35244:10;35231:12;:24::i;:::-;35320:19;35332:6;35320:11;:19::i;:::-;35485:10;35426:22;35497:21;;;:9;:21;;;;;;;;:29;35451:76;;-1:-1:-1;;;35451:76:0;;;;;;;;;;;;;;35426:22;;-1:-1:-1;;;;;35451:9:0;:33;;;;:76;;;;;35497:21;;35451:76;;;;;;:33;:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35451:76:0;;-1:-1:-1;35538:36:0;35451:76;35538:20;:36::i;:::-;35590:26;;;;;;;;35597:10;;35590:26;;;;;;;;;;35125:499;;:::o;40855:163::-;40959:51;;;-1:-1:-1;;;40959:51:0;;40983:10;40959:51;;;;-1:-1:-1;;;;;40959:51:0;;;;;;;;;;;;;;;40932:7;;40959:9;:23;;;;:51;;;;;;;;;;;;;;:23;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40959:51:0;;-1:-1:-1;40855:163:0;;;;;:::o;31968:29::-;;;;:::o;33685:898::-;33732:7;33830:9;;33812:15;:27;33808:68;;;-1:-1:-1;33863:1:0;33856:8;;33808:68;33892:11;;33888:76;;-1:-1:-1;33932:20:0;;33925:27;;33888:76;34070:28;34101:35;34117:18;;34101:11;;:15;;:35;;;;:::i;:::-;34070:66;;34346:229;34395:169;34543:20;34395:129;34501:22;34395:87;34471:10;;34395:57;34437:14;;34395:23;:21;:23::i;:57::-;:75;;:87::i;:169::-;34346:20;;;:34;:229::i;:::-;34339:236;;;33685:898;:::o;41817:454::-;41893:12;;41908:8;41893:23;41874:15;:42;;41866:155;;;;-1:-1:-1;;;41866:155:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42032:22;42057:21;42067:10;42057:9;:21::i;:::-;42032:46;;42114:1;42097:14;:18;42089:80;;;;-1:-1:-1;;;42089:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42180:30;42195:14;42180;:30::i;:::-;42226:37;;;;;;;;42236:10;;42226:37;;;;;;;;;;41817:454;:::o;32036:35::-;;;;:::o;33480:128::-;33534:7;33561:39;33570:15;33587:12;;33561:8;:39::i;:::-;33554:46;;33480:128;:::o;37080:97::-;37116:11;:9;:11::i;:::-;37138:31;37147:21;37157:10;37147:9;:21::i;:::-;37138:8;:31::i;:::-;37080:97::o;31934:27::-;;;;:::o;3095:244::-;2372:12;:10;:12::i;:::-;-1:-1:-1;;;;;2361:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2361:23:0;;2353:68;;;;;-1:-1:-1;;;2353:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2353:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3184:22:0;::::1;3176:73;;;;-1:-1:-1::0;;;3176:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3286:6;::::0;3265:38:::1;::::0;-1:-1:-1;;;;;3265:38:0;;::::1;::::0;3286:6:::1;::::0;3265:38:::1;::::0;3286:6:::1;::::0;3265:38:::1;3314:6;:17:::0;;-1:-1:-1;;;;;;3314:17:0::1;-1:-1:-1::0;;;;;3314:17:0;;;::::1;::::0;;;::::1;::::0;;3095:244::o;31661:43::-;;;:::o;26729:22::-;;;;:::o;40078:377::-;40114:24;40127:10;40114:12;:24::i;:::-;40210:10;40151:22;40222:21;;;:9;:21;;;;;;;;:29;40176:76;;-1:-1:-1;;;40176:76:0;;;;;;;;;;;;;;40151:22;;-1:-1:-1;;;;;40176:9:0;:33;;;;:76;;;;;40222:21;;40176:76;;;;;;:33;:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40176:76:0;40298:10;40288:21;;;;:9;40176:76;40288:21;;;;:36;;;40176:76;;-1:-1:-1;40271:53:0;;40263:108;;;;-1:-1:-1;;;40263:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40411:36;40432:14;40411:20;:36::i;7000:179::-;7058:7;7090:5;;;7114:6;;;;7106:46;;;;;-1:-1:-1;;;7106:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7170:1;7000:179;-1:-1:-1;;;7000:179:0:o;7462:158::-;7520:7;7553:1;7548;:6;;7540:49;;;;;-1:-1:-1;;;7540:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7607:5:0;;;7462:158::o;7879:220::-;7937:7;7961:6;7957:20;;-1:-1:-1;7976:1:0;7969:8;;7957:20;8000:5;;;8004:1;8000;:5;:1;8024:5;;;;;:10;8016:56;;;;-1:-1:-1;;;8016:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8577:153;8635:7;8667:1;8663;:5;8655:44;;;;;-1:-1:-1;;;8655:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8721:1;8717;:5;;;;;;;8577:153;-1:-1:-1;;;8577:153:0:o;678:106::-;766:10;678:106;:::o;42279:156::-;42360:16;:14;:16::i;:::-;42337:20;:39;42404:23;:21;:23::i;:::-;42387:14;:40;42279:156::o;42443:221::-;42502:28;:26;:28::i;:::-;42568:15;42575:7;42568:6;:15::i;:::-;-1:-1:-1;;;;;42541:16:0;;;;;;;:7;:16;;;;;:42;;;42636:20;;42594:39;;;;:62;42443:221::o;28331:516::-;28405:11;;:23;;28421:6;28405:15;:23::i;:::-;28391:11;:37;28481:10;28471:21;;;;:9;:21;;;;;:29;:65;;28519:6;28471:33;:65::i;:::-;28449:10;28439:21;;;;:9;:21;;;;;:97;;;;28628:28;28651:4;28628:18;:6;28639;28628:10;:18::i;:28::-;28614:42;-1:-1:-1;28709:51:0;-1:-1:-1;;;;;28709:12:0;:25;28735:10;28747:12;;;28709:25;:51::i;:::-;28825:8;;28799:40;;-1:-1:-1;;;;;28799:12:0;:25;;;28825:8;28835:3;28799:25;:40::i;:::-;28331:516;;:::o;36272:727::-;36383:10;36346:24;36373:21;;;:9;:21;;;;;36438:23;;;;36476:40;;;36472:468;;;36533:30;36566:43;:22;36593:15;36566:26;:43::i;:::-;36645:18;;36533:76;;-1:-1:-1;36645:46:0;;36533:76;36645:22;:46::i;:::-;36624:18;:67;-1:-1:-1;36472:468:0;;;36731:22;36713:15;:40;36709:231;;;36770:30;36803:43;:15;36823:22;36803:19;:43::i;:::-;36882:18;;36770:76;;-1:-1:-1;36882:46:0;;36770:76;36882:22;:46::i;:::-;36861:18;:67;-1:-1:-1;36709:231:0;-1:-1:-1;36950:23:0;;:41;36272:727::o;23197:177::-;23307:58;;;-1:-1:-1;;;;;23307:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23307:58:0;-1:-1:-1;;;23307:58:0;;;23280:86;;23300:5;;23280:19;:86::i;:::-;23197:177;;;:::o;23382:205::-;23510:68;;;-1:-1:-1;;;;;23510:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23510:68:0;-1:-1:-1;;;23510:68:0;;;23483:96;;23503:5;;23483:19;:96::i;:::-;23382:205;;;;:::o;27541:732::-;27608:64;-1:-1:-1;;;;;27608:12:0;:29;27638:10;27658:4;27665:6;27608:29;:64::i;:::-;27689:7;;:11;27685:365;;27718:21;27742:30;27766:5;27742:19;27753:7;;27742:6;:10;;:19;;;;:::i;:30::-;27718:54;-1:-1:-1;27787:18:0;27808:28;:6;27718:54;27808:10;:28::i;:::-;27893:10;27883:21;;;;:9;:21;;;;;:29;27787:49;;-1:-1:-1;27883:75:0;;27787:49;27883:33;:75::i;:::-;27861:10;27851:21;;;;:9;:21;;;;;:107;27987:11;;:30;;28003:13;27987:15;:30::i;:::-;27973:11;:44;-1:-1:-1;28032:7:0;;-1:-1:-1;28032:7:0;27685:365;28160:10;28150:21;;;;:9;:21;;;;;:29;:65;;28198:6;28150:33;:65::i;:::-;28128:10;28118:21;;;;:9;:21;;;;;:97;28240:11;;:23;;28256:6;28240:15;:23::i;:::-;28226:11;:37;27541:732;:::o;3780:106::-;3838:7;3869:1;3865;:5;:13;;3877:1;3865:13;;;-1:-1:-1;3873:1:0;;3858:20;-1:-1:-1;3780:106:0:o;25502:761::-;25926:23;25952:69;25980:4;25952:69;;;;;;;;;;;;;;;;;25960:5;-1:-1:-1;;;;;25952:27:0;;;:69;;;;;:::i;:::-;26036:17;;25926:95;;-1:-1:-1;26036:21:0;26032:224;;26178:10;26167:30;;;;;;;;;;;;;;;-1:-1:-1;26167:30:0;26159:85;;;;-1:-1:-1;;;26159:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18192:195;18295:12;18327:52;18349:6;18357:4;18363:1;18366:12;18295;19496:18;19507:6;19496:10;:18::i;:::-;19488:60;;;;;-1:-1:-1;;;19488:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19622:12;19636:23;19663:6;-1:-1:-1;;;;;19663:11:0;19683:5;19691:4;19663:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19663:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19621:75;;;;19714:52;19732:7;19741:10;19753:12;19714:17;:52::i;:::-;19707:59;19244:530;-1:-1:-1;;;;;;;19244:530:0:o;15274:422::-;15641:20;15680:8;;;15274:422::o;21784:742::-;21899:12;21928:7;21924:595;;;-1:-1:-1;21959:10:0;21952:17;;21924:595;22073:17;;:21;22069:439;;22336:10;22330:17;22397:15;22384:10;22380:2;22376:19;22369:44;22284:148;22479:12;22472:20;;-1:-1:-1;;;22472:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://7ee212051c110cbf2134091775bfb73a4c82d8a1a05c92136b2ef353ac50a059

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.