ETH Price: $3,390.65 (+1.67%)

Contract

0x2ec2Ec6D38F69fDAEc7D801E3a8C85E579C49bc1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw196850752024-04-18 21:38:59253 days ago1713476339IN
0x2ec2Ec6D...579C49bc1
0 ETH0.001586188.0354419
Withdraw155335802022-09-14 15:01:53836 days ago1663167713IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0037405918.94949039
Withdraw154882652022-09-07 4:23:56843 days ago1662524636IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0014724616.61643703
Withdraw153360372022-08-13 22:28:29867 days ago1660429709IN
0x2ec2Ec6D...579C49bc1
0 ETH0.001322226.69788007
Withdraw152996402022-08-08 5:08:10873 days ago1659935290IN
0x2ec2Ec6D...579C49bc1
0 ETH0.001319886.685997
Withdraw151688962022-07-18 20:59:31893 days ago1658177971IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0023561431.59688692
Claim STACK151688932022-07-18 20:58:41893 days ago1658177921IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0041432725.93730998
Withdraw150737452022-07-04 3:57:01908 days ago1656907021IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0007809210.47248956
Claim STACK150737332022-07-04 3:55:11908 days ago1656906911IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0003899910.56573626
Withdraw149776572022-06-17 6:10:47925 days ago1655446247IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0045711423.15701081
Withdraw149616942022-06-14 12:17:23928 days ago1655209043IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0052081326.38230867
Claim STACK148049062022-05-19 12:17:05954 days ago1652962625IN
0x2ec2Ec6D...579C49bc1
0 ETH0.00070118.9916953
Withdraw148049062022-05-19 12:17:05954 days ago1652962625IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0037489218.9916953
Claim STACK148012482022-05-18 21:47:45954 days ago1652910465IN
0x2ec2Ec6D...579C49bc1
0 ETH0.002396114.99982014
Withdraw147304962022-05-07 15:07:32966 days ago1651936052IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0076520838.76241841
Withdraw144783442022-03-29 2:14:241005 days ago1648520064IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0038317451.38529348
Claim STACK143754132022-03-13 1:20:591021 days ago1647134459IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0034826321.80162429
Claim STACK143677572022-03-11 20:49:471022 days ago1647031787IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0078880846.69990272
Withdraw140210372022-01-17 5:11:221076 days ago1642396282IN
0x2ec2Ec6D...579C49bc1
0 ETH0.02725137131.90976376
Claim STACK140210362022-01-17 5:10:581076 days ago1642396258IN
0x2ec2Ec6D...579C49bc1
0 ETH0.01983531117.42223163
Deposit139108382021-12-31 3:57:171093 days ago1640923037IN
0x2ec2Ec6D...579C49bc1
0 ETH0.02169162111.08529715
Deposit138977752021-12-29 3:27:261095 days ago1640748446IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0106324796.57549994
Claim STACK138911032021-12-28 2:39:351096 days ago1640659175IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0125618574.36439954
Claim STACK138550112021-12-22 12:30:041102 days ago1640176204IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0058115134.40332194
Claim STACK138538812021-12-22 8:22:161102 days ago1640161336IN
0x2ec2Ec6D...579C49bc1
0 ETH0.0067892640.19148782
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:
LPGauge

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-27
*/

// SPDX-License-Identifier: MIT
/*
A simple gauge contract to measure the amount of tokens locked, and reward users in a different token.

Using this for STACK/ETH Uni LP currently.
*/

pragma solidity ^0.6.11;

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

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

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

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

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

contract LPGauge is ReentrancyGuard {
	using SafeERC20 for IERC20;
	using Address for address;
    using SafeMath for uint256;

    address payable public governance = 0xB156d2D9CAdB12a252A9015078fc5cb7E92e656e; // STACK DAO Agent address
    address public constant acceptToken = 0xd78E04a200048a438D9D03C9A3d7E5154dE643b1; // STACK/ETH Uniswap LP Token

    // TODO: get STACK token address
    address public constant STACK = 0xe0955F26515d22E347B17669993FCeFcc73c3a0a; // STACK DAO Token

    uint256 public emissionRate = 25209289623226158; // 60k STACK / delta blocks

    uint256 public deposited;

    uint256 public constant startBlock = 11955015;
    uint256 public endBlock = startBlock + 2380075;

    // uint256 public constant startBlock = 11226037 + 100;
    // uint256 public endBlock = startBlock + 2425846;
    uint256 public lastBlock; // last block the distribution has ran
    uint256 public tokensAccrued; // tokens to distribute per weight scaled by 1e18

    struct DepositState {
    	uint256 balance;
    	uint256 tokensAccrued;
    }

    mapping(address => DepositState) public balances;

    event Deposit(address indexed from, uint256 amount);
    event Withdraw(address indexed to, uint256 amount);
    event STACKClaimed(address indexed to, uint256 amount);

    constructor() public {
    }

    function setGovernance(address payable _new) external {
    	require(msg.sender == governance);
    	governance = _new;
    }

    function setEmissionRate(uint256 _new) external {
    	require(msg.sender == governance, "LPGAUGE: !governance");
    	_kick(); // catch up the contract to the current block for old rate
    	emissionRate = _new;
    }

    function setEndBlock(uint256 _block) external {
    	require(msg.sender == governance, "LPGAUGE: !governance");
    	require(block.number <= endBlock, "LPGAUGE: distribution already done, must start another");
        require(block.number <= _block, "LPGAUGE: can't set endBlock to past block");
    	
    	endBlock = _block;
    }

    function deposit(uint256 _amount) nonReentrant external {
    	require(block.number <= endBlock, "LPGAUGE: distribution over");

    	_claimSTACK(msg.sender);

    	IERC20(acceptToken).safeTransferFrom(msg.sender, address(this), _amount);

    	DepositState memory _state = balances[msg.sender];
    	_state.balance = _state.balance.add(_amount);
    	deposited = deposited.add(_amount);

    	emit Deposit(msg.sender, _amount);
    	balances[msg.sender] = _state;
    }

    function withdraw(uint256 _amount) nonReentrant external {
    	_claimSTACK(msg.sender);

    	DepositState memory _state = balances[msg.sender];

    	require(_amount <= _state.balance, "LPGAUGE: insufficient balance");

    	_state.balance = _state.balance.sub(_amount);
    	deposited = deposited.sub(_amount);

    	emit Withdraw(msg.sender, _amount);
    	balances[msg.sender] = _state;

    	IERC20(acceptToken).safeTransfer(msg.sender, _amount);
    }

    function claimSTACK() nonReentrant external returns (uint256) {
    	return _claimSTACK(msg.sender);
    }

    function _claimSTACK(address _user) internal returns (uint256) {
    	_kick();

    	DepositState memory _state = balances[_user];
    	if (_state.tokensAccrued == tokensAccrued){ // user doesn't have any accrued tokens
    		return 0;
    	}
    	else {
    		uint256 _tokensAccruedDiff = tokensAccrued.sub(_state.tokensAccrued);
    		uint256 _tokensGive = _tokensAccruedDiff.mul(_state.balance).div(1e18);

    		_state.tokensAccrued = tokensAccrued;
    		balances[_user] = _state;

            // if the guage has enough tokens to grant the user, then send their tokens
            // otherwise, don't fail, just log STACK claimed, and a reimbursement can be done via chain events
            if (IERC20(STACK).balanceOf(address(this)) >= _tokensGive){
                IERC20(STACK).safeTransfer(_user, _tokensGive);
            }

            // log event
            emit STACKClaimed(_user, _tokensGive);

            return _tokensGive;
    	}
    }

    function _kick() internal {
    	uint256 _totalDeposited = deposited;
    	// if there are no tokens committed, then don't kick.
    	if (_totalDeposited == 0){
    		return;
    	}
    	// already done for this block || already did all blocks || not started yet
    	if (lastBlock == block.number || lastBlock >= endBlock || block.number < startBlock){
    		return;
    	}

		uint256 _deltaBlock;
		// edge case where kick was not called for entire period of blocks.
		if (lastBlock <= startBlock && block.number >= endBlock){
			_deltaBlock = endBlock.sub(startBlock);
		}
		// where block.number is past the endBlock
		else if (block.number >= endBlock){
			_deltaBlock = endBlock.sub(lastBlock);
		}
		// where last block is before start
		else if (lastBlock <= startBlock){
			_deltaBlock = block.number.sub(startBlock);
		}
		// normal case, where we are in the middle of the distribution
		else {
			_deltaBlock = block.number.sub(lastBlock);
		}

		uint256 _tokensToAccrue = _deltaBlock.mul(emissionRate);
		tokensAccrued = tokensAccrued.add(_tokensToAccrue.mul(1e18).div(_totalDeposited));

    	// if not allowed to mint it's just like the emission rate = 0. So just update the lastBlock.
    	// always update last block 
    	lastBlock = block.number;
    }

    // decentralized rescue function for any stuck tokens, will return to governance
    function rescue(address _token, uint256 _amount) nonReentrant external {
        require(msg.sender == governance, "LPGAUGE: !governance");

        if (_token != address(0)){
            IERC20(_token).safeTransfer(governance, _amount);
        }
        else { // if _tokenContract is 0x0, then escape ETH
            governance.transfer(_amount);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"STACKClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"STACK","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"tokensAccrued","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimSTACK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"setEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_new","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensAccrued","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405273b156d2d9cadb12a252a9015078fc5cb7e92e656e600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066598fb72108472e6002556224512b62b66b470160045534801561007c57600080fd5b506001600081905550611bda806100946000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063806b984f116100a2578063b6b55f2511610071578063b6b55f251461035b578063ba4b6fdf14610389578063c713aa94146103a7578063eef49ee3146103d5578063ef6a0087146103f35761010b565b8063806b984f146102ad57806396afc450146102cb578063a1bdb15e146102e9578063ab033ea9146103175761010b565b80635510f804116100de5780635510f804146101d95780635aa6e6751461020d5780637a4e4ecf146102415780637dc78d5d1461028f5761010b565b8063083c63231461011057806327e235e31461012e5780632e1a7d4d1461018d57806348cd4cb1146101bb575b600080fd5b610118610427565b6040518082815260200191505060405180910390f35b6101706004803603602081101561014457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061042d565b604051808381526020018281526020019250505060405180910390f35b6101b9600480360360208110156101a357600080fd5b8101908080359060200190929190505050610451565b005b6101c36106e9565b6040518082815260200191505060405180910390f35b6101e16106f0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610215610708565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61028d6004803603604081101561025757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061072e565b005b61029761096e565b6040518082815260200191505060405180910390f35b6102b5610a07565b6040518082815260200191505060405180910390f35b6102d3610a0d565b6040518082815260200191505060405180910390f35b610315600480360360208110156102ff57600080fd5b8101908080359060200190929190505050610a13565b005b6103596004803603602081101561032d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ae8565b005b6103876004803603602081101561037157600080fd5b8101908080359060200190929190505050610b86565b005b610391610e1e565b6040518082815260200191505060405180910390f35b6103d3600480360360208110156103bd57600080fd5b8101908080359060200190929190505050610e24565b005b6103dd610fa5565b6040518082815260200191505060405180910390f35b6103fb610fab565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60045481565b60076020528060005260406000206000915090508060000154908060010154905082565b600260005414156104ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506104db33610fc3565b506104e4611aba565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905080600001518211156105be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4c5047415547453a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b6105d582826000015161125890919063ffffffff16565b8160000181815250506105f38260035461125890919063ffffffff16565b6003819055503373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040518082815260200191505060405180910390a280600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050506106dd338373d78e04a200048a438d9d03c9a3d7e5154de643b173ffffffffffffffffffffffffffffffffffffffff166112db9092919063ffffffff16565b50600160008190555050565b62b66b4781565b73d78e04a200048a438d9d03c9a3d7e5154de643b181565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260005414156107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610872576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5047415547453a2021676f7665726e616e636500000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146108f8576108f3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166112db9092919063ffffffff16565b610962565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610960573d6000803e3d6000fd5b505b60016000819055505050565b6000600260005414156109e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506109fa33610fc3565b9050600160008190555090565b60055481565b60025481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5047415547453a2021676f7665726e616e636500000000000000000000000081525060200191505060405180910390fd5b610ade61137d565b8060028190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b4257600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026000541415610bff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600454431115610c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4c5047415547453a20646973747269627574696f6e206f76657200000000000081525060200191505060405180910390fd5b610c8833610fc3565b50610cca33308373d78e04a200048a438d9d03c9a3d7e5154de643b173ffffffffffffffffffffffffffffffffffffffff166114d3909392919063ffffffff16565b610cd2611aba565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050610d4982826000015161159490919063ffffffff16565b816000018181525050610d678260035461159490919063ffffffff16565b6003819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040518082815260200191505060405180910390a280600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505050600160008190555050565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5047415547453a2021676f7665726e616e636500000000000000000000000081525060200191505060405180910390fd5b600454431115610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180611b6f6036913960400191505060405180910390fd5b80431115610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180611afb6029913960400191505060405180910390fd5b8060048190555050565b60035481565b73e0955f26515d22e347b17669993fcefcc73c3a0a81565b6000610fcd61137d565b610fd5611aba565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820154815260200160018201548152505090506006548160200151141561104d576000915050611253565b6000611068826020015160065461125890919063ffffffff16565b9050600061109d670de0b6b3a764000061108f85600001518561161c90919063ffffffff16565b6116a290919063ffffffff16565b905060065483602001818152505082600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050508073e0955f26515d22e347b17669993fcefcc73c3a0a73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561117e57600080fd5b505afa158015611192573d6000803e3d6000fd5b505050506040513d60208110156111a857600080fd5b8101908080519060200190929190505050106111fe576111fd858273e0955f26515d22e347b17669993fcefcc73c3a0a73ffffffffffffffffffffffffffffffffffffffff166112db9092919063ffffffff16565b5b8473ffffffffffffffffffffffffffffffffffffffff167f37b8f39235d8f8e3b97c4bf027e858d6b0ef96fa7fb539484a495f68c0fbe18e826040518082815260200191505060405180910390a28093505050505b919050565b6000828211156112d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6113788363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061172b565b505050565b60006003549050600081141561139357506114d1565b4360055414806113a7575060045460055410155b806113b4575062b66b4743105b156113bf57506114d1565b600062b66b47600554111580156113d857506004544310155b156113fc576113f562b66b4760045461125890919063ffffffff16565b9050611466565b60045443106114235761141c60055460045461125890919063ffffffff16565b9050611465565b62b66b476005541161144c5761144562b66b474361125890919063ffffffff16565b9050611464565b6114616005544361125890919063ffffffff16565b90505b5b5b600061147d6002548361161c90919063ffffffff16565b90506114c06114af846114a1670de0b6b3a76400008561161c90919063ffffffff16565b6116a290919063ffffffff16565b60065461159490919063ffffffff16565b600681905550436005819055505050505b565b61158e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061172b565b50505050565b600080828401905083811015611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561162f576000905061169c565b600082840290508284828161164057fe5b0414611697576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611b246021913960400191505060405180910390fd5b809150505b92915050565b6000808211611719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161172257fe5b04905092915050565b606061178d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661181a9092919063ffffffff16565b9050600081511115611815578080602001905160208110156117ae57600080fd5b8101908080519060200190929190505050611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611b45602a913960400191505060405180910390fd5b5b505050565b60606118298484600085611832565b90509392505050565b60608247101561188d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611ad56026913960400191505060405180910390fd5b611896856119db565b611908576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106119585780518252602082019150602081019050602083039250611935565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146119ba576040519150601f19603f3d011682016040523d82523d6000602084013e6119bf565b606091505b50915091506119cf8282866119ee565b92505050949350505050565b600080823b905060008111915050919050565b606083156119fe57829050611ab3565b600083511115611a115782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a78578082015181840152602081019050611a5d565b50505050905090810190601f168015611aa55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60405180604001604052806000815260200160008152509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4c5047415547453a2063616e27742073657420656e64426c6f636b20746f207061737420626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644c5047415547453a20646973747269627574696f6e20616c726561647920646f6e652c206d75737420737461727420616e6f74686572a26469706673582212203feae65897d3556083e3b01aafebb453b542d1f6b9009000a022e639cd93e1c364736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063806b984f116100a2578063b6b55f2511610071578063b6b55f251461035b578063ba4b6fdf14610389578063c713aa94146103a7578063eef49ee3146103d5578063ef6a0087146103f35761010b565b8063806b984f146102ad57806396afc450146102cb578063a1bdb15e146102e9578063ab033ea9146103175761010b565b80635510f804116100de5780635510f804146101d95780635aa6e6751461020d5780637a4e4ecf146102415780637dc78d5d1461028f5761010b565b8063083c63231461011057806327e235e31461012e5780632e1a7d4d1461018d57806348cd4cb1146101bb575b600080fd5b610118610427565b6040518082815260200191505060405180910390f35b6101706004803603602081101561014457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061042d565b604051808381526020018281526020019250505060405180910390f35b6101b9600480360360208110156101a357600080fd5b8101908080359060200190929190505050610451565b005b6101c36106e9565b6040518082815260200191505060405180910390f35b6101e16106f0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610215610708565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61028d6004803603604081101561025757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061072e565b005b61029761096e565b6040518082815260200191505060405180910390f35b6102b5610a07565b6040518082815260200191505060405180910390f35b6102d3610a0d565b6040518082815260200191505060405180910390f35b610315600480360360208110156102ff57600080fd5b8101908080359060200190929190505050610a13565b005b6103596004803603602081101561032d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ae8565b005b6103876004803603602081101561037157600080fd5b8101908080359060200190929190505050610b86565b005b610391610e1e565b6040518082815260200191505060405180910390f35b6103d3600480360360208110156103bd57600080fd5b8101908080359060200190929190505050610e24565b005b6103dd610fa5565b6040518082815260200191505060405180910390f35b6103fb610fab565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60045481565b60076020528060005260406000206000915090508060000154908060010154905082565b600260005414156104ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506104db33610fc3565b506104e4611aba565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905080600001518211156105be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4c5047415547453a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b6105d582826000015161125890919063ffffffff16565b8160000181815250506105f38260035461125890919063ffffffff16565b6003819055503373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364836040518082815260200191505060405180910390a280600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050506106dd338373d78e04a200048a438d9d03c9a3d7e5154de643b173ffffffffffffffffffffffffffffffffffffffff166112db9092919063ffffffff16565b50600160008190555050565b62b66b4781565b73d78e04a200048a438d9d03c9a3d7e5154de643b181565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260005414156107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610872576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5047415547453a2021676f7665726e616e636500000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146108f8576108f3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166112db9092919063ffffffff16565b610962565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610960573d6000803e3d6000fd5b505b60016000819055505050565b6000600260005414156109e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506109fa33610fc3565b9050600160008190555090565b60055481565b60025481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ad6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5047415547453a2021676f7665726e616e636500000000000000000000000081525060200191505060405180910390fd5b610ade61137d565b8060028190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b4257600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026000541415610bff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600454431115610c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4c5047415547453a20646973747269627574696f6e206f76657200000000000081525060200191505060405180910390fd5b610c8833610fc3565b50610cca33308373d78e04a200048a438d9d03c9a3d7e5154de643b173ffffffffffffffffffffffffffffffffffffffff166114d3909392919063ffffffff16565b610cd2611aba565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050610d4982826000015161159490919063ffffffff16565b816000018181525050610d678260035461159490919063ffffffff16565b6003819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c836040518082815260200191505060405180910390a280600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015590505050600160008190555050565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ee7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5047415547453a2021676f7665726e616e636500000000000000000000000081525060200191505060405180910390fd5b600454431115610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180611b6f6036913960400191505060405180910390fd5b80431115610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180611afb6029913960400191505060405180910390fd5b8060048190555050565b60035481565b73e0955f26515d22e347b17669993fcefcc73c3a0a81565b6000610fcd61137d565b610fd5611aba565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820154815260200160018201548152505090506006548160200151141561104d576000915050611253565b6000611068826020015160065461125890919063ffffffff16565b9050600061109d670de0b6b3a764000061108f85600001518561161c90919063ffffffff16565b6116a290919063ffffffff16565b905060065483602001818152505082600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050508073e0955f26515d22e347b17669993fcefcc73c3a0a73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561117e57600080fd5b505afa158015611192573d6000803e3d6000fd5b505050506040513d60208110156111a857600080fd5b8101908080519060200190929190505050106111fe576111fd858273e0955f26515d22e347b17669993fcefcc73c3a0a73ffffffffffffffffffffffffffffffffffffffff166112db9092919063ffffffff16565b5b8473ffffffffffffffffffffffffffffffffffffffff167f37b8f39235d8f8e3b97c4bf027e858d6b0ef96fa7fb539484a495f68c0fbe18e826040518082815260200191505060405180910390a28093505050505b919050565b6000828211156112d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6113788363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061172b565b505050565b60006003549050600081141561139357506114d1565b4360055414806113a7575060045460055410155b806113b4575062b66b4743105b156113bf57506114d1565b600062b66b47600554111580156113d857506004544310155b156113fc576113f562b66b4760045461125890919063ffffffff16565b9050611466565b60045443106114235761141c60055460045461125890919063ffffffff16565b9050611465565b62b66b476005541161144c5761144562b66b474361125890919063ffffffff16565b9050611464565b6114616005544361125890919063ffffffff16565b90505b5b5b600061147d6002548361161c90919063ffffffff16565b90506114c06114af846114a1670de0b6b3a76400008561161c90919063ffffffff16565b6116a290919063ffffffff16565b60065461159490919063ffffffff16565b600681905550436005819055505050505b565b61158e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061172b565b50505050565b600080828401905083811015611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60008083141561162f576000905061169c565b600082840290508284828161164057fe5b0414611697576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611b246021913960400191505060405180910390fd5b809150505b92915050565b6000808211611719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161172257fe5b04905092915050565b606061178d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661181a9092919063ffffffff16565b9050600081511115611815578080602001905160208110156117ae57600080fd5b8101908080519060200190929190505050611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611b45602a913960400191505060405180910390fd5b5b505050565b60606118298484600085611832565b90509392505050565b60608247101561188d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611ad56026913960400191505060405180910390fd5b611896856119db565b611908576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106119585780518252602082019150602081019050602083039250611935565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146119ba576040519150601f19603f3d011682016040523d82523d6000602084013e6119bf565b606091505b50915091506119cf8282866119ee565b92505050949350505050565b600080823b905060008111915050919050565b606083156119fe57829050611ab3565b600083511115611a115782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a78578082015181840152602081019050611a5d565b50505050905090810190601f168015611aa55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60405180604001604052806000815260200160008152509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4c5047415547453a2063616e27742073657420656e64426c6f636b20746f207061737420626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644c5047415547453a20646973747269627574696f6e20616c726561647920646f6e652c206d75737420737461727420616e6f74686572a26469706673582212203feae65897d3556083e3b01aafebb453b542d1f6b9009000a022e639cd93e1c364736f6c634300060c0033

Deployed Bytecode Sourcemap

24483:5931:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25160:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25577:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;27051:472;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25108:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24732:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;24620:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30037:374;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27531:108;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25332:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24991:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25985:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25849:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;26560:483;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25402:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26215:337;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25075:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24889:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;25160:46;;;;:::o;25577:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27051:472::-;23528:1;24134:7;;:19;;24126:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23528:1;24267:7;:18;;;;27116:23:::1;27128:10;27116:11;:23::i;:::-;;27149:26;;:::i;:::-;27178:8;:20;27187:10;27178:20;;;;;;;;;;;;;;;27149:49;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;27227:6;:14;;;27216:7;:25;;27208:67;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;27302:27;27321:7;27302:6;:14;;;:18;;:27;;;;:::i;:::-;27285:6;:14;;:44;;;::::0;::::1;27349:22;27363:7;27349:9;;:13;;:22;;;;:::i;:::-;27337:9;:34;;;;27395:10;27386:29;;;27407:7;27386:29;;;;;;;;;;;;;;;;;;27446:6;27423:8;:20;27432:10;27423:20;;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;;27462:53;27495:10;27507:7;24770:42;27462:32;;;;:53;;;;;:::i;:::-;24298:1;23484::::0;24446:7;:22;;;;27051:472;:::o;25108:45::-;25145:8;25108:45;:::o;24732:80::-;24770:42;24732:80;:::o;24620:78::-;;;;;;;;;;;;;:::o;30037:374::-;23528:1;24134:7;;:19;;24126:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23528:1;24267:7;:18;;;;30141:10:::1;;;;;;;;;;;30127:24;;:10;:24;;;30119:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;30211:1;30193:20;;:6;:20;;;30189:215;;30229:48;30257:10;;;;;;;;;;;30269:7;30236:6;30229:27;;;;:48;;;;;:::i;:::-;30189:215;;;30364:10;;;;;;;;;;;:19;;:28;30384:7;30364:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;30189:215;23484:1:::0;24446:7;:22;;;;30037:374;;:::o;27531:108::-;27584:7;23528:1;24134:7;;:19;;24126:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23528:1;24267:7;:18;;;;27608:23:::1;27620:10;27608:11;:23::i;:::-;27601:30;;23484:1:::0;24446:7;:22;;;;27531:108;:::o;25332:24::-;;;;:::o;24991:47::-;;;;:::o;25985:222::-;26063:10;;;;;;;;;;;26049:24;;:10;:24;;;26041:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26106:7;:5;:7::i;:::-;26195:4;26180:12;:19;;;;25985:222;:::o;25849:128::-;25933:10;;;;;;;;;;;25919:24;;:10;:24;;;25911:33;;;;;;25965:4;25952:10;;:17;;;;;;;;;;;;;;;;;;25849:128;:::o;26560:483::-;23528:1;24134:7;;:19;;24126:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23528:1;24267:7;:18;;;;26648:8:::1;;26632:12;:24;;26624:63;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;26697:23;26709:10;26697:11;:23::i;:::-;;26730:72;26767:10;26787:4;26794:7;24770:42;26730:36;;;;:72;;;;;;:::i;:::-;26812:26;;:::i;:::-;26841:8;:20;26850:10;26841:20;;;;;;;;;;;;;;;26812:49;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;26886:27;26905:7;26886:6;:14;;;:18;;:27;;;;:::i;:::-;26869:6;:14;;:44;;;::::0;::::1;26933:22;26947:7;26933:9;;:13;;:22;;;;:::i;:::-;26921:9;:34;;;;26978:10;26970:28;;;26990:7;26970:28;;;;;;;;;;;;;;;;;;27029:6;27006:8;:20;27015:10;27006:20;;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;;24298:1;23484::::0;24446:7;:22;;;;26560:483;:::o;25402:28::-;;;;:::o;26215:337::-;26291:10;;;;;;;;;;;26277:24;;:10;:24;;;26269:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26358:8;;26342:12;:24;;26334:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26460:6;26444:12;:22;;26436:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26538:6;26527:8;:17;;;;26215:337;:::o;25075:24::-;;;;:::o;24889:74::-;24921:42;24889:74;:::o;27647:983::-;27701:7;27718;:5;:7::i;:::-;27735:26;;:::i;:::-;27764:8;:15;27773:5;27764:15;;;;;;;;;;;;;;;27735:44;;;;;;;;;;;;;;;;;;;;;;;;;;;27815:13;;27791:6;:20;;;:37;27787:836;;;27885:1;27878:8;;;;;27787:836;27916:26;27945:39;27963:6;:20;;;27945:13;;:17;;:39;;;;:::i;:::-;27916:68;;27993:19;28015:48;28058:4;28015:38;28038:6;:14;;;28015:18;:22;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;27993:70;;28097:13;;28074:6;:20;;:36;;;;;28137:6;28119:8;:15;28128:5;28119:15;;;;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;;28407:11;24921:42;28365:23;;;28397:4;28365:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:53;28361:139;;28438:46;28465:5;28472:11;24921:42;28438:26;;;;:46;;;;;:::i;:::-;28361:139;28560:5;28547:32;;;28567:11;28547:32;;;;;;;;;;;;;;;;;;28603:11;28596:18;;;;;27647:983;;;;:::o;6100:158::-;6158:7;6191:1;6186;:6;;6178:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6249:1;6245;:5;6238:12;;6100:158;;;;:::o;18804:177::-;18887:86;18907:5;18937:23;;;18962:2;18966:5;18914:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18887:19;:86::i;:::-;18804:177;;;:::o;28638:1305::-;28672:23;28698:9;;28672:35;;28798:1;28779:15;:20;28775:49;;;28809:7;;;28775:49;28930:12;28917:9;;:25;:50;;;;28959:8;;28946:9;;:21;;28917:50;:79;;;;25145:8;28971:12;:25;28917:79;28913:108;;;29006:7;;;28913:108;29027:19;25145:8;29126:9;;:23;;:51;;;;;29169:8;;29153:12;:24;;29126:51;29122:497;;;29198:24;25145:8;29198;;:12;;:24;;;;:::i;:::-;29184:38;;29122:497;;;29303:8;;29287:12;:24;29283:336;;29332:23;29345:9;;29332:8;;:12;;:23;;;;:::i;:::-;29318:37;;29283:336;;;25145:8;29413:9;;:23;29409:210;;29457:28;25145:8;29457:12;:16;;:28;;;;:::i;:::-;29443:42;;29409:210;;;29586:27;29603:9;;29586:12;:16;;:27;;;;:::i;:::-;29572:41;;29409:210;29283:336;29122:497;29625:23;29651:29;29667:12;;29651:11;:15;;:29;;;;:::i;:::-;29625:55;;29701:65;29719:46;29749:15;29719:25;29739:4;29719:15;:19;;:25;;;;:::i;:::-;:29;;:46;;;;:::i;:::-;29701:13;;:17;;:65;;;;:::i;:::-;29685:13;:81;;;;29923:12;29911:9;:24;;;;28638:1305;;;;:::o;18989:205::-;19090:96;19110:5;19140:27;;;19169:4;19175:2;19179:5;19117:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19090:19;:96::i;:::-;18989:205;;;;:::o;5638:179::-;5696:7;5716:9;5732:1;5728;:5;5716:17;;5757:1;5752;:6;;5744:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5808:1;5801:8;;;5638:179;;;;:::o;6517:220::-;6575:7;6604:1;6599;:6;6595:20;;;6614:1;6607:8;;;;6595:20;6626:9;6642:1;6638;:5;6626:17;;6671:1;6666;6662;:5;;;;;;:10;6654:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6728:1;6721:8;;;6517:220;;;;;:::o;7215:153::-;7273:7;7305:1;7301;:5;7293:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7359:1;7355;:5;;;;;;7348:12;;7215:153;;;;:::o;21109:761::-;21533:23;21559:69;21587:4;21559:69;;;;;;;;;;;;;;;;;21567:5;21559:27;;;;:69;;;;;:::i;:::-;21533:95;;21663:1;21643:10;:17;:21;21639:224;;;21785:10;21774:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21766:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21639:224;21109:761;;;:::o;13904:195::-;14007:12;14039:52;14061:6;14069:4;14075:1;14078:12;14039:21;:52::i;:::-;14032:59;;13904:195;;;;;:::o;14956:530::-;15083:12;15141:5;15116:21;:30;;15108:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15208:18;15219:6;15208:10;:18::i;:::-;15200:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15334:12;15348:23;15375:6;:11;;15395:5;15403:4;15375:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15333:75;;;;15426:52;15444:7;15453:10;15465:12;15426:17;:52::i;:::-;15419:59;;;;14956:530;;;;;;:::o;10986:422::-;11046:4;11254:12;11365:7;11353:20;11345:28;;11399:1;11392:4;:8;11385:15;;;10986:422;;;:::o;17496:742::-;17611:12;17640:7;17636:595;;;17671:10;17664:17;;;;17636:595;17805:1;17785:10;:17;:21;17781:439;;;18048:10;18042:17;18109:15;18096:10;18092:2;18088:19;18081:44;17996:148;18191:12;18184:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17496:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://3feae65897d3556083e3b01aafebb453b542d1f6b9009000a022e639cd93e1c3

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.