ETH Price: $3,152.32 (+0.27%)
Gas: 2 Gwei

Contract

0xb113743BBde9094DBF5743aa1f9C741bD51168cd
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit197227812024-04-24 4:12:4780 days ago1713931967IN
0xb113743B...bD51168cd
0 ETH0.0016706235
Exit197227792024-04-24 4:12:2380 days ago1713931943IN
0xb113743B...bD51168cd
0 ETH0.0045985240
Exit128937422021-07-25 6:05:491084 days ago1627193149IN
0xb113743B...bD51168cd
0 ETH0.0013780313
Exit128120792021-07-12 11:05:031097 days ago1626087903IN
0xb113743B...bD51168cd
0 ETH0.0026500725
Exit127157032021-06-27 10:59:141112 days ago1624791554IN
0xb113743B...bD51168cd
0 ETH0.000636016
Exit126451942021-06-16 11:19:391123 days ago1623842379IN
0xb113743B...bD51168cd
0 ETH0.0011558512
Exit126260102021-06-13 11:58:421126 days ago1623585522IN
0xb113743B...bD51168cd
0 ETH0.0011660311
Exit125593022021-06-03 4:09:471136 days ago1622693387IN
0xb113743B...bD51168cd
0 ETH0.0022260621
Exit125281502021-05-29 8:24:471141 days ago1622276687IN
0xb113743B...bD51168cd
0 ETH0.0021190622
Exit125021922021-05-25 7:36:491145 days ago1621928209IN
0xb113743B...bD51168cd
0 ETH0.0031785933
Exit124934872021-05-23 23:14:481146 days ago1621811688IN
0xb113743B...bD51168cd
0 ETH0.0081622377
Exit123899512021-05-07 22:45:311162 days ago1620427531IN
0xb113743B...bD51168cd
0 ETH0.0052013354
Exit123798742021-05-06 9:19:491164 days ago1620292789IN
0xb113743B...bD51168cd
0 ETH0.004037848
Exit123690412021-05-04 17:11:531166 days ago1620148313IN
0xb113743B...bD51168cd
0 ETH0.0084806100
Exit123598712021-05-03 7:30:271167 days ago1620027027IN
0xb113743B...bD51168cd
0 ETH0.01346757170
Exit123477042021-05-01 10:25:231169 days ago1619864723IN
0xb113743B...bD51168cd
0 ETH0.0029547931.5
Exit123396562021-04-30 4:19:111170 days ago1619756351IN
0xb113743B...bD51168cd
0 ETH0.0038528440
Exit123182012021-04-26 20:43:251173 days ago1619469805IN
0xb113743B...bD51168cd
0 ETH0.004623448
Exit123094632021-04-25 12:32:361175 days ago1619353956IN
0xb113743B...bD51168cd
0 ETH0.004141843
Exit123078652021-04-25 6:40:021175 days ago1619332802IN
0xb113743B...bD51168cd
0 ETH0.0035638737
Exit123071562021-04-25 4:05:521175 days ago1619323552IN
0xb113743B...bD51168cd
0 ETH0.0033648440
Exit123022312021-04-24 9:55:251176 days ago1619258125IN
0xb113743B...bD51168cd
0 ETH0.006453567
Exit123014692021-04-24 7:03:571176 days ago1619247837IN
0xb113743B...bD51168cd
0 ETH0.0055343759
Exit122020162021-04-08 23:00:441191 days ago1617922844IN
0xb113743B...bD51168cd
0 ETH0.01204678109
Exit121908652021-04-07 5:39:431193 days ago1617773983IN
0xb113743B...bD51168cd
0 ETH0.0111279397
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:
Losv2

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv2 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-10-19
*/

pragma solidity ^0.5.17;
/**
*/

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Synthetix: YFIRewards.sol
*
* Docs: https://docs.synthetix.io/
*
*/



/**
 * @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);
    }
}

/**
 * @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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/*
 * @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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

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

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
    function mint(address account, uint amount) external;

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

/**
 * @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 ERC20;` 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));
    }

    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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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");
        }
    }
}

contract IRewardDistributionRecipient is Ownable {
    address rewardDistribution = 0x680b6e26C9b0107fda32D8395a977F3F00fa0c7F;

    function notifyRewardAmount(uint256 reward) external;

    modifier onlyRewardDistribution() {
        require(_msgSender() == rewardDistribution, "Caller is not reward distribution");
        _;
    }

    function setRewardDistribution(address _rewardDistribution)
        external
        onlyOwner
    {
        rewardDistribution = _rewardDistribution;
    }
}

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

    IERC20 public rvx = IERC20(0x91d6f6e9026E43240ce6F06Af6a4b33129EBdE94); 

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

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

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

    function stake(uint256 amount) public {
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        rvx.safeTransferFrom(msg.sender, address(this), amount);
    }

     function withdraw(uint256 amount) public {
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        rvx.safeTransfer(msg.sender, amount);
    }

}

contract Losv2 is LPTokenWrapper, IRewardDistributionRecipient {
    IERC20 public rvx = IERC20(0x91d6f6e9026E43240ce6F06Af6a4b33129EBdE94);
    uint8 public constant NUMBER_EPOCHS = 11;
     uint256 public constant EPOCH_REWARD = 63636 ether;
      uint256 public constant TOTAL_REWARD = EPOCH_REWARD * NUMBER_EPOCHS;
    uint256 public constant DURATION = 7 days;
     uint256 public currentEpochReward = EPOCH_REWARD;
     uint256 public totalAccumulatedReward = 0;
      uint8 public currentEpoch = 0;
    uint256 public starttime = 1603116000; //Monday, October 19, 2020 4:00:00 PM GMT+02:00 , 10 PM SGT 
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

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

    modifier updateReward(address account) {
       
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

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

    function rewardPerToken() public view returns (uint256) {
        if (totalSupply() == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable()
                    .sub(lastUpdateTime)
                    .mul(rewardRate)
                    .mul(1e18)
                    .div(totalSupply())
            );
    }

    function earned(address account) public view returns (uint256) {
        return
            balanceOf(account)
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
                .div(1e18)
                .add(rewards[account]);
    }

    // stake visibility is public as overriding LPTokenWrapper's stake() function
    function stake(uint256 amount) public updateReward(msg.sender) checkNextEpoch checkStart{
        require(amount > 0, "Cannot stake 0");
        super.stake(amount); //stake RVX
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public updateReward(msg.sender) checkNextEpoch checkStart {
        require(amount > 0, "Cannot withdraw 0");
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

    function exit() external {
        withdraw(balanceOf(msg.sender)); 
        getReward();
    }
    

    function getReward() public updateReward(msg.sender) checkNextEpoch{
       
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rvx.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

  modifier checkNextEpoch() {
        if (block.timestamp >= periodFinish) {
            currentEpochReward = EPOCH_REWARD;

            if (totalAccumulatedReward.add(currentEpochReward) > TOTAL_REWARD) {
                currentEpochReward = TOTAL_REWARD.sub(totalAccumulatedReward); // limit total reward
            }

            if (currentEpochReward > 0) {
                totalAccumulatedReward = totalAccumulatedReward.add(currentEpochReward);
                currentEpoch++;
            }

            rewardRate = currentEpochReward.div(DURATION);
            lastUpdateTime = block.timestamp;
            periodFinish = block.timestamp.add(DURATION);
            emit RewardAdded(currentEpochReward);
        }
        _;
    }
    
    function emergencyDrain(address _addy) public onlyRewardDistribution{
        IERC20 token = IERC20(_addy);
        token.safeTransfer(msg.sender,token.balanceOf(address(this)));
    }
    
    modifier checkStart(){
        require(block.timestamp > starttime,"not start");
        _;
    }

    function notifyRewardAmount(uint256 reward)
        external
        onlyRewardDistribution
        updateReward(address(0))
    {
        currentEpochReward = reward;
         if (totalAccumulatedReward.add(currentEpochReward) > TOTAL_REWARD) {
            currentEpochReward = TOTAL_REWARD.sub(totalAccumulatedReward); // limit total reward
        }
        
        rewardRate = currentEpochReward.div(DURATION);
        totalAccumulatedReward = totalAccumulatedReward.add(currentEpochReward);
        currentEpoch++;
        lastUpdateTime = block.timestamp;
        periodFinish = starttime.add(DURATION);
        emit RewardAdded(currentEpochReward);
    }
}

Contract Security Audit

Contract ABI

[{"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"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EPOCH_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"NUMBER_EPOCHS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOTAL_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentEpoch","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentEpochReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_addy","type":"address"}],"name":"emergencyDrain","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rvx","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalAccumulatedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052600080546001600160a01b03199081167391d6f6e9026e43240ce6f06af6a4b33129ebde94908117835560048054831673680b6e26c9b0107fda32d8395a977f3f00fa0c7f17905560058054909216179055690d79b6e7aa05a5d0000060065560078190556008805460ff19169055635f8d9be0600955600a819055600b556100946001600160e01b036100e516565b600380546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36100e9565b3390565b61176e806100f86000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063c8333bb2116100a2578063e68e035b11610071578063e68e035b1461040e578063e9fad8ee14610416578063ebe2b12b1461041e578063f2fde38b14610426576101e4565b8063c8333bb2146103ee578063c8f33c91146103f6578063cd3daf9d146103fe578063df136d6514610406576101e4565b80638da5cb5b116100de5780638da5cb5b146103895780638f32d59b146103ad578063a694fc3a146103c9578063bd9b1fe6146103e6576101e4565b80637b0a47ee1461034b57806380faa57d146103535780638b8763471461035b5780638da5889714610381576101e4565b8063207e821d1161018757806370a082311161015657806370a08231146102ef578063715018a61461031557806371a18bfb1461031d5780637667180814610343576101e4565b8063207e821d146102a55780632e1a7d4d146102ad5780633c6b16ab146102ca5780633d18b912146102e7576101e4565b80630fcfc6a8116101c35780630fcfc6a81461026f57806313eb6c881461028d57806318160ddd146102955780631be052891461029d576101e4565b80628cc262146101e95780630700037d146102215780630d68b76114610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b031661044c565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104d2565b61026d6004803603602081101561025d57600080fd5b50356001600160a01b03166104e4565b005b61027761055f565b6040805160ff9092168252519081900360200190f35b61020f610564565b61020f610572565b61020f610579565b61020f610580565b61026d600480360360208110156102c357600080fd5b5035610586565b61026d600480360360208110156102e057600080fd5b503561079f565b61026d61092b565b61020f6004803603602081101561030557600080fd5b50356001600160a01b0316610aed565b61026d610b08565b61026d6004803603602081101561033357600080fd5b50356001600160a01b0316610bab565b610277610c96565b61020f610c9f565b61020f610ca5565b61020f6004803603602081101561037157600080fd5b50356001600160a01b0316610cb8565b61020f610cca565b610391610cd0565b604080516001600160a01b039092168252519081900360200190f35b6103b5610cdf565b604080519115158252519081900360200190f35b61026d600480360360208110156103df57600080fd5b5035610d05565b610391610f1b565b61020f610f2a565b61020f610f38565b61020f610f3e565b61020f610f92565b61020f610f98565b61026d610f9e565b61020f610fb9565b61026d6004803603602081101561043c57600080fd5b50356001600160a01b0316610fbf565b6001600160a01b0381166000908152600f6020908152604080832054600e9092528220546104cc91906104c090670de0b6b3a7640000906104b49061049f90610493610f3e565b9063ffffffff61102416565b6104a888610aed565b9063ffffffff61106d16565b9063ffffffff6110c616565b9063ffffffff61110816565b92915050565b600f6020526000908152604090205481565b6104ec610cdf565b61053d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600b81565b690d79b6e7aa05a5d0000081565b6001545b90565b62093a8081565b60075481565b3361058f610f3e565b600d5561059a610ca5565b600c556001600160a01b038116156105e1576105b58161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600a5442106106d157690d79b6e7aa05a5d00000600681905560075469943adbf44e3e1ff0000091610619919063ffffffff61110816565b11156106415760075461063d9069943adbf44e3e1ff000009063ffffffff61102416565b6006555b600654156106785760065460075461065e9163ffffffff61110816565b6007556008805460ff8082166001011660ff199091161790555b60065461068e9062093a8063ffffffff6110c616565b600b5542600c8190556106aa9062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15b6009544211610713576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000821161075c576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61076582611162565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b03166107b36111c3565b6001600160a01b0316146107f85760405162461bcd60e51b81526004018080602001828103825260218152602001806116ef6021913960400191505060405180910390fd5b6000610802610f3e565b600d5561080d610ca5565b600c556001600160a01b03811615610854576108288161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600682905560075469943adbf44e3e1ff0000090610878908463ffffffff61110816565b11156108a05760075461089c9069943adbf44e3e1ff000009063ffffffff61102416565b6006555b6006546108b69062093a8063ffffffff6110c616565b600b556006546007546108ce9163ffffffff61110816565b6007556008805460ff8082166001011660ff1990911617905542600c556009546109019062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15050565b33610934610f3e565b600d5561093f610ca5565b600c556001600160a01b038116156109865761095a8161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600a544210610a7657690d79b6e7aa05a5d00000600681905560075469943adbf44e3e1ff00000916109be919063ffffffff61110816565b11156109e6576007546109e29069943adbf44e3e1ff000009063ffffffff61102416565b6006555b60065415610a1d57600654600754610a039163ffffffff61110816565b6007556008805460ff8082166001011660ff199091161790555b600654610a339062093a8063ffffffff6110c616565b600b5542600c819055610a4f9062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15b6000610a813361044c565b90508015610ae957336000818152600f6020526040812055600554610ab2916001600160a01b0390911690836111c7565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6001600160a01b031660009081526002602052604090205490565b610b10610cdf565b610b61576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b6004546001600160a01b0316610bbf6111c3565b6001600160a01b031614610c045760405162461bcd60e51b81526004018080602001828103825260218152602001806116ef6021913960400191505060405180910390fd5b604080516370a0823160e01b815230600482015290518291610ae99133916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610c5357600080fd5b505afa158015610c67573d6000803e3d6000fd5b505050506040513d6020811015610c7d57600080fd5b50516001600160a01b038416919063ffffffff6111c716565b60085460ff1681565b600b5481565b6000610cb342600a5461121e565b905090565b600e6020526000908152604090205481565b60095481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610cf66111c3565b6001600160a01b031614905090565b33610d0e610f3e565b600d55610d19610ca5565b600c556001600160a01b03811615610d6057610d348161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600a544210610e5057690d79b6e7aa05a5d00000600681905560075469943adbf44e3e1ff0000091610d98919063ffffffff61110816565b1115610dc057600754610dbc9069943adbf44e3e1ff000009063ffffffff61102416565b6006555b60065415610df757600654600754610ddd9163ffffffff61110816565b6007556008805460ff8082166001011660ff199091161790555b600654610e0d9062093a8063ffffffff6110c616565b600b5542600c819055610e299062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15b6009544211610e92576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008211610ed8576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610ee182611234565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6005546001600160a01b031681565b69943adbf44e3e1ff0000081565b600c5481565b6000610f48610572565b610f555750600d54610576565b610cb3610f83610f63610572565b6104b4670de0b6b3a76400006104a8600b546104a8600c54610493610ca5565b600d549063ffffffff61110816565b600d5481565b60065481565b610faf610faa33610aed565b610586565b610fb761092b565b565b600a5481565b610fc7610cdf565b611018576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61102181611296565b50565b600061106683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611337565b9392505050565b60008261107c575060006104cc565b8282028284828161108957fe5b04146110665760405162461bcd60e51b81526004018080602001828103825260218152602001806116ce6021913960400191505060405180910390fd5b600061106683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113ce565b600082820183811015611066576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154611175908263ffffffff61102416565b60015533600090815260026020526040902054611198908263ffffffff61102416565b336000818152600260205260408120929092559054611021916001600160a01b0390911690836111c7565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611219908490611433565b505050565b600081831061122d5781611066565b5090919050565b600154611247908263ffffffff61110816565b6001553360009081526002602052604090205461126a908263ffffffff61110816565b336000818152600260205260408120929092559054611021916001600160a01b039091169030846115f1565b6001600160a01b0381166112db5760405162461bcd60e51b81526004018080602001828103825260268152602001806116886026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156113c65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561138b578181015183820152602001611373565b50505050905090810190601f1680156113b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361141d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561138b578181015183820152602001611373565b50600083858161142957fe5b0495945050505050565b611445826001600160a01b031661164b565b611496576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114d45780518252601f1990920191602091820191016114b5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611536576040519150601f19603f3d011682016040523d82523d6000602084013e61153b565b606091505b509150915081611592576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156115eb578080602001905160208110156115ae57600080fd5b50516115eb5760405162461bcd60e51b815260040180806020018281038252602a815260200180611710602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526115eb908590611433565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061167f5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373de88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820edea37f67ed8239470f826a622d0247eb948f7aea075d7a7bd99615695d09ee464736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063c8333bb2116100a2578063e68e035b11610071578063e68e035b1461040e578063e9fad8ee14610416578063ebe2b12b1461041e578063f2fde38b14610426576101e4565b8063c8333bb2146103ee578063c8f33c91146103f6578063cd3daf9d146103fe578063df136d6514610406576101e4565b80638da5cb5b116100de5780638da5cb5b146103895780638f32d59b146103ad578063a694fc3a146103c9578063bd9b1fe6146103e6576101e4565b80637b0a47ee1461034b57806380faa57d146103535780638b8763471461035b5780638da5889714610381576101e4565b8063207e821d1161018757806370a082311161015657806370a08231146102ef578063715018a61461031557806371a18bfb1461031d5780637667180814610343576101e4565b8063207e821d146102a55780632e1a7d4d146102ad5780633c6b16ab146102ca5780633d18b912146102e7576101e4565b80630fcfc6a8116101c35780630fcfc6a81461026f57806313eb6c881461028d57806318160ddd146102955780631be052891461029d576101e4565b80628cc262146101e95780630700037d146102215780630d68b76114610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b031661044c565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104d2565b61026d6004803603602081101561025d57600080fd5b50356001600160a01b03166104e4565b005b61027761055f565b6040805160ff9092168252519081900360200190f35b61020f610564565b61020f610572565b61020f610579565b61020f610580565b61026d600480360360208110156102c357600080fd5b5035610586565b61026d600480360360208110156102e057600080fd5b503561079f565b61026d61092b565b61020f6004803603602081101561030557600080fd5b50356001600160a01b0316610aed565b61026d610b08565b61026d6004803603602081101561033357600080fd5b50356001600160a01b0316610bab565b610277610c96565b61020f610c9f565b61020f610ca5565b61020f6004803603602081101561037157600080fd5b50356001600160a01b0316610cb8565b61020f610cca565b610391610cd0565b604080516001600160a01b039092168252519081900360200190f35b6103b5610cdf565b604080519115158252519081900360200190f35b61026d600480360360208110156103df57600080fd5b5035610d05565b610391610f1b565b61020f610f2a565b61020f610f38565b61020f610f3e565b61020f610f92565b61020f610f98565b61026d610f9e565b61020f610fb9565b61026d6004803603602081101561043c57600080fd5b50356001600160a01b0316610fbf565b6001600160a01b0381166000908152600f6020908152604080832054600e9092528220546104cc91906104c090670de0b6b3a7640000906104b49061049f90610493610f3e565b9063ffffffff61102416565b6104a888610aed565b9063ffffffff61106d16565b9063ffffffff6110c616565b9063ffffffff61110816565b92915050565b600f6020526000908152604090205481565b6104ec610cdf565b61053d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600b81565b690d79b6e7aa05a5d0000081565b6001545b90565b62093a8081565b60075481565b3361058f610f3e565b600d5561059a610ca5565b600c556001600160a01b038116156105e1576105b58161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600a5442106106d157690d79b6e7aa05a5d00000600681905560075469943adbf44e3e1ff0000091610619919063ffffffff61110816565b11156106415760075461063d9069943adbf44e3e1ff000009063ffffffff61102416565b6006555b600654156106785760065460075461065e9163ffffffff61110816565b6007556008805460ff8082166001011660ff199091161790555b60065461068e9062093a8063ffffffff6110c616565b600b5542600c8190556106aa9062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15b6009544211610713576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000821161075c576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61076582611162565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b03166107b36111c3565b6001600160a01b0316146107f85760405162461bcd60e51b81526004018080602001828103825260218152602001806116ef6021913960400191505060405180910390fd5b6000610802610f3e565b600d5561080d610ca5565b600c556001600160a01b03811615610854576108288161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600682905560075469943adbf44e3e1ff0000090610878908463ffffffff61110816565b11156108a05760075461089c9069943adbf44e3e1ff000009063ffffffff61102416565b6006555b6006546108b69062093a8063ffffffff6110c616565b600b556006546007546108ce9163ffffffff61110816565b6007556008805460ff8082166001011660ff1990911617905542600c556009546109019062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15050565b33610934610f3e565b600d5561093f610ca5565b600c556001600160a01b038116156109865761095a8161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600a544210610a7657690d79b6e7aa05a5d00000600681905560075469943adbf44e3e1ff00000916109be919063ffffffff61110816565b11156109e6576007546109e29069943adbf44e3e1ff000009063ffffffff61102416565b6006555b60065415610a1d57600654600754610a039163ffffffff61110816565b6007556008805460ff8082166001011660ff199091161790555b600654610a339062093a8063ffffffff6110c616565b600b5542600c819055610a4f9062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15b6000610a813361044c565b90508015610ae957336000818152600f6020526040812055600554610ab2916001600160a01b0390911690836111c7565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6001600160a01b031660009081526002602052604090205490565b610b10610cdf565b610b61576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b6004546001600160a01b0316610bbf6111c3565b6001600160a01b031614610c045760405162461bcd60e51b81526004018080602001828103825260218152602001806116ef6021913960400191505060405180910390fd5b604080516370a0823160e01b815230600482015290518291610ae99133916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610c5357600080fd5b505afa158015610c67573d6000803e3d6000fd5b505050506040513d6020811015610c7d57600080fd5b50516001600160a01b038416919063ffffffff6111c716565b60085460ff1681565b600b5481565b6000610cb342600a5461121e565b905090565b600e6020526000908152604090205481565b60095481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610cf66111c3565b6001600160a01b031614905090565b33610d0e610f3e565b600d55610d19610ca5565b600c556001600160a01b03811615610d6057610d348161044c565b6001600160a01b0382166000908152600f6020908152604080832093909355600d54600e909152919020555b600a544210610e5057690d79b6e7aa05a5d00000600681905560075469943adbf44e3e1ff0000091610d98919063ffffffff61110816565b1115610dc057600754610dbc9069943adbf44e3e1ff000009063ffffffff61102416565b6006555b60065415610df757600654600754610ddd9163ffffffff61110816565b6007556008805460ff8082166001011660ff199091161790555b600654610e0d9062093a8063ffffffff6110c616565b600b5542600c819055610e299062093a8063ffffffff61110816565b600a5560065460408051918252516000805160206116ae8339815191529181900360200190a15b6009544211610e92576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008211610ed8576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610ee182611234565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6005546001600160a01b031681565b69943adbf44e3e1ff0000081565b600c5481565b6000610f48610572565b610f555750600d54610576565b610cb3610f83610f63610572565b6104b4670de0b6b3a76400006104a8600b546104a8600c54610493610ca5565b600d549063ffffffff61110816565b600d5481565b60065481565b610faf610faa33610aed565b610586565b610fb761092b565b565b600a5481565b610fc7610cdf565b611018576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61102181611296565b50565b600061106683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611337565b9392505050565b60008261107c575060006104cc565b8282028284828161108957fe5b04146110665760405162461bcd60e51b81526004018080602001828103825260218152602001806116ce6021913960400191505060405180910390fd5b600061106683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113ce565b600082820183811015611066576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154611175908263ffffffff61102416565b60015533600090815260026020526040902054611198908263ffffffff61102416565b336000818152600260205260408120929092559054611021916001600160a01b0390911690836111c7565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611219908490611433565b505050565b600081831061122d5781611066565b5090919050565b600154611247908263ffffffff61110816565b6001553360009081526002602052604090205461126a908263ffffffff61110816565b336000818152600260205260408120929092559054611021916001600160a01b039091169030846115f1565b6001600160a01b0381166112db5760405162461bcd60e51b81526004018080602001828103825260268152602001806116886026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156113c65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561138b578181015183820152602001611373565b50505050905090810190601f1680156113b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361141d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561138b578181015183820152602001611373565b50600083858161142957fe5b0495945050505050565b611445826001600160a01b031661164b565b611496576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114d45780518252601f1990920191602091820191016114b5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611536576040519150601f19603f3d011682016040523d82523d6000602084013e61153b565b606091505b509150915081611592576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156115eb578080602001905160208110156115ae57600080fd5b50516115eb5760405162461bcd60e51b815260040180806020018281038252602a815260200180611710602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526115eb908590611433565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061167f5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373de88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820edea37f67ed8239470f826a622d0247eb948f7aea075d7a7bd99615695d09ee464736f6c63430005110032

Deployed Bytecode Sourcemap

21204:5036:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21204:5036:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23229:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23229:265:0;-1:-1:-1;;;;;23229:265:0;;:::i;:::-;;;;;;;;;;;;;;;;22044:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22044:42:0;-1:-1:-1;;;;;22044:42:0;;:::i;20082:161::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20082:161:0;-1:-1:-1;;;;;20082:161:0;;:::i;:::-;;21351:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21399:50;;;:::i;20525:91::-;;;:::i;21532:41::-;;;:::i;21637:::-;;;:::i;23821:229::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23821:229:0;;:::i;25558:679::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25558:679:0;;:::i;24170:307::-;;;:::i;20624:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20624:110:0;-1:-1:-1;;;;;20624:110:0;;:::i;9278:140::-;;;:::i;25251:187::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25251:187:0;-1:-1:-1;;;;;25251:187:0;;:::i;21687:29::-;;;:::i;21866:::-;;;:::i;22662:131::-;;;:::i;21980:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21980:57:0;-1:-1:-1;;;;;21980:57:0;;:::i;21723:37::-;;;:::i;8467:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;8467:79:0;;;;;;;;;;;;;;8833:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;23585:228;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23585:228:0;;:::i;21274:70::-;;;:::i;21458:67::-;;;:::i;21902:29::-;;;:::i;22801:420::-;;;:::i;21938:35::-;;;:::i;21581:48::-;;;:::i;24058:98::-;;;:::i;21828:31::-;;;:::i;9573:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9573:109:0;-1:-1:-1;;;;;9573:109:0;;:::i;23229:265::-;-1:-1:-1;;;;;23469:16:0;;23283:7;23469:16;;;:7;:16;;;;;;;;;23385:22;:31;;;;;;23323:163;;23469:16;23323:123;;23441:4;;23323:95;;23364:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;23323:18;23333:7;23323:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;23303:183;23229:265;-1:-1:-1;;23229:265:0:o;22044:42::-;;;;;;;;;;;;;:::o;20082:161::-;8679:9;:7;:9::i;:::-;8671:54;;;;;-1:-1:-1;;;8671:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20195:18;:40;;-1:-1:-1;;;;;;20195:40:0;-1:-1:-1;;;;;20195:40:0;;;;;;;;;;20082:161::o;21351:40::-;21389:2;21351:40;:::o;21399:50::-;21438:11;21399:50;:::o;20525:91::-;20596:12;;20525:91;;:::o;21532:41::-;21567:6;21532:41;:::o;21637:::-;;;;:::o;23821:229::-;23875:10;22397:16;:14;:16::i;:::-;22374:20;:39;22441:26;:24;:26::i;:::-;22424:14;:43;-1:-1:-1;;;;;22482:21:0;;;22478:157;;22539:15;22546:7;22539:6;:15::i;:::-;-1:-1:-1;;;;;22520:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22603:20;;22569:22;:31;;;;;;:54;22478:157;24543:12;;24524:15;:31;24520:700;;21438:11;24572:18;:33;;;24626:22;;21497:28;;24626:46;;:22;:46;:26;:46;:::i;:::-;:61;24622:185;;;24746:22;;24729:40;;21497:28;;24729:40;:16;:40;:::i;:::-;24708:18;:61;24622:185;24827:18;;:22;24823:167;;24922:18;;24895:22;;:46;;;:26;:46;:::i;:::-;24870:22;:71;24960:12;:14;;;;;;;;;-1:-1:-1;;24960:14:0;;;;;;24823:167;25019:18;;:32;;21567:6;25019:32;:22;:32;:::i;:::-;25006:10;:45;25083:15;25066:14;:32;;;25128:29;;21567:6;25128:29;:19;:29;:::i;:::-;25113:12;:44;25189:18;;25177:31;;;;;;;-1:-1:-1;;;;;;;;;;;25177:31:0;;;;;;;;24520:700;25508:9;;25490:15;:27;25482:48;;;;;-1:-1:-1;;;25482:48:0;;;;;;;;;;;;-1:-1:-1;;;25482:48:0;;;;;;;;;;;;;;;23941:1;23932:6;:10;23924:40;;;;;-1:-1:-1;;;23924:40:0;;;;;;;;;;;;-1:-1:-1;;;23924:40:0;;;;;;;;;;;;;;;23975:22;23990:6;23975:14;:22::i;:::-;24013:29;;;;;;;;24023:10;;24013:29;;;;;;;;;;23821:229;;:::o;25558:679::-;19998:18;;-1:-1:-1;;;;;19998:18:0;19982:12;:10;:12::i;:::-;-1:-1:-1;;;;;19982:34:0;;19974:80;;;;-1:-1:-1;;;19974:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25682:1;22397:16;:14;:16::i;:::-;22374:20;:39;22441:26;:24;:26::i;:::-;22424:14;:43;-1:-1:-1;;;;;22482:21:0;;;22478:157;;22539:15;22546:7;22539:6;:15::i;:::-;-1:-1:-1;;;;;22520:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22603:20;;22569:22;:31;;;;;;:54;22478:157;25702:18;:27;;;25745:22;;21497:28;;25745:46;;25723:6;25745:46;:26;:46;:::i;:::-;:61;25741:177;;;25861:22;;25844:40;;21497:28;;25844:40;:16;:40;:::i;:::-;25823:18;:61;25741:177;25951:18;;:32;;21567:6;25951:32;:22;:32;:::i;:::-;25938:10;:45;26046:18;;26019:22;;:46;;;:26;:46;:::i;:::-;25994:22;:71;26076:12;:14;;;;;;;;;-1:-1:-1;;26076:14:0;;;;;;26118:15;26101:14;:32;26159:9;;:23;;21567:6;26159:23;:13;:23;:::i;:::-;26144:12;:38;26210:18;;26198:31;;;;;;;-1:-1:-1;;;;;;;;;;;26198:31:0;;;;;;;;20065:1;25558:679;:::o;24170:307::-;24211:10;22397:16;:14;:16::i;:::-;22374:20;:39;22441:26;:24;:26::i;:::-;22424:14;:43;-1:-1:-1;;;;;22482:21:0;;;22478:157;;22539:15;22546:7;22539:6;:15::i;:::-;-1:-1:-1;;;;;22520:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22603:20;;22569:22;:31;;;;;;:54;22478:157;24543:12;;24524:15;:31;24520:700;;21438:11;24572:18;:33;;;24626:22;;21497:28;;24626:46;;:22;:46;:26;:46;:::i;:::-;:61;24622:185;;;24746:22;;24729:40;;21497:28;;24729:40;:16;:40;:::i;:::-;24708:18;:61;24622:185;24827:18;;:22;24823:167;;24922:18;;24895:22;;:46;;;:26;:46;:::i;:::-;24870:22;:71;24960:12;:14;;;;;;;;;-1:-1:-1;;24960:14:0;;;;;;24823:167;25019:18;;:32;;21567:6;25019:32;:22;:32;:::i;:::-;25006:10;:45;25083:15;25066:14;:32;;;25128:29;;21567:6;25128:29;:19;:29;:::i;:::-;25113:12;:44;25189:18;;25177:31;;;;;;;-1:-1:-1;;;;;;;;;;;25177:31:0;;;;;;;;24520:700;24257:14;24274:18;24281:10;24274:6;:18::i;:::-;24257:35;-1:-1:-1;24307:10:0;;24303:167;;24342:10;24356:1;24334:19;;;:7;:19;;;;;:23;24372:3;;:36;;-1:-1:-1;;;;;24372:3:0;;;;24401:6;24372:16;:36::i;:::-;24428:30;;;;;;;;24439:10;;24428:30;;;;;;;;;;24303:167;25230:1;24170:307;:::o;20624:110::-;-1:-1:-1;;;;;20708:18:0;20681:7;20708:18;;;:9;:18;;;;;;;20624:110::o;9278:140::-;8679:9;:7;:9::i;:::-;8671:54;;;;;-1:-1:-1;;;8671:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9361:6;;9340:40;;9377:1;;-1:-1:-1;;;;;9361:6:0;;9340:40;;9377:1;;9340:40;9391:6;:19;;-1:-1:-1;;;;;;9391:19:0;;;9278:140::o;25251:187::-;19998:18;;-1:-1:-1;;;;;19998:18:0;19982:12;:10;:12::i;:::-;-1:-1:-1;;;;;19982:34:0;;19974:80;;;;-1:-1:-1;;;19974:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25399:30;;;-1:-1:-1;;;25399:30:0;;25423:4;25399:30;;;;;;25352:5;;25369:61;;25388:10;;-1:-1:-1;;;;;25399:15:0;;;;;:30;;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;25399:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25399:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25399:30:0;-1:-1:-1;;;;;25369:18:0;;;:61;;:18;:61;:::i;21687:29::-;;;;;;:::o;21866:::-;;;;:::o;22662:131::-;22719:7;22746:39;22755:15;22772:12;;22746:8;:39::i;:::-;22739:46;;22662:131;:::o;21980:57::-;;;;;;;;;;;;;:::o;21723:37::-;;;;:::o;8467:79::-;8532:6;;-1:-1:-1;;;;;8532:6:0;8467:79;:::o;8833:94::-;8913:6;;8873:4;;-1:-1:-1;;;;;8913:6:0;8897:12;:10;:12::i;:::-;-1:-1:-1;;;;;8897:22:0;;8890:29;;8833:94;:::o;23585:228::-;23636:10;22397:16;:14;:16::i;:::-;22374:20;:39;22441:26;:24;:26::i;:::-;22424:14;:43;-1:-1:-1;;;;;22482:21:0;;;22478:157;;22539:15;22546:7;22539:6;:15::i;:::-;-1:-1:-1;;;;;22520:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22603:20;;22569:22;:31;;;;;;:54;22478:157;24543:12;;24524:15;:31;24520:700;;21438:11;24572:18;:33;;;24626:22;;21497:28;;24626:46;;:22;:46;:26;:46;:::i;:::-;:61;24622:185;;;24746:22;;24729:40;;21497:28;;24729:40;:16;:40;:::i;:::-;24708:18;:61;24622:185;24827:18;;:22;24823:167;;24922:18;;24895:22;;:46;;;:26;:46;:::i;:::-;24870:22;:71;24960:12;:14;;;;;;;;;-1:-1:-1;;24960:14:0;;;;;;24823:167;25019:18;;:32;;21567:6;25019:32;:22;:32;:::i;:::-;25006:10;:45;25083:15;25066:14;:32;;;25128:29;;21567:6;25128:29;:19;:29;:::i;:::-;25113:12;:44;25189:18;;25177:31;;;;;;;-1:-1:-1;;;;;;;;;;;25177:31:0;;;;;;;;24520:700;25508:9;;25490:15;:27;25482:48;;;;;-1:-1:-1;;;25482:48:0;;;;;;;;;;;;-1:-1:-1;;;25482:48:0;;;;;;;;;;;;;;;23701:1;23692:6;:10;23684:37;;;;;-1:-1:-1;;;23684:37:0;;;;;;;;;;;;-1:-1:-1;;;23684:37:0;;;;;;;;;;;;;;;23732:19;23744:6;23732:11;:19::i;:::-;23779:26;;;;;;;;23786:10;;23779:26;;;;;;;;;;23585:228;;:::o;21274:70::-;;;-1:-1:-1;;;;;21274:70:0;;:::o;21458:67::-;21497:28;21458:67;:::o;21902:29::-;;;;:::o;22801:420::-;22848:7;22872:13;:11;:13::i;:::-;22868:78;;-1:-1:-1;22914:20:0;;22907:27;;22868:78;22976:237;23019:179;23184:13;:11;:13::i;:::-;23019:138;23152:4;23019:106;23114:10;;23019:68;23072:14;;23019:26;:24;:26::i;:179::-;22976:20;;;:237;:24;:237;:::i;21938:35::-;;;;:::o;21581:48::-;;;;:::o;24058:98::-;24094:31;24103:21;24113:10;24103:9;:21::i;:::-;24094:8;:31::i;:::-;24137:11;:9;:11::i;:::-;24058:98::o;21828:31::-;;;;:::o;9573:109::-;8679:9;:7;:9::i;:::-;8671:54;;;;;-1:-1:-1;;;8671:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9646:28;9665:8;9646:18;:28::i;:::-;9573:109;:::o;2381:136::-;2439:7;2466:43;2470:1;2473;2466:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2459:50;2381:136;-1:-1:-1;;;2381:136:0:o;3297:471::-;3355:7;3600:6;3596:47;;-1:-1:-1;3630:1:0;3623:8;;3596:47;3667:5;;;3671:1;3667;:5;:1;3691:5;;;;;:10;3683:56;;;;-1:-1:-1;;;3683:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4236:132;4294:7;4321:39;4325:1;4328;4321:39;;;;;;;;;;;;;;;;;:3;:39::i;1925:181::-;1983:7;2015:5;;;2039:6;;;;2031:46;;;;;-1:-1:-1;;;2031:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20981:214;21048:12;;:24;;21065:6;21048:24;:16;:24;:::i;:::-;21033:12;:39;21117:10;21107:21;;;;:9;:21;;;;;;:33;;21133:6;21107:33;:25;:33;:::i;:::-;21093:10;21083:21;;;;:9;:21;;;;;:57;;;;21151:3;;:36;;-1:-1:-1;;;;;21151:3:0;;;;21180:6;21151:16;:36::i;7301:98::-;7381:10;7301:98;:::o;16572:176::-;16681:58;;;-1:-1:-1;;;;;16681:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16681:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;16655:85:0;;16674:5;;16655:18;:85::i;:::-;16572:176;;;:::o;668:106::-;726:7;757:1;753;:5;:13;;765:1;753:13;;;-1:-1:-1;761:1:0;;668:106;-1:-1:-1;668:106:0:o;20742:230::-;20806:12;;:24;;20823:6;20806:24;:16;:24;:::i;:::-;20791:12;:39;20875:10;20865:21;;;;:9;:21;;;;;;:33;;20891:6;20865:33;:25;:33;:::i;:::-;20851:10;20841:21;;;;:9;:21;;;;;:57;;;;20909:3;;:55;;-1:-1:-1;;;;;20909:3:0;;;;20950:4;20957:6;20909:20;:55::i;9788:229::-;-1:-1:-1;;;;;9862:22:0;;9854:73;;;;-1:-1:-1;;;9854:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9964:6;;9943:38;;-1:-1:-1;;;;;9943:38:0;;;;9964:6;;9943:38;;9964:6;;9943:38;9992:6;:17;;-1:-1:-1;;;;;;9992:17:0;-1:-1:-1;;;;;9992:17:0;;;;;;;;;;9788:229::o;2854:192::-;2940:7;2976:12;2968:6;;;;2960:29;;;;-1:-1:-1;;;2960:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2960:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3012:5:0;;;2854:192::o;4898:345::-;4984:7;5086:12;5079:5;5071:28;;;;-1:-1:-1;;;5071:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5071:28:0;;5110:9;5126:1;5122;:5;;;;;;;4898:345;-1:-1:-1;;;;;4898:345:0:o;18611:1114::-;19215:27;19223:5;-1:-1:-1;;;;;19215:25:0;;:27::i;:::-;19207:71;;;;;-1:-1:-1;;;19207:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19352:12;19366:23;19401:5;-1:-1:-1;;;;;19393:19:0;19413:4;19393:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;19393:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;19351:67:0;;;;19437:7;19429:52;;;;;-1:-1:-1;;;19429:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19498:17;;:21;19494:224;;19640:10;19629:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19629:30:0;19621:85;;;;-1:-1:-1;;;19621:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18611:1114;;;;:::o;16756:204::-;16883:68;;;-1:-1:-1;;;;;16883:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16883:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;16857:95:0;;16876:5;;16857:18;:95::i;13505:810::-;13565:4;14224:20;;14067:66;14264:15;;;;;:42;;;14295:11;14283:8;:23;;14264:42;14256:51;13505:810;-1:-1:-1;;;;13505:810:0:o

Swarm Source

bzzr://edea37f67ed8239470f826a622d0247eb948f7aea075d7a7bd99615695d09ee4

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.