ETH Price: $3,236.81 (-2.93%)
Gas: 5.05 Gwei

Contract

0xB74EB10E8a183cADE3DAe09D3265998E75FBa37a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit212280892024-11-20 9:34:5932 days ago1732095299IN
0xB74EB10E...E75FBa37a
0 ETH0.00094698.33593038
Exit211763752024-11-13 4:27:1139 days ago1731472031IN
0xB74EB10E...E75FBa37a
0 ETH0.0019954124.39087407
Get Reward211762932024-11-13 4:10:4739 days ago1731471047IN
0xB74EB10E...E75FBa37a
0 ETH0.0030537127.83548202
Exit205196282024-08-13 12:13:35131 days ago1723551215IN
0xB74EB10E...E75FBa37a
0 ETH0.000140561.42113567
Exit202976522024-07-13 12:41:23162 days ago1720874483IN
0xB74EB10E...E75FBa37a
0 ETH0.00021092.57800872
Exit200481802024-06-08 16:03:35197 days ago1717862615IN
0xB74EB10E...E75FBa37a
0 ETH0.000787669.62801482
Get Reward200480012024-06-08 15:27:35197 days ago1717860455IN
0xB74EB10E...E75FBa37a
0 ETH0.000584377.43805338
Exit200232012024-06-05 4:21:11200 days ago1717561271IN
0xB74EB10E...E75FBa37a
0 ETH0.000816647.18923441
Exit200144982024-06-03 23:13:11202 days ago1717456391IN
0xB74EB10E...E75FBa37a
0 ETH0.000521986.3804259
Get Reward200144962024-06-03 23:12:47202 days ago1717456367IN
0xB74EB10E...E75FBa37a
0 ETH0.000491976.26206583
Exit198337552024-05-09 16:42:59227 days ago1715272979IN
0xB74EB10E...E75FBa37a
0 ETH0.000612966.13503454
Exit198002522024-05-05 0:14:47232 days ago1714868087IN
0xB74EB10E...E75FBa37a
0 ETH0.000336354.11144229
Get Reward198002042024-05-05 0:05:11232 days ago1714867511IN
0xB74EB10E...E75FBa37a
0 ETH0.000351944.4796067
Exit196552982024-04-14 17:35:23252 days ago1713116123IN
0xB74EB10E...E75FBa37a
0 ETH0.001502318.36331352
Get Reward196552302024-04-14 17:21:35252 days ago1713115295IN
0xB74EB10E...E75FBa37a
0 ETH0.0012286715.63898464
Exit194540702024-03-17 10:47:59280 days ago1710672479IN
0xB74EB10E...E75FBa37a
0 ETH0.0019796424.19811807
Get Reward194540592024-03-17 10:45:47280 days ago1710672347IN
0xB74EB10E...E75FBa37a
0 ETH0.0020492726.08382633
Exit194383262024-03-15 5:40:23282 days ago1710481223IN
0xB74EB10E...E75FBa37a
0 ETH0.0034329737.07680961
Exit193954022024-03-09 5:17:59288 days ago1709961479IN
0xB74EB10E...E75FBa37a
0 ETH0.0044649454.57701355
Get Reward193953922024-03-09 5:15:59288 days ago1709961359IN
0xB74EB10E...E75FBa37a
0 ETH0.004194253.38516047
Exit193952542024-03-09 4:48:11288 days ago1709959691IN
0xB74EB10E...E75FBa37a
0 ETH0.00470941.45507417
Exit193754142024-03-06 10:04:35291 days ago1709719475IN
0xB74EB10E...E75FBa37a
0 ETH0.0069495869.55634006
Exit193073182024-02-25 21:36:23301 days ago1708896983IN
0xB74EB10E...E75FBa37a
0 ETH0.0033771241.28012231
Get Reward193073122024-02-25 21:35:11301 days ago1708896911IN
0xB74EB10E...E75FBa37a
0 ETH0.0029173637.13318269
Exit192686322024-02-20 11:30:59306 days ago1708428659IN
0xB74EB10E...E75FBa37a
0 ETH0.0035213831
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:
StakingRewards

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-10
*/

//SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.8.3 https://hardhat.org

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

// OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol)

pragma solidity ^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.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}


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

// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
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) {
        unchecked {
            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) {
        unchecked {
            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) {
        unchecked {
            // 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) {
        unchecked {
            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) {
        unchecked {
            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) {
        return a + b;
    }

    /**
     * @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 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) {
        return a * b;
    }

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}


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

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}


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

// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^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;
        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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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

// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


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

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


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

// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File contracts/RewardsDistributionRecipient.sol

pragma solidity ^0.8.0;

abstract contract RewardsDistributionRecipient {
    address public rewardsDistribution;

    function notifyRewardAmount(uint256 reward) virtual external;

    modifier onlyRewardsDistribution() {
        require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract");
        _;
    }
}


// File contracts/StakingRewards.sol

pragma solidity ^0.8.0;






// Inheritance

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

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

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 30 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

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

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

    constructor(
        address _rewardsDistribution,
        address _rewardsToken,
        address _stakingToken,
        uint256 _stakingPoolCapParam
    ) public {
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);
        rewardsDistribution = _rewardsDistribution;
        _stakingPoolCap = _stakingPoolCapParam;
    }

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

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

    function stakingPoolCap() external view returns (uint256) {
        return _stakingPoolCap;
    }

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

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

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

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

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function stakeWithPermit(uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        require(_totalSupply <= _stakingPoolCap, "Staking pool cap reached");
        _balances[msg.sender] = _balances[msg.sender].add(amount);

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

        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function stake(uint256 amount) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        require(_totalSupply <= _stakingPoolCap, "Staking pool cap reached");
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

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

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

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

    function notifyRewardAmount(uint256 reward) override external onlyRewardsDistribution updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    function setStakingPoolCap(uint256 newStakingPoolCap) public onlyOwner {
        require(newStakingPoolCap >= _totalSupply, "Staking pool cap cannot be less than current total supply");
        _stakingPoolCap = newStakingPoolCap;
        emit StakingPoolCapSet(_stakingPoolCap);
    }

    function setRewardsDuration(uint256 _rewardsDuration) public onlyOwner {
        rewardsDuration = _rewardsDuration;
    }

    function setRewardsDistribution(address _rewardsDistribution) public onlyOwner {
        rewardsDistribution = _rewardsDistribution;
    }

    /* ========== MODIFIERS ========== */

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

    /* ========== EVENTS ========== */

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event StakingPoolCapSet(uint stakingPoolCap);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"uint256","name":"_stakingPoolCapParam","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"stakingPoolCap","type":"uint256"}],"name":"StakingPoolCapSet","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":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStakingPoolCap","type":"uint256"}],"name":"setStakingPoolCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingPoolCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600555600060065562278d006007553480156200002257600080fd5b5060405162002fb238038062002fb283398181016040528101906200004891906200023e565b600180819055506200006f620000636200014260201b60201c565b6200014a60201b60201c565b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550836000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d81905550505050506200031c565b600033905090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200022181620002e8565b92915050565b600081519050620002388162000302565b92915050565b600080600080608085870312156200025557600080fd5b6000620002658782880162000210565b9450506020620002788782880162000210565b93505060406200028b8782880162000210565b92505060606200029e8782880162000227565b91505092959194509250565b6000620002b782620002be565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b620002f381620002aa565b8114620002ff57600080fd5b50565b6200030d81620002de565b81146200031957600080fd5b50565b612c86806200032c6000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c806372f702f311610104578063cc1a378f116100a2578063e9fad8ee11610071578063e9fad8ee146104d5578063ebe2b12b146104df578063ecd9ba82146104fd578063f2fde38b14610519576101ce565b8063cc1a378f1461045f578063cd3daf9d1461047b578063d1af0c7d14610499578063df136d65146104b7576101ce565b80638b876347116100de5780638b876347146103d75780638da5cb5b14610407578063a694fc3a14610425578063c8f33c9114610441576101ce565b806372f702f31461037d5780637b0a47ee1461039b57806380faa57d146103b9576101ce565b80632e98204e116101715780633d18b9121161014b5780633d18b9121461031b5780633fc6df6e1461032557806370a0823114610343578063715018a614610373576101ce565b80632e98204e146102c5578063386a9525146102e15780633c6b16ab146102ff576101ce565b806319762143116101ad57806319762143146102515780631c1f78eb1461026d57806322a5b8931461028b5780632e1a7d4d146102a9576101ce565b80628cc262146101d35780630700037d1461020357806318160ddd14610233575b600080fd5b6101ed60048036038101906101e8919061210a565b610535565b6040516101fa9190612956565b60405180910390f35b61021d6004803603810190610218919061210a565b610653565b60405161022a9190612956565b60405180910390f35b61023b61066b565b6040516102489190612956565b60405180910390f35b61026b6004803603810190610266919061210a565b610675565b005b610275610734565b6040516102829190612956565b60405180910390f35b610293610752565b6040516102a09190612956565b60405180910390f35b6102c360048036038101906102be919061215c565b61075c565b005b6102df60048036038101906102da919061215c565b610a27565b005b6102e9610b2b565b6040516102f69190612956565b60405180910390f35b6103196004803603810190610314919061215c565b610b31565b005b610323610e95565b005b61032d611100565b60405161033a91906126af565b60405180910390f35b61035d6004803603810190610358919061210a565b611124565b60405161036a9190612956565b60405180910390f35b61037b61116d565b005b6103856111f5565b6040516103929190612799565b60405180910390f35b6103a361121b565b6040516103b09190612956565b60405180910390f35b6103c1611221565b6040516103ce9190612956565b60405180910390f35b6103f160048036038101906103ec919061210a565b611234565b6040516103fe9190612956565b60405180910390f35b61040f61124c565b60405161041c91906126af565b60405180910390f35b61043f600480360381019061043a919061215c565b611276565b005b61044961158a565b6040516104569190612956565b60405180910390f35b6104796004803603810190610474919061215c565b611590565b005b610483611616565b6040516104909190612956565b60405180910390f35b6104a16116a4565b6040516104ae9190612799565b60405180910390f35b6104bf6116ca565b6040516104cc9190612956565b60405180910390f35b6104dd6116d0565b005b6104e7611722565b6040516104f49190612956565b60405180910390f35b610517600480360381019061051291906121ae565b611728565b005b610533600480360381019061052e919061210a565b611ad9565b005b600061064c600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461063e670de0b6b3a76400006106306105e2600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105d4611616565b611bd190919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611be790919063ffffffff16565b611bfd90919063ffffffff16565b611c1390919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b6000600c54905090565b61067d611c29565b73ffffffffffffffffffffffffffffffffffffffff1661069b61124c565b73ffffffffffffffffffffffffffffffffffffffff16146106f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e890612876565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061074d600754600654611be790919063ffffffff16565b905090565b6000600d54905090565b600260015414156107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079990612916565b60405180910390fd5b6002600181905550336107b3611616565b6009819055506107c1611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461088e5761080481610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c890612856565b60405180910390fd5b6108e682600c54611bd190919063ffffffff16565b600c8190555061093e82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bd190919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109ce3383600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c319092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051610a149190612956565b60405180910390a2506001808190555050565b610a2f611c29565b73ffffffffffffffffffffffffffffffffffffffff16610a4d61124c565b73ffffffffffffffffffffffffffffffffffffffff1614610aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9a90612876565b60405180910390fd5b600c54811015610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90612816565b60405180910390fd5b80600d819055507f55aeefa2502dd225cfa36a1e147d4f397737ee9a78629d75bf8af39a83777a50600d54604051610b209190612956565b60405180910390a150565b60075481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb6906128d6565b60405180910390fd5b6000610bc9611616565b600981905550610bd7611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ca457610c1a81610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6005544210610ccd57610cc260075483611bfd90919063ffffffff16565b600681905550610d2f565b6000610ce442600554611bd190919063ffffffff16565b90506000610cfd60065483611be790919063ffffffff16565b9050610d26600754610d188387611c1390919063ffffffff16565b611bfd90919063ffffffff16565b60068190555050505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d8c91906126af565b60206040518083038186803b158015610da457600080fd5b505afa158015610db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddc9190612185565b9050610df360075482611bfd90919063ffffffff16565b6006541115610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e90612896565b60405180910390fd5b42600881905550610e5360075442611c1390919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d83604051610e889190612956565b60405180910390a1505050565b60026001541415610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290612916565b60405180910390fd5b600260018190555033610eec611616565b600981905550610efa611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fc757610f3d81610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156110f5576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110a63382600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c319092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516110ec9190612956565b60405180910390a25b505060018081905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611175611c29565b73ffffffffffffffffffffffffffffffffffffffff1661119361124c565b73ffffffffffffffffffffffffffffffffffffffff16146111e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e090612876565b60405180910390fd5b6111f36000611cb7565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b600061122f42600554611d7d565b905090565b600a6020528060005260406000206000915090505481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260015414156112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b390612916565b60405180910390fd5b6002600181905550336112cd611616565b6009819055506112db611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113a85761131e81610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e2906127f6565b60405180910390fd5b61140082600c54611c1390919063ffffffff16565b600c81905550600d54600c54111561144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490612936565b60405180910390fd5b61149f82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c1390919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611531333084600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d96909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040516115779190612956565b60405180910390a2506001808190555050565b60085481565b611598611c29565b73ffffffffffffffffffffffffffffffffffffffff166115b661124c565b73ffffffffffffffffffffffffffffffffffffffff161461160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390612876565b60405180910390fd5b8060078190555050565b600080600c54141561162c5760095490506116a1565b61169e61168d600c5461167f670de0b6b3a7640000611671600654611663600854611655611221565b611bd190919063ffffffff16565b611be790919063ffffffff16565b611be790919063ffffffff16565b611bfd90919063ffffffff16565b600954611c1390919063ffffffff16565b90505b90565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b611718600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461075c565b611720610e95565b565b60055481565b6002600154141561176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590612916565b60405180910390fd5b60026001819055503361177f611616565b60098190555061178d611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461185a576117d081610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000861161189d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611894906127f6565b60405180910390fd5b6118b286600c54611c1390919063ffffffff16565b600c81905550600d54600c5411156118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f690612936565b60405180910390fd5b61195186600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c1390919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d505accf333089898989896040518863ffffffff1660e01b81526004016119fb9796959493929190612701565b600060405180830381600087803b158015611a1557600080fd5b505af1158015611a29573d6000803e3d6000fd5b50505050611a7c333088600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d96909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d87604051611ac29190612956565b60405180910390a250600180819055505050505050565b611ae1611c29565b73ffffffffffffffffffffffffffffffffffffffff16611aff61124c565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c90612876565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc906127d6565b60405180910390fd5b611bce81611cb7565b50565b60008183611bdf9190612a84565b905092915050565b60008183611bf59190612a2a565b905092915050565b60008183611c0b91906129f9565b905092915050565b60008183611c2191906129a3565b905092915050565b600033905090565b611cb28363a9059cbb60e01b8484604051602401611c50929190612770565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611e1f565b505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818310611d8c5781611d8e565b825b905092915050565b611e19846323b872dd60e01b858585604051602401611db7939291906126ca565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611e1f565b50505050565b6000611e81826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ee69092919063ffffffff16565b9050600081511115611ee15780806020019051810190611ea19190612133565b611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed7906128f6565b60405180910390fd5b5b505050565b6060611ef58484600085611efe565b90509392505050565b606082471015611f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3a90612836565b60405180910390fd5b611f4c85612012565b611f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f82906128b6565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611fb49190612698565b60006040518083038185875af1925050503d8060008114611ff1576040519150601f19603f3d011682016040523d82523d6000602084013e611ff6565b606091505b5091509150612006828286612025565b92505050949350505050565b600080823b905060008111915050919050565b6060831561203557829050612085565b6000835111156120485782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c91906127b4565b60405180910390fd5b9392505050565b60008135905061209b81612bdd565b92915050565b6000815190506120b081612bf4565b92915050565b6000813590506120c581612c0b565b92915050565b6000813590506120da81612c22565b92915050565b6000815190506120ef81612c22565b92915050565b60008135905061210481612c39565b92915050565b60006020828403121561211c57600080fd5b600061212a8482850161208c565b91505092915050565b60006020828403121561214557600080fd5b6000612153848285016120a1565b91505092915050565b60006020828403121561216e57600080fd5b600061217c848285016120cb565b91505092915050565b60006020828403121561219757600080fd5b60006121a5848285016120e0565b91505092915050565b600080600080600060a086880312156121c657600080fd5b60006121d4888289016120cb565b95505060206121e5888289016120cb565b94505060406121f6888289016120f5565b9350506060612207888289016120b6565b9250506080612218888289016120b6565b9150509295509295909350565b61222e81612ab8565b82525050565b61223d81612ad6565b82525050565b600061224e82612971565b6122588185612987565b9350612268818560208601612b3b565b80840191505092915050565b61227d81612b17565b82525050565b600061228e8261297c565b6122988185612992565b93506122a8818560208601612b3b565b6122b181612bcc565b840191505092915050565b60006122c9602683612992565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061232f600e83612992565b91507f43616e6e6f74207374616b6520300000000000000000000000000000000000006000830152602082019050919050565b600061236f603983612992565b91507f5374616b696e6720706f6f6c206361702063616e6e6f74206265206c6573732060008301527f7468616e2063757272656e7420746f74616c20737570706c79000000000000006020830152604082019050919050565b60006123d5602683612992565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061243b601183612992565b91507f43616e6e6f7420776974686472617720300000000000000000000000000000006000830152602082019050919050565b600061247b602083612992565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006124bb601883612992565b91507f50726f76696465642072657761726420746f6f206869676800000000000000006000830152602082019050919050565b60006124fb601d83612992565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b600061253b602a83612992565b91507f43616c6c6572206973206e6f742052657761726473446973747269627574696f60008301527f6e20636f6e7472616374000000000000000000000000000000000000000000006020830152604082019050919050565b60006125a1602a83612992565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000612607601f83612992565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000612647601883612992565b91507f5374616b696e6720706f6f6c20636170207265616368656400000000000000006000830152602082019050919050565b61268381612b00565b82525050565b61269281612b0a565b82525050565b60006126a48284612243565b915081905092915050565b60006020820190506126c46000830184612225565b92915050565b60006060820190506126df6000830186612225565b6126ec6020830185612225565b6126f9604083018461267a565b949350505050565b600060e082019050612716600083018a612225565b6127236020830189612225565b612730604083018861267a565b61273d606083018761267a565b61274a6080830186612689565b61275760a0830185612234565b61276460c0830184612234565b98975050505050505050565b60006040820190506127856000830185612225565b612792602083018461267a565b9392505050565b60006020820190506127ae6000830184612274565b92915050565b600060208201905081810360008301526127ce8184612283565b905092915050565b600060208201905081810360008301526127ef816122bc565b9050919050565b6000602082019050818103600083015261280f81612322565b9050919050565b6000602082019050818103600083015261282f81612362565b9050919050565b6000602082019050818103600083015261284f816123c8565b9050919050565b6000602082019050818103600083015261286f8161242e565b9050919050565b6000602082019050818103600083015261288f8161246e565b9050919050565b600060208201905081810360008301526128af816124ae565b9050919050565b600060208201905081810360008301526128cf816124ee565b9050919050565b600060208201905081810360008301526128ef8161252e565b9050919050565b6000602082019050818103600083015261290f81612594565b9050919050565b6000602082019050818103600083015261292f816125fa565b9050919050565b6000602082019050818103600083015261294f8161263a565b9050919050565b600060208201905061296b600083018461267a565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006129ae82612b00565b91506129b983612b00565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129ee576129ed612b6e565b5b828201905092915050565b6000612a0482612b00565b9150612a0f83612b00565b925082612a1f57612a1e612b9d565b5b828204905092915050565b6000612a3582612b00565b9150612a4083612b00565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a7957612a78612b6e565b5b828202905092915050565b6000612a8f82612b00565b9150612a9a83612b00565b925082821015612aad57612aac612b6e565b5b828203905092915050565b6000612ac382612ae0565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000612b2282612b29565b9050919050565b6000612b3482612ae0565b9050919050565b60005b83811015612b59578082015181840152602081019050612b3e565b83811115612b68576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b612be681612ab8565b8114612bf157600080fd5b50565b612bfd81612aca565b8114612c0857600080fd5b50565b612c1481612ad6565b8114612c1f57600080fd5b50565b612c2b81612b00565b8114612c3657600080fd5b50565b612c4281612b0a565b8114612c4d57600080fd5b5056fea2646970667358221220c78149d71ea89aaec3b3b44692eb0cfbe9e965b4958bfedb0d22478bb567b86f64736f6c6343000800003300000000000000000000000023e7cdb2e7dfce0b48312104f8e500d9e8f57b5c00000000000000000000000067b6d479c7bb412c54e03dca8e1bc6740ce6b99c00000000000000000000000067b6d479c7bb412c54e03dca8e1bc6740ce6b99c0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c806372f702f311610104578063cc1a378f116100a2578063e9fad8ee11610071578063e9fad8ee146104d5578063ebe2b12b146104df578063ecd9ba82146104fd578063f2fde38b14610519576101ce565b8063cc1a378f1461045f578063cd3daf9d1461047b578063d1af0c7d14610499578063df136d65146104b7576101ce565b80638b876347116100de5780638b876347146103d75780638da5cb5b14610407578063a694fc3a14610425578063c8f33c9114610441576101ce565b806372f702f31461037d5780637b0a47ee1461039b57806380faa57d146103b9576101ce565b80632e98204e116101715780633d18b9121161014b5780633d18b9121461031b5780633fc6df6e1461032557806370a0823114610343578063715018a614610373576101ce565b80632e98204e146102c5578063386a9525146102e15780633c6b16ab146102ff576101ce565b806319762143116101ad57806319762143146102515780631c1f78eb1461026d57806322a5b8931461028b5780632e1a7d4d146102a9576101ce565b80628cc262146101d35780630700037d1461020357806318160ddd14610233575b600080fd5b6101ed60048036038101906101e8919061210a565b610535565b6040516101fa9190612956565b60405180910390f35b61021d6004803603810190610218919061210a565b610653565b60405161022a9190612956565b60405180910390f35b61023b61066b565b6040516102489190612956565b60405180910390f35b61026b6004803603810190610266919061210a565b610675565b005b610275610734565b6040516102829190612956565b60405180910390f35b610293610752565b6040516102a09190612956565b60405180910390f35b6102c360048036038101906102be919061215c565b61075c565b005b6102df60048036038101906102da919061215c565b610a27565b005b6102e9610b2b565b6040516102f69190612956565b60405180910390f35b6103196004803603810190610314919061215c565b610b31565b005b610323610e95565b005b61032d611100565b60405161033a91906126af565b60405180910390f35b61035d6004803603810190610358919061210a565b611124565b60405161036a9190612956565b60405180910390f35b61037b61116d565b005b6103856111f5565b6040516103929190612799565b60405180910390f35b6103a361121b565b6040516103b09190612956565b60405180910390f35b6103c1611221565b6040516103ce9190612956565b60405180910390f35b6103f160048036038101906103ec919061210a565b611234565b6040516103fe9190612956565b60405180910390f35b61040f61124c565b60405161041c91906126af565b60405180910390f35b61043f600480360381019061043a919061215c565b611276565b005b61044961158a565b6040516104569190612956565b60405180910390f35b6104796004803603810190610474919061215c565b611590565b005b610483611616565b6040516104909190612956565b60405180910390f35b6104a16116a4565b6040516104ae9190612799565b60405180910390f35b6104bf6116ca565b6040516104cc9190612956565b60405180910390f35b6104dd6116d0565b005b6104e7611722565b6040516104f49190612956565b60405180910390f35b610517600480360381019061051291906121ae565b611728565b005b610533600480360381019061052e919061210a565b611ad9565b005b600061064c600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461063e670de0b6b3a76400006106306105e2600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105d4611616565b611bd190919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611be790919063ffffffff16565b611bfd90919063ffffffff16565b611c1390919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b6000600c54905090565b61067d611c29565b73ffffffffffffffffffffffffffffffffffffffff1661069b61124c565b73ffffffffffffffffffffffffffffffffffffffff16146106f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e890612876565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061074d600754600654611be790919063ffffffff16565b905090565b6000600d54905090565b600260015414156107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079990612916565b60405180910390fd5b6002600181905550336107b3611616565b6009819055506107c1611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461088e5761080481610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c890612856565b60405180910390fd5b6108e682600c54611bd190919063ffffffff16565b600c8190555061093e82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bd190919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109ce3383600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c319092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051610a149190612956565b60405180910390a2506001808190555050565b610a2f611c29565b73ffffffffffffffffffffffffffffffffffffffff16610a4d61124c565b73ffffffffffffffffffffffffffffffffffffffff1614610aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9a90612876565b60405180910390fd5b600c54811015610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90612816565b60405180910390fd5b80600d819055507f55aeefa2502dd225cfa36a1e147d4f397737ee9a78629d75bf8af39a83777a50600d54604051610b209190612956565b60405180910390a150565b60075481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb6906128d6565b60405180910390fd5b6000610bc9611616565b600981905550610bd7611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ca457610c1a81610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6005544210610ccd57610cc260075483611bfd90919063ffffffff16565b600681905550610d2f565b6000610ce442600554611bd190919063ffffffff16565b90506000610cfd60065483611be790919063ffffffff16565b9050610d26600754610d188387611c1390919063ffffffff16565b611bfd90919063ffffffff16565b60068190555050505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d8c91906126af565b60206040518083038186803b158015610da457600080fd5b505afa158015610db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddc9190612185565b9050610df360075482611bfd90919063ffffffff16565b6006541115610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e90612896565b60405180910390fd5b42600881905550610e5360075442611c1390919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d83604051610e889190612956565b60405180910390a1505050565b60026001541415610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290612916565b60405180910390fd5b600260018190555033610eec611616565b600981905550610efa611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fc757610f3d81610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060008111156110f5576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110a63382600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c319092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516110ec9190612956565b60405180910390a25b505060018081905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611175611c29565b73ffffffffffffffffffffffffffffffffffffffff1661119361124c565b73ffffffffffffffffffffffffffffffffffffffff16146111e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e090612876565b60405180910390fd5b6111f36000611cb7565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b600061122f42600554611d7d565b905090565b600a6020528060005260406000206000915090505481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260015414156112bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b390612916565b60405180910390fd5b6002600181905550336112cd611616565b6009819055506112db611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113a85761131e81610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e2906127f6565b60405180910390fd5b61140082600c54611c1390919063ffffffff16565b600c81905550600d54600c54111561144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490612936565b60405180910390fd5b61149f82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c1390919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611531333084600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d96909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040516115779190612956565b60405180910390a2506001808190555050565b60085481565b611598611c29565b73ffffffffffffffffffffffffffffffffffffffff166115b661124c565b73ffffffffffffffffffffffffffffffffffffffff161461160c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160390612876565b60405180910390fd5b8060078190555050565b600080600c54141561162c5760095490506116a1565b61169e61168d600c5461167f670de0b6b3a7640000611671600654611663600854611655611221565b611bd190919063ffffffff16565b611be790919063ffffffff16565b611be790919063ffffffff16565b611bfd90919063ffffffff16565b600954611c1390919063ffffffff16565b90505b90565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b611718600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461075c565b611720610e95565b565b60055481565b6002600154141561176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590612916565b60405180910390fd5b60026001819055503361177f611616565b60098190555061178d611221565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461185a576117d081610535565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000861161189d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611894906127f6565b60405180910390fd5b6118b286600c54611c1390919063ffffffff16565b600c81905550600d54600c5411156118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f690612936565b60405180910390fd5b61195186600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c1390919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d505accf333089898989896040518863ffffffff1660e01b81526004016119fb9796959493929190612701565b600060405180830381600087803b158015611a1557600080fd5b505af1158015611a29573d6000803e3d6000fd5b50505050611a7c333088600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d96909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d87604051611ac29190612956565b60405180910390a250600180819055505050505050565b611ae1611c29565b73ffffffffffffffffffffffffffffffffffffffff16611aff61124c565b73ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4c90612876565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc906127d6565b60405180910390fd5b611bce81611cb7565b50565b60008183611bdf9190612a84565b905092915050565b60008183611bf59190612a2a565b905092915050565b60008183611c0b91906129f9565b905092915050565b60008183611c2191906129a3565b905092915050565b600033905090565b611cb28363a9059cbb60e01b8484604051602401611c50929190612770565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611e1f565b505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818310611d8c5781611d8e565b825b905092915050565b611e19846323b872dd60e01b858585604051602401611db7939291906126ca565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611e1f565b50505050565b6000611e81826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ee69092919063ffffffff16565b9050600081511115611ee15780806020019051810190611ea19190612133565b611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed7906128f6565b60405180910390fd5b5b505050565b6060611ef58484600085611efe565b90509392505050565b606082471015611f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3a90612836565b60405180910390fd5b611f4c85612012565b611f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f82906128b6565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611fb49190612698565b60006040518083038185875af1925050503d8060008114611ff1576040519150601f19603f3d011682016040523d82523d6000602084013e611ff6565b606091505b5091509150612006828286612025565b92505050949350505050565b600080823b905060008111915050919050565b6060831561203557829050612085565b6000835111156120485782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c91906127b4565b60405180910390fd5b9392505050565b60008135905061209b81612bdd565b92915050565b6000815190506120b081612bf4565b92915050565b6000813590506120c581612c0b565b92915050565b6000813590506120da81612c22565b92915050565b6000815190506120ef81612c22565b92915050565b60008135905061210481612c39565b92915050565b60006020828403121561211c57600080fd5b600061212a8482850161208c565b91505092915050565b60006020828403121561214557600080fd5b6000612153848285016120a1565b91505092915050565b60006020828403121561216e57600080fd5b600061217c848285016120cb565b91505092915050565b60006020828403121561219757600080fd5b60006121a5848285016120e0565b91505092915050565b600080600080600060a086880312156121c657600080fd5b60006121d4888289016120cb565b95505060206121e5888289016120cb565b94505060406121f6888289016120f5565b9350506060612207888289016120b6565b9250506080612218888289016120b6565b9150509295509295909350565b61222e81612ab8565b82525050565b61223d81612ad6565b82525050565b600061224e82612971565b6122588185612987565b9350612268818560208601612b3b565b80840191505092915050565b61227d81612b17565b82525050565b600061228e8261297c565b6122988185612992565b93506122a8818560208601612b3b565b6122b181612bcc565b840191505092915050565b60006122c9602683612992565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061232f600e83612992565b91507f43616e6e6f74207374616b6520300000000000000000000000000000000000006000830152602082019050919050565b600061236f603983612992565b91507f5374616b696e6720706f6f6c206361702063616e6e6f74206265206c6573732060008301527f7468616e2063757272656e7420746f74616c20737570706c79000000000000006020830152604082019050919050565b60006123d5602683612992565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061243b601183612992565b91507f43616e6e6f7420776974686472617720300000000000000000000000000000006000830152602082019050919050565b600061247b602083612992565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006124bb601883612992565b91507f50726f76696465642072657761726420746f6f206869676800000000000000006000830152602082019050919050565b60006124fb601d83612992565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b600061253b602a83612992565b91507f43616c6c6572206973206e6f742052657761726473446973747269627574696f60008301527f6e20636f6e7472616374000000000000000000000000000000000000000000006020830152604082019050919050565b60006125a1602a83612992565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000612607601f83612992565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000612647601883612992565b91507f5374616b696e6720706f6f6c20636170207265616368656400000000000000006000830152602082019050919050565b61268381612b00565b82525050565b61269281612b0a565b82525050565b60006126a48284612243565b915081905092915050565b60006020820190506126c46000830184612225565b92915050565b60006060820190506126df6000830186612225565b6126ec6020830185612225565b6126f9604083018461267a565b949350505050565b600060e082019050612716600083018a612225565b6127236020830189612225565b612730604083018861267a565b61273d606083018761267a565b61274a6080830186612689565b61275760a0830185612234565b61276460c0830184612234565b98975050505050505050565b60006040820190506127856000830185612225565b612792602083018461267a565b9392505050565b60006020820190506127ae6000830184612274565b92915050565b600060208201905081810360008301526127ce8184612283565b905092915050565b600060208201905081810360008301526127ef816122bc565b9050919050565b6000602082019050818103600083015261280f81612322565b9050919050565b6000602082019050818103600083015261282f81612362565b9050919050565b6000602082019050818103600083015261284f816123c8565b9050919050565b6000602082019050818103600083015261286f8161242e565b9050919050565b6000602082019050818103600083015261288f8161246e565b9050919050565b600060208201905081810360008301526128af816124ae565b9050919050565b600060208201905081810360008301526128cf816124ee565b9050919050565b600060208201905081810360008301526128ef8161252e565b9050919050565b6000602082019050818103600083015261290f81612594565b9050919050565b6000602082019050818103600083015261292f816125fa565b9050919050565b6000602082019050818103600083015261294f8161263a565b9050919050565b600060208201905061296b600083018461267a565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006129ae82612b00565b91506129b983612b00565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156129ee576129ed612b6e565b5b828201905092915050565b6000612a0482612b00565b9150612a0f83612b00565b925082612a1f57612a1e612b9d565b5b828204905092915050565b6000612a3582612b00565b9150612a4083612b00565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a7957612a78612b6e565b5b828202905092915050565b6000612a8f82612b00565b9150612a9a83612b00565b925082821015612aad57612aac612b6e565b5b828203905092915050565b6000612ac382612ae0565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000612b2282612b29565b9050919050565b6000612b3482612ae0565b9050919050565b60005b83811015612b59578082015181840152602081019050612b3e565b83811115612b68576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b612be681612ab8565b8114612bf157600080fd5b50565b612bfd81612aca565b8114612c0857600080fd5b50565b612c1481612ad6565b8114612c1f57600080fd5b50565b612c2b81612b00565b8114612c3657600080fd5b50565b612c4281612b0a565b8114612c4d57600080fd5b5056fea2646970667358221220c78149d71ea89aaec3b3b44692eb0cfbe9e965b4958bfedb0d22478bb567b86f64736f6c63430008000033

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

00000000000000000000000023e7cdb2e7dfce0b48312104f8e500d9e8f57b5c00000000000000000000000067b6d479c7bb412c54e03dca8e1bc6740ce6b99c00000000000000000000000067b6d479c7bb412c54e03dca8e1bc6740ce6b99c0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000

-----Decoded View---------------
Arg [0] : _rewardsDistribution (address): 0x23e7cDb2E7dFce0b48312104F8e500D9e8F57b5C
Arg [1] : _rewardsToken (address): 0x67B6D479c7bB412C54e03dCA8E1Bc6740ce6b99C
Arg [2] : _stakingToken (address): 0x67B6D479c7bB412C54e03dCA8E1Bc6740ce6b99C
Arg [3] : _stakingPoolCapParam (uint256): 1000000000000000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000023e7cdb2e7dfce0b48312104f8e500d9e8f57b5c
Arg [1] : 00000000000000000000000067b6d479c7bb412c54e03dca8e1bc6740ce6b99c
Arg [2] : 00000000000000000000000067b6d479c7bb412c54e03dca8e1bc6740ce6b99c
Arg [3] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000


Deployed Bytecode Sourcemap

43011:6689:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45001:198;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43550:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44196:93;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48861:140;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45207:121;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44297:99;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46491:357;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48432:289;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43359:40;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47332:1092;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46856:307;;;:::i;:::-;;42641:34;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44404:112;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41687:103;;;:::i;:::-;;43252:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43323:29;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44524:131;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43486:57;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;41036:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46035:448;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43406:29;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48729:124;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;44663:330;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43219:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43442:35;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47171:97;;;:::i;:::-;;43285:31;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45390:637;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41945:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45001:198;45055:7;45082:109;45174:7;:16;45182:7;45174:16;;;;;;;;;;;;;;;;45082:87;45164:4;45082:77;45105:53;45126:22;:31;45149:7;45126:31;;;;;;;;;;;;;;;;45105:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;45082:9;:18;45092:7;45082:18;;;;;;;;;;;;;;;;:22;;:77;;;;:::i;:::-;:81;;:87;;;;:::i;:::-;:91;;:109;;;;:::i;:::-;45075:116;;45001:198;;;:::o;43550:42::-;;;;;;;;;;;;;;;;;:::o;44196:93::-;44242:7;44269:12;;44262:19;;44196:93;:::o;48861:140::-;41267:12;:10;:12::i;:::-;41256:23;;:7;:5;:7::i;:::-;:23;;;41248:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;48973:20:::1;48951:19;::::0;:42:::1;;;;;;;;;;;;;;;;;;48861:140:::0;:::o;45207:121::-;45262:7;45289:31;45304:15;;45289:10;;:14;;:31;;;;:::i;:::-;45282:38;;45207:121;:::o;44297:99::-;44346:7;44373:15;;44366:22;;44297:99;:::o;46491:357::-;39023:1;39621:7;;:19;;39613:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;39023:1;39754:7;:18;;;;46558:10:::1;49127:16;:14;:16::i;:::-;49104:20;:39;;;;49171:26;:24;:26::i;:::-;49154:14;:43;;;;49231:1;49212:21;;:7;:21;;;49208:157;;49269:15;49276:7;49269:6;:15::i;:::-;49250:7;:16;49258:7;49250:16;;;;;;;;;;;;;;;:34;;;;49333:20;;49299:22;:31;49322:7;49299:31;;;;;;;;;;;;;;;:54;;;;49208:157;46598:1:::2;46589:6;:10;46581:40;;;;;;;;;;;;:::i;:::-;;;;;;;;;46647:24;46664:6;46647:12;;:16;;:24;;;;:::i;:::-;46632:12;:39;;;;46706:33;46732:6;46706:9;:21;46716:10;46706:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;46682:9;:21;46692:10;46682:21;;;;;;;;;;;;;;;:57;;;;46750:45;46776:10;46788:6;46750:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;46821:10;46811:29;;;46833:6;46811:29;;;;;;:::i;:::-;;;;;;;;39785:1:::1;38979::::0;39933:7;:22;;;;46491:357;:::o;48432:289::-;41267:12;:10;:12::i;:::-;41256:23;;:7;:5;:7::i;:::-;:23;;;41248:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;48543:12:::1;;48522:17;:33;;48514:103;;;;;;;;;;;;:::i;:::-;;;;;;;;;48646:17;48628:15;:35;;;;48679:34;48697:15;;48679:34;;;;;;:::i;:::-;;;;;;;;48432:289:::0;:::o;43359:40::-;;;;:::o;47332:1092::-;42821:19;;;;;;;;;;42807:33;;:10;:33;;;42799:88;;;;;;;;;;;;:::i;:::-;;;;;;;;;47439:1:::1;49127:16;:14;:16::i;:::-;49104:20;:39;;;;49171:26;:24;:26::i;:::-;49154:14;:43;;;;49231:1;49212:21;;:7;:21;;;49208:157;;49269:15;49276:7;49269:6;:15::i;:::-;49250:7;:16;49258:7;49250:16;;;;;;;;;;;;;;;:34;;;;49333:20;;49299:22;:31;49322:7;49299:31;;;;;;;;;;;;;;;:54;;;;49208:157;47477:12:::2;;47458:15;:31;47454:318;;47519:27;47530:15;;47519:6;:10;;:27;;;;:::i;:::-;47506:10;:40;;;;47454:318;;;47579:17;47599:33;47616:15;47599:12;;:16;;:33;;;;:::i;:::-;47579:53;;47647:16;47666:25;47680:10;;47666:9;:13;;:25;;;;:::i;:::-;47647:44;;47719:41;47744:15;;47719:20;47730:8;47719:6;:10;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;47706:10;:54;;;;47454:318;;;48132:12;48147;;;;;;;;;;;:22;;;48178:4;48147:37;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48132:52;;48217:28;48229:15;;48217:7;:11;;:28;;;;:::i;:::-;48203:10;;:42;;48195:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;48304:15;48287:14;:32;;;;48345:36;48365:15;;48345;:19;;:36;;;;:::i;:::-;48330:12;:51;;;;48397:19;48409:6;48397:19;;;;;;:::i;:::-;;;;;;;;49375:1;42898::::1;47332:1092:::0;:::o;46856:307::-;39023:1;39621:7;;:19;;39613:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;39023:1;39754:7;:18;;;;46910:10:::1;49127:16;:14;:16::i;:::-;49104:20;:39;;;;49171:26;:24;:26::i;:::-;49154:14;:43;;;;49231:1;49212:21;;:7;:21;;;49208:157;;49269:15;49276:7;49269:6;:15::i;:::-;49250:7;:16;49258:7;49250:16;;;;;;;;;;;;;;;:34;;;;49333:20;;49299:22;:31;49322:7;49299:31;;;;;;;;;;;;;;;:54;;;;49208:157;46933:14:::2;46950:7;:19;46958:10;46950:19;;;;;;;;;;;;;;;;46933:36;;46993:1;46984:6;:10;46980:176;;;47033:1;47011:7;:19;47019:10;47011:19;;;;;;;;;;;;;;;:23;;;;47049:45;47075:10;47087:6;47049:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;47125:10;47114:30;;;47137:6;47114:30;;;;;;:::i;:::-;;;;;;;;46980:176;49375:1;39785::::1;38979::::0;39933:7;:22;;;;46856:307::o;42641:34::-;;;;;;;;;;;;:::o;44404:112::-;44463:7;44490:9;:18;44500:7;44490:18;;;;;;;;;;;;;;;;44483:25;;44404:112;;;:::o;41687:103::-;41267:12;:10;:12::i;:::-;41256:23;;:7;:5;:7::i;:::-;:23;;;41248:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;41752:30:::1;41779:1;41752:18;:30::i;:::-;41687:103::o:0;43252:26::-;;;;;;;;;;;;;:::o;43323:29::-;;;;:::o;44524:131::-;44581:7;44608:39;44617:15;44634:12;;44608:8;:39::i;:::-;44601:46;;44524:131;:::o;43486:57::-;;;;;;;;;;;;;;;;;:::o;41036:87::-;41082:7;41109:6;;;;;;;;;;;41102:13;;41036:87;:::o;46035:448::-;39023:1;39621:7;;:19;;39613:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;39023:1;39754:7;:18;;;;46101:10:::1;49127:16;:14;:16::i;:::-;49104:20;:39;;;;49171:26;:24;:26::i;:::-;49154:14;:43;;;;49231:1;49212:21;;:7;:21;;;49208:157;;49269:15;49276:7;49269:6;:15::i;:::-;49250:7;:16;49258:7;49250:16;;;;;;;;;;;;;;;:34;;;;49333:20;;49299:22;:31;49322:7;49299:31;;;;;;;;;;;;;;;:54;;;;49208:157;46141:1:::2;46132:6;:10;46124:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;46187:24;46204:6;46187:12;;:16;;:24;;;;:::i;:::-;46172:12;:39;;;;46246:15;;46230:12;;:31;;46222:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;46325:33;46351:6;46325:9;:21;46335:10;46325:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;46301:9;:21;46311:10;46301:21;;;;;;;;;;;;;;;:57;;;;46369:64;46399:10;46419:4;46426:6;46369:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;46456:10;46449:26;;;46468:6;46449:26;;;;;;:::i;:::-;;;;;;;;39785:1:::1;38979::::0;39933:7;:22;;;;46035:448;:::o;43406:29::-;;;;:::o;48729:124::-;41267:12;:10;:12::i;:::-;41256:23;;:7;:5;:7::i;:::-;:23;;;41248:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;48829:16:::1;48811:15;:34;;;;48729:124:::0;:::o;44663:330::-;44710:7;44750:1;44734:12;;:17;44730:77;;;44775:20;;44768:27;;;;44730:77;44837:148;44880:90;44957:12;;44880:72;44947:4;44880:62;44931:10;;44880:46;44911:14;;44880:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:90;;;;:::i;:::-;44837:20;;:24;;:148;;;;:::i;:::-;44817:168;;44663:330;;:::o;43219:26::-;;;;;;;;;;;;;:::o;43442:35::-;;;;:::o;47171:97::-;47207:31;47216:9;:21;47226:10;47216:21;;;;;;;;;;;;;;;;47207:8;:31::i;:::-;47249:11;:9;:11::i;:::-;47171:97::o;43285:31::-;;;;:::o;45390:637::-;39023:1;39621:7;;:19;;39613:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;39023:1;39754:7;:18;;;;45512:10:::1;49127:16;:14;:16::i;:::-;49104:20;:39;;;;49171:26;:24;:26::i;:::-;49154:14;:43;;;;49231:1;49212:21;;:7;:21;;;49208:157;;49269:15;49276:7;49269:6;:15::i;:::-;49250:7;:16;49258:7;49250:16;;;;;;;;;;;;;;;:34;;;;49333:20;;49299:22;:31;49322:7;49299:31;;;;;;;;;;;;;;;:54;;;;49208:157;45552:1:::2;45543:6;:10;45535:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;45598:24;45615:6;45598:12;;:16;;:24;;;;:::i;:::-;45583:12;:39;;;;45657:15;;45641:12;;:31;;45633:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;45736:33;45762:6;45736:9;:21;45746:10;45736:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;45712:9;:21;45722:10;45712:21;;;;;;;;;;;;;;;:57;;;;45825:12;;;;;;;;;;;45801:45;;;45847:10;45867:4;45874:6;45882:8;45892:1;45895;45898;45801:99;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;45913:64;45943:10;45963:4;45970:6;45913:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;46000:10;45993:26;;;46012:6;45993:26;;;;;;:::i;:::-;;;;;;;;39785:1:::1;38979::::0;39933:7;:22;;;;45390:637;;;;;:::o;41945:201::-;41267:12;:10;:12::i;:::-;41256:23;;:7;:5;:7::i;:::-;:23;;;41248:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;42054:1:::1;42034:22;;:8;:22;;;;42026:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;42110:28;42129:8;42110:18;:28::i;:::-;41945:201:::0;:::o;4631:98::-;4689:7;4720:1;4716;:5;;;;:::i;:::-;4709:12;;4631:98;;;;:::o;4988:::-;5046:7;5077:1;5073;:5;;;;:::i;:::-;5066:12;;4988:98;;;;:::o;5387:::-;5445:7;5476:1;5472;:5;;;;:::i;:::-;5465:12;;5387:98;;;;:::o;4250:::-;4308:7;4339:1;4335;:5;;;;:::i;:::-;4328:12;;4250:98;;;;:::o;12741:::-;12794:7;12821:10;12814:17;;12741:98;:::o;33909:211::-;34026:86;34046:5;34076:23;;;34101:2;34105:5;34053:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34026:19;:86::i;:::-;33909:211;;;:::o;42306:191::-;42380:16;42399:6;;;;;;;;;;;42380:25;;42425:8;42416:6;;:17;;;;;;;;;;;;;;;;;;42480:8;42449:40;;42470:8;42449:40;;;;;;;;;;;;42306:191;;:::o;590:106::-;648:7;679:1;675;:5;:13;;687:1;675:13;;;683:1;675:13;668:20;;590:106;;;;:::o;34128:248::-;34272:96;34292:5;34322:27;;;34351:4;34357:2;34361:5;34299:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34272:19;:96::i;:::-;34128:248;;;;:::o;36482:716::-;36906:23;36932:69;36960:4;36932:69;;;;;;;;;;;;;;;;;36940:5;36932:27;;;;:69;;;;;:::i;:::-;36906:95;;37036:1;37016:10;:17;:21;37012:179;;;37113:10;37102:30;;;;;;;;;;;;:::i;:::-;37094:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;37012:179;36482:716;;;:::o;28683:229::-;28820:12;28852:52;28874:6;28882:4;28888:1;28891:12;28852:21;:52::i;:::-;28845:59;;28683:229;;;;;:::o;29803:510::-;29973:12;30031:5;30006:21;:30;;29998:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;30098:18;30109:6;30098:10;:18::i;:::-;30090:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;30164:12;30178:23;30205:6;:11;;30224:5;30231:4;30205:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30163:73;;;;30254:51;30271:7;30280:10;30292:12;30254:16;:51::i;:::-;30247:58;;;;29803:510;;;;;;:::o;25877:387::-;25937:4;26145:12;26212:7;26200:20;26192:28;;26255:1;26248:4;:8;26241:15;;;25877:387;;;:::o;32489:712::-;32639:12;32668:7;32664:530;;;32699:10;32692:17;;;;32664:530;32833:1;32813:10;:17;:21;32809:374;;;33011:10;33005:17;33072:15;33059:10;33055:2;33051:19;33044:44;32959:148;33154:12;33147:20;;;;;;;;;;;:::i;:::-;;;;;;;;32489:712;;;;;;:::o;7:139:1:-;;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:137::-;;237:6;231:13;222:22;;253:30;277:5;253:30;:::i;:::-;212:77;;;;:::o;295:139::-;;379:6;366:20;357:29;;395:33;422:5;395:33;:::i;:::-;347:87;;;;:::o;440:139::-;;524:6;511:20;502:29;;540:33;567:5;540:33;:::i;:::-;492:87;;;;:::o;585:143::-;;673:6;667:13;658:22;;689:33;716:5;689:33;:::i;:::-;648:80;;;;:::o;734:135::-;;816:6;803:20;794:29;;832:31;857:5;832:31;:::i;:::-;784:85;;;;:::o;875:262::-;;983:2;971:9;962:7;958:23;954:32;951:2;;;999:1;996;989:12;951:2;1042:1;1067:53;1112:7;1103:6;1092:9;1088:22;1067:53;:::i;:::-;1057:63;;1013:117;941:196;;;;:::o;1143:278::-;;1259:2;1247:9;1238:7;1234:23;1230:32;1227:2;;;1275:1;1272;1265:12;1227:2;1318:1;1343:61;1396:7;1387:6;1376:9;1372:22;1343:61;:::i;:::-;1333:71;;1289:125;1217:204;;;;:::o;1427:262::-;;1535:2;1523:9;1514:7;1510:23;1506:32;1503:2;;;1551:1;1548;1541:12;1503:2;1594:1;1619:53;1664:7;1655:6;1644:9;1640:22;1619:53;:::i;:::-;1609:63;;1565:117;1493:196;;;;:::o;1695:284::-;;1814:2;1802:9;1793:7;1789:23;1785:32;1782:2;;;1830:1;1827;1820:12;1782:2;1873:1;1898:64;1954:7;1945:6;1934:9;1930:22;1898:64;:::i;:::-;1888:74;;1844:128;1772:207;;;;:::o;1985:840::-;;;;;;2159:3;2147:9;2138:7;2134:23;2130:33;2127:2;;;2176:1;2173;2166:12;2127:2;2219:1;2244:53;2289:7;2280:6;2269:9;2265:22;2244:53;:::i;:::-;2234:63;;2190:117;2346:2;2372:53;2417:7;2408:6;2397:9;2393:22;2372:53;:::i;:::-;2362:63;;2317:118;2474:2;2500:51;2543:7;2534:6;2523:9;2519:22;2500:51;:::i;:::-;2490:61;;2445:116;2600:2;2626:53;2671:7;2662:6;2651:9;2647:22;2626:53;:::i;:::-;2616:63;;2571:118;2728:3;2755:53;2800:7;2791:6;2780:9;2776:22;2755:53;:::i;:::-;2745:63;;2699:119;2117:708;;;;;;;;:::o;2831:118::-;2918:24;2936:5;2918:24;:::i;:::-;2913:3;2906:37;2896:53;;:::o;2955:118::-;3042:24;3060:5;3042:24;:::i;:::-;3037:3;3030:37;3020:53;;:::o;3079:373::-;;3211:38;3243:5;3211:38;:::i;:::-;3265:88;3346:6;3341:3;3265:88;:::i;:::-;3258:95;;3362:52;3407:6;3402:3;3395:4;3388:5;3384:16;3362:52;:::i;:::-;3439:6;3434:3;3430:16;3423:23;;3187:265;;;;;:::o;3458:159::-;3559:51;3604:5;3559:51;:::i;:::-;3554:3;3547:64;3537:80;;:::o;3623:364::-;;3739:39;3772:5;3739:39;:::i;:::-;3794:71;3858:6;3853:3;3794:71;:::i;:::-;3787:78;;3874:52;3919:6;3914:3;3907:4;3900:5;3896:16;3874:52;:::i;:::-;3951:29;3973:6;3951:29;:::i;:::-;3946:3;3942:39;3935:46;;3715:272;;;;;:::o;3993:370::-;;4156:67;4220:2;4215:3;4156:67;:::i;:::-;4149:74;;4253:34;4249:1;4244:3;4240:11;4233:55;4319:8;4314:2;4309:3;4305:12;4298:30;4354:2;4349:3;4345:12;4338:19;;4139:224;;;:::o;4369:312::-;;4532:67;4596:2;4591:3;4532:67;:::i;:::-;4525:74;;4629:16;4625:1;4620:3;4616:11;4609:37;4672:2;4667:3;4663:12;4656:19;;4515:166;;;:::o;4687:389::-;;4850:67;4914:2;4909:3;4850:67;:::i;:::-;4843:74;;4947:34;4943:1;4938:3;4934:11;4927:55;5013:27;5008:2;5003:3;4999:12;4992:49;5067:2;5062:3;5058:12;5051:19;;4833:243;;;:::o;5082:370::-;;5245:67;5309:2;5304:3;5245:67;:::i;:::-;5238:74;;5342:34;5338:1;5333:3;5329:11;5322:55;5408:8;5403:2;5398:3;5394:12;5387:30;5443:2;5438:3;5434:12;5427:19;;5228:224;;;:::o;5458:315::-;;5621:67;5685:2;5680:3;5621:67;:::i;:::-;5614:74;;5718:19;5714:1;5709:3;5705:11;5698:40;5764:2;5759:3;5755:12;5748:19;;5604:169;;;:::o;5779:330::-;;5942:67;6006:2;6001:3;5942:67;:::i;:::-;5935:74;;6039:34;6035:1;6030:3;6026:11;6019:55;6100:2;6095:3;6091:12;6084:19;;5925:184;;;:::o;6115:322::-;;6278:67;6342:2;6337:3;6278:67;:::i;:::-;6271:74;;6375:26;6371:1;6366:3;6362:11;6355:47;6428:2;6423:3;6419:12;6412:19;;6261:176;;;:::o;6443:327::-;;6606:67;6670:2;6665:3;6606:67;:::i;:::-;6599:74;;6703:31;6699:1;6694:3;6690:11;6683:52;6761:2;6756:3;6752:12;6745:19;;6589:181;;;:::o;6776:374::-;;6939:67;7003:2;6998:3;6939:67;:::i;:::-;6932:74;;7036:34;7032:1;7027:3;7023:11;7016:55;7102:12;7097:2;7092:3;7088:12;7081:34;7141:2;7136:3;7132:12;7125:19;;6922:228;;;:::o;7156:374::-;;7319:67;7383:2;7378:3;7319:67;:::i;:::-;7312:74;;7416:34;7412:1;7407:3;7403:11;7396:55;7482:12;7477:2;7472:3;7468:12;7461:34;7521:2;7516:3;7512:12;7505:19;;7302:228;;;:::o;7536:329::-;;7699:67;7763:2;7758:3;7699:67;:::i;:::-;7692:74;;7796:33;7792:1;7787:3;7783:11;7776:54;7856:2;7851:3;7847:12;7840:19;;7682:183;;;:::o;7871:322::-;;8034:67;8098:2;8093:3;8034:67;:::i;:::-;8027:74;;8131:26;8127:1;8122:3;8118:11;8111:47;8184:2;8179:3;8175:12;8168:19;;8017:176;;;:::o;8199:118::-;8286:24;8304:5;8286:24;:::i;:::-;8281:3;8274:37;8264:53;;:::o;8323:112::-;8406:22;8422:5;8406:22;:::i;:::-;8401:3;8394:35;8384:51;;:::o;8441:271::-;;8593:93;8682:3;8673:6;8593:93;:::i;:::-;8586:100;;8703:3;8696:10;;8575:137;;;;:::o;8718:222::-;;8849:2;8838:9;8834:18;8826:26;;8862:71;8930:1;8919:9;8915:17;8906:6;8862:71;:::i;:::-;8816:124;;;;:::o;8946:442::-;;9133:2;9122:9;9118:18;9110:26;;9146:71;9214:1;9203:9;9199:17;9190:6;9146:71;:::i;:::-;9227:72;9295:2;9284:9;9280:18;9271:6;9227:72;:::i;:::-;9309;9377:2;9366:9;9362:18;9353:6;9309:72;:::i;:::-;9100:288;;;;;;:::o;9394:878::-;;9689:3;9678:9;9674:19;9666:27;;9703:71;9771:1;9760:9;9756:17;9747:6;9703:71;:::i;:::-;9784:72;9852:2;9841:9;9837:18;9828:6;9784:72;:::i;:::-;9866;9934:2;9923:9;9919:18;9910:6;9866:72;:::i;:::-;9948;10016:2;10005:9;10001:18;9992:6;9948:72;:::i;:::-;10030:69;10094:3;10083:9;10079:19;10070:6;10030:69;:::i;:::-;10109:73;10177:3;10166:9;10162:19;10153:6;10109:73;:::i;:::-;10192;10260:3;10249:9;10245:19;10236:6;10192:73;:::i;:::-;9656:616;;;;;;;;;;:::o;10278:332::-;;10437:2;10426:9;10422:18;10414:26;;10450:71;10518:1;10507:9;10503:17;10494:6;10450:71;:::i;:::-;10531:72;10599:2;10588:9;10584:18;10575:6;10531:72;:::i;:::-;10404:206;;;;;:::o;10616:250::-;;10761:2;10750:9;10746:18;10738:26;;10774:85;10856:1;10845:9;10841:17;10832:6;10774:85;:::i;:::-;10728:138;;;;:::o;10872:313::-;;11023:2;11012:9;11008:18;11000:26;;11072:9;11066:4;11062:20;11058:1;11047:9;11043:17;11036:47;11100:78;11173:4;11164:6;11100:78;:::i;:::-;11092:86;;10990:195;;;;:::o;11191:419::-;;11395:2;11384:9;11380:18;11372:26;;11444:9;11438:4;11434:20;11430:1;11419:9;11415:17;11408:47;11472:131;11598:4;11472:131;:::i;:::-;11464:139;;11362:248;;;:::o;11616:419::-;;11820:2;11809:9;11805:18;11797:26;;11869:9;11863:4;11859:20;11855:1;11844:9;11840:17;11833:47;11897:131;12023:4;11897:131;:::i;:::-;11889:139;;11787:248;;;:::o;12041:419::-;;12245:2;12234:9;12230:18;12222:26;;12294:9;12288:4;12284:20;12280:1;12269:9;12265:17;12258:47;12322:131;12448:4;12322:131;:::i;:::-;12314:139;;12212:248;;;:::o;12466:419::-;;12670:2;12659:9;12655:18;12647:26;;12719:9;12713:4;12709:20;12705:1;12694:9;12690:17;12683:47;12747:131;12873:4;12747:131;:::i;:::-;12739:139;;12637:248;;;:::o;12891:419::-;;13095:2;13084:9;13080:18;13072:26;;13144:9;13138:4;13134:20;13130:1;13119:9;13115:17;13108:47;13172:131;13298:4;13172:131;:::i;:::-;13164:139;;13062:248;;;:::o;13316:419::-;;13520:2;13509:9;13505:18;13497:26;;13569:9;13563:4;13559:20;13555:1;13544:9;13540:17;13533:47;13597:131;13723:4;13597:131;:::i;:::-;13589:139;;13487:248;;;:::o;13741:419::-;;13945:2;13934:9;13930:18;13922:26;;13994:9;13988:4;13984:20;13980:1;13969:9;13965:17;13958:47;14022:131;14148:4;14022:131;:::i;:::-;14014:139;;13912:248;;;:::o;14166:419::-;;14370:2;14359:9;14355:18;14347:26;;14419:9;14413:4;14409:20;14405:1;14394:9;14390:17;14383:47;14447:131;14573:4;14447:131;:::i;:::-;14439:139;;14337:248;;;:::o;14591:419::-;;14795:2;14784:9;14780:18;14772:26;;14844:9;14838:4;14834:20;14830:1;14819:9;14815:17;14808:47;14872:131;14998:4;14872:131;:::i;:::-;14864:139;;14762:248;;;:::o;15016:419::-;;15220:2;15209:9;15205:18;15197:26;;15269:9;15263:4;15259:20;15255:1;15244:9;15240:17;15233:47;15297:131;15423:4;15297:131;:::i;:::-;15289:139;;15187:248;;;:::o;15441:419::-;;15645:2;15634:9;15630:18;15622:26;;15694:9;15688:4;15684:20;15680:1;15669:9;15665:17;15658:47;15722:131;15848:4;15722:131;:::i;:::-;15714:139;;15612:248;;;:::o;15866:419::-;;16070:2;16059:9;16055:18;16047:26;;16119:9;16113:4;16109:20;16105:1;16094:9;16090:17;16083:47;16147:131;16273:4;16147:131;:::i;:::-;16139:139;;16037:248;;;:::o;16291:222::-;;16422:2;16411:9;16407:18;16399:26;;16435:71;16503:1;16492:9;16488:17;16479:6;16435:71;:::i;:::-;16389:124;;;;:::o;16519:98::-;;16604:5;16598:12;16588:22;;16577:40;;;:::o;16623:99::-;;16709:5;16703:12;16693:22;;16682:40;;;:::o;16728:147::-;;16866:3;16851:18;;16841:34;;;;:::o;16881:169::-;;16999:6;16994:3;16987:19;17039:4;17034:3;17030:14;17015:29;;16977:73;;;;:::o;17056:305::-;;17115:20;17133:1;17115:20;:::i;:::-;17110:25;;17149:20;17167:1;17149:20;:::i;:::-;17144:25;;17303:1;17235:66;17231:74;17228:1;17225:81;17222:2;;;17309:18;;:::i;:::-;17222:2;17353:1;17350;17346:9;17339:16;;17100:261;;;;:::o;17367:185::-;;17424:20;17442:1;17424:20;:::i;:::-;17419:25;;17458:20;17476:1;17458:20;:::i;:::-;17453:25;;17497:1;17487:2;;17502:18;;:::i;:::-;17487:2;17544:1;17541;17537:9;17532:14;;17409:143;;;;:::o;17558:348::-;;17621:20;17639:1;17621:20;:::i;:::-;17616:25;;17655:20;17673:1;17655:20;:::i;:::-;17650:25;;17843:1;17775:66;17771:74;17768:1;17765:81;17760:1;17753:9;17746:17;17742:105;17739:2;;;17850:18;;:::i;:::-;17739:2;17898:1;17895;17891:9;17880:20;;17606:300;;;;:::o;17912:191::-;;17972:20;17990:1;17972:20;:::i;:::-;17967:25;;18006:20;18024:1;18006:20;:::i;:::-;18001:25;;18045:1;18042;18039:8;18036:2;;;18050:18;;:::i;:::-;18036:2;18095:1;18092;18088:9;18080:17;;17957:146;;;;:::o;18109:96::-;;18175:24;18193:5;18175:24;:::i;:::-;18164:35;;18154:51;;;:::o;18211:90::-;;18288:5;18281:13;18274:21;18263:32;;18253:48;;;:::o;18307:77::-;;18373:5;18362:16;;18352:32;;;:::o;18390:126::-;;18467:42;18460:5;18456:54;18445:65;;18435:81;;;:::o;18522:77::-;;18588:5;18577:16;;18567:32;;;:::o;18605:86::-;;18680:4;18673:5;18669:16;18658:27;;18648:43;;;:::o;18697:154::-;;18794:51;18839:5;18794:51;:::i;:::-;18781:64;;18771:80;;;:::o;18857:127::-;;18954:24;18972:5;18954:24;:::i;:::-;18941:37;;18931:53;;;:::o;18990:307::-;19058:1;19068:113;19082:6;19079:1;19076:13;19068:113;;;19167:1;19162:3;19158:11;19152:18;19148:1;19143:3;19139:11;19132:39;19104:2;19101:1;19097:10;19092:15;;19068:113;;;19199:6;19196:1;19193:13;19190:2;;;19279:1;19270:6;19265:3;19261:16;19254:27;19190:2;19039:258;;;;:::o;19303:180::-;19351:77;19348:1;19341:88;19448:4;19445:1;19438:15;19472:4;19469:1;19462:15;19489:180;19537:77;19534:1;19527:88;19634:4;19631:1;19624:15;19658:4;19655:1;19648:15;19675:102;;19767:2;19763:7;19758:2;19751:5;19747:14;19743:28;19733:38;;19723:54;;;:::o;19783:122::-;19856:24;19874:5;19856:24;:::i;:::-;19849:5;19846:35;19836:2;;19895:1;19892;19885:12;19836:2;19826:79;:::o;19911:116::-;19981:21;19996:5;19981:21;:::i;:::-;19974:5;19971:32;19961:2;;20017:1;20014;20007:12;19961:2;19951:76;:::o;20033:122::-;20106:24;20124:5;20106:24;:::i;:::-;20099:5;20096:35;20086:2;;20145:1;20142;20135:12;20086:2;20076:79;:::o;20161:122::-;20234:24;20252:5;20234:24;:::i;:::-;20227:5;20224:35;20214:2;;20273:1;20270;20263:12;20214:2;20204:79;:::o;20289:118::-;20360:22;20376:5;20360:22;:::i;:::-;20353:5;20350:33;20340:2;;20397:1;20394;20387:12;20340:2;20330:77;:::o

Swarm Source

ipfs://c78149d71ea89aaec3b3b44692eb0cfbe9e965b4958bfedb0d22478bb567b86f

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.