ETH Price: $3,469.28 (+2.99%)

Contract

0x0aA3d1c7838e20790A196d56899fE0Bc8B23700F
 
Transaction Hash
Method
Block
From
To
Withdraw214742542024-12-24 18:55:597 hrs ago1735066559IN
0x0aA3d1c7...c8B23700F
0 ETH0.001041147.62897306
Withdraw All Rew...214649752024-12-23 11:45:4738 hrs ago1734954347IN
0x0aA3d1c7...c8B23700F
0 ETH0.000595825.81540008
Withdraw214649702024-12-23 11:44:4738 hrs ago1734954287IN
0x0aA3d1c7...c8B23700F
0 ETH0.000873055.68496362
Exit214198132024-12-17 4:18:237 days ago1734409103IN
0x0aA3d1c7...c8B23700F
0 ETH0.0019476410.35949179
Withdraw214187852024-12-17 0:51:358 days ago1734396695IN
0x0aA3d1c7...c8B23700F
0 ETH0.0012197611.47217118
Withdraw All Rew...214187792024-12-17 0:50:238 days ago1734396623IN
0x0aA3d1c7...c8B23700F
0 ETH0.0012184511.24074438
Withdraw213962462024-12-13 21:22:1111 days ago1734124931IN
0x0aA3d1c7...c8B23700F
0 ETH0.0015805214.86853275
Withdraw213909922024-12-13 3:46:1111 days ago1734061571IN
0x0aA3d1c7...c8B23700F
0 ETH0.0013991813.15966638
Exit213882252024-12-12 18:29:3512 days ago1734028175IN
0x0aA3d1c7...c8B23700F
0 ETH0.0030940527.18279076
Withdraw All Rew...213880792024-12-12 18:00:2312 days ago1734026423IN
0x0aA3d1c7...c8B23700F
0 ETH0.0025963727.41224526
Exit213841462024-12-12 4:50:2312 days ago1733979023IN
0x0aA3d1c7...c8B23700F
0 ETH0.0023897913.70878178
Withdraw213745432024-12-10 20:38:4714 days ago1733863127IN
0x0aA3d1c7...c8B23700F
0 ETH0.0023228919.24329951
Withdraw All Rew...213745182024-12-10 20:33:4714 days ago1733862827IN
0x0aA3d1c7...c8B23700F
0 ETH0.0021163619.52439633
Withdraw213522822024-12-07 18:04:1117 days ago1733594651IN
0x0aA3d1c7...c8B23700F
0 ETH0.0016231615.26966411
Withdraw All Rew...213522772024-12-07 18:03:1117 days ago1733594591IN
0x0aA3d1c7...c8B23700F
0 ETH0.0016827315.58156434
Withdraw All Rew...213293452024-12-04 13:10:3520 days ago1733317835IN
0x0aA3d1c7...c8B23700F
0 ETH0.001748620.48584086
Withdraw213293422024-12-04 13:09:5920 days ago1733317799IN
0x0aA3d1c7...c8B23700F
0 ETH0.0028186720.65390039
Withdraw213272822024-12-04 6:15:4720 days ago1733292947IN
0x0aA3d1c7...c8B23700F
0 ETH0.0016953815.94547837
Withdraw212416612024-11-22 7:04:4732 days ago1732259087IN
0x0aA3d1c7...c8B23700F
0 ETH0.000917788.63391892
Withdraw All Rew...212291332024-11-20 13:05:1134 days ago1732107911IN
0x0aA3d1c7...c8B23700F
0 ETH0.0011927311.64131413
Withdraw212291262024-11-20 13:03:4734 days ago1732107827IN
0x0aA3d1c7...c8B23700F
0 ETH0.0018782812.23067124
Withdraw All Rew...209498992024-10-12 13:44:4773 days ago1728740687IN
0x0aA3d1c7...c8B23700F
0 ETH0.0015325814.13878637
Withdraw All Rew...209446022024-10-11 19:56:1174 days ago1728676571IN
0x0aA3d1c7...c8B23700F
0 ETH0.0013380112.71190762
Withdraw All Rew...208787622024-10-02 15:38:2383 days ago1727883503IN
0x0aA3d1c7...c8B23700F
0 ETH0.0010748512.59242672
Withdraw208787562024-10-02 15:37:1183 days ago1727883431IN
0x0aA3d1c7...c8B23700F
0 ETH0.0017152614.36908325
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:
PoolOwners

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-04-16
*/

// Sources flattened with hardhat v2.1.1 https://hardhat.org

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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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


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



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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


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



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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



pragma solidity >=0.6.0 <0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


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



pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


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



pragma solidity >=0.6.0 <0.8.0;

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

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


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



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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


// File contracts/v7/interfaces/IPoolAllowance.sol


pragma solidity 0.7.4;

interface IPoolAllowance is IERC20 {
    function mintAllowance(address _account, uint256 _amount) external;

    function burnAllowance(address _account, uint256 _amount) external;
}


// File contracts/v7/interfaces/IRewardsPool.sol


pragma solidity 0.7.4;

interface IRewardsPool is IERC20 {
    function updateReward(address _account) external;

    function withdraw() external;

    function depositReward(uint256 _reward) external;
}


// File contracts/v7/interfaces/IOwnersRewardsPool.sol


pragma solidity 0.7.4;

interface IOwnersRewardsPool is IRewardsPool {
    function withdraw(address _account) external;
}


// File contracts/v7/interfaces/IERC677.sol


pragma solidity 0.7.4;

interface IERC677 is IERC20 {
    function transferAndCall(address _to, uint256 _value, bytes calldata _data) external returns (bool success);
}


// File contracts/v7/PoolOwners.sol


pragma solidity 0.7.4;







/**
 * @title Pool Owners
 * @dev Handles owners token staking, allowance token distribution, & owners rewards assets
 */
contract PoolOwners is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC677;

    IERC677 public stakingToken;
    uint256 public totalStaked;
    mapping(address => uint256) private stakedBalances;

    uint16 public totalRewardTokens;
    mapping(uint16 => address) public rewardTokens;
    mapping(address => address) public rewardPools;
    mapping(address => address) public allowanceTokens;
    mapping(address => mapping(address => uint256)) private mintedAllowanceTokens;

    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardsWithdrawn(address indexed user);
    event AllowanceMinted(address indexed user);
    event RewardTokenAdded(address indexed token, address allowanceToken, address rewardsPool);
    event RewardTokenRemoved(address indexed token);

    constructor(address _stakingToken) {
        stakingToken = IERC677(_stakingToken);
    }

    modifier updateRewards(address _account) {
        for (uint16 i = 0; i < totalRewardTokens; i++) {
            IOwnersRewardsPool(rewardPools[rewardTokens[i]]).updateReward(_account);
        }
        _;
    }

    /**
     * @dev returns a user's staked balance
     * @param _account user to return balance for
     * @return user's staked balance
     **/
    function balanceOf(address _account) public view returns (uint256) {
        return stakedBalances[_account];
    }

    /**
     * @dev returns how many allowance tokens have been minted for a user
     * @param _allowanceToken allowance token to return minted amount for
     * @param _account user to return minted amount for
     * @return total allowance tokens a user has minted
     **/
    function mintedAllowance(address _allowanceToken, address _account) public view returns (uint256) {
        return mintedAllowanceTokens[_allowanceToken][_account];
    }

    /**
     * @dev returns total amount staked
     * @return total amount staked
     **/
    function totalSupply() public view returns (uint256) {
        return totalStaked;
    }

    /**
     * @dev ERC677 implementation that proxies staking
     * @param _sender of the token transfer
     * @param _value of the token transfer
     **/
    function onTokenTransfer(address _sender, uint256 _value, bytes calldata) external nonReentrant {
        require(msg.sender == address(stakingToken), "Sender must be staking token");
        require(_value > 0, "Cannot stake 0");
        _stake(_sender, _value);
    }

    /**
     * @dev stakes owners tokens & mints staking allowance tokens in return
     * @param _amount amount to stake
     **/
    function stake(uint256 _amount) external nonReentrant {
        require(_amount > 0, "Cannot stake 0");
        stakingToken.safeTransferFrom(msg.sender, address(this), _amount);
        _stake(msg.sender, _amount);
    }

    /**
     * @dev burns staking allowance tokens and withdraws staked owners tokens
     * @param _amount amount to withdraw
     **/
    function withdraw(uint256 _amount) public nonReentrant updateRewards(msg.sender) {
        require(_amount > 0, "Cannot withdraw 0");
        stakedBalances[msg.sender] = stakedBalances[msg.sender].sub(_amount);
        totalStaked -= _amount;
        _burnAllowance(msg.sender);
        stakingToken.safeTransfer(msg.sender, _amount);
        emit Withdrawn(msg.sender, _amount);
    }

    /**
     * @dev withdraws user's earned rewards for a all assets
     **/
    function withdrawAllRewards() public nonReentrant {
        for (uint16 i = 0; i < totalRewardTokens; i++) {
            _withdrawReward(rewardTokens[i], msg.sender);
        }
        emit RewardsWithdrawn(msg.sender);
    }

    /**
     * @dev withdraws users earned rewards for all assets and withdraws their owners tokens
     **/
    function exit() external {
        withdraw(balanceOf(msg.sender));
        withdrawAllRewards();
    }

    /**
     * @dev mints a user's unclaimed allowance tokens (used if a new asset is added
     * after a user has already staked)
     **/
    function mintAllowance() external nonReentrant {
        _mintAllowance(msg.sender);
        emit AllowanceMinted(msg.sender);
    }

    /**
     * @dev adds a new asset
     * @param _token asset to add
     * @param _allowanceToken asset pool allowance token to add
     * @param _rewardPool asset reward pool to add
     **/
    function addRewardToken(
        address _token,
        address _allowanceToken,
        address _rewardPool
    ) external onlyOwner() {
        require(rewardPools[_token] == address(0), "Reward token already exists");
        rewardTokens[totalRewardTokens] = _token;
        allowanceTokens[_token] = _allowanceToken;
        rewardPools[_token] = _rewardPool;
        totalRewardTokens++;
        emit RewardTokenAdded(_token, _allowanceToken, _rewardPool);
    }

    /**
     * @dev removes an existing asset
     * @param _index index of asset to remove
     **/
    function removeRewardToken(uint16 _index) external onlyOwner() {
        require(_index < totalRewardTokens, "Reward token does not exist");
        address token = rewardTokens[_index];
        if (totalRewardTokens > 1) {
            rewardTokens[_index] = rewardTokens[totalRewardTokens - 1];
        }
        delete rewardTokens[totalRewardTokens - 1];
        delete allowanceTokens[token];
        delete rewardPools[token];
        totalRewardTokens--;
        emit RewardTokenRemoved(token);
    }

    /**
     * @dev stakes owners tokens & mints staking allowance tokens in return
     * @param _amount amount to stake
     **/
    function _stake(address _sender, uint256 _amount) private updateRewards(_sender) {
        stakedBalances[_sender] = stakedBalances[_sender].add(_amount);
        totalStaked += _amount;
        _mintAllowance(_sender);
        emit Staked(_sender, _amount);
    }

    /**
     * @dev withdraws rewards for a specific asset & account
     * @param _token asset to withdraw
     * @param _account user to withdraw for
     **/
    function _withdrawReward(address _token, address _account) private {
        require(rewardPools[_token] != address(0), "Reward token does not exist");
        IOwnersRewardsPool(rewardPools[_token]).withdraw(_account);
    }

    /**
     * @dev mints allowance tokens based on a user's staked balance
     * @param _account user to mint tokens for
     **/
    function _mintAllowance(address _account) private {
        uint256 stakedAmount = balanceOf(_account);
        for (uint16 i = 0; i < totalRewardTokens; i++) {
            address token = allowanceTokens[rewardTokens[i]];
            uint256 minted = mintedAllowance(token, _account);
            if (minted < stakedAmount) {
                IPoolAllowance(token).mintAllowance(_account, stakedAmount.sub(minted));
                mintedAllowanceTokens[token][_account] = stakedAmount;
            }
        }
    }

    /**
     * @dev burns allowance tokens based on a user's staked balance
     * @param _account user to burn tokens for
     **/
    function _burnAllowance(address _account) private {
        uint256 stakedAmount = balanceOf(_account);
        for (uint16 i = 0; i < totalRewardTokens; i++) {
            address token = allowanceTokens[rewardTokens[i]];
            uint256 minted = mintedAllowance(token, _account);
            if (minted > stakedAmount) {
                IPoolAllowance(token).burnAllowance(_account, minted.sub(stakedAmount));
                mintedAllowanceTokens[token][_account] = stakedAmount;
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"AllowanceMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"allowanceToken","type":"address"},{"indexed":false,"internalType":"address","name":"rewardsPool","type":"address"}],"name":"RewardTokenAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"RewardTokenRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"RewardsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_allowanceToken","type":"address"},{"internalType":"address","name":"_rewardPool","type":"address"}],"name":"addRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowanceTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_allowanceToken","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"mintedAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_index","type":"uint16"}],"name":"removeRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardPools","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"rewardTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC677","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardTokens","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAllRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516118b13803806118b18339818101604052602081101561003357600080fd5b5051600160009081556100446100b7565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b0319166001600160a01b03929092169190911790556100bb565b3390565b6117e7806100ca6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a4c0ed3611610071578063a4c0ed36146102c9578063a694fc3a1461034e578063e9fad8ee1461036b578063ef2149ba14610373578063f2fde38b146103995761012c565b8063715018a61461028857806372f702f314610290578063817b1cd2146102985780638da5cb5b146102a05780639c423950146102a85761012c565b8063372d9448116100f4578063372d9448146101f4578063396876bd1461021a57806345114ee5146102225780634b48599d1461022a57806370a08231146102625761012c565b806314706f3e1461013157806318160ddd146101715780631b0875a6146101795780632e1a7d4d146101985780633203ea8f146101b7575b600080fd5b61015f6004803603604081101561014757600080fd5b506001600160a01b03813581169160200135166103bf565b60408051918252519081900360200190f35b61015f6103ea565b6101816103f0565b6040805161ffff9092168252519081900360200190f35b6101b5600480360360208110156101ae57600080fd5b50356103fa565b005b6101d8600480360360208110156101cd57600080fd5b503561ffff166105c6565b604080516001600160a01b039092168252519081900360200190f35b6101d86004803603602081101561020a57600080fd5b50356001600160a01b03166105e1565b6101b56105fc565b6101b5610682565b6101b56004803603606081101561024057600080fd5b506001600160a01b038135811691602081013582169160409091013516610744565b61015f6004803603602081101561027857600080fd5b50356001600160a01b03166108d0565b6101b56108eb565b6101d8610997565b61015f6109a6565b6101d86109ac565b6101b5600480360360208110156102be57600080fd5b503561ffff166109bb565b6101b5600480360360608110156102df57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561030f57600080fd5b82018360208201111561032157600080fd5b8035906020019184600183028401116401000000008311171561034357600080fd5b509092509050610b8d565b6101b56004803603602081101561036457600080fd5b5035610c92565b6101b5610d4a565b6101d86004803603602081101561038957600080fd5b50356001600160a01b0316610d65565b6101b5600480360360208110156103af57600080fd5b50356001600160a01b0316610d80565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b60035490565b60055461ffff1681565b60026000541415610440576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b6002600090815533905b60055461ffff90811690821610156104e75761ffff81166000908152600660209081526040808320546001600160a01b039081168452600790925280832054815163632447c960e01b81528684166004820152915192169263632447c99260248084019382900301818387803b1580156104c357600080fd5b505af11580156104d7573d6000803e3d6000fd5b50506001909201915061044a9050565b5060008211610531576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b3360009081526004602052604090205461054b9083610e83565b3360008181526004602052604090209190915560038054849003905561057090610ee0565b600254610587906001600160a01b03163384610ff4565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b6006602052600090815260409020546001600160a01b031681565b6007602052600090815260409020546001600160a01b031681565b60026000541415610642576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b600260005561065033611046565b60405133907fbf0116af1f8ddd1320e0d5708a1f7bd67f71d8c96d369b4084ba1b91ab7f7b1890600090a26001600055565b600260005414156106c8576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b600260009081555b60055461ffff90811690821610156107115761ffff8116600090815260066020526040902054610709906001600160a01b031633611155565b6001016106d0565b5060405133907fd5e5e23ba670ad7ae775ba2dd622861c8f5e59940127ddb42d0ada3bdfe8881990600090a26001600055565b61074c611235565b6001600160a01b031661075d6109ac565b6001600160a01b0316146107a6576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b6001600160a01b038381166000908152600760205260409020541615610813576040805162461bcd60e51b815260206004820152601b60248201527f52657761726420746f6b656e20616c7265616479206578697374730000000000604482015290519081900360640190fd5b6005805461ffff908116600090815260066020908152604080832080546001600160a01b03808b166001600160a01b031992831681179093558286526008855283862080548b8316908416811790915560078652958490208054918a16919092168117909155865480871660010190961661ffff199096169590951790955580519283529082019290925281517fdc569ae656a2a291bea4cbb0b556071ffff75a5aff570f9d300a176344bde53a929181900390910190a2505050565b6001600160a01b031660009081526004602052604090205490565b6108f3611235565b6001600160a01b03166109046109ac565b6001600160a01b03161461094d576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b6002546001600160a01b031681565b60035481565b6001546001600160a01b031690565b6109c3611235565b6001600160a01b03166109d46109ac565b6001600160a01b031614610a1d576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b60055461ffff90811690821610610a7b576040805162461bcd60e51b815260206004820152601b60248201527f52657761726420746f6b656e20646f6573206e6f742065786973740000000000604482015290519081900360640190fd5b61ffff8082166000908152600660205260409020546005546001600160a01b0390911691600191161115610aed5760055460001961ffff918216018116600090815260066020526040808220549285168252902080546001600160a01b0319166001600160a01b039092169190911790555b6005805460001961ffff91821681018216600090815260066020908152604080832080546001600160a01b03199081169091556001600160a01b03881680855260088452828520805483169055600790935281842080549091169055855480861690940190941661ffff1990931692909217909355905190917f66257bcef574219c04f7c05f7a1c78d599da10491294c92a5805c48b4cdf500991a25050565b60026000541415610bd3576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b60026000819055546001600160a01b03163314610c37576040805162461bcd60e51b815260206004820152601c60248201527f53656e646572206d757374206265207374616b696e6720746f6b656e00000000604482015290519081900360640190fd5b60008311610c7d576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c878484611239565b505060016000555050565b60026000541415610cd8576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b600260005580610d20576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b600254610d38906001600160a01b031633308461136c565b610d423382611239565b506001600055565b610d5b610d56336108d0565b6103fa565b610d63610682565b565b6008602052600090815260409020546001600160a01b031681565b610d88611235565b6001600160a01b0316610d996109ac565b6001600160a01b031614610de2576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b6001600160a01b038116610e275760405162461bcd60e51b815260040180806020018281038252602681526020018061171c6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082821115610eda576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000610eeb826108d0565b905060005b60055461ffff9081169082161015610fef5761ffff81166000908152600660209081526040808320546001600160a01b03908116845260089092528220541690610f3a82866103bf565b905083811115610fe5576001600160a01b038216630d99bd6c86610f5e8488610e83565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610fa457600080fd5b505af1158015610fb8573d6000803e3d6000fd5b5050506001600160a01b038084166000908152600960209081526040808320938a16835292905220859055505b5050600101610ef0565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610fef9084906113cc565b6000611051826108d0565b905060005b60055461ffff9081169082161015610fef5761ffff81166000908152600660209081526040808320546001600160a01b039081168452600890925282205416906110a082866103bf565b90508381101561114b576001600160a01b0382166308641c86866110c48785610e83565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561110a57600080fd5b505af115801561111e573d6000803e3d6000fd5b5050506001600160a01b038084166000908152600960209081526040808320938a16835292905220859055505b5050600101611056565b6001600160a01b03828116600090815260076020526040902054166111c1576040805162461bcd60e51b815260206004820152601b60248201527f52657761726420746f6b656e20646f6573206e6f742065786973740000000000604482015290519081900360640190fd5b6001600160a01b038083166000908152600760205260408082205481516351cff8d960e01b8152858516600482015291519316926351cff8d99260248084019391929182900301818387803b15801561121957600080fd5b505af115801561122d573d6000803e3d6000fd5b505050505050565b3390565b8160005b60055461ffff90811690821610156112da5761ffff81166000908152600660209081526040808320546001600160a01b039081168452600790925280832054815163632447c960e01b81528684166004820152915192169263632447c99260248084019382900301818387803b1580156112b657600080fd5b505af11580156112ca573d6000803e3d6000fd5b50506001909201915061123d9050565b506001600160a01b0383166000908152600460205260409020546112fe908361147d565b6001600160a01b038416600090815260046020526040902055600380548301905561132883611046565b6040805183815290516001600160a01b038516917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113c69085906113cc565b50505050565b6060611421826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114de9092919063ffffffff16565b805190915015610fef5780806020019051602081101561144057600080fd5b5051610fef5760405162461bcd60e51b815260040180806020018281038252602a815260200180611788602a913960400191505060405180910390fd5b6000828201838110156114d7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60606114ed84846000856114f5565b949350505050565b6060824710156115365760405162461bcd60e51b81526004018080602001828103825260268152602001806117426026913960400191505060405180910390fd5b61153f85611651565b611590576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106115cf5780518252601f1990920191602091820191016115b0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611631576040519150601f19603f3d011682016040523d82523d6000602084013e611636565b606091505b5091509150611646828286611657565b979650505050505050565b3b151590565b606083156116665750816114d7565b8251156116765782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116c05781810151838201526020016116a8565b50505050905090810190601f1680156116ed5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f4f8ccffbb7097e57194d080ba9f6156998b499e069d5e38ade05b071c92828464736f6c6343000704003300000000000000000000000099295f1141d58a99e939f7be6bbe734916a875b8

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a4c0ed3611610071578063a4c0ed36146102c9578063a694fc3a1461034e578063e9fad8ee1461036b578063ef2149ba14610373578063f2fde38b146103995761012c565b8063715018a61461028857806372f702f314610290578063817b1cd2146102985780638da5cb5b146102a05780639c423950146102a85761012c565b8063372d9448116100f4578063372d9448146101f4578063396876bd1461021a57806345114ee5146102225780634b48599d1461022a57806370a08231146102625761012c565b806314706f3e1461013157806318160ddd146101715780631b0875a6146101795780632e1a7d4d146101985780633203ea8f146101b7575b600080fd5b61015f6004803603604081101561014757600080fd5b506001600160a01b03813581169160200135166103bf565b60408051918252519081900360200190f35b61015f6103ea565b6101816103f0565b6040805161ffff9092168252519081900360200190f35b6101b5600480360360208110156101ae57600080fd5b50356103fa565b005b6101d8600480360360208110156101cd57600080fd5b503561ffff166105c6565b604080516001600160a01b039092168252519081900360200190f35b6101d86004803603602081101561020a57600080fd5b50356001600160a01b03166105e1565b6101b56105fc565b6101b5610682565b6101b56004803603606081101561024057600080fd5b506001600160a01b038135811691602081013582169160409091013516610744565b61015f6004803603602081101561027857600080fd5b50356001600160a01b03166108d0565b6101b56108eb565b6101d8610997565b61015f6109a6565b6101d86109ac565b6101b5600480360360208110156102be57600080fd5b503561ffff166109bb565b6101b5600480360360608110156102df57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561030f57600080fd5b82018360208201111561032157600080fd5b8035906020019184600183028401116401000000008311171561034357600080fd5b509092509050610b8d565b6101b56004803603602081101561036457600080fd5b5035610c92565b6101b5610d4a565b6101d86004803603602081101561038957600080fd5b50356001600160a01b0316610d65565b6101b5600480360360208110156103af57600080fd5b50356001600160a01b0316610d80565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b60035490565b60055461ffff1681565b60026000541415610440576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b6002600090815533905b60055461ffff90811690821610156104e75761ffff81166000908152600660209081526040808320546001600160a01b039081168452600790925280832054815163632447c960e01b81528684166004820152915192169263632447c99260248084019382900301818387803b1580156104c357600080fd5b505af11580156104d7573d6000803e3d6000fd5b50506001909201915061044a9050565b5060008211610531576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b3360009081526004602052604090205461054b9083610e83565b3360008181526004602052604090209190915560038054849003905561057090610ee0565b600254610587906001600160a01b03163384610ff4565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b6006602052600090815260409020546001600160a01b031681565b6007602052600090815260409020546001600160a01b031681565b60026000541415610642576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b600260005561065033611046565b60405133907fbf0116af1f8ddd1320e0d5708a1f7bd67f71d8c96d369b4084ba1b91ab7f7b1890600090a26001600055565b600260005414156106c8576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b600260009081555b60055461ffff90811690821610156107115761ffff8116600090815260066020526040902054610709906001600160a01b031633611155565b6001016106d0565b5060405133907fd5e5e23ba670ad7ae775ba2dd622861c8f5e59940127ddb42d0ada3bdfe8881990600090a26001600055565b61074c611235565b6001600160a01b031661075d6109ac565b6001600160a01b0316146107a6576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b6001600160a01b038381166000908152600760205260409020541615610813576040805162461bcd60e51b815260206004820152601b60248201527f52657761726420746f6b656e20616c7265616479206578697374730000000000604482015290519081900360640190fd5b6005805461ffff908116600090815260066020908152604080832080546001600160a01b03808b166001600160a01b031992831681179093558286526008855283862080548b8316908416811790915560078652958490208054918a16919092168117909155865480871660010190961661ffff199096169590951790955580519283529082019290925281517fdc569ae656a2a291bea4cbb0b556071ffff75a5aff570f9d300a176344bde53a929181900390910190a2505050565b6001600160a01b031660009081526004602052604090205490565b6108f3611235565b6001600160a01b03166109046109ac565b6001600160a01b03161461094d576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b6002546001600160a01b031681565b60035481565b6001546001600160a01b031690565b6109c3611235565b6001600160a01b03166109d46109ac565b6001600160a01b031614610a1d576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b60055461ffff90811690821610610a7b576040805162461bcd60e51b815260206004820152601b60248201527f52657761726420746f6b656e20646f6573206e6f742065786973740000000000604482015290519081900360640190fd5b61ffff8082166000908152600660205260409020546005546001600160a01b0390911691600191161115610aed5760055460001961ffff918216018116600090815260066020526040808220549285168252902080546001600160a01b0319166001600160a01b039092169190911790555b6005805460001961ffff91821681018216600090815260066020908152604080832080546001600160a01b03199081169091556001600160a01b03881680855260088452828520805483169055600790935281842080549091169055855480861690940190941661ffff1990931692909217909355905190917f66257bcef574219c04f7c05f7a1c78d599da10491294c92a5805c48b4cdf500991a25050565b60026000541415610bd3576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b60026000819055546001600160a01b03163314610c37576040805162461bcd60e51b815260206004820152601c60248201527f53656e646572206d757374206265207374616b696e6720746f6b656e00000000604482015290519081900360640190fd5b60008311610c7d576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c878484611239565b505060016000555050565b60026000541415610cd8576040805162461bcd60e51b815260206004820152601f60248201526000805160206116fc833981519152604482015290519081900360640190fd5b600260005580610d20576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b600254610d38906001600160a01b031633308461136c565b610d423382611239565b506001600055565b610d5b610d56336108d0565b6103fa565b610d63610682565b565b6008602052600090815260409020546001600160a01b031681565b610d88611235565b6001600160a01b0316610d996109ac565b6001600160a01b031614610de2576040805162461bcd60e51b81526020600482018190526024820152600080516020611768833981519152604482015290519081900360640190fd5b6001600160a01b038116610e275760405162461bcd60e51b815260040180806020018281038252602681526020018061171c6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082821115610eda576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000610eeb826108d0565b905060005b60055461ffff9081169082161015610fef5761ffff81166000908152600660209081526040808320546001600160a01b03908116845260089092528220541690610f3a82866103bf565b905083811115610fe5576001600160a01b038216630d99bd6c86610f5e8488610e83565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610fa457600080fd5b505af1158015610fb8573d6000803e3d6000fd5b5050506001600160a01b038084166000908152600960209081526040808320938a16835292905220859055505b5050600101610ef0565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610fef9084906113cc565b6000611051826108d0565b905060005b60055461ffff9081169082161015610fef5761ffff81166000908152600660209081526040808320546001600160a01b039081168452600890925282205416906110a082866103bf565b90508381101561114b576001600160a01b0382166308641c86866110c48785610e83565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561110a57600080fd5b505af115801561111e573d6000803e3d6000fd5b5050506001600160a01b038084166000908152600960209081526040808320938a16835292905220859055505b5050600101611056565b6001600160a01b03828116600090815260076020526040902054166111c1576040805162461bcd60e51b815260206004820152601b60248201527f52657761726420746f6b656e20646f6573206e6f742065786973740000000000604482015290519081900360640190fd5b6001600160a01b038083166000908152600760205260408082205481516351cff8d960e01b8152858516600482015291519316926351cff8d99260248084019391929182900301818387803b15801561121957600080fd5b505af115801561122d573d6000803e3d6000fd5b505050505050565b3390565b8160005b60055461ffff90811690821610156112da5761ffff81166000908152600660209081526040808320546001600160a01b039081168452600790925280832054815163632447c960e01b81528684166004820152915192169263632447c99260248084019382900301818387803b1580156112b657600080fd5b505af11580156112ca573d6000803e3d6000fd5b50506001909201915061123d9050565b506001600160a01b0383166000908152600460205260409020546112fe908361147d565b6001600160a01b038416600090815260046020526040902055600380548301905561132883611046565b6040805183815290516001600160a01b038516917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113c69085906113cc565b50505050565b6060611421826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114de9092919063ffffffff16565b805190915015610fef5780806020019051602081101561144057600080fd5b5051610fef5760405162461bcd60e51b815260040180806020018281038252602a815260200180611788602a913960400191505060405180910390fd5b6000828201838110156114d7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60606114ed84846000856114f5565b949350505050565b6060824710156115365760405162461bcd60e51b81526004018080602001828103825260268152602001806117426026913960400191505060405180910390fd5b61153f85611651565b611590576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106115cf5780518252601f1990920191602091820191016115b0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611631576040519150601f19603f3d011682016040523d82523d6000602084013e611636565b606091505b5091509150611646828286611657565b979650505050505050565b3b151590565b606083156116665750816114d7565b8251156116765782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116c05781810151838201526020016116a8565b50505050905090810190601f1680156116ed5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220f4f8ccffbb7097e57194d080ba9f6156998b499e069d5e38ade05b071c92828464736f6c63430007040033

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

00000000000000000000000099295f1141d58a99e939f7be6bbe734916a875b8

-----Decoded View---------------
Arg [0] : _stakingToken (address): 0x99295f1141d58A99e939F7bE6BBe734916a875B8

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000099295f1141d58a99e939f7be6bbe734916a875b8


Deployed Bytecode Sourcemap

29349:7821:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31141:172;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31141:172:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31417:90;;;:::i;29599:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32468:393;;;;;;;;;;;;;;;;-1:-1:-1;32468:393:0;;:::i;:::-;;29637:46;;;;;;;;;;;;;;;;-1:-1:-1;29637:46:0;;;;:::i;:::-;;;;-1:-1:-1;;;;;29637:46:0;;;;;;;;;;;;;;29690;;;;;;;;;;;;;;;;-1:-1:-1;29690:46:0;-1:-1:-1;;;;;29690:46:0;;:::i;33559:135::-;;;:::i;32950:230::-;;;:::i;33903:480::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33903:480:0;;;;;;;;;;;;;;;;;;;:::i;30733:117::-;;;;;;;;;;;;;;;;-1:-1:-1;30733:117:0;-1:-1:-1;;;;;30733:117:0;;:::i;27622:148::-;;;:::i;29473:27::-;;;:::i;29507:26::-;;;:::i;26971:87::-;;;:::i;34496:517::-;;;;;;;;;;;;;;;;-1:-1:-1;34496:517:0;;;;:::i;31679:273::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31679:273:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31679:273:0;;-1:-1:-1;31679:273:0;-1:-1:-1;31679:273:0;:::i;32095:225::-;;;;;;;;;;;;;;;;-1:-1:-1;32095:225:0;;:::i;33300:106::-;;;:::i;29743:50::-;;;;;;;;;;;;;;;;-1:-1:-1;29743:50:0;-1:-1:-1;;;;;29743:50:0;;:::i;27925:244::-;;;;;;;;;;;;;;;;-1:-1:-1;27925:244:0;-1:-1:-1;;;;;27925:244:0;;:::i;31141:172::-;-1:-1:-1;;;;;31257:38:0;;;31230:7;31257:38;;;:21;:38;;;;;;;;:48;;;;;;;;;;;;;31141:172::o;31417:90::-;31488:11;;31417:90;:::o;29599:31::-;;;;;;:::o;32468:393::-;23899:1;24505:7;;:19;;24497:63;;;;;-1:-1:-1;;;24497:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24497:63:0;;;;;;;;;;;;;;;23899:1;24638:7;:18;;;32537:10:::1;::::0;30408:145:::1;30431:17;::::0;::::1;::::0;;::::1;30427:21:::0;;::::1;;30408:145;;;30501:15;::::0;::::1;30489:28;30501:15:::0;;;:12:::1;:15;::::0;;;;;;;;-1:-1:-1;;;;;30501:15:0;;::::1;30489:28:::0;;:11:::1;:28:::0;;;;;;;30470:71;;-1:-1:-1;;;30470:71:0;;;;::::1;;::::0;::::1;::::0;;;30489:28;::::1;::::0;30470:61:::1;::::0;:71;;;;;;;;;;30489:28;;30470:71;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;30450:3:0::1;::::0;;::::1;::::0;-1:-1:-1;30408:145:0::1;::::0;-1:-1:-1;30408:145:0::1;;;32578:1:::2;32568:7;:11;32560:41;;;::::0;;-1:-1:-1;;;32560:41:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;32560:41:0;;;;;;;;;;;;;::::2;;32656:10;32641:26;::::0;;;:14:::2;:26;::::0;;;;;:39:::2;::::0;32672:7;32641:30:::2;:39::i;:::-;32627:10;32612:26;::::0;;;:14:::2;:26;::::0;;;;:68;;;;32691:11:::2;:22:::0;;;;::::2;::::0;;32724:26:::2;::::0;:14:::2;:26::i;:::-;32761:12;::::0;:46:::2;::::0;-1:-1:-1;;;;;32761:12:0::2;32787:10;32799:7:::0;32761:25:::2;:46::i;:::-;32823:30;::::0;;;;;;;32833:10:::2;::::0;32823:30:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;23855:1:0;24817:7;:22;32468:393::o;29637:46::-;;;;;;;;;;;;-1:-1:-1;;;;;29637:46:0;;:::o;29690:::-;;;;;;;;;;;;-1:-1:-1;;;;;29690:46:0;;:::o;33559:135::-;23899:1;24505:7;;:19;;24497:63;;;;;-1:-1:-1;;;24497:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24497:63:0;;;;;;;;;;;;;;;23899:1;24638:7;:18;33617:26:::1;33632:10;33617:14;:26::i;:::-;33659:27;::::0;33675:10:::1;::::0;33659:27:::1;::::0;;;::::1;23855:1:::0;24817:7;:22;33559:135::o;32950:230::-;23899:1;24505:7;;:19;;24497:63;;;;;-1:-1:-1;;;24497:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24497:63:0;;;;;;;;;;;;;;;23899:1;24638:7;:18;;;33011:118:::1;33034:17;::::0;::::1;::::0;;::::1;33030:21:::0;;::::1;;33011:118;;;33089:15;::::0;::::1;;::::0;;;:12:::1;:15;::::0;;;;;33073:44:::1;::::0;-1:-1:-1;;;;;33089:15:0::1;33106:10;33073:15;:44::i;:::-;33053:3;;33011:118;;;-1:-1:-1::0;33144:28:0::1;::::0;33161:10:::1;::::0;33144:28:::1;::::0;;;::::1;23855:1:::0;24817:7;:22;32950:230::o;33903:480::-;27202:12;:10;:12::i;:::-;-1:-1:-1;;;;;27191:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27191:23:0;;27183:68;;;;;-1:-1:-1;;;27183:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27183:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;34063:19:0;;::::1;34094:1;34063:19:::0;;;:11:::1;:19;::::0;;;;;::::1;:33:::0;34055:73:::1;;;::::0;;-1:-1:-1;;;34055:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34152:17;::::0;;::::1;::::0;;::::1;34139:31;::::0;;;:12:::1;:31;::::0;;;;;;;:40;;-1:-1:-1;;;;;34139:40:0;;::::1;-1:-1:-1::0;;;;;;34139:40:0;;::::1;::::0;::::1;::::0;;;34190:23;;;:15:::1;:23:::0;;;;;:41;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;34242:11:::1;:19:::0;;;;;;:33;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;34286:19;;;;::::1;34152:17:::0;34286:19:::1;::::0;;::::1;-1:-1:-1::0;;34286:19:0;;::::1;::::0;;;::::1;::::0;;;34321:54;;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;::::1;33903:480:::0;;;:::o;30733:117::-;-1:-1:-1;;;;;30818:24:0;30791:7;30818:24;;;:14;:24;;;;;;;30733:117::o;27622:148::-;27202:12;:10;:12::i;:::-;-1:-1:-1;;;;;27191:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27191:23:0;;27183:68;;;;;-1:-1:-1;;;27183:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27183:68:0;;;;;;;;;;;;;;;27713:6:::1;::::0;27692:40:::1;::::0;27729:1:::1;::::0;-1:-1:-1;;;;;27713:6:0::1;::::0;27692:40:::1;::::0;27729:1;;27692:40:::1;27743:6;:19:::0;;-1:-1:-1;;;;;;27743:19:0::1;::::0;;27622:148::o;29473:27::-;;;-1:-1:-1;;;;;29473:27:0;;:::o;29507:26::-;;;;:::o;26971:87::-;27044:6;;-1:-1:-1;;;;;27044:6:0;26971:87;:::o;34496:517::-;27202:12;:10;:12::i;:::-;-1:-1:-1;;;;;27191:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27191:23:0;;27183:68;;;;;-1:-1:-1;;;27183:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27183:68:0;;;;;;;;;;;;;;;34587:17:::1;::::0;::::1;::::0;;::::1;34578:26:::0;;::::1;;34570:66;;;::::0;;-1:-1:-1;;;34570:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34663:20;::::0;;::::1;34647:13;34663:20:::0;;;:12:::1;:20;::::0;;;;;34698:17:::1;::::0;-1:-1:-1;;;;;34663:20:0;;::::1;::::0;;34698:17;::::1;:21;34694:112;;;34772:17;::::0;-1:-1:-1;;34772:17:0::1;::::0;;::::1;:21:::0;34759:35;::::1;;::::0;;;:12:::1;:35;::::0;;;;;;34736:20;;::::1;::::0;;;;:58;;-1:-1:-1;;;;;;34736:58:0::1;-1:-1:-1::0;;;;;34759:35:0;;::::1;34736:58:::0;;;::::1;::::0;;34694:112:::1;34836:17;::::0;;-1:-1:-1;;34836:17:0::1;::::0;;::::1;:21:::0;;34823:35;::::1;;::::0;;;:12:::1;:35;::::0;;;;;;;34816:42;;-1:-1:-1;;;;;;34816:42:0;;::::1;::::0;;;-1:-1:-1;;;;;34876:22:0;::::1;::::0;;;:15:::1;:22:::0;;;;;34869:29;;;::::1;::::0;;34916:11:::1;:18:::0;;;;;;34909:25;;;;::::1;::::0;;34945:19;;;;::::1;::::0;;;;;::::1;-1:-1:-1::0;;34945:19:0;;::::1;::::0;;;::::1;::::0;;;34980:25;;34876:22;;34980:25:::1;::::0;::::1;27262:1;34496:517:::0;:::o;31679:273::-;23899:1;24505:7;;:19;;24497:63;;;;;-1:-1:-1;;;24497:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24497:63:0;;;;;;;;;;;;;;;23899:1;24638:7;:18;;;31816:12;-1:-1:-1;;;;;31816:12:0::1;31794:10;:35;31786:76;;;::::0;;-1:-1:-1;;;31786:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;31890:1;31881:6;:10;31873:37;;;::::0;;-1:-1:-1;;;31873:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31873:37:0;;;;;;;;;;;;;::::1;;31921:23;31928:7;31937:6;31921;:23::i;:::-;-1:-1:-1::0;;23855:1:0;24817:7;:22;-1:-1:-1;;31679:273:0:o;32095:225::-;23899:1;24505:7;;:19;;24497:63;;;;;-1:-1:-1;;;24497:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24497:63:0;;;;;;;;;;;;;;;23899:1;24638:7;:18;32168:11;32160:38:::1;;;::::0;;-1:-1:-1;;;32160:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;32160:38:0;;;;;;;;;;;;;::::1;;32209:12;::::0;:65:::1;::::0;-1:-1:-1;;;;;32209:12:0::1;32239:10;32259:4;32266:7:::0;32209:29:::1;:65::i;:::-;32285:27;32292:10;32304:7;32285:6;:27::i;:::-;-1:-1:-1::0;23855:1:0;24817:7;:22;32095:225::o;33300:106::-;33336:31;33345:21;33355:10;33345:9;:21::i;:::-;33336:8;:31::i;:::-;33378:20;:18;:20::i;:::-;33300:106::o;29743:50::-;;;;;;;;;;;;-1:-1:-1;;;;;29743:50:0;;:::o;27925:244::-;27202:12;:10;:12::i;:::-;-1:-1:-1;;;;;27191:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;27191:23:0;;27183:68;;;;;-1:-1:-1;;;27183:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27183:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28014:22:0;::::1;28006:73;;;;-1:-1:-1::0;;;28006:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28116:6;::::0;28095:38:::1;::::0;-1:-1:-1;;;;;28095:38:0;;::::1;::::0;28116:6:::1;::::0;28095:38:::1;::::0;28116:6:::1;::::0;28095:38:::1;28144:6;:17:::0;;-1:-1:-1;;;;;;28144:17:0::1;-1:-1:-1::0;;;;;28144:17:0;;;::::1;::::0;;;::::1;::::0;;27925:244::o;3329:158::-;3387:7;3420:1;3415;:6;;3407:49;;;;;-1:-1:-1;;;3407:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3474:5:0;;;3329:158::o;36641:526::-;36702:20;36725:19;36735:8;36725:9;:19::i;:::-;36702:42;;36760:8;36755:405;36778:17;;;;;;36774:21;;;;36755:405;;;36849:15;;;36817:13;36849:15;;;:12;:15;;;;;;;;;-1:-1:-1;;;;;36849:15:0;;;36833:32;;:15;:32;;;;;;;;36897;36833;36920:8;36897:15;:32::i;:::-;36880:49;;36957:12;36948:6;:21;36944:205;;;-1:-1:-1;;;;;36990:35:0;;;37026:8;37036:24;:6;37047:12;37036:10;:24::i;:::-;36990:71;;;;;;;;;;;;;-1:-1:-1;;;;;36990:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;37080:28:0;;;;;;;:21;:28;;;;;;;;:38;;;;;;;;;:53;;;-1:-1:-1;36944:205:0;-1:-1:-1;;36797:3:0;;36755:405;;;;36641:526;;:::o;19066:177::-;19176:58;;;-1:-1:-1;;;;;19176:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19176:58:0;-1:-1:-1;;;19176:58:0;;;19149:86;;19169:5;;19149:19;:86::i;35971:526::-;36032:20;36055:19;36065:8;36055:9;:19::i;:::-;36032:42;;36090:8;36085:405;36108:17;;;;;;36104:21;;;;36085:405;;;36179:15;;;36147:13;36179:15;;;:12;:15;;;;;;;;;-1:-1:-1;;;;;36179:15:0;;;36163:32;;:15;:32;;;;;;;;36227;36163;36250:8;36227:15;:32::i;:::-;36210:49;;36287:12;36278:6;:21;36274:205;;;-1:-1:-1;;;;;36320:35:0;;;36356:8;36366:24;:12;36383:6;36366:16;:24::i;:::-;36320:71;;;;;;;;;;;;;-1:-1:-1;;;;;36320:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;36410:28:0;;;;;;;:21;:28;;;;;;;;:38;;;;;;;;;:53;;;-1:-1:-1;36274:205:0;-1:-1:-1;;36127:3:0;;36085:405;;35599:228;-1:-1:-1;;;;;35685:19:0;;;35716:1;35685:19;;;:11;:19;;;;;;;35677:73;;;;;-1:-1:-1;;;35677:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35780:19:0;;;;;;;:11;:19;;;;;;;35761:58;;-1:-1:-1;;;35761:58:0;;;;;;;;;;;35780:19;;;35761:48;;:58;;;;;35780:19;;35761:58;;;;;;35780:19;;35761:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35599:228;;:::o;25498:106::-;25586:10;25498:106;:::o;35156:269::-;35228:7;30413:8;30408:145;30431:17;;;;;;30427:21;;;;30408:145;;;30501:15;;;30489:28;30501:15;;;:12;:15;;;;;;;;;-1:-1:-1;;;;;30501:15:0;;;30489:28;;:11;:28;;;;;;;30470:71;;-1:-1:-1;;;30470:71:0;;;;;;;;;;;30489:28;;;30470:61;;:71;;;;;;;;;;30489:28;;30470:71;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30450:3:0;;;;;-1:-1:-1;30408:145:0;;-1:-1:-1;30408:145:0;;-1:-1:-1;;;;;;35274:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;:36:::1;::::0;35302:7;35274:27:::1;:36::i;:::-;-1:-1:-1::0;;;;;35248:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;:62;35321:11:::1;:22:::0;;;::::1;::::0;;35354:23:::1;35263:7:::0;35354:14:::1;:23::i;:::-;35393:24;::::0;;;;;;;-1:-1:-1;;;;;35393:24:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;35156:269:::0;;;:::o;19251:205::-;19379:68;;;-1:-1:-1;;;;;19379:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19379:68:0;-1:-1:-1;;;19379:68:0;;;19352:96;;19372:5;;19352:19;:96::i;:::-;19251:205;;;;:::o;21371:761::-;21795:23;21821:69;21849:4;21821:69;;;;;;;;;;;;;;;;;21829:5;-1:-1:-1;;;;;21821:27:0;;;:69;;;;;:::i;:::-;21905:17;;21795:95;;-1:-1:-1;21905:21:0;21901:224;;22047:10;22036:30;;;;;;;;;;;;;;;-1:-1:-1;22036:30:0;22028:85;;;;-1:-1:-1;;;22028:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2867:179;2925:7;2957:5;;;2981:6;;;;2973:46;;;;;-1:-1:-1;;;2973:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3037:1;2867:179;-1:-1:-1;;;2867:179:0:o;14053:195::-;14156:12;14188:52;14210:6;14218:4;14224:1;14227:12;14188:21;:52::i;:::-;14181:59;14053:195;-1:-1:-1;;;;14053:195:0:o;15105:530::-;15232:12;15290:5;15265:21;:30;;15257:81;;;;-1:-1:-1;;;15257:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15357:18;15368:6;15357:10;:18::i;:::-;15349:60;;;;;-1:-1:-1;;;15349:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15483:12;15497:23;15524:6;-1:-1:-1;;;;;15524:11:0;15544:5;15552:4;15524:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15524:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15482:75;;;;15575:52;15593:7;15602:10;15614:12;15575:17;:52::i;:::-;15568:59;15105:530;-1:-1:-1;;;;;;;15105:530:0:o;11135:422::-;11502:20;11541:8;;;11135:422::o;17645:742::-;17760:12;17789:7;17785:595;;;-1:-1:-1;17820:10:0;17813:17;;17785:595;17934:17;;:21;17930:439;;18197:10;18191:17;18258:15;18245:10;18241:2;18237:19;18230:44;18145:148;18340:12;18333:20;;-1:-1:-1;;;18333:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://f4f8ccffbb7097e57194d080ba9f6156998b499e069d5e38ade05b071c928284

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.