ETH Price: $2,521.31 (-0.11%)

Contract

0x1846B51eA6Ca58878bB6bFd3B0911098ceE53b98
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Reward125343442021-05-30 7:25:091187 days ago1622359509IN
0x1846B51e...8ceE53b98
0 ETH0.0013609418
Withdraw125343302021-05-30 7:22:461187 days ago1622359366IN
0x1846B51e...8ceE53b98
0 ETH0.0016969820
Withdraw125158522021-05-27 10:22:101190 days ago1622110930IN
0x1846B51e...8ceE53b98
0 ETH0.0023448223
Get Reward125158412021-05-27 10:20:321190 days ago1622110832IN
0x1846B51e...8ceE53b98
0 ETH0.0024690724
Withdraw124922592021-05-23 18:43:151194 days ago1621795395IN
0x1846B51e...8ceE53b98
0 ETH0.01635732140
Withdraw124673582021-05-19 21:58:011198 days ago1621461481IN
0x1846B51e...8ceE53b98
0 ETH0.01698917200.2
Withdraw124581452021-05-18 11:34:331199 days ago1621337673IN
0x1846B51e...8ceE53b98
0 ETH0.0049343348.4
Get Reward124581452021-05-18 11:34:331199 days ago1621337673IN
0x1846B51e...8ceE53b98
0 ETH0.0049381448
Withdraw123854272021-05-07 5:50:491210 days ago1620366649IN
0x1846B51e...8ceE53b98
0 ETH0.0028545728
Withdraw123820732021-05-06 17:27:531211 days ago1620322073IN
0x1846B51e...8ceE53b98
0 ETH0.0065429256
Get Reward123449722021-05-01 0:06:511217 days ago1619827611IN
0x1846B51e...8ceE53b98
0 ETH0.0027974937
Withdraw123449192021-04-30 23:53:471217 days ago1619826827IN
0x1846B51e...8ceE53b98
0 ETH0.00432337
Get Reward123252782021-04-27 22:57:321220 days ago1619564252IN
0x1846B51e...8ceE53b98
0 ETH0.0049381448
Get Reward122454832021-04-15 15:32:111232 days ago1618500731IN
0x1846B51e...8ceE53b98
0 ETH0.0064317471
Get Reward121977062021-04-08 7:04:371239 days ago1617865477IN
0x1846B51e...8ceE53b98
0 ETH0.007982997
Withdraw121844472021-04-06 6:16:541241 days ago1617689814IN
0x1846B51e...8ceE53b98
0 ETH0.0103768997.85
Withdraw121841992021-04-06 5:18:581241 days ago1617686338IN
0x1846B51e...8ceE53b98
0 ETH0.0089239798
Withdraw121788972021-04-05 9:33:451242 days ago1617615225IN
0x1846B51e...8ceE53b98
0 ETH0.0090141685
Get Reward121788962021-04-05 9:33:361242 days ago1617615216IN
0x1846B51e...8ceE53b98
0 ETH0.0096201385
Withdraw121556982021-04-01 20:15:511246 days ago1617308151IN
0x1846B51e...8ceE53b98
0 ETH0.01760413166
Withdraw121430342021-03-30 21:14:011248 days ago1617138841IN
0x1846B51e...8ceE53b98
0 ETH0.01410451133
Get Reward121430202021-03-30 21:09:571248 days ago1617138597IN
0x1846B51e...8ceE53b98
0 ETH0.01561856138
Withdraw121040112021-03-24 21:28:591254 days ago1616621339IN
0x1846B51e...8ceE53b98
0 ETH0.01781623168
Get Reward121021952021-03-24 14:47:211254 days ago1616597241IN
0x1846B51e...8ceE53b98
0 ETH0.01713003184
Get Reward120931142021-03-23 5:04:171255 days ago1616475857IN
0x1846B51e...8ceE53b98
0 ETH0.00945392115
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xB8754acc...cbf56bbe4
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BasixPool

Compiler Version
v0.6.5+commit.f956cc89

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

/*
     ___    _____  ___    _  _    _ 
    (  _`\ (  _  )(  _`\ (_)( )  ( )
    | (_) )| (_) || (_(_)| |`\`\/'/'
    |  _ <'|  _  |`\__ \ | |  >  <  
    | (_) )| | | |( )_) || | /'/\`\ 
    (____/'(_) (_)`\____)(_)(_)  (_)

* Synthetix: YFIRewards.sol
*
* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

// solhint-disable max-line-length

// File: @openzeppelin/contracts/math/Math.sol

pragma solidity 0.6.5;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }
    
    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol

pragma solidity 0.6.5;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity 0.6.5;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

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

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

// File: @openzeppelin/contracts/ownership/Ownable.sol

pragma solidity 0.6.5;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

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

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

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

pragma solidity 0.6.5;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {

    function decimals() external view returns(uint8);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

pragma solidity 0.6.5;

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

pragma solidity 0.6.5;




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

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

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

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/IRewardDistributionRecipient.sol

pragma solidity 0.6.5;



abstract contract IRewardDistributionRecipient is Ownable {
    address rewardDistribution;

    function notifyRewardAmount(uint256 reward) internal virtual;

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

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

pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}


// File: contracts/CurveRewards.sol

// solhint-enable max-line-length
pragma solidity 0.6.5;

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

    IERC20 public y;

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

    function setStakeToken(address _y) internal {
        y = IERC20(_y);
    }

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

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

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

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

contract BasixPool is LPTokenWrapper, IRewardDistributionRecipient {
    IERC20 public basix;
    uint256 public duration;

    uint256 public initreward;
    uint256 public starttime;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    uint256 public totalRewards = 0;
    bool public fairDistribution;
    address public deployer;

    address constant uniFactory = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f;

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

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

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

    modifier onlyDeployer() {
        require(msg.sender == deployer);
        _;
    }

    constructor () public {
        deployer = msg.sender;
    }

    // https://uniswap.org/docs/v2/smart-contract-integration/getting-pair-addresses/
    function genUniAddr(address left, address right) internal pure returns (address) {
        address first = left < right ? left : right;
        address second = left < right ? right : left;
        address pair = address(uint(keccak256(abi.encodePacked(
          hex'ff',
          uniFactory,
          keccak256(abi.encodePacked(first, second)),
          hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f'
        ))));
        return pair;
    }

    // changing function signature to break deployer code intentionally.
    // ensures we can't accidentally use previous deployer
    function initialize(
        uint256 _duration,
        uint256 _initreward,
        uint256 _starttime,
        address _susd,
        address _basix,
        bool _fairDistribution
    ) public onlyDeployer initializer {
        setStakeToken(
            genUniAddr(_basix, _susd)
        );
        basix = IERC20(_basix);

        duration = _duration;
        starttime = _starttime;
        fairDistribution = _fairDistribution;
        notifyRewardAmount(_initreward.mul(50).div(100));
    }

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

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

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

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

        if (fairDistribution) {
            // require amount below 12k for first 24 hours
            require(
                balanceOf(msg.sender) <= 12000 * uint(10) ** y.decimals()
                || block.timestamp >= starttime.add(24*60*60),
                "fair distribution error"
            );
        }
    }

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

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

    function getReward() public updateReward(msg.sender) checkhalve checkStart{
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            basix.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
            totalRewards = totalRewards.add(reward);
        }
    }

    modifier checkhalve(){
        if (block.timestamp >= periodFinish) {
            initreward = initreward.mul(50).div(100);

            rewardRate = initreward.div(duration);
            periodFinish = block.timestamp.add(duration);
            emit RewardAdded(initreward);
        }
        _;
    }

    modifier checkStart(){
        require(block.timestamp > starttime,"not start");
        _;
    }

    function notifyRewardAmount(uint256 reward)
        override
        internal
        updateReward(address(0))
    {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(duration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(duration);
        }
        initreward = reward;
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(duration);
        emit RewardAdded(reward);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basix","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fairDistribution","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_initreward","type":"uint256"},{"internalType":"uint256","name":"_starttime","type":"uint256"},{"internalType":"address","name":"_susd","type":"address"},{"internalType":"address","name":"_basix","type":"address"},{"internalType":"bool","name":"_fairDistribution","type":"bool"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initreward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewards","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":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"y","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c8063885d99cf11610104578063a694fc3a116100a2578063df136d6511610071578063df136d65146103e1578063e9fad8ee146103e9578063ebe2b12b146103f1578063f2fde38b146103f9576101ce565b8063a694fc3a146103ac578063c8f33c91146103c9578063cd3daf9d146103d1578063d5f39488146103d9576101ce565b80638da5cb5b116100de5780638da5cb5b1461038c5780638f32d59b146103945780639c907b581461039c578063a56dfe4a146103a4576101ce565b8063885d99cf146103425780638b8763471461035e5780638da5889714610384576101ce565b80632e1a7d4d1161017157806370a082311161014b57806370a0823114610304578063715018a61461032a5780637b0a47ee1461033257806380faa57d1461033a576101ce565b80632e1a7d4d146102bb5780633d18b912146102d85780633f463b44146102e0576101ce565b80630d68b761116101ad5780630d68b7611461027d5780630e15561a146102a35780630fb5a6b4146102ab57806318160ddd146102b3576101ce565b80628cc262146101d357806303dcfe6a1461020b5780630700037d14610257575b600080fd5b6101f9600480360360208110156101e957600080fd5b50356001600160a01b031661041f565b60408051918252519081900360200190f35b610255600480360360c081101561022157600080fd5b508035906020810135906040810135906001600160a01b03606082013581169160808101359091169060a0013515156104a5565b005b6101f96004803603602081101561026d57600080fd5b50356001600160a01b03166105c6565b6102556004803603602081101561029357600080fd5b50356001600160a01b03166105d8565b6101f9610653565b6101f9610659565b6101f961065f565b610255600480360360208110156102d157600080fd5b5035610666565b610255610809565b6102e86109ad565b604080516001600160a01b039092168252519081900360200190f35b6101f96004803603602081101561031a57600080fd5b50356001600160a01b03166109bc565b6102556109d7565b6101f9610a7a565b6101f9610a80565b61034a610a93565b604080519115158252519081900360200190f35b6101f96004803603602081101561037457600080fd5b50356001600160a01b0316610a9c565b6101f9610aae565b6102e8610ab4565b61034a610ac3565b6101f9610ae9565b6102e8610aef565b610255600480360360208110156103c257600080fd5b5035610afe565b6101f9610da5565b6101f9610dab565b6102e8610dff565b6101f9610e13565b610255610e19565b6101f9610e34565b6102556004803603602081101561040f57600080fd5b50356001600160a01b0316610e3a565b6001600160a01b038116600090815260436020908152604080832054604290925282205461049f919061049390670de0b6b3a7640000906104879061047290610466610dab565b9063ffffffff610e9f16565b61047b886109bc565b9063ffffffff610ee816565b9063ffffffff610f4116565b9063ffffffff610f8316565b92915050565b60415461010090046001600160a01b031633146104c157600080fd5b600054610100900460ff16806104da57506104da610fdd565b806104e8575060005460ff16155b6105235760405162461bcd60e51b815260040180806020018281038252602e8152602001806117af602e913960400191505060405180910390fd5b600054610100900460ff1615801561054e576000805460ff1961ff0019909116610100171660011790555b61056061055b8486610fe3565b6110ec565b603880546001600160a01b0319166001600160a01b0385161790556039879055603b8590556041805460ff19168315151790556105ab6105a66064610487896032610ee8565b61110e565b80156105bd576000805461ff00191690555b50505050505050565b60436020526000908152604090205481565b6105e0610ac3565b610631576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b603780546001600160a01b0319166001600160a01b0392909216919091179055565b60405481565b60395481565b6034545b90565b3361066f610dab565b603f5561067a610a80565b603e556001600160a01b038116156106c1576106958161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c54421061073b576106e560646104876032603a54610ee890919063ffffffff16565b603a8190556039546106fd919063ffffffff610f4116565b603d5560395461071490429063ffffffff610f8316565b603c55603a54604080519182525160008051602061176e8339815191529181900360200190a15b603b54421161077d576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600082116107c6576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6107cf82611224565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b33610812610dab565b603f5561081d610a80565b603e556001600160a01b03811615610864576108388161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c5442106108de5761088860646104876032603a54610ee890919063ffffffff16565b603a8190556039546108a0919063ffffffff610f4116565b603d556039546108b790429063ffffffff610f8316565b603c55603a54604080519182525160008051602061176e8339815191529181900360200190a15b603b544211610920576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600061092b3361041f565b905080156109a9573360008181526043602052604081205560385461095c916001600160a01b039091169083611282565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a26040546109a5908263ffffffff610f8316565b6040555b5050565b6038546001600160a01b031681565b6001600160a01b031660009081526035602052604090205490565b6109df610ac3565b610a30576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6036546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603680546001600160a01b0319169055565b603d5481565b6000610a8e42603c546112d9565b905090565b60415460ff1681565b60426020526000908152604090205481565b603b5481565b6036546001600160a01b031690565b6036546000906001600160a01b0316610ada6112ef565b6001600160a01b031614905090565b603a5481565b6033546001600160a01b031681565b33610b07610dab565b603f55610b12610a80565b603e556001600160a01b03811615610b5957610b2d8161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c544210610bd357610b7d60646104876032603a54610ee890919063ffffffff16565b603a819055603954610b95919063ffffffff610f4116565b603d55603954610bac90429063ffffffff610f8316565b603c55603a54604080519182525160008051602061176e8339815191529181900360200190a15b603b544211610c15576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008211610c5b576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c64826112f3565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a260415460ff16156109a957603360009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610cf357600080fd5b505afa158015610d07573d6000803e3d6000fd5b505050506040513d6020811015610d1d57600080fd5b505160ff16600a0a612ee002610d32336109bc565b111580610d545750603b54610d50906201518063ffffffff610f8316565b4210155b6109a9576040805162461bcd60e51b815260206004820152601760248201527f6661697220646973747269627574696f6e206572726f72000000000000000000604482015290519081900360640190fd5b603e5481565b6000610db561065f565b610dc25750603f54610663565b610a8e610df0610dd061065f565b610487670de0b6b3a764000061047b603d5461047b603e54610466610a80565b603f549063ffffffff610f8316565b60415461010090046001600160a01b031681565b603f5481565b610e2a610e25336109bc565b610666565b610e32610809565b565b603c5481565b610e42610ac3565b610e93576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610e9c81611356565b50565b6000610ee183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113f7565b9392505050565b600082610ef75750600061049f565b82820282848281610f0457fe5b0414610ee15760405162461bcd60e51b815260040180806020018281038252602181526020018061178e6021913960400191505060405180910390fd5b6000610ee183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061148e565b600082820183811015610ee1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b303b1590565b600080826001600160a01b0316846001600160a01b0316106110055782611007565b835b90506000836001600160a01b0316856001600160a01b03161061102a578461102c565b835b604080516bffffffffffffffffffffffff19606095861b81166020808401919091529390951b9094166034850152805160288186030181526048850182528051908301206001600160f81b03196068860152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f60601b6069860152607d8501527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808601919091528151808603909101815260bd9094019052825192019190912091505092915050565b603380546001600160a01b0319166001600160a01b0392909216919091179055565b6000611118610dab565b603f55611123610a80565b603e556001600160a01b0381161561116a5761113e8161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c54421061118f5760395461118790839063ffffffff610f4116565b603d556111de565b603c546000906111a5904263ffffffff610e9f16565b905060006111be603d5483610ee890919063ffffffff16565b6039549091506111d890610487868463ffffffff610f8316565b603d5550505b603a82905542603e8190556039546111fc919063ffffffff610f8316565b603c5560408051838152905160008051602061176e8339815191529181900360200190a15050565b603454611237908263ffffffff610e9f16565b6034553360009081526035602052604090205461125a908263ffffffff610e9f16565b33600081815260356020526040902091909155603354610e9c916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112d49084906114f3565b505050565b60008183106112e85781610ee1565b5090919050565b3390565b603454611306908263ffffffff610f8316565b60345533600090815260356020526040902054611329908263ffffffff610f8316565b33600081815260356020526040902091909155603354610e9c916001600160a01b039091169030846116b1565b6001600160a01b03811661139b5760405162461bcd60e51b81526004018080602001828103825260268152602001806117486026913960400191505060405180910390fd5b6036546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603680546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114865760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561144b578181015183820152602001611433565b50505050905090810190601f1680156114785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836114dd5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561144b578181015183820152602001611433565b5060008385816114e957fe5b0495945050505050565b611505826001600160a01b031661170b565b611556576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115945780518252601f199092019160209182019101611575565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115f6576040519150601f19603f3d011682016040523d82523d6000602084013e6115fb565b606091505b509150915081611652576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156116ab5780806020019051602081101561166e57600080fd5b50516116ab5760405162461bcd60e51b815260040180806020018281038252602a8152602001806117dd602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526116ab9085906114f3565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061173f5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373de88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ed8f9da55e6da9140ac64d7a25e10961bc38b500af9432793c42061b14e9462064736f6c63430006050033

Deployed Bytecode Sourcemap

25126:5829:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;25126:5829:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;28295:265:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;28295:265:0;-1:-1:-1;;;;;28295:265:0;;:::i;:::-;;;;;;;;;;;;;;;;27204:516;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;27204:516:0;;;;;;;;;;;;;-1:-1:-1;;;;;27204:516:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25723:42;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25723:42:0;-1:-1:-1;;;;;25723:42:0;;:::i;21775:161::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21775:161:0;-1:-1:-1;;;;;21775:161:0;;:::i;25473:31::-;;;:::i;25226:23::-;;;:::i;24438:91::-;;;:::i;29206:233::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29206:233:0;;:::i;29552:361::-;;;:::i;25200:19::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25200:19:0;;;;;;;;;;;;;;24537:110;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;24537:110:0;-1:-1:-1;;;;;24537:110:0;;:::i;10677:140::-;;;:::i;25359:29::-;;;:::i;27728:131::-;;;:::i;25511:28::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;25659:57;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;25659:57:0;-1:-1:-1;;;;;25659:57:0;;:::i;25290:24::-;;;:::i;9866:79::-;;;:::i;10232:94::-;;;:::i;25258:25::-;;;:::i;24240:15::-;;;:::i;28651:547::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;28651:547:0;;:::i;25395:29::-;;;:::i;27867:420::-;;;:::i;25546:23::-;;;:::i;25431:35::-;;;:::i;29447:97::-;;;:::i;25321:31::-;;;:::i;10972:109::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;10972:109:0;-1:-1:-1;;;;;10972:109:0;;:::i;28295:265::-;-1:-1:-1;;;;;28535:16:0;;28349:7;28535:16;;;:7;:16;;;;;;;;;28451:22;:31;;;;;;28389:163;;28535:16;28389:123;;28507:4;;28389:95;;28430:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;28389:18;28399:7;28389:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;28369:183;28295:265;-1:-1:-1;;28295:265:0:o;27204:516::-;26389:8;;;;;-1:-1:-1;;;;;26389:8:0;26375:10;:22;26367:31;;12:1:-1;9;2:12;26367:31:0;22998:12:::1;::::0;::::1;::::0;::::1;;;::::0;:31:::1;;;23014:15;:13;:15::i;:::-;22998:47;;;-1:-1:-1::0;23034:11:0::1;::::0;::::1;;23033:12;22998:47;22990:106;;;;-1:-1:-1::0;;;22990:106:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23105:19;23128:12:::0;::::1;::::0;::::1;;;23127:13;23147:83:::0;::::1;;;23176:12;:19:::0;;-1:-1:-1;;;;23176:19:0;;::::1;;;23204:18;23191:4;23204:18;::::0;;23147:83:::1;27443:64:::2;27471:25;27482:6;27490:5;27471:10;:25::i;:::-;27443:13;:64::i;:::-;27518:5;:22:::0;;-1:-1:-1;;;;;;27518:22:0::2;-1:-1:-1::0;;;;;27518:22:0;::::2;;::::0;;27553:8:::2;:20:::0;;;27584:9:::2;:22:::0;;;27617:16:::2;:36:::0;;-1:-1:-1;;27617:36:0::2;::::0;::::2;;;::::0;;27664:48:::2;27683:28;27707:3;27683:19;:11:::0;27699:2:::2;27683:15;:19::i;:28::-;27664:18;:48::i;:::-;23252:14:::1;23248:57;;;23292:5;23277:20:::0;;-1:-1:-1;;23277:20:0::1;::::0;;23248:57:::1;26409:1;27204:516:::0;;;;;;:::o;25723:42::-;;;;;;;;;;;;;:::o;21775:161::-;10078:9;:7;:9::i;:::-;10070:54;;;;;-1:-1:-1;;;10070:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21888:18:::1;:40:::0;;-1:-1:-1;;;;;;21888:40:0::1;-1:-1:-1::0;;;;;21888:40:0;;;::::1;::::0;;;::::1;::::0;;21775:161::o;25473:31::-;;;;:::o;25226:23::-;;;;:::o;24438:91::-;24509:12;;24438:91;;:::o;29206:233::-;29269:10;26067:16;:14;:16::i;:::-;26044:20;:39;26111:26;:24;:26::i;:::-;26094:14;:43;-1:-1:-1;;;;;26152:21:0;;;26148:157;;26209:15;26216:7;26209:6;:15::i;:::-;-1:-1:-1;;;;;26190:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26273:20;;26239:22;:31;;;;;;:54;26148:157;29976:12:::1;;29957:15;:31;29953:260;;30018:27;30041:3;30018:18;30033:2;30018:10;;:14;;:18;;;;:::i;:27::-;30005:10;:40:::0;;;30090:8:::1;::::0;30075:24:::1;::::0;30005:40;30075:24:::1;:14;:24;:::i;:::-;30062:10;:37:::0;30149:8:::1;::::0;30129:29:::1;::::0;:15:::1;::::0;:29:::1;:19;:29;:::i;:::-;30114:12;:44:::0;30190:10:::1;::::0;30178:23:::1;::::0;;;;;;-1:-1:-1;;;;;;;;;;;30178:23:0;;;;::::1;::::0;;::::1;29953:260;30298:9:::2;;30280:15;:27;30272:48;;;::::0;;-1:-1:-1;;;30272:48:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;30272:48:0;;;;;;;;;;;;;::::2;;29330:1:::3;29321:6;:10;29313:40;;;::::0;;-1:-1:-1;;;29313:40:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;29313:40:0;;;;;;;;;;;;;::::3;;29364:22;29379:6;29364:14;:22::i;:::-;29402:29;::::0;;;;;;;29412:10:::3;::::0;29402:29:::3;::::0;;;;;::::3;::::0;;::::3;29206:233:::0;;:::o;29552:361::-;29593:10;26067:16;:14;:16::i;:::-;26044:20;:39;26111:26;:24;:26::i;:::-;26094:14;:43;-1:-1:-1;;;;;26152:21:0;;;26148:157;;26209:15;26216:7;26209:6;:15::i;:::-;-1:-1:-1;;;;;26190:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26273:20;;26239:22;:31;;;;;;:54;26148:157;29976:12:::1;;29957:15;:31;29953:260;;30018:27;30041:3;30018:18;30033:2;30018:10;;:14;;:18;;;;:::i;:27::-;30005:10;:40:::0;;;30090:8:::1;::::0;30075:24:::1;::::0;30005:40;30075:24:::1;:14;:24;:::i;:::-;30062:10;:37:::0;30149:8:::1;::::0;30129:29:::1;::::0;:15:::1;::::0;:29:::1;:19;:29;:::i;:::-;30114:12;:44:::0;30190:10:::1;::::0;30178:23:::1;::::0;;;;;;-1:-1:-1;;;;;;;;;;;30178:23:0;;;;::::1;::::0;;::::1;29953:260;30298:9:::2;;30280:15;:27;30272:48;;;::::0;;-1:-1:-1;;;30272:48:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;30272:48:0;;;;;;;;;;;;;::::2;;29637:14:::3;29654:18;29661:10;29654:6;:18::i;:::-;29637:35:::0;-1:-1:-1;29687:10:0;;29683:223:::3;;29722:10;29736:1;29714:19:::0;;;:7:::3;:19;::::0;;;;:23;29752:5:::3;::::0;:38:::3;::::0;-1:-1:-1;;;;;29752:5:0;;::::3;::::0;29783:6;29752:18:::3;:38::i;:::-;29810:30;::::0;;;;;;;29821:10:::3;::::0;29810:30:::3;::::0;;;;;::::3;::::0;;::::3;29870:12;::::0;:24:::3;::::0;29887:6;29870:24:::3;:16;:24;:::i;:::-;29855:12;:39:::0;29683:223:::3;30331:1;29552:361:::0;:::o;25200:19::-;;;-1:-1:-1;;;;;25200:19:0;;:::o;24537:110::-;-1:-1:-1;;;;;24621:18:0;24594:7;24621:18;;;:9;:18;;;;;;;24537:110::o;10677:140::-;10078:9;:7;:9::i;:::-;10070:54;;;;;-1:-1:-1;;;10070:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10760:6:::1;::::0;10739:40:::1;::::0;10776:1:::1;::::0;-1:-1:-1;;;;;10760:6:0::1;::::0;10739:40:::1;::::0;10776:1;;10739:40:::1;10790:6;:19:::0;;-1:-1:-1;;;;;;10790:19:0::1;::::0;;10677:140::o;25359:29::-;;;;:::o;27728:131::-;27785:7;27812:39;27821:15;27838:12;;27812:8;:39::i;:::-;27805:46;;27728:131;:::o;25511:28::-;;;;;;:::o;25659:57::-;;;;;;;;;;;;;:::o;25290:24::-;;;;:::o;9866:79::-;9931:6;;-1:-1:-1;;;;;9931:6:0;9866:79;:::o;10232:94::-;10312:6;;10272:4;;-1:-1:-1;;;;;10312:6:0;10296:12;:10;:12::i;:::-;-1:-1:-1;;;;;10296:22:0;;10289:29;;10232:94;:::o;25258:25::-;;;;:::o;24240:15::-;;;-1:-1:-1;;;;;24240:15:0;;:::o;28651:547::-;28711:10;26067:16;:14;:16::i;:::-;26044:20;:39;26111:26;:24;:26::i;:::-;26094:14;:43;-1:-1:-1;;;;;26152:21:0;;;26148:157;;26209:15;26216:7;26209:6;:15::i;:::-;-1:-1:-1;;;;;26190:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26273:20;;26239:22;:31;;;;;;:54;26148:157;29976:12:::1;;29957:15;:31;29953:260;;30018:27;30041:3;30018:18;30033:2;30018:10;;:14;;:18;;;;:::i;:27::-;30005:10;:40:::0;;;30090:8:::1;::::0;30075:24:::1;::::0;30005:40;30075:24:::1;:14;:24;:::i;:::-;30062:10;:37:::0;30149:8:::1;::::0;30129:29:::1;::::0;:15:::1;::::0;:29:::1;:19;:29;:::i;:::-;30114:12;:44:::0;30190:10:::1;::::0;30178:23:::1;::::0;;;;;;-1:-1:-1;;;;;;;;;;;30178:23:0;;;;::::1;::::0;;::::1;29953:260;30298:9:::2;;30280:15;:27;30272:48;;;::::0;;-1:-1:-1;;;30272:48:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;30272:48:0;;;;;;;;;;;;;::::2;;28772:1:::3;28763:6;:10;28755:37;;;::::0;;-1:-1:-1;;;28755:37:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;28755:37:0;;;;;;;;;;;;;::::3;;28803:19;28815:6;28803:11;:19::i;:::-;28838:26;::::0;;;;;;;28845:10:::3;::::0;28838:26:::3;::::0;;;;;::::3;::::0;;::::3;28881:16;::::0;::::3;;28877:314;;;29045:1;;;;;;;;;-1:-1:-1::0;;;;;29045:1:0::3;-1:-1:-1::0;;;;;29045:10:0::3;;:12;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::3;2:2;29045:12:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::3;77:16;74:1;67:27;5:2;29045:12:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::3;4:2;-1:-1:::0;29045:12:0;29033:24:::3;;29038:2;29033:24;29025:5;:32;29000:21;29010:10;29000:9;:21::i;:::-;:57;;:120;;;-1:-1:-1::0;29097:9:0::3;::::0;:23:::3;::::0;29111:8:::3;29097:23;:13;:23;:::i;:::-;29078:15;:42;;29000:120;28974:205;;;::::0;;-1:-1:-1;;;28974:205:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;::::3;::::0;;;;;;;;;;;;;::::3;25395:29:::0;;;;:::o;27867:420::-;27914:7;27938:13;:11;:13::i;:::-;27934:78;;-1:-1:-1;27980:20:0;;27973:27;;27934:78;28042:237;28085:179;28250:13;:11;:13::i;:::-;28085:138;28218:4;28085:106;28180:10;;28085:68;28138:14;;28085:26;:24;:26::i;:179::-;28042:20;;;:237;:24;:237;:::i;25546:23::-;;;;;;-1:-1:-1;;;;;25546:23:0;;:::o;25431:35::-;;;;:::o;29447:97::-;29483:31;29492:21;29502:10;29492:9;:21::i;:::-;29483:8;:31::i;:::-;29525:11;:9;:11::i;:::-;29447:97::o;25321:31::-;;;;:::o;10972:109::-;10078:9;:7;:9::i;:::-;10070:54;;;;;-1:-1:-1;;;10070:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11045:28:::1;11064:8;11045:18;:28::i;:::-;10972:109:::0;:::o;3699:136::-;3757:7;3784:43;3788:1;3791;3784:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3777:50;3699:136;-1:-1:-1;;;3699:136:0:o;4615:471::-;4673:7;4918:6;4914:47;;-1:-1:-1;4948:1:0;4941:8;;4914:47;4985:5;;;4989:1;4985;:5;:1;5009:5;;;;;:10;5001:56;;;;-1:-1:-1;;;5001:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5554:132;5612:7;5639:39;5643:1;5646;5639:39;;;;;;;;;;;;;;;;;:3;:39::i;3243:181::-;3301:7;3333:5;;;3357:6;;;;3349:46;;;;;-1:-1:-1;;;3349:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23399:508;23816:4;23862:17;23894:7;23399:508;:::o;26583:479::-;26655:7;26675:13;26698:5;-1:-1:-1;;;;;26691:12:0;:4;-1:-1:-1;;;;;26691:12:0;;:27;;26713:5;26691:27;;;26706:4;26691:27;26675:43;;26729:14;26753:5;-1:-1:-1;;;;;26746:12:0;:4;-1:-1:-1;;;;;26746:12:0;;:27;;26769:4;26746:27;;;26761:5;26746:27;26904:31;;;-1:-1:-1;;26904:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;26904:31:0;;;;;26894:42;;;;;;-1:-1:-1;;;;;;26822:207:0;;;;-1:-1:-1;;;26822:207:0;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;26822:207:0;;;;;;26812:218;;;;;;;;;-1:-1:-1;;26583:479:0;;;;:::o;24353:77::-;24408:1;:14;;-1:-1:-1;;;;;;24408:14:0;-1:-1:-1;;;;;24408:14:0;;;;;;;;;;24353:77::o;30348:604::-;30458:1;26067:16;:14;:16::i;:::-;26044:20;:39;26111:26;:24;:26::i;:::-;26094:14;:43;-1:-1:-1;;;;;26152:21:0;;;26148:157;;26209:15;26216:7;26209:6;:15::i;:::-;-1:-1:-1;;;;;26190:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26273:20;;26239:22;:31;;;;;;:54;26148:157;30501:12:::1;;30482:15;:31;30478:304;;30554:8;::::0;30543:20:::1;::::0;:6;;:20:::1;:10;:20;:::i;:::-;30530:10;:33:::0;30478:304:::1;;;30616:12;::::0;30596:17:::1;::::0;30616:33:::1;::::0;30633:15:::1;30616:33;:16;:33;:::i;:::-;30596:53;;30664:16;30683:25;30697:10;;30683:9;:13;;:25;;;;:::i;:::-;30761:8;::::0;30664:44;;-1:-1:-1;30736:34:0::1;::::0;:20:::1;:6:::0;30664:44;30736:20:::1;:10;:20;:::i;:34::-;30723:10;:47:::0;-1:-1:-1;;30478:304:0::1;30792:10;:19:::0;;;30839:15:::1;30822:14;:32:::0;;;30900:8:::1;::::0;30880:29:::1;::::0;30839:15;30880:29:::1;:19;:29;:::i;:::-;30865:12;:44:::0;30925:19:::1;::::0;;;;;;;-1:-1:-1;;;;;;;;;;;30925:19:0;;;;::::1;::::0;;::::1;30348:604:::0;;:::o;24899:220::-;24974:12;;:24;;24991:6;24974:24;:16;:24;:::i;:::-;24959:12;:39;25043:10;25033:21;;;;:9;:21;;;;;;:33;;25059:6;25033:33;:25;:33;:::i;:::-;25019:10;25009:21;;;;:9;:21;;;;;:57;;;;25077:1;;:34;;-1:-1:-1;;;;;25077:1:0;;;;25104:6;18208:176;18317:58;;;-1:-1:-1;;;;;18317:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18317:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18291:85:0;;18310:5;;18291:18;:85::i;:::-;18208:176;;;:::o;1906:106::-;1964:7;1995:1;1991;:5;:13;;2003:1;1991:13;;;-1:-1:-1;1999:1:0;;1906:106;-1:-1:-1;1906:106:0:o;8697:98::-;8777:10;8697:98;:::o;24655:236::-;24727:12;;:24;;24744:6;24727:24;:16;:24;:::i;:::-;24712:12;:39;24796:10;24786:21;;;;:9;:21;;;;;;:33;;24812:6;24786:33;:25;:33;:::i;:::-;24772:10;24762:21;;;;:9;:21;;;;;:57;;;;24830:1;;:53;;-1:-1:-1;;;;;24830:1:0;;;;24869:4;24876:6;24830:18;:53::i;11187:229::-;-1:-1:-1;;;;;11261:22:0;;11253:73;;;;-1:-1:-1;;;11253:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11363:6;;11342:38;;-1:-1:-1;;;;;11342:38:0;;;;11363:6;;11342:38;;11363:6;;11342:38;11391:6;:17;;-1:-1:-1;;;;;;11391:17:0;-1:-1:-1;;;;;11391:17:0;;;;;;;;;;11187:229::o;4172:192::-;4258:7;4294:12;4286:6;;;;4278:29;;;;-1:-1:-1;;;4278:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4278:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4330:5:0;;;4172:192::o;6216:345::-;6302:7;6404:12;6397:5;6389:28;;;;-1:-1:-1;;;6389:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6389:28:0;;6428:9;6444:1;6440;:5;;;;;;;6216:345;-1:-1:-1;;;;;6216:345:0:o;20247:1114::-;20851:27;20859:5;-1:-1:-1;;;;;20851:25:0;;:27::i;:::-;20843:71;;;;;-1:-1:-1;;;20843:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20988:12;21002:23;21037:5;-1:-1:-1;;;;;21029:19:0;21049:4;21029:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;21029:25:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;20987:67:0;;;;21073:7;21065:52;;;;;-1:-1:-1;;;21065:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21134:17;;:21;21130:224;;21276:10;21265:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21265:30:0;21257:85;;;;-1:-1:-1;;;21257:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20247:1114;;;;:::o;18392:204::-;18519:68;;;-1:-1:-1;;;;;18519:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18519:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18493:95:0;;18512:5;;18493:18;:95::i;15047:810::-;15107:4;15766:20;;15609:66;15806:15;;;;;:42;;;15837:11;15825:8;:23;;15806:42;15798:51;15047:810;-1:-1:-1;;;;15047:810:0:o

Swarm Source

ipfs://ed8f9da55e6da9140ac64d7a25e10961bc38b500af9432793c42061b14e94620

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.