FTM Price: $0.74 (-3.19%)
Gas: 12 GWei

Contract

0x49c93a95dbcc9A6A4D8f77E59c038ce5020e82f8
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw797809132024-04-22 9:11:2833 hrs ago1713777088IN
Geist Finance: Staking Contract
0 FTM0.004087058.85481144
Exit797807312024-04-22 9:03:3033 hrs ago1713776610IN
Geist Finance: Staking Contract
0 FTM0.017786218.61547082
Get Reward795011142024-04-17 2:12:106 days ago1713319930IN
Geist Finance: Staking Contract
0 FTM0.0337848217.10531366
Get Reward794486502024-04-16 3:05:447 days ago1713236744IN
Geist Finance: Staking Contract
0 FTM0.044702121.9008052
Withdraw Expired...789489052024-04-08 12:15:0015 days ago1712578500IN
Geist Finance: Staking Contract
0 FTM0.019989542.27389733
Withdraw Expired...789489002024-04-08 12:14:5615 days ago1712578496IN
Geist Finance: Staking Contract
0 FTM0.019989542.27389733
Withdraw Expired...789488982024-04-08 12:14:5315 days ago1712578493IN
Geist Finance: Staking Contract
0 FTM0.0191778442.27389733
Get Reward789165342024-04-07 20:39:4715 days ago1712522387IN
Geist Finance: Staking Contract
0 FTM0.0425767921.55670402
Get Reward788799822024-04-07 6:37:3516 days ago1712471855IN
Geist Finance: Staking Contract
0 FTM0.066045931
Get Reward788797582024-04-07 6:30:2316 days ago1712471423IN
Geist Finance: Staking Contract
0 FTM0.106839150
Withdraw Expired...786550842024-04-02 22:46:2020 days ago1712097980IN
Geist Finance: Staking Contract
0 FTM0.0150774625.12911277
Withdraw786550612024-04-02 22:45:2920 days ago1712097929IN
Geist Finance: Staking Contract
0 FTM0.0109741227.24467001
Add Reward786550162024-04-02 22:42:5020 days ago1712097770IN
Geist Finance: Staking Contract
0 FTM0.005395624.33357962
Add Reward786549862024-04-02 22:41:1020 days ago1712097670IN
Geist Finance: Staking Contract
0 FTM0.0020263224.79142922
Stake786546502024-04-02 22:24:0920 days ago1712096649IN
Geist Finance: Staking Contract
0 FTM0.0213654126.34654074
Stake786545992024-04-02 22:21:4220 days ago1712096502IN
Geist Finance: Staking Contract
0 FTM0.0134094731.01081594
Stake786545752024-04-02 22:20:2020 days ago1712096420IN
Geist Finance: Staking Contract
0 FTM0.0091296724.61241406
Exit785882412024-04-01 7:21:0722 days ago1711956067IN
Geist Finance: Staking Contract
0 FTM0.0708796634.88352847
Withdraw Expired...785822262024-04-01 4:52:0822 days ago1711947128IN
Geist Finance: Staking Contract
0 FTM0.0149151630.42252567
Exit785821962024-04-01 4:50:4022 days ago1711947040IN
Geist Finance: Staking Contract
0 FTM0.0614351530.42252567
Exit784837792024-03-30 13:40:1324 days ago1711806013IN
Geist Finance: Staking Contract
0 FTM0.21324567103.82723503
Withdraw Expired...784805492024-03-30 12:31:2824 days ago1711801888IN
Geist Finance: Staking Contract
0 FTM0.05304174116.92038163
Exit784805142024-03-30 12:30:3924 days ago1711801839IN
Geist Finance: Staking Contract
0 FTM0.2426949116.92038163
Withdraw784187912024-03-29 7:49:3125 days ago1711698571IN
Geist Finance: Staking Contract
0 FTM0.0212133859.09826883
Withdraw784182632024-03-29 7:36:5725 days ago1711697817IN
Geist Finance: Staking Contract
0 FTM0.0223030262.12975666
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To Value
184005772021-10-06 1:31:48930 days ago1633483908  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiFeeDistribution

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2021-10-06
*/

// SPDX-License-Identifier: NONE

pragma solidity 0.7.6;
pragma abicoder v2;



// Part: Address

// Part: Address

/**
 * @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) {
    // 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 != accountHash && codehash != 0x0);
  }

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

// Part: Context

// Part: Context

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

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

// Part: IERC20

// Part: IERC20

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

// Part: IMultiFeeDistribution

// Part: IMultiFeeDistribution

interface IMultiFeeDistribution {

    function addReward(address rewardsToken) external;
    function mint(address user, uint256 amount, bool withPenalty) external;

}

// Part: ReentrancyGuard

// Part: ReentrancyGuard

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

// Part: SafeMath

// Part: SafeMath

/**
 * @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.
   */
  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.
   */
  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.
   */
  function mod(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    require(b != 0, errorMessage);
    return a % b;
  }
}

// Part: IMintableToken

// Part: IMintableToken

interface IMintableToken is IERC20 {
    function mint(address _receiver, uint256 _amount) external returns (bool);
    function setMinter(address _minter) external returns (bool);
}

// Part: Ownable

// Part: Ownable

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
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() {
    address msgSender = _msgSender();
    _owner = msgSender;
    emit OwnershipTransferred(address(0), msgSender);
  }

  /**
   * @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(_owner == _msgSender(), 'Ownable: caller is not the owner');
    _;
  }

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

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

// Part: SafeERC20

// Part: SafeERC20

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

  function safeApprove(
    IERC20 token,
    address spender,
    uint256 value
  ) internal {
    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 callOptionalReturn(IERC20 token, bytes memory data) private {
    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: <stdin>.sol

// File: MultiFeeDistribution.sol

// Based on Ellipsis EPS Staker
// https://github.com/ellipsis-finance/ellipsis/blob/master/contracts/EpsStaker.sol
contract MultiFeeDistribution is IMultiFeeDistribution, ReentrancyGuard, Ownable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using SafeERC20 for IMintableToken;

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

    struct Reward {
        uint256 periodFinish;
        uint256 rewardRate;
        uint256 lastUpdateTime;
        uint256 rewardPerTokenStored;
        // tracks already-added balances to handle accrued interest in aToken rewards
        // for the stakingToken this value is unused and will always be 0
        uint256 balance;
    }
    struct Balances {
        uint256 total;
        uint256 unlocked;
        uint256 locked;
        uint256 earned;
    }
    struct LockedBalance {
        uint256 amount;
        uint256 unlockTime;
    }
    struct RewardData {
        address token;
        uint256 amount;
    }

    IMintableToken public immutable stakingToken;
    address[] public rewardTokens;
    mapping(address => Reward) public rewardData;

    // Duration that rewards are streamed over
    uint256 public constant rewardsDuration = 86400 * 7;

    // Duration of lock/earned penalty period
    uint256 public constant lockDuration = rewardsDuration * 13;

    // Addresses approved to call mint
    mapping(address => bool) public minters;
    bool public mintersAreSet;

    // user -> reward token -> amount
    mapping(address => mapping(address => uint256)) public userRewardPerTokenPaid;
    mapping(address => mapping(address => uint256)) public rewards;

    uint256 public totalSupply;
    uint256 public lockedSupply;

    // Private mappings for balance data
    mapping(address => Balances) private balances;
    mapping(address => LockedBalance[]) private userLocks;
    mapping(address => LockedBalance[]) private userEarnings;

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

    constructor(address _stakingToken) Ownable() {
        stakingToken = IMintableToken(_stakingToken);
        IMintableToken(_stakingToken).setMinter(address(this));
        // First reward MUST be the staking token or things will break
        // related to the 50% penalty and distribution to locked balances
        rewardTokens.push(_stakingToken);
        rewardData[_stakingToken].lastUpdateTime = block.timestamp;
    }

    /* ========== ADMIN CONFIGURATION ========== */

    function setMinters(address[] memory _minters) external onlyOwner {
        require(!mintersAreSet);
        for (uint i; i < _minters.length; i++) {
            minters[_minters[i]] = true;
        }
        mintersAreSet = true;
    }

    // Add a new reward token to be distributed to stakers
    function addReward(address _rewardsToken) external override onlyOwner {
        require(rewardData[_rewardsToken].lastUpdateTime == 0);
        rewardTokens.push(_rewardsToken);
        rewardData[_rewardsToken].lastUpdateTime = block.timestamp;
        rewardData[_rewardsToken].periodFinish = block.timestamp;
    }

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

    function _rewardPerToken(address _rewardsToken, uint256 _supply) internal view returns (uint256) {
        if (_supply == 0) {
            return rewardData[_rewardsToken].rewardPerTokenStored;
        }
        return
            rewardData[_rewardsToken].rewardPerTokenStored.add(
                lastTimeRewardApplicable(_rewardsToken).sub(
                    rewardData[_rewardsToken].lastUpdateTime).mul(
                        rewardData[_rewardsToken].rewardRate).mul(1e18).div(_supply)
            );
    }

    function _earned(
        address _user,
        address _rewardsToken,
        uint256 _balance,
        uint256 supply
    ) internal view returns (uint256) {
        return _balance.mul(
            _rewardPerToken(_rewardsToken, supply).sub(userRewardPerTokenPaid[_user][_rewardsToken])
        ).div(1e18).add(rewards[_user][_rewardsToken]);
    }

    function lastTimeRewardApplicable(address _rewardsToken) public view returns (uint256) {
        uint periodFinish = rewardData[_rewardsToken].periodFinish;
        return block.timestamp < periodFinish ? block.timestamp : periodFinish;
    }

    function rewardPerToken(address _rewardsToken) external view returns (uint256) {
        uint256 supply = _rewardsToken == address(stakingToken) ? lockedSupply : totalSupply;
        return _rewardPerToken(_rewardsToken, supply);

    }

    function getRewardForDuration(address _rewardsToken) external view returns (uint256) {
        return rewardData[_rewardsToken].rewardRate.mul(rewardsDuration);
    }

    // Address and claimable amount of all reward tokens for the given account
    function claimableRewards(address account) external view returns (RewardData[] memory rewards) {
        rewards = new RewardData[](rewardTokens.length);
        for (uint256 i = 0; i < rewards.length; i++) {
            // If i == 0 this is the stakingReward, distribution is based on locked balances
            uint256 balance = i == 0 ? balances[account].locked : balances[account].total;
            uint256 supply = i == 0 ? lockedSupply : totalSupply;
            rewards[i].token = rewardTokens[i];
            rewards[i].amount = _earned(account, rewards[i].token, balance, supply);
        }
        return rewards;
    }

    // Total balance of an account, including unlocked, locked and earned tokens
    function totalBalance(address user) view external returns (uint256 amount) {
        return balances[user].total;
    }

    // Total withdrawable balance for an account to which no penalty is applied
    function unlockedBalance(address user) view external returns (uint256 amount) {
        amount = balances[user].unlocked;
        LockedBalance[] storage earnings = userEarnings[msg.sender];
        for (uint i = 0; i < earnings.length; i++) {
            if (earnings[i].unlockTime > block.timestamp) {
                break;
            }
            amount = amount.add(earnings[i].amount);
        }
        return amount;
    }

    // Information on the "earned" balances of a user
    // Earned balances may be withdrawn immediately for a 50% penalty
    function earnedBalances(
        address user
    ) view external returns (
        uint256 total,
        LockedBalance[] memory earningsData
    ) {
        LockedBalance[] storage earnings = userEarnings[user];
        uint256 idx;
        for (uint i = 0; i < earnings.length; i++) {
            if (earnings[i].unlockTime > block.timestamp) {
                if (idx == 0) {
                    earningsData = new LockedBalance[](earnings.length - i);
                }
                earningsData[idx] = earnings[i];
                idx++;
                total = total.add(earnings[i].amount);
            }
        }
        return (total, earningsData);
    }

    // Information on a user's locked balances
    function lockedBalances(
        address user
    ) view external returns (
        uint256 total,
        uint256 unlockable,
        uint256 locked,
        LockedBalance[] memory lockData
    ) {
        LockedBalance[] storage locks = userLocks[user];
        uint256 idx;
        for (uint i = 0; i < locks.length; i++) {
            if (locks[i].unlockTime > block.timestamp) {
                if (idx == 0) {
                    lockData = new LockedBalance[](locks.length - i);
                }
                lockData[idx] = locks[i];
                idx++;
                locked = locked.add(locks[i].amount);
            } else {
                unlockable = unlockable.add(locks[i].amount);
            }
        }
        return (balances[user].locked, unlockable, locked, lockData);
    }

    // Final balance received and penalty balance paid by user upon calling exit
    function withdrawableBalance(
        address user
    ) view public returns (
        uint256 amount,
        uint256 penaltyAmount
    ) {
        Balances storage bal = balances[user];
        if (bal.earned > 0) {
            uint256 amountWithoutPenalty;
            uint256 length = userEarnings[user].length;
            for (uint i = 0; i < length; i++) {
                uint256 earnedAmount = userEarnings[user][i].amount;
                if (earnedAmount == 0) continue;
                if (userEarnings[user][i].unlockTime > block.timestamp) {
                    break;
                }
                amountWithoutPenalty = amountWithoutPenalty.add(earnedAmount);
            }

            penaltyAmount = bal.earned.sub(amountWithoutPenalty).div(2);
        }
        amount = bal.unlocked.add(bal.earned).sub(penaltyAmount);
        return (amount, penaltyAmount);
    }

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

    // Stake tokens to receive rewards
    // Locked tokens cannot be withdrawn for lockDuration and are eligible to receive stakingReward rewards
    function stake(uint256 amount, bool lock) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        totalSupply = totalSupply.add(amount);
        Balances storage bal = balances[msg.sender];
        bal.total = bal.total.add(amount);
        if (lock) {
            lockedSupply = lockedSupply.add(amount);
            bal.locked = bal.locked.add(amount);
            uint256 unlockTime = block.timestamp.div(rewardsDuration).mul(rewardsDuration).add(lockDuration);
            uint256 idx = userLocks[msg.sender].length;
            if (idx == 0 || userLocks[msg.sender][idx-1].unlockTime < unlockTime) {
                userLocks[msg.sender].push(LockedBalance({amount: amount, unlockTime: unlockTime}));
            } else {
                userLocks[msg.sender][idx-1].amount = userLocks[msg.sender][idx-1].amount.add(amount);
            }
        } else {
            bal.unlocked = bal.unlocked.add(amount);
        }
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    // Mint new tokens
    // Minted tokens receive rewards normally but incur a 50% penalty when
    // withdrawn before lockDuration has passed.
    function mint(address user, uint256 amount, bool withPenalty) external override updateReward(user) {
        require(minters[msg.sender]);
        if (amount == 0) return;
        totalSupply = totalSupply.add(amount);
        Balances storage bal = balances[user];
        bal.total = bal.total.add(amount);
        if (user == address(this)) {
            // minting to this contract adds the new tokens as incentives for lockers
            _notifyReward(address(stakingToken), amount);
        } else if (withPenalty) {
            bal.earned = bal.earned.add(amount);
            uint256 unlockTime = block.timestamp.div(rewardsDuration).mul(rewardsDuration).add(lockDuration);
            LockedBalance[] storage earnings = userEarnings[user];
            uint256 idx = earnings.length;

            if (idx == 0 || earnings[idx-1].unlockTime < unlockTime) {
                earnings.push(LockedBalance({amount: amount, unlockTime: unlockTime}));
            } else {
                earnings[idx-1].amount = earnings[idx-1].amount.add(amount);
            }
        } else {
            bal.unlocked = bal.unlocked.add(amount);
        }
        stakingToken.mint(address(this), amount);
        emit Staked(user, amount);
    }

    // Withdraw staked tokens
    // First withdraws unlocked tokens, then earned tokens. Withdrawing earned tokens
    // incurs a 50% penalty which is distributed based on locked balances.
    function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        Balances storage bal = balances[msg.sender];
        uint256 penaltyAmount;

        if (amount <= bal.unlocked) {
            bal.unlocked = bal.unlocked.sub(amount);
        } else {
            uint256 remaining = amount.sub(bal.unlocked);
            require(bal.earned >= remaining, "Insufficient unlocked balance");
            bal.unlocked = 0;
            bal.earned = bal.earned.sub(remaining);
            for (uint i = 0; ; i++) {
                uint256 earnedAmount = userEarnings[msg.sender][i].amount;
                if (earnedAmount == 0) continue;
                if (penaltyAmount == 0 && userEarnings[msg.sender][i].unlockTime > block.timestamp) {
                    penaltyAmount = remaining;
                    require(bal.earned >= remaining, "Insufficient balance after penalty");
                    bal.earned = bal.earned.sub(remaining);
                    if (bal.earned == 0) {
                        delete userEarnings[msg.sender];
                        break;
                    }
                    remaining = remaining.mul(2);
                }
                if (remaining <= earnedAmount) {
                    userEarnings[msg.sender][i].amount = earnedAmount.sub(remaining);
                    break;
                } else {
                    delete userEarnings[msg.sender][i];
                    remaining = remaining.sub(earnedAmount);
                }
            }
        }

        uint256 adjustedAmount = amount.add(penaltyAmount);
        bal.total = bal.total.sub(adjustedAmount);
        totalSupply = totalSupply.sub(adjustedAmount);
        stakingToken.safeTransfer(msg.sender, amount);
        if (penaltyAmount > 0) {
            _notifyReward(address(stakingToken), penaltyAmount);
        }
        emit Withdrawn(msg.sender, amount);
    }

    // Claim all pending staking rewards
    function getReward() public nonReentrant updateReward(msg.sender) {
        for (uint i; i < rewardTokens.length; i++) {
            address token = rewardTokens[i];
            uint256 reward = rewards[msg.sender][token];
            if (i > 0) {
                // for rewards other than stakingToken, every 24 hours we check if new
                // rewards were sent to the contract or accrued via aToken interest
                uint256 balance = rewardData[token].balance;
                if (rewardData[token].periodFinish < block.timestamp.add(rewardsDuration - 86400)) {
                    uint256 unseen = IERC20(token).balanceOf(address(this)).sub(balance);
                    if (unseen > 0) {
                        _notifyReward(token, unseen);
                        balance = balance.add(unseen);
                    }
                }
                rewardData[token].balance = balance.sub(reward);
            }
            if (reward == 0) continue;
            rewards[msg.sender][token] = 0;
            IERC20(token).safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, token, reward);
        }
    }

    // Withdraw full unlocked balance and claim pending rewards
    function exit() external updateReward(msg.sender) {
        (uint256 amount, uint256 penaltyAmount) = withdrawableBalance(msg.sender);
        delete userEarnings[msg.sender];
        Balances storage bal = balances[msg.sender];
        bal.total = bal.total.sub(bal.unlocked).sub(bal.earned);
        bal.unlocked = 0;
        bal.earned = 0;

        totalSupply = totalSupply.sub(amount.add(penaltyAmount));
        stakingToken.safeTransfer(msg.sender, amount);
        if (penaltyAmount > 0) {
            _notifyReward(address(stakingToken), penaltyAmount);
        }
        getReward();
    }

    // Withdraw all currently locked tokens where the unlock time has passed
    function withdrawExpiredLocks() external updateReward(msg.sender) {
        LockedBalance[] storage locks = userLocks[msg.sender];
        Balances storage bal = balances[msg.sender];
        uint256 amount;
        uint256 length = locks.length;
        if (locks[length-1].unlockTime <= block.timestamp) {
            amount = bal.locked;
            delete userLocks[msg.sender];
        } else {
            for (uint i = 0; i < length; i++) {
                if (locks[i].unlockTime > block.timestamp) break;
                amount = amount.add(locks[i].amount);
                delete locks[i];
            }
        }
        bal.locked = bal.locked.sub(amount);
        bal.total = bal.total.sub(amount);
        totalSupply = totalSupply.sub(amount);
        lockedSupply = lockedSupply.sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
    }

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

    function _notifyReward(address _rewardsToken, uint256 reward) internal {
        if (block.timestamp >= rewardData[_rewardsToken].periodFinish) {
            rewardData[_rewardsToken].rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = rewardData[_rewardsToken].periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardData[_rewardsToken].rewardRate);
            rewardData[_rewardsToken].rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        rewardData[_rewardsToken].lastUpdateTime = block.timestamp;
        rewardData[_rewardsToken].periodFinish = block.timestamp.add(rewardsDuration);

    }

    // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
    function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        require(tokenAddress != address(stakingToken), "Cannot withdraw staking token");
        require(rewardData[tokenAddress].lastUpdateTime == 0, "Cannot withdraw reward token");
        IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

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

    modifier updateReward(address account) {
        address token = address(stakingToken);
        uint256 balance;
        uint256 supply = lockedSupply;
        rewardData[token].rewardPerTokenStored = _rewardPerToken(token, supply);
        rewardData[token].lastUpdateTime = lastTimeRewardApplicable(token);
        if (account != address(0)) {
            // Special case, use the locked balances and supply for stakingReward rewards
            rewards[account][token] = _earned(account, token, balances[account].locked, supply);
            userRewardPerTokenPaid[account][token] = rewardData[token].rewardPerTokenStored;
            balance = balances[account].total;
        }

        supply = totalSupply;
        for (uint i = 1; i < rewardTokens.length; i++) {
            token = rewardTokens[i];
            rewardData[token].rewardPerTokenStored = _rewardPerToken(token, supply);
            rewardData[token].lastUpdateTime = lastTimeRewardApplicable(token);
            if (account != address(0)) {
                rewards[account][token] = _earned(account, token, balance, supply);
                userRewardPerTokenPaid[account][token] = rewardData[token].rewardPerTokenStored;
            }
        }
        _;
    }

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

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, address indexed rewardsToken, uint256 reward);
    event RewardsDurationUpdated(address token, uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"}],"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":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","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":true,"internalType":"address","name":"rewardsToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","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":"_rewardsToken","type":"address"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimableRewards","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct MultiFeeDistribution.RewardData[]","name":"rewards","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"earnedBalances","outputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"}],"internalType":"struct MultiFeeDistribution.LockedBalance[]","name":"earningsData","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"}],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"}],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"lockedBalances","outputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"unlockable","type":"uint256"},{"internalType":"uint256","name":"locked","type":"uint256"},{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"}],"internalType":"struct MultiFeeDistribution.LockedBalance[]","name":"lockData","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"withPenalty","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintersAreSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardData","outputs":[{"internalType":"uint256","name":"periodFinish","type":"uint256"},{"internalType":"uint256","name":"rewardRate","type":"uint256"},{"internalType":"uint256","name":"lastUpdateTime","type":"uint256"},{"internalType":"uint256","name":"rewardPerTokenStored","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"}],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_minters","type":"address[]"}],"name":"setMinters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"lock","type":"bool"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IMintableToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"amount","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":"user","type":"address"}],"name":"unlockedBalance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"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":"withdrawExpiredLocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"withdrawableBalance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"penaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b506040516200377138038062003771833981016040819052620000349162000190565b60016000908155620000456200018c565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606082901b16608052604051637e51dad560e11b81526001600160a01b0382169063fca3b5aa90620000d3903090600401620001e2565b602060405180830381600087803b158015620000ee57600080fd5b505af115801562000103573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001299190620001c0565b50600280546001810182557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b039093166001600160a01b03199093168317905560009182526003602052604090912042910155620001f6565b3390565b600060208284031215620001a2578081fd5b81516001600160a01b0381168114620001b9578182fd5b9392505050565b600060208284031215620001d2578081fd5b81518015158114620001b9578182fd5b6001600160a01b0391909116815260200190565b60805160601c61350d620002646000398061076c5280610bb95280610beb5280610c9852806112e452806113675280611525528061184052806118a25280611c5d5280611d105280611f6d52806120bf528061244552806126bb52806126ed528061271f525061350d6000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80638980f11f1161010f578063d1a1beb4116100a2578063e9fad8ee11610071578063e9fad8ee14610417578063f12297771461041f578063f2fde38b14610432578063f46eccc414610445576101f0565b8063d1a1beb4146103b0578063dc01f60d146103c3578063df379876146103e3578063e70b9e2714610404576101f0565b8063a01c77bc116100de578063a01c77bc1461037a578063abe50f1914610382578063bcd1101414610395578063ca5c7b91146103a8576101f0565b80638980f11f146103375780638da5cb5b1461034a5780638fd9f2ca146103525780639c9b2e2114610367576101f0565b8063547d0096116101875780637035ab98116101565780637035ab98146102f4578063715018a61461030757806372f702f31461030f5780637bb7bed114610324576101f0565b8063547d0096146102a85780635e0fac2e146102bb578063638634ee146102ce5780636eacd398146102e1576101f0565b80632e1a7d4d116101c35780632e1a7d4d1461025f578063386a9525146102745780633d18b9121461027c57806348e5d9f814610284576101f0565b806302b62938146101f5578063045544431461021f5780630483a7f61461023457806318160ddd14610257575b600080fd5b610208610203366004612dd5565b610458565b60405161021692919061343d565b60405180910390f35b610227610597565b604051610216919061341b565b610247610242366004612dd5565b61059e565b604051610216949392919061344b565b61022761072c565b61027261026d366004612f5a565b610732565b005b610227610c60565b610272610c67565b610297610292366004612dd5565b611086565b60405161021695949392919061347a565b6102726102b6366004612e89565b6110b6565b6102276102c9366004612dd5565b611164565b6102276102dc366004612dd5565b6111fc565b6102276102ef366004612dd5565b61122b565b610227610302366004612def565b611246565b610272611263565b6103176112e2565b604051610216919061301a565b610317610332366004612f5a565b611306565b610272610345366004612e21565b611330565b610317611449565b61035a611458565b60405161021691906130c3565b610272610375366004612dd5565b611461565b61027261151e565b610272610390366004612f8a565b611871565b6102276103a3366004612dd5565b611cd4565b610227611d03565b6102726103be366004612e4a565b611d09565b6103d66103d1366004612dd5565b612195565b604051610216919061306b565b6103f66103f1366004612dd5565b6122fd565b604051610216929190613424565b610227610412366004612def565b612421565b61027261243e565b61022761042d366004612dd5565b61271a565b610272610440366004612dd5565b61276e565b61035a610453366004612dd5565b612825565b6001600160a01b0381166000908152600a6020526040812060038101548291901561056a576001600160a01b0384166000908152600c6020526040812054815b81811015610542576001600160a01b0387166000908152600c602052604081208054839081106104c457fe5b906000526020600020906002020160000154905080600014156104e7575061053a565b6001600160a01b0388166000908152600c6020526040902080544291908490811061050e57fe5b906000526020600020906002020160010154111561052c5750610542565b610536848261283a565b9350505b600101610498565b50610565600261055f84866003015461285f90919063ffffffff16565b906128a1565b935050505b61058f826105898360030154846001015461283a90919063ffffffff16565b9061285f565b925050915091565b6277f88081565b6001600160a01b0381166000908152600b602052604081208190819060609082805b825481101561070457428382815481106105d657fe5b90600052602060002090600202016001015411156106d2578161064c57825481900367ffffffffffffffff8111801561060e57600080fd5b5060405190808252806020026020018201604052801561064857816020015b610635612d4a565b81526020019060019003908161062d5790505b5093505b82818154811061065857fe5b90600052602060002090600202016040518060400160405290816000820154815260200160018201548152505084838151811061069157fe5b602002602001018190525081806001019250506106cb8382815481106106b357fe5b6000918252602090912060029091020154869061283a565b94506106fc565b6106f98382815481106106e157fe5b6000918252602090912060029091020154879061283a565b95505b6001016105c0565b5050506001600160a01b0385166000908152600a602052604090206002015493509193509193565b60085481565b6002600054141561075e5760405162461bcd60e51b8152600401610755906133ad565b60405180910390fd5b6002600090815560095433917f00000000000000000000000000000000000000000000000000000000000000009161079683826128e3565b6001600160a01b038416600090815260036020819052604090912001556107bc836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615610867576001600160a01b0384166000908152600a602052604090206002015461080d90859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015610953576002818154811061088557fe5b6000918252602090912001546001600160a01b031693506108a684836128e3565b6001600160a01b038516600090815260036020819052604090912001556108cc846111fc565b6001600160a01b0380861660009081526003602052604090206002019190915585161561094b576108ff8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b60010161086e565b50600085116109745760405162461bcd60e51b81526004016107559061321d565b336000908152600a60205260408120600181015490919087116109aa5760018201546109a0908861285f565b6001830155610b7f565b60006109c383600101548961285f90919063ffffffff16565b905080836003015410156109e95760405162461bcd60e51b8152600401610755906132f5565b6000600184015560038301546109ff908261285f565b600384015560005b336000908152600c60205260408120805483908110610a2257fe5b90600052602060002090600202016000015490508060001415610a455750610b74565b83158015610a805750336000908152600c60205260409020805442919084908110610a6c57fe5b906000526020600020906002020160010154115b15610af2578293508285600301541015610aac5760405162461bcd60e51b8152600401610755906131db565b6003850154610abb908461285f565b60038601819055610ae457336000908152600c60205260408120610ade91612d64565b50610b7c565b610aef8360026129ec565b92505b808311610b3557610b03818461285f565b336000908152600c60205260409020805484908110610b1e57fe5b600091825260209091206002909102015550610b7c565b336000908152600c60205260409020805483908110610b5057fe5b60009182526020822060029091020181815560010155610b70838261285f565b9250505b600101610a07565b50505b6000610b8b888361283a565b8354909150610b9a908261285f565b8355600854610ba9908261285f565b600855610be06001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338a612a26565b8115610c1057610c107f000000000000000000000000000000000000000000000000000000000000000083612a81565b336001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d589604051610c49919061341b565b60405180910390a250506001600055505050505050565b62093a8081565b60026000541415610c8a5760405162461bcd60e51b8152600401610755906133ad565b6002600090815560095433917f000000000000000000000000000000000000000000000000000000000000000091610cc283826128e3565b6001600160a01b03841660009081526003602081905260409091200155610ce8836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615610d93576001600160a01b0384166000908152600a6020526040902060020154610d3990859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015610e7f5760028181548110610db157fe5b6000918252602090912001546001600160a01b03169350610dd284836128e3565b6001600160a01b03851660009081526003602081905260409091200155610df8846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615610e7757610e2b8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b600101610d9a565b5060005b60025481101561107a57600060028281548110610e9c57fe5b60009182526020808320909101543383526007825260408084206001600160a01b03909216808552919092529120549091508215610fe7576001600160a01b038216600090815260036020526040902060040154610efd426207e90061283a565b6001600160a01b0384166000908152600360205260409020541015610fbf576000610f9e82856001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610f4e919061301a565b60206040518083038186803b158015610f6657600080fd5b505afa158015610f7a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105899190612f72565b90508015610fbd57610fb08482612a81565b610fba828261283a565b91505b505b610fc9818361285f565b6001600160a01b038416600090815260036020526040902060040155505b80610ff3575050611072565b3360008181526007602090815260408083206001600160a01b03871680855292528220919091556110249183612a26565b816001600160a01b0316336001600160a01b03167f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e83604051611067919061341b565b60405180910390a350505b600101610e83565b50506001600055505050565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b6110be612b9c565b6001546001600160a01b039081169116146110eb5760405162461bcd60e51b815260040161075590613289565b60055460ff16156110fb57600080fd5b60005b81518110156111535760016004600084848151811061111957fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790556001016110fe565b50506005805460ff19166001179055565b6001600160a01b0381166000908152600a6020908152604080832060010154338452600c909252822090915b81548110156111f457428282815481106111a657fe5b90600052602060002090600202016001015411156111c3576111f4565b6111ea8282815481106111d257fe5b6000918252602090912060029091020154849061283a565b9250600101611190565b50505b919050565b6001600160a01b0381166000908152600360205260408120544281116112225780611224565b425b9392505050565b6001600160a01b03166000908152600a602052604090205490565b600660209081526000928352604080842090915290825290205481565b61126b612b9c565b6001546001600160a01b039081169116146112985760405162461bcd60e51b815260040161075590613289565b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6002818154811061131657600080fd5b6000918252602090912001546001600160a01b0316905081565b611338612b9c565b6001546001600160a01b039081169116146113655760405162461bcd60e51b815260040161075590613289565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156113b75760405162461bcd60e51b8152600401610755906132be565b6001600160a01b038216600090815260036020526040902060020154156113f05760405162461bcd60e51b815260040161075590613376565b61140c6113fb611449565b6001600160a01b0384169083612a26565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28828260405161143d929190613052565b60405180910390a15050565b6001546001600160a01b031690565b60055460ff1681565b611469612b9c565b6001546001600160a01b039081169116146114965760405162461bcd60e51b815260040161075590613289565b6001600160a01b038116600090815260036020526040902060020154156114bc57600080fd5b600280546001810182557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b039093166001600160a01b0319909316831790556000918252600360205260409091204291810182905555565b60095433907f00000000000000000000000000000000000000000000000000000000000000009060009061155283826128e3565b6001600160a01b03841660009081526003602081905260409091200155611578836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615611623576001600160a01b0384166000908152600a60205260409020600201546115c990859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b60025481101561170f576002818154811061164157fe5b6000918252602090912001546001600160a01b0316935061166284836128e3565b6001600160a01b03851660009081526003602081905260409091200155611688846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615611707576116bb8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b60010161162a565b50336000908152600b60209081526040808320600a90925282208154919290914284600019830183811061173f57fe5b9060005260206000209060020201600101541161177c576002830154336000908152600b602052604081209193506117779190612d64565b6117f1565b60005b818110156117ef574285828154811061179457fe5b90600052602060002090600202016001015411156117b1576117ef565b6117c08582815481106111d257fe5b92508481815481106117ce57fe5b6000918252602082206002909102018181556001908101919091550161177f565b505b6002830154611800908361285f565b60028401558254611811908361285f565b8355600854611820908361285f565b600855600954611830908361285f565b6009556118676001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163384612a26565b5050505050505050565b600260005414156118945760405162461bcd60e51b8152600401610755906133ad565b6002600090815560095433917f0000000000000000000000000000000000000000000000000000000000000000916118cc83826128e3565b6001600160a01b038416600090815260036020819052604090912001556118f2836111fc565b6001600160a01b0380851660009081526003602052604090206002019190915584161561199d576001600160a01b0384166000908152600a602052604090206002015461194390859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015611a8957600281815481106119bb57fe5b6000918252602090912001546001600160a01b031693506119dc84836128e3565b6001600160a01b03851660009081526003602081905260409091200155611a02846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615611a8157611a358585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b6001016119a4565b5060008611611aaa5760405162461bcd60e51b815260040161075590613147565b600854611ab7908761283a565b600855336000908152600a602052604090208054611ad5908861283a565b81558515611c3b57600954611aea908861283a565b6009556002810154611afc908861283a565b60028201556000611b276277f880611b2162093a80611b1b42826128a1565b906129ec565b9061283a565b336000908152600b6020526040902054909150801580611b785750336000908152600b6020526040902080548391906000198401908110611b6457fe5b906000526020600020906002020160010154105b15611bc757336000908152600b6020908152604080832081518083019092528c825281830186815281546001818101845592865293909420915160029093029091019182559151910155611c34565b336000908152600b602052604090208054611c03918b916000198501908110611bec57fe5b60009182526020909120600290910201549061283a565b336000908152600b6020526040902080546000198401908110611c2257fe5b60009182526020909120600290910201555b5050611c50565b6001810154611c4a908861283a565b60018201555b611c856001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308a612ba0565b336001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d88604051611cbe919061341b565b60405180910390a2505060016000555050505050565b6001600160a01b038116600090815260036020526040812060010154611cfd9062093a806129ec565b92915050565b60095481565b60095483907f000000000000000000000000000000000000000000000000000000000000000090600090611d3d83826128e3565b6001600160a01b03841660009081526003602081905260409091200155611d63836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615611e0e576001600160a01b0384166000908152600a6020526040902060020154611db490859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015611efa5760028181548110611e2c57fe5b6000918252602090912001546001600160a01b03169350611e4d84836128e3565b6001600160a01b03851660009081526003602081905260409091200155611e73846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615611ef257611ea68585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b600101611e15565b503360009081526004602052604090205460ff16611f1757600080fd5b85611f215761218c565b600854611f2e908761283a565b6008556001600160a01b0387166000908152600a602052604090208054611f55908861283a565b81556001600160a01b038816301415611f9757611f927f000000000000000000000000000000000000000000000000000000000000000088612a81565b6120a8565b8515612093576003810154611fac908861283a565b60038201556000611fcb6277f880611b2162093a80611b1b42826128a1565b6001600160a01b038a166000908152600c6020526040902080549192509080158061201557508282600183038154811061200157fe5b906000526020600020906002020160010154105b1561205757604080518082019091528a81526020808201858152845460018181018755600087815293909320935160029091029093019283555191015561208b565b61206a8a836001840381548110611bec57fe5b82600183038154811061207957fe5b60009182526020909120600290910201555b5050506120a8565b60018101546120a2908861283a565b60018201555b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340c10f19906120f69030908b90600401613052565b602060405180830381600087803b15801561211057600080fd5b505af1158015612124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121489190612f3e565b50876001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d88604051612182919061341b565b60405180910390a2505b50505050505050565b60025460609067ffffffffffffffff811180156121b157600080fd5b506040519080825280602002602001820160405280156121eb57816020015b6121d8612d88565b8152602001906001900390816121d05790505b50905060005b81518110156122f75760008115612220576001600160a01b0384166000908152600a602052604090205461223d565b6001600160a01b0384166000908152600a60205260409020600201545b90506000821561224f57600854612253565b6009545b90506002838154811061226257fe5b9060005260206000200160009054906101000a90046001600160a01b031684848151811061228c57fe5b6020026020010151600001906001600160a01b031690816001600160a01b0316815250506122d3858585815181106122c057fe5b602002602001015160000151848461297a565b8484815181106122df57fe5b602090810291909101810151015250506001016121f1565b50919050565b6001600160a01b0381166000908152600c6020526040812060609082805b8254811015612419574283828154811061233157fe5b906000526020600020906002020160010154111561241157816123a757825481900367ffffffffffffffff8111801561236957600080fd5b506040519080825280602002602001820160405280156123a357816020015b612390612d4a565b8152602001906001900390816123885790505b5093505b8281815481106123b357fe5b9060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508483815181106123ec57fe5b6020026020010181905250818060010192505061240e8382815481106106b357fe5b94505b60010161231b565b505050915091565b600760209081526000928352604080842090915290825290205481565b60095433907f00000000000000000000000000000000000000000000000000000000000000009060009061247283826128e3565b6001600160a01b03841660009081526003602081905260409091200155612498836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615612543576001600160a01b0384166000908152600a60205260409020600201546124e990859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b60025481101561262f576002818154811061256157fe5b6000918252602090912001546001600160a01b0316935061258284836128e3565b6001600160a01b038516600090815260036020819052604090912001556125a8846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615612627576125db8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b60010161254a565b5060008061263c33610458565b336000908152600c6020526040812092945090925061265b9190612d64565b336000908152600a602052604090206003810154600182015482546126859291610589919061285f565b815560006001820181905560038201556126ab6126a2848461283a565b6008549061285f565b6008556126e26001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163385612a26565b8115612712576127127f000000000000000000000000000000000000000000000000000000000000000083612a81565b61218c610c67565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161461275e57600854612762565b6009545b905061122483826128e3565b612776612b9c565b6001546001600160a01b039081169116146127a35760405162461bcd60e51b815260040161075590613289565b6001600160a01b0381166127c95760405162461bcd60e51b815260040161075590613101565b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b60046020526000908152604090205460ff1681565b6000828201838110156112245760405162461bcd60e51b81526004016107559061316f565b600061122483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bc7565b600061122483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612bf3565b60008161290d57506001600160a01b03821660009081526003602081905260409091200154611cfd565b6001600160a01b038316600090815260036020526040902060018101546002909101546112249161295791859161055f91670de0b6b3a764000091611b1b9182906105898c6111fc565b6001600160a01b038516600090815260036020819052604090912001549061283a565b6001600160a01b0380851660008181526007602090815260408083209488168084529482528083205493835260068252808320948352939052918220546129e39190611b2190670de0b6b3a76400009061055f906129dc906105898b8a6128e3565b88906129ec565b95945050505050565b6000826129fb57506000611cfd565b82820282848281612a0857fe5b04146112245760405162461bcd60e51b815260040161075590613248565b612a7c8363a9059cbb60e01b8484604051602401612a45929190613052565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612c2a565b505050565b6001600160a01b0382166000908152600360205260409020544210612ace57612aad8162093a806128a1565b6001600160a01b038316600090815260036020526040902060010155612b4e565b6001600160a01b038216600090815260036020526040812054612af1904261285f565b6001600160a01b03841660009081526003602052604081206001015491925090612b1c9083906129ec565b9050612b2f62093a8061055f858461283a565b6001600160a01b03851660009081526003602052604090206001015550505b6001600160a01b0382166000908152600360205260409020426002909101819055612b7c9062093a8061283a565b6001600160a01b0390921660009081526003602052604090209190915550565b3390565b612bc1846323b872dd60e01b858585604051602401612a459392919061302e565b50505050565b60008184841115612beb5760405162461bcd60e51b815260040161075591906130ce565b505050900390565b60008183612c145760405162461bcd60e51b815260040161075591906130ce565b506000838581612c2057fe5b0495945050505050565b612c3c826001600160a01b0316612d0e565b612c585760405162461bcd60e51b8152600401610755906133e4565b600080836001600160a01b031683604051612c739190612ffe565b6000604051808303816000865af19150503d8060008114612cb0576040519150601f19603f3d011682016040523d82523d6000602084013e612cb5565b606091505b509150915081612cd75760405162461bcd60e51b8152600401610755906131a6565b805115612bc15780806020019051810190612cf29190612f3e565b612bc15760405162461bcd60e51b81526004016107559061332c565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612d4257508115155b949350505050565b604051806040016040528060008152602001600081525090565b5080546000825560020290600052602060002090810190612d859190612d9f565b50565b604080518082019091526000808252602082015290565b5b80821115612dba5760008082556001820155600201612da0565b5090565b80356001600160a01b03811681146111f757600080fd5b600060208284031215612de6578081fd5b61122482612dbe565b60008060408385031215612e01578081fd5b612e0a83612dbe565b9150612e1860208401612dbe565b90509250929050565b60008060408385031215612e33578182fd5b612e3c83612dbe565b946020939093013593505050565b600080600060608486031215612e5e578081fd5b612e6784612dbe565b9250602084013591506040840135612e7e816134c9565b809150509250925092565b60006020808385031215612e9b578182fd5b823567ffffffffffffffff80821115612eb2578384fd5b818501915085601f830112612ec5578384fd5b813581811115612ed157fe5b83810260405185828201018181108582111715612eea57fe5b604052828152858101935084860182860187018a1015612f08578788fd5b8795505b83861015612f3157612f1d81612dbe565b855260019590950194938601938601612f0c565b5098975050505050505050565b600060208284031215612f4f578081fd5b8151611224816134c9565b600060208284031215612f6b578081fd5b5035919050565b600060208284031215612f83578081fd5b5051919050565b60008060408385031215612f9c578182fd5b823591506020830135612fae816134c9565b809150509250929050565b6000815180845260208085019450808401835b83811015612ff3578151805188528301518388015260409096019590820190600101612fcc565b509495945050505050565b6000825161301081846020870161349d565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156130b657815180516001600160a01b03168552860151868501529284019290850190600101613088565b5091979650505050505050565b901515815260200190565b60006020825282518060208401526130ed81604085016020870161349d565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600e908201526d043616e6e6f74207374616b6520360941b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b60208082526022908201527f496e73756666696369656e742062616c616e63652061667465722070656e616c604082015261747960f01b606082015260800190565b602080825260119082015270043616e6e6f74207769746864726177203607c1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f43616e6e6f74207769746864726177207374616b696e6720746f6b656e000000604082015260600190565b6020808252601d908201527f496e73756666696369656e7420756e6c6f636b65642062616c616e6365000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601c908201527f43616e6e6f742077697468647261772072657761726420746f6b656e00000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b90815260200190565b600083825260406020830152612d426040830184612fb9565b918252602082015260400190565b6000858252846020830152836040830152608060608301526134706080830184612fb9565b9695505050505050565b948552602085019390935260408401919091526060830152608082015260a00190565b60005b838110156134b85781810151838201526020016134a0565b83811115612bc15750506000910152565b8015158114612d8557600080fdfea2646970667358221220087746841f5e86771263e2153264fd43c1629d228bed61cb4533bb43c0cf297c64736f6c63430007060033000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c80638980f11f1161010f578063d1a1beb4116100a2578063e9fad8ee11610071578063e9fad8ee14610417578063f12297771461041f578063f2fde38b14610432578063f46eccc414610445576101f0565b8063d1a1beb4146103b0578063dc01f60d146103c3578063df379876146103e3578063e70b9e2714610404576101f0565b8063a01c77bc116100de578063a01c77bc1461037a578063abe50f1914610382578063bcd1101414610395578063ca5c7b91146103a8576101f0565b80638980f11f146103375780638da5cb5b1461034a5780638fd9f2ca146103525780639c9b2e2114610367576101f0565b8063547d0096116101875780637035ab98116101565780637035ab98146102f4578063715018a61461030757806372f702f31461030f5780637bb7bed114610324576101f0565b8063547d0096146102a85780635e0fac2e146102bb578063638634ee146102ce5780636eacd398146102e1576101f0565b80632e1a7d4d116101c35780632e1a7d4d1461025f578063386a9525146102745780633d18b9121461027c57806348e5d9f814610284576101f0565b806302b62938146101f5578063045544431461021f5780630483a7f61461023457806318160ddd14610257575b600080fd5b610208610203366004612dd5565b610458565b60405161021692919061343d565b60405180910390f35b610227610597565b604051610216919061341b565b610247610242366004612dd5565b61059e565b604051610216949392919061344b565b61022761072c565b61027261026d366004612f5a565b610732565b005b610227610c60565b610272610c67565b610297610292366004612dd5565b611086565b60405161021695949392919061347a565b6102726102b6366004612e89565b6110b6565b6102276102c9366004612dd5565b611164565b6102276102dc366004612dd5565b6111fc565b6102276102ef366004612dd5565b61122b565b610227610302366004612def565b611246565b610272611263565b6103176112e2565b604051610216919061301a565b610317610332366004612f5a565b611306565b610272610345366004612e21565b611330565b610317611449565b61035a611458565b60405161021691906130c3565b610272610375366004612dd5565b611461565b61027261151e565b610272610390366004612f8a565b611871565b6102276103a3366004612dd5565b611cd4565b610227611d03565b6102726103be366004612e4a565b611d09565b6103d66103d1366004612dd5565b612195565b604051610216919061306b565b6103f66103f1366004612dd5565b6122fd565b604051610216929190613424565b610227610412366004612def565b612421565b61027261243e565b61022761042d366004612dd5565b61271a565b610272610440366004612dd5565b61276e565b61035a610453366004612dd5565b612825565b6001600160a01b0381166000908152600a6020526040812060038101548291901561056a576001600160a01b0384166000908152600c6020526040812054815b81811015610542576001600160a01b0387166000908152600c602052604081208054839081106104c457fe5b906000526020600020906002020160000154905080600014156104e7575061053a565b6001600160a01b0388166000908152600c6020526040902080544291908490811061050e57fe5b906000526020600020906002020160010154111561052c5750610542565b610536848261283a565b9350505b600101610498565b50610565600261055f84866003015461285f90919063ffffffff16565b906128a1565b935050505b61058f826105898360030154846001015461283a90919063ffffffff16565b9061285f565b925050915091565b6277f88081565b6001600160a01b0381166000908152600b602052604081208190819060609082805b825481101561070457428382815481106105d657fe5b90600052602060002090600202016001015411156106d2578161064c57825481900367ffffffffffffffff8111801561060e57600080fd5b5060405190808252806020026020018201604052801561064857816020015b610635612d4a565b81526020019060019003908161062d5790505b5093505b82818154811061065857fe5b90600052602060002090600202016040518060400160405290816000820154815260200160018201548152505084838151811061069157fe5b602002602001018190525081806001019250506106cb8382815481106106b357fe5b6000918252602090912060029091020154869061283a565b94506106fc565b6106f98382815481106106e157fe5b6000918252602090912060029091020154879061283a565b95505b6001016105c0565b5050506001600160a01b0385166000908152600a602052604090206002015493509193509193565b60085481565b6002600054141561075e5760405162461bcd60e51b8152600401610755906133ad565b60405180910390fd5b6002600090815560095433917f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d9161079683826128e3565b6001600160a01b038416600090815260036020819052604090912001556107bc836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615610867576001600160a01b0384166000908152600a602052604090206002015461080d90859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015610953576002818154811061088557fe5b6000918252602090912001546001600160a01b031693506108a684836128e3565b6001600160a01b038516600090815260036020819052604090912001556108cc846111fc565b6001600160a01b0380861660009081526003602052604090206002019190915585161561094b576108ff8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b60010161086e565b50600085116109745760405162461bcd60e51b81526004016107559061321d565b336000908152600a60205260408120600181015490919087116109aa5760018201546109a0908861285f565b6001830155610b7f565b60006109c383600101548961285f90919063ffffffff16565b905080836003015410156109e95760405162461bcd60e51b8152600401610755906132f5565b6000600184015560038301546109ff908261285f565b600384015560005b336000908152600c60205260408120805483908110610a2257fe5b90600052602060002090600202016000015490508060001415610a455750610b74565b83158015610a805750336000908152600c60205260409020805442919084908110610a6c57fe5b906000526020600020906002020160010154115b15610af2578293508285600301541015610aac5760405162461bcd60e51b8152600401610755906131db565b6003850154610abb908461285f565b60038601819055610ae457336000908152600c60205260408120610ade91612d64565b50610b7c565b610aef8360026129ec565b92505b808311610b3557610b03818461285f565b336000908152600c60205260409020805484908110610b1e57fe5b600091825260209091206002909102015550610b7c565b336000908152600c60205260409020805483908110610b5057fe5b60009182526020822060029091020181815560010155610b70838261285f565b9250505b600101610a07565b50505b6000610b8b888361283a565b8354909150610b9a908261285f565b8355600854610ba9908261285f565b600855610be06001600160a01b037f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d16338a612a26565b8115610c1057610c107f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d83612a81565b336001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d589604051610c49919061341b565b60405180910390a250506001600055505050505050565b62093a8081565b60026000541415610c8a5760405162461bcd60e51b8152600401610755906133ad565b6002600090815560095433917f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d91610cc283826128e3565b6001600160a01b03841660009081526003602081905260409091200155610ce8836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615610d93576001600160a01b0384166000908152600a6020526040902060020154610d3990859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015610e7f5760028181548110610db157fe5b6000918252602090912001546001600160a01b03169350610dd284836128e3565b6001600160a01b03851660009081526003602081905260409091200155610df8846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615610e7757610e2b8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b600101610d9a565b5060005b60025481101561107a57600060028281548110610e9c57fe5b60009182526020808320909101543383526007825260408084206001600160a01b03909216808552919092529120549091508215610fe7576001600160a01b038216600090815260036020526040902060040154610efd426207e90061283a565b6001600160a01b0384166000908152600360205260409020541015610fbf576000610f9e82856001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610f4e919061301a565b60206040518083038186803b158015610f6657600080fd5b505afa158015610f7a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105899190612f72565b90508015610fbd57610fb08482612a81565b610fba828261283a565b91505b505b610fc9818361285f565b6001600160a01b038416600090815260036020526040902060040155505b80610ff3575050611072565b3360008181526007602090815260408083206001600160a01b03871680855292528220919091556110249183612a26565b816001600160a01b0316336001600160a01b03167f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e83604051611067919061341b565b60405180910390a350505b600101610e83565b50506001600055505050565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b6110be612b9c565b6001546001600160a01b039081169116146110eb5760405162461bcd60e51b815260040161075590613289565b60055460ff16156110fb57600080fd5b60005b81518110156111535760016004600084848151811061111957fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790556001016110fe565b50506005805460ff19166001179055565b6001600160a01b0381166000908152600a6020908152604080832060010154338452600c909252822090915b81548110156111f457428282815481106111a657fe5b90600052602060002090600202016001015411156111c3576111f4565b6111ea8282815481106111d257fe5b6000918252602090912060029091020154849061283a565b9250600101611190565b50505b919050565b6001600160a01b0381166000908152600360205260408120544281116112225780611224565b425b9392505050565b6001600160a01b03166000908152600a602052604090205490565b600660209081526000928352604080842090915290825290205481565b61126b612b9c565b6001546001600160a01b039081169116146112985760405162461bcd60e51b815260040161075590613289565b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b7f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d81565b6002818154811061131657600080fd5b6000918252602090912001546001600160a01b0316905081565b611338612b9c565b6001546001600160a01b039081169116146113655760405162461bcd60e51b815260040161075590613289565b7f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d6001600160a01b0316826001600160a01b031614156113b75760405162461bcd60e51b8152600401610755906132be565b6001600160a01b038216600090815260036020526040902060020154156113f05760405162461bcd60e51b815260040161075590613376565b61140c6113fb611449565b6001600160a01b0384169083612a26565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28828260405161143d929190613052565b60405180910390a15050565b6001546001600160a01b031690565b60055460ff1681565b611469612b9c565b6001546001600160a01b039081169116146114965760405162461bcd60e51b815260040161075590613289565b6001600160a01b038116600090815260036020526040902060020154156114bc57600080fd5b600280546001810182557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b039093166001600160a01b0319909316831790556000918252600360205260409091204291810182905555565b60095433907f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d9060009061155283826128e3565b6001600160a01b03841660009081526003602081905260409091200155611578836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615611623576001600160a01b0384166000908152600a60205260409020600201546115c990859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b60025481101561170f576002818154811061164157fe5b6000918252602090912001546001600160a01b0316935061166284836128e3565b6001600160a01b03851660009081526003602081905260409091200155611688846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615611707576116bb8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b60010161162a565b50336000908152600b60209081526040808320600a90925282208154919290914284600019830183811061173f57fe5b9060005260206000209060020201600101541161177c576002830154336000908152600b602052604081209193506117779190612d64565b6117f1565b60005b818110156117ef574285828154811061179457fe5b90600052602060002090600202016001015411156117b1576117ef565b6117c08582815481106111d257fe5b92508481815481106117ce57fe5b6000918252602082206002909102018181556001908101919091550161177f565b505b6002830154611800908361285f565b60028401558254611811908361285f565b8355600854611820908361285f565b600855600954611830908361285f565b6009556118676001600160a01b037f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d163384612a26565b5050505050505050565b600260005414156118945760405162461bcd60e51b8152600401610755906133ad565b6002600090815560095433917f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d916118cc83826128e3565b6001600160a01b038416600090815260036020819052604090912001556118f2836111fc565b6001600160a01b0380851660009081526003602052604090206002019190915584161561199d576001600160a01b0384166000908152600a602052604090206002015461194390859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015611a8957600281815481106119bb57fe5b6000918252602090912001546001600160a01b031693506119dc84836128e3565b6001600160a01b03851660009081526003602081905260409091200155611a02846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615611a8157611a358585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b6001016119a4565b5060008611611aaa5760405162461bcd60e51b815260040161075590613147565b600854611ab7908761283a565b600855336000908152600a602052604090208054611ad5908861283a565b81558515611c3b57600954611aea908861283a565b6009556002810154611afc908861283a565b60028201556000611b276277f880611b2162093a80611b1b42826128a1565b906129ec565b9061283a565b336000908152600b6020526040902054909150801580611b785750336000908152600b6020526040902080548391906000198401908110611b6457fe5b906000526020600020906002020160010154105b15611bc757336000908152600b6020908152604080832081518083019092528c825281830186815281546001818101845592865293909420915160029093029091019182559151910155611c34565b336000908152600b602052604090208054611c03918b916000198501908110611bec57fe5b60009182526020909120600290910201549061283a565b336000908152600b6020526040902080546000198401908110611c2257fe5b60009182526020909120600290910201555b5050611c50565b6001810154611c4a908861283a565b60018201555b611c856001600160a01b037f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d1633308a612ba0565b336001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d88604051611cbe919061341b565b60405180910390a2505060016000555050505050565b6001600160a01b038116600090815260036020526040812060010154611cfd9062093a806129ec565b92915050565b60095481565b60095483907f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d90600090611d3d83826128e3565b6001600160a01b03841660009081526003602081905260409091200155611d63836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615611e0e576001600160a01b0384166000908152600a6020526040902060020154611db490859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b600254811015611efa5760028181548110611e2c57fe5b6000918252602090912001546001600160a01b03169350611e4d84836128e3565b6001600160a01b03851660009081526003602081905260409091200155611e73846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615611ef257611ea68585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b600101611e15565b503360009081526004602052604090205460ff16611f1757600080fd5b85611f215761218c565b600854611f2e908761283a565b6008556001600160a01b0387166000908152600a602052604090208054611f55908861283a565b81556001600160a01b038816301415611f9757611f927f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d88612a81565b6120a8565b8515612093576003810154611fac908861283a565b60038201556000611fcb6277f880611b2162093a80611b1b42826128a1565b6001600160a01b038a166000908152600c6020526040902080549192509080158061201557508282600183038154811061200157fe5b906000526020600020906002020160010154105b1561205757604080518082019091528a81526020808201858152845460018181018755600087815293909320935160029091029093019283555191015561208b565b61206a8a836001840381548110611bec57fe5b82600183038154811061207957fe5b60009182526020909120600290910201555b5050506120a8565b60018101546120a2908861283a565b60018201555b6040516340c10f1960e01b81526001600160a01b037f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d16906340c10f19906120f69030908b90600401613052565b602060405180830381600087803b15801561211057600080fd5b505af1158015612124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121489190612f3e565b50876001600160a01b03167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d88604051612182919061341b565b60405180910390a2505b50505050505050565b60025460609067ffffffffffffffff811180156121b157600080fd5b506040519080825280602002602001820160405280156121eb57816020015b6121d8612d88565b8152602001906001900390816121d05790505b50905060005b81518110156122f75760008115612220576001600160a01b0384166000908152600a602052604090205461223d565b6001600160a01b0384166000908152600a60205260409020600201545b90506000821561224f57600854612253565b6009545b90506002838154811061226257fe5b9060005260206000200160009054906101000a90046001600160a01b031684848151811061228c57fe5b6020026020010151600001906001600160a01b031690816001600160a01b0316815250506122d3858585815181106122c057fe5b602002602001015160000151848461297a565b8484815181106122df57fe5b602090810291909101810151015250506001016121f1565b50919050565b6001600160a01b0381166000908152600c6020526040812060609082805b8254811015612419574283828154811061233157fe5b906000526020600020906002020160010154111561241157816123a757825481900367ffffffffffffffff8111801561236957600080fd5b506040519080825280602002602001820160405280156123a357816020015b612390612d4a565b8152602001906001900390816123885790505b5093505b8281815481106123b357fe5b9060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508483815181106123ec57fe5b6020026020010181905250818060010192505061240e8382815481106106b357fe5b94505b60010161231b565b505050915091565b600760209081526000928352604080842090915290825290205481565b60095433907f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d9060009061247283826128e3565b6001600160a01b03841660009081526003602081905260409091200155612498836111fc565b6001600160a01b03808516600090815260036020526040902060020191909155841615612543576001600160a01b0384166000908152600a60205260409020600201546124e990859085908461297a565b6001600160a01b03808616600081815260076020908152604080832094891680845294825280832095909555600380825285832001548383526006825285832094835293815284822093909355908152600a909152205491505b5060085460015b60025481101561262f576002818154811061256157fe5b6000918252602090912001546001600160a01b0316935061258284836128e3565b6001600160a01b038516600090815260036020819052604090912001556125a8846111fc565b6001600160a01b03808616600090815260036020526040902060020191909155851615612627576125db8585858561297a565b6001600160a01b038087166000818152600760209081526040808320948a1680845294825280832095909555600380825285832001549282526006815284822093825292909252919020555b60010161254a565b5060008061263c33610458565b336000908152600c6020526040812092945090925061265b9190612d64565b336000908152600a602052604090206003810154600182015482546126859291610589919061285f565b815560006001820181905560038201556126ab6126a2848461283a565b6008549061285f565b6008556126e26001600160a01b037f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d163385612a26565b8115612712576127127f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d83612a81565b61218c610c67565b6000807f000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d6001600160a01b0316836001600160a01b03161461275e57600854612762565b6009545b905061122483826128e3565b612776612b9c565b6001546001600160a01b039081169116146127a35760405162461bcd60e51b815260040161075590613289565b6001600160a01b0381166127c95760405162461bcd60e51b815260040161075590613101565b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b60046020526000908152604090205460ff1681565b6000828201838110156112245760405162461bcd60e51b81526004016107559061316f565b600061122483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bc7565b600061122483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612bf3565b60008161290d57506001600160a01b03821660009081526003602081905260409091200154611cfd565b6001600160a01b038316600090815260036020526040902060018101546002909101546112249161295791859161055f91670de0b6b3a764000091611b1b9182906105898c6111fc565b6001600160a01b038516600090815260036020819052604090912001549061283a565b6001600160a01b0380851660008181526007602090815260408083209488168084529482528083205493835260068252808320948352939052918220546129e39190611b2190670de0b6b3a76400009061055f906129dc906105898b8a6128e3565b88906129ec565b95945050505050565b6000826129fb57506000611cfd565b82820282848281612a0857fe5b04146112245760405162461bcd60e51b815260040161075590613248565b612a7c8363a9059cbb60e01b8484604051602401612a45929190613052565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612c2a565b505050565b6001600160a01b0382166000908152600360205260409020544210612ace57612aad8162093a806128a1565b6001600160a01b038316600090815260036020526040902060010155612b4e565b6001600160a01b038216600090815260036020526040812054612af1904261285f565b6001600160a01b03841660009081526003602052604081206001015491925090612b1c9083906129ec565b9050612b2f62093a8061055f858461283a565b6001600160a01b03851660009081526003602052604090206001015550505b6001600160a01b0382166000908152600360205260409020426002909101819055612b7c9062093a8061283a565b6001600160a01b0390921660009081526003602052604090209190915550565b3390565b612bc1846323b872dd60e01b858585604051602401612a459392919061302e565b50505050565b60008184841115612beb5760405162461bcd60e51b815260040161075591906130ce565b505050900390565b60008183612c145760405162461bcd60e51b815260040161075591906130ce565b506000838581612c2057fe5b0495945050505050565b612c3c826001600160a01b0316612d0e565b612c585760405162461bcd60e51b8152600401610755906133e4565b600080836001600160a01b031683604051612c739190612ffe565b6000604051808303816000865af19150503d8060008114612cb0576040519150601f19603f3d011682016040523d82523d6000602084013e612cb5565b606091505b509150915081612cd75760405162461bcd60e51b8152600401610755906131a6565b805115612bc15780806020019051810190612cf29190612f3e565b612bc15760405162461bcd60e51b81526004016107559061332c565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612d4257508115155b949350505050565b604051806040016040528060008152602001600081525090565b5080546000825560020290600052602060002090810190612d859190612d9f565b50565b604080518082019091526000808252602082015290565b5b80821115612dba5760008082556001820155600201612da0565b5090565b80356001600160a01b03811681146111f757600080fd5b600060208284031215612de6578081fd5b61122482612dbe565b60008060408385031215612e01578081fd5b612e0a83612dbe565b9150612e1860208401612dbe565b90509250929050565b60008060408385031215612e33578182fd5b612e3c83612dbe565b946020939093013593505050565b600080600060608486031215612e5e578081fd5b612e6784612dbe565b9250602084013591506040840135612e7e816134c9565b809150509250925092565b60006020808385031215612e9b578182fd5b823567ffffffffffffffff80821115612eb2578384fd5b818501915085601f830112612ec5578384fd5b813581811115612ed157fe5b83810260405185828201018181108582111715612eea57fe5b604052828152858101935084860182860187018a1015612f08578788fd5b8795505b83861015612f3157612f1d81612dbe565b855260019590950194938601938601612f0c565b5098975050505050505050565b600060208284031215612f4f578081fd5b8151611224816134c9565b600060208284031215612f6b578081fd5b5035919050565b600060208284031215612f83578081fd5b5051919050565b60008060408385031215612f9c578182fd5b823591506020830135612fae816134c9565b809150509250929050565b6000815180845260208085019450808401835b83811015612ff3578151805188528301518388015260409096019590820190600101612fcc565b509495945050505050565b6000825161301081846020870161349d565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156130b657815180516001600160a01b03168552860151868501529284019290850190600101613088565b5091979650505050505050565b901515815260200190565b60006020825282518060208401526130ed81604085016020870161349d565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600e908201526d043616e6e6f74207374616b6520360941b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b60208082526022908201527f496e73756666696369656e742062616c616e63652061667465722070656e616c604082015261747960f01b606082015260800190565b602080825260119082015270043616e6e6f74207769746864726177203607c1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f43616e6e6f74207769746864726177207374616b696e6720746f6b656e000000604082015260600190565b6020808252601d908201527f496e73756666696369656e7420756e6c6f636b65642062616c616e6365000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601c908201527f43616e6e6f742077697468647261772072657761726420746f6b656e00000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b90815260200190565b600083825260406020830152612d426040830184612fb9565b918252602082015260400190565b6000858252846020830152836040830152608060608301526134706080830184612fb9565b9695505050505050565b948552602085019390935260408401919091526060830152608082015260a00190565b60005b838110156134b85781810151838201526020016134a0565b83811115612bc15750506000910152565b8015158114612d8557600080fdfea2646970667358221220087746841f5e86771263e2153264fd43c1629d228bed61cb4533bb43c0cf297c64736f6c63430007060033

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

000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d8321aa83fb0a4ecd6348d4577431310a6e0814d


Deployed Bytecode Sourcemap

18743:19667:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26671:912;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;19939:59;;;:::i;:::-;;;;;;;:::i;25753:828::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;20321:26::-;;;:::i;30526:1995::-;;;;;;:::i;:::-;;:::i;:::-;;19832:51;;;:::i;32571:1173::-;;;:::i;19731:44::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;21151:242::-;;;;;;:::i;:::-;;:::i;24433:442::-;;;;;;:::i;:::-;;:::i;22735:245::-;;;;;;:::i;:::-;;:::i;24223:121::-;;;;;;:::i;:::-;;:::i;20166:77::-;;;;;;:::i;:::-;;:::i;16087:138::-;;;:::i;19644:44::-;;;:::i;:::-;;;;;;;:::i;19695:29::-;;;;;;:::i;:::-;;:::i;36283:396::-;;;;;;:::i;:::-;;:::i;15485:73::-;;;:::i;20093:25::-;;;:::i;:::-;;;;;;;:::i;21461:322::-;;;;;;:::i;:::-;;:::i;34517:889::-;;;:::i;27794:1112::-;;;;;;:::i;:::-;;:::i;23236:168::-;;;;;;:::i;:::-;;:::i;20354:27::-;;;:::i;29064:1260::-;;;;;;:::i;:::-;;:::i;23492:641::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;25009:688::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;20250:62::-;;;;;;:::i;:::-;;:::i;33817:614::-;;;:::i;22988:240::-;;;;;;:::i;:::-;;:::i;16370:230::-;;;;;;:::i;:::-;;:::i;20047:39::-;;;;;;:::i;:::-;;:::i;26671:912::-;-1:-1:-1;;;;;26849:14:0;;26761;26849;;;:8;:14;;;;;26878:10;;;;26761:14;;26849;26878;26874:594;;-1:-1:-1;;;;;26969:18:0;;26909:28;26969:18;;;:12;:18;;;;;:25;26909:28;27009:372;27030:6;27026:1;:10;27009:372;;;-1:-1:-1;;;;;27085:18:0;;27062:20;27085:18;;;:12;:18;;;;;:21;;27104:1;;27085:21;;;;;;;;;;;;;;;;:28;;;27062:51;;27136:12;27152:1;27136:17;27132:31;;;27155:8;;;27132:31;-1:-1:-1;;;;;27186:18:0;;;;;;:12;:18;;;;;:21;;27221:15;;27186:18;27205:1;;27186:21;;;;;;;;;;;;;;;;:32;;;:50;27182:104;;;27261:5;;;27182:104;27327:38;:20;27352:12;27327:24;:38::i;:::-;27304:61;;27009:372;;27038:3;;27009:372;;;;27413:43;27454:1;27413:36;27428:20;27413:3;:10;;;:14;;:36;;;;:::i;:::-;:40;;:43::i;:::-;27397:59;;26874:594;;;27487:47;27520:13;27487:28;27504:3;:10;;;27487:3;:12;;;:16;;:28;;;;:::i;:::-;:32;;:47::i;:::-;27478:56;;27545:30;26671:912;;;:::o;19939:59::-;19978:20;19939:59;:::o;25753:828::-;-1:-1:-1;;;;;26000:15:0;;25840:13;26000:15;;;:9;:15;;;;;25840:13;;;;25918:31;;25840:13;;26048:455;26069:12;;26065:16;;26048:455;;;26129:15;26107:5;26113:1;26107:8;;;;;;;;;;;;;;;;;;:19;;;:37;26103:389;;;26169:8;26165:105;;26233:12;;:16;;;26213:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;26202:48;;26165:105;26304:5;26310:1;26304:8;;;;;;;;;;;;;;;;;;26288:24;;;;;;;;;;;;;;;;;;;;;;;;;:8;26297:3;26288:13;;;;;;;;;;;;;:24;;;;26331:5;;;;;;;26364:27;26375:5;26381:1;26375:8;;;;;;;;;;;;;;;;;;;;;:15;26364:6;;:10;:27::i;:::-;26355:36;;26103:389;;;26445:31;26460:5;26466:1;26460:8;;;;;;;;;;;;;;;;;;;;;:15;26445:10;;:14;:31::i;:::-;26432:44;;26103:389;26083:3;;26048:455;;;-1:-1:-1;;;;;;;;26521:14:0;;;;;;:8;:14;;;;;:21;;;;-1:-1:-1;25753:828:0;;;;;:::o;20321:26::-;;;;:::o;30526:1995::-;8172:1;8778:7;;:19;;8770:63;;;;-1:-1:-1;;;8770:63:0;;;;;;;:::i;:::-;;;;;;;;;8172:1;8911:7;:18;;;36873:12:::1;::::0;30593:10:::1;::::0;36806:12:::1;::::0;36937:30:::1;36806:12:::0;36873;36937:15:::1;:30::i;:::-;-1:-1:-1::0;;;;;36896:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;:38:::1;:71:::0;37013:31:::1;36907:5:::0;37013:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;36978:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:32:::1;;:66:::0;;;;37059:21;::::1;::::0;37055:370:::1;;-1:-1:-1::0;;;;;37238:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;:24:::1;;::::0;37214:57:::1;::::0;37222:7;;37231:5;;37264:6;37214:7:::1;:57::i;:::-;-1:-1:-1::0;;;;;37188:16:0;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:23;;::::1;::::0;;;;;;;;;:83;;;;37327:10:::1;:17:::0;;;;;;:38:::1;::::0;37286:31;;;:22:::1;:31:::0;;;;;:38;;;;;;;;;:79;;;;37390:17;;;:8:::1;:17:::0;;;;:23;;-1:-1:-1;37055:370:0::1;-1:-1:-1::0;37446:11:0::1;::::0;37482:1:::1;37468:504;37489:12;:19:::0;37485:23;::::1;37468:504;;;37538:12;37551:1;37538:15;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;37538:15:0::1;::::0;-1:-1:-1;37609:30:0::1;37538:15:::0;37632:6;37609:15:::1;:30::i;:::-;-1:-1:-1::0;;;;;37568:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;:38:::1;:71:::0;37689:31:::1;37579:5:::0;37689:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;37654:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:32:::1;;:66:::0;;;;37739:21;::::1;::::0;37735:226:::1;;37807:40;37815:7;37824:5;37831:7;37840:6;37807:7;:40::i;:::-;-1:-1:-1::0;;;;;37781:16:0;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:23;;::::1;::::0;;;;;;;;;:66;;;;37907:10:::1;:17:::0;;;;;;:38:::1;::::0;37866:31;;;:22:::1;:31:::0;;;;;:38;;;;;;;;;;:79;37735:226:::1;37510:3;;37468:504;;;;30633:1:::2;30624:6;:10;30616:40;;;;-1:-1:-1::0;;;30616:40:0::2;;;;;;;:::i;:::-;30699:10;30667:20;30690::::0;;;:8:::2;:20;::::0;;;;30769:12:::2;::::0;::::2;::::0;30690:20;;30667;30759:22;::::2;30755:1376;;30813:12;::::0;::::2;::::0;:24:::2;::::0;30830:6;30813:16:::2;:24::i;:::-;30798:12;::::0;::::2;:39:::0;30755:1376:::2;;;30870:17;30890:24;30901:3;:12;;;30890:6;:10;;:24;;;;:::i;:::-;30870:44;;30951:9;30937:3;:10;;;:23;;30929:65;;;;-1:-1:-1::0;;;30929:65:0::2;;;;;;;:::i;:::-;31024:1;31009:12;::::0;::::2;:16:::0;31053:10:::2;::::0;::::2;::::0;:25:::2;::::0;31068:9;31053:14:::2;:25::i;:::-;31040:10;::::0;::::2;:38:::0;31098:6:::2;31093:1027;31172:10;31136:20;31159:24:::0;;;:12:::2;:24;::::0;;;;:27;;31184:1;;31159:27;::::2;;;;;;;;;;;;;;;:34;;;31136:57;;31216:12;31232:1;31216:17;31212:31;;;31235:8;;;31212:31;31266:18:::0;;:78;::::2;;;-1:-1:-1::0;31301:10:0::2;31288:24;::::0;;;:12:::2;:24;::::0;;;;:27;;31329:15:::2;::::0;31288:24;31313:1;;31288:27;::::2;;;;;;;;;;;;;;;:38;;;:56;31266:78;31262:514;;;31385:9;31369:25;;31439:9;31425:3;:10;;;:23;;31417:70;;;;-1:-1:-1::0;;;31417:70:0::2;;;;;;;:::i;:::-;31523:10;::::0;::::2;::::0;:25:::2;::::0;31538:9;31523:14:::2;:25::i;:::-;31510:10;::::0;::::2;:38:::0;;;31571:135:::2;;31639:10;31626:24;::::0;;;:12:::2;:24;::::0;;;;31619:31:::2;::::0;::::2;:::i;:::-;31677:5;;;31571:135;31740:16;:9:::0;31754:1:::2;31740:13;:16::i;:::-;31728:28;;31262:514;31811:12;31798:9;:25;31794:311;;31885:27;:12:::0;31902:9;31885:16:::2;:27::i;:::-;31861:10;31848:24;::::0;;;:12:::2;:24;::::0;;;;:27;;31873:1;;31848:27;::::2;;;;;;::::0;;;::::2;::::0;;;::::2;::::0;;::::2;;:64:::0;-1:-1:-1;31935:5:0::2;;31794:311;32009:10;31996:24;::::0;;;:12:::2;:24;::::0;;;;:27;;32021:1;;31996:27;::::2;;;;;;::::0;;;::::2;::::0;;::::2;::::0;;::::2;;31989:34:::0;;;::::2;;::::0;32058:27:::2;:9:::0;32072:12;32058:13:::2;:27::i;:::-;32046:39;;31093:1027;;31112:3;;31093:1027;;;;30755:1376;;32143:22;32168:25;:6:::0;32179:13;32168:10:::2;:25::i;:::-;32216:9:::0;;32143:50;;-1:-1:-1;32216:29:0::2;::::0;32143:50;32216:13:::2;:29::i;:::-;32204:41:::0;;32270:11:::2;::::0;:31:::2;::::0;32286:14;32270:15:::2;:31::i;:::-;32256:11;:45:::0;32312::::2;-1:-1:-1::0;;;;;32312:12:0::2;:25;32338:10;32350:6:::0;32312:25:::2;:45::i;:::-;32372:17:::0;;32368:101:::2;;32406:51;32428:12;32443:13;32406;:51::i;:::-;32494:10;-1:-1:-1::0;;;;;32484:29:0::2;;32506:6;32484:29;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;8128:1:0;9090:7;:22;-1:-1:-1;;;;;;30526:1995:0:o;19832:51::-;19874:9;19832:51;:::o;32571:1173::-;8172:1;8778:7;;:19;;8770:63;;;;-1:-1:-1;;;8770:63:0;;;;;;;:::i;:::-;8172:1;8911:7;:18;;;36873:12:::1;::::0;32625:10:::1;::::0;36806:12:::1;::::0;36937:30:::1;36806:12:::0;36873;36937:15:::1;:30::i;:::-;-1:-1:-1::0;;;;;36896:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;:38:::1;:71:::0;37013:31:::1;36907:5:::0;37013:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;36978:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:32:::1;;:66:::0;;;;37059:21;::::1;::::0;37055:370:::1;;-1:-1:-1::0;;;;;37238:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;:24:::1;;::::0;37214:57:::1;::::0;37222:7;;37231:5;;37264:6;37214:7:::1;:57::i;:::-;-1:-1:-1::0;;;;;37188:16:0;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:23;;::::1;::::0;;;;;;;;;:83;;;;37327:10:::1;:17:::0;;;;;;:38:::1;::::0;37286:31;;;:22:::1;:31:::0;;;;;:38;;;;;;;;;:79;;;;37390:17;;;:8:::1;:17:::0;;;;:23;;-1:-1:-1;37055:370:0::1;-1:-1:-1::0;37446:11:0::1;::::0;37482:1:::1;37468:504;37489:12;:19:::0;37485:23;::::1;37468:504;;;37538:12;37551:1;37538:15;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;37538:15:0::1;::::0;-1:-1:-1;37609:30:0::1;37538:15:::0;37632:6;37609:15:::1;:30::i;:::-;-1:-1:-1::0;;;;;37568:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;:38:::1;:71:::0;37689:31:::1;37579:5:::0;37689:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;37654:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:32:::1;;:66:::0;;;;37739:21;::::1;::::0;37735:226:::1;;37807:40;37815:7;37824:5;37831:7;37840:6;37807:7;:40::i;:::-;-1:-1:-1::0;;;;;37781:16:0;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:23;;::::1;::::0;;;;;;;;;:66;;;;37907:10:::1;:17:::0;;;;;;:38:::1;::::0;37866:31;;;:22:::1;:31:::0;;;;;:38;;;;;;;;;;:79;37735:226:::1;37510:3;;37468:504;;;;32653:6:::2;32648:1089;32665:12;:19:::0;32661:23;::::2;32648:1089;;;32706:13;32722:12;32735:1;32722:15;;;;;;;;;::::0;;;::::2;::::0;;;;;::::2;::::0;32777:10:::2;32769:19:::0;;:7:::2;:19:::0;;;;;;-1:-1:-1;;;;;32722:15:0;;::::2;32769:26:::0;;;;;;;;;;32722:15;;-1:-1:-1;32814:5:0;;32810:713:::2;;-1:-1:-1::0;;;;;33031:17:0;::::2;33013:15;33031:17:::0;;;:10:::2;:17;::::0;;;;:25:::2;;::::0;33112:44:::2;:15;33132:23:::0;33112:19:::2;:44::i;:::-;-1:-1:-1::0;;;;;33079:17:0;::::2;;::::0;;;:10:::2;:17;::::0;;;;:30;:77:::2;33075:367;;;33181:14;33198:51;33241:7;33205:5;-1:-1:-1::0;;;;;33198:23:0::2;;33230:4;33198:38;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:51::-;33181:68:::0;-1:-1:-1;33276:10:0;;33272:151:::2;;33315:28;33329:5;33336:6;33315:13;:28::i;:::-;33380:19;:7:::0;33392:6;33380:11:::2;:19::i;:::-;33370:29;;33272:151;33075:367;;33488:19;:7:::0;33500:6;33488:11:::2;:19::i;:::-;-1:-1:-1::0;;;;;33460:17:0;::::2;;::::0;;;:10:::2;:17;::::0;;;;:25:::2;;:47:::0;-1:-1:-1;32810:713:0::2;33541:11:::0;33537:25:::2;;33554:8;;;;33537:25;33585:10;33606:1;33577:19:::0;;;:7:::2;:19;::::0;;;;;;;-1:-1:-1;;;;;33577:26:0;::::2;::::0;;;;;;;:30;;;;33622:46:::2;::::0;33661:6;33622:26:::2;:46::i;:::-;33711:5;-1:-1:-1::0;;;;;33688:37:0::2;33699:10;-1:-1:-1::0;;;;;33688:37:0::2;;33718:6;33688:37;;;;;;:::i;:::-;;;;;;;;32648:1089;;;32686:3;;32648:1089;;;-1:-1:-1::0;;8128:1:0;9090:7;:22;-1:-1:-1;;;32571:1173:0:o;19731:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21151:242::-;15689:12;:10;:12::i;:::-;15679:6;;-1:-1:-1;;;;;15679:6:0;;;:22;;;15671:67;;;;-1:-1:-1;;;15671:67:0;;;;;;;:::i;:::-;21237:13:::1;::::0;::::1;;21236:14;21228:23;;;::::0;::::1;;21267:6;21262:93;21279:8;:15;21275:1;:19;21262:93;;;21339:4;21316:7;:20;21324:8;21333:1;21324:11;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;21316:20:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;21316:20:0;:27;;-1:-1:-1;;21316:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;21296:3:0::1;21262:93;;;-1:-1:-1::0;;21365:13:0::1;:20:::0;;-1:-1:-1;;21365:20:0::1;21381:4;21365:20;::::0;;21151:242::o;24433:442::-;-1:-1:-1;;;;;24531:14:0;;24495;24531;;;:8;:14;;;;;;;;:23;;;24613:10;24600:24;;:12;:24;;;;;24531:23;;24635:209;24656:15;;24652:19;;24635:209;;;24722:15;24697:8;24706:1;24697:11;;;;;;;;;;;;;;;;;;:22;;;:40;24693:86;;;24758:5;;24693:86;24802:30;24813:8;24822:1;24813:11;;;;;;;;;;;;;;;;;;;;;:18;24802:6;;:10;:30::i;:::-;24793:39;-1:-1:-1;24673:3:0;;24635:209;;;;24854:13;24433:442;;;;:::o;22735:245::-;-1:-1:-1;;;;;22853:25:0;;22813:7;22853:25;;;:10;:25;;;;;:38;22909:15;:30;-1:-1:-1;22909:63:0;;22960:12;22909:63;;;22942:15;22909:63;22902:70;22735:245;-1:-1:-1;;;22735:245:0:o;24223:121::-;-1:-1:-1;;;;;24316:14:0;24282;24316;;;:8;:14;;;;;:20;;24223:121::o;20166:77::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;16087:138::-;15689:12;:10;:12::i;:::-;15679:6;;-1:-1:-1;;;;;15679:6:0;;;:22;;;15671:67;;;;-1:-1:-1;;;15671:67:0;;;;;;;:::i;:::-;16174:6:::1;::::0;16153:40:::1;::::0;16190:1:::1;::::0;-1:-1:-1;;;;;16174:6:0::1;::::0;16153:40:::1;::::0;16190:1;;16153:40:::1;16200:6;:19:::0;;-1:-1:-1;;;;;;16200:19:0::1;::::0;;16087:138::o;19644:44::-;;;:::o;19695:29::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19695:29:0;;-1:-1:-1;19695:29:0;:::o;36283:396::-;15689:12;:10;:12::i;:::-;15679:6;;-1:-1:-1;;;;;15679:6:0;;;:22;;;15671:67;;;;-1:-1:-1;;;15671:67:0;;;;;;;:::i;:::-;36410:12:::1;-1:-1:-1::0;;;;;36386:37:0::1;:12;-1:-1:-1::0;;;;;36386:37:0::1;;;36378:79;;;;-1:-1:-1::0;;;36378:79:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;36476:24:0;::::1;;::::0;;;:10:::1;:24;::::0;;;;:39:::1;;::::0;:44;36468:85:::1;;;;-1:-1:-1::0;;;36468:85:0::1;;;;;;;:::i;:::-;36564:55;36598:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;36564:33:0;::::1;::::0;36607:11;36564:33:::1;:55::i;:::-;36635:36;36645:12;36659:11;36635:36;;;;;;;:::i;:::-;;;;;;;;36283:396:::0;;:::o;15485:73::-;15546:6;;-1:-1:-1;;;;;15546:6:0;15485:73;:::o;20093:25::-;;;;;;:::o;21461:322::-;15689:12;:10;:12::i;:::-;15679:6;;-1:-1:-1;;;;;15679:6:0;;;:22;;;15671:67;;;;-1:-1:-1;;;15671:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21550:25:0;::::1;;::::0;;;:10:::1;:25;::::0;;;;:40:::1;;::::0;:45;21542:54:::1;;;::::0;::::1;;21607:12;:32:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;21607:32:0;;::::1;-1:-1:-1::0;;;;;;21607:32:0;;::::1;::::0;::::1;::::0;;-1:-1:-1;21650:25:0;;;:10:::1;21607:32;21650:25:::0;;;;;21693:15:::1;21650:40:::0;;::::1;:58:::0;;;21719:56;21461:322::o;34517:889::-;36873:12;;34571:10;;36806:12;;36782:13;;36937:30;36806:12;36873;36937:15;:30::i;:::-;-1:-1:-1;;;;;36896:17:0;;;;;;:10;:17;;;;;;;;:38;:71;37013:31;36907:5;37013:24;:31::i;:::-;-1:-1:-1;;;;;36978:17:0;;;;;;;:10;:17;;;;;:32;;:66;;;;37059:21;;;37055:370;;-1:-1:-1;;;;;37238:17:0;;;;;;:8;:17;;;;;:24;;;37214:57;;37222:7;;37231:5;;37264:6;37214:7;:57::i;:::-;-1:-1:-1;;;;;37188:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:83;;;;37327:10;:17;;;;;;:38;;37286:31;;;:22;:31;;;;;:38;;;;;;;;;:79;;;;37390:17;;;:8;:17;;;;:23;;-1:-1:-1;37055:370:0;-1:-1:-1;37446:11:0;;37482:1;37468:504;37489:12;:19;37485:23;;37468:504;;;37538:12;37551:1;37538:15;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37538:15:0;;-1:-1:-1;37609:30:0;37538:15;37632:6;37609:15;:30::i;:::-;-1:-1:-1;;;;;37568:17:0;;;;;;:10;:17;;;;;;;;:38;:71;37689:31;37579:5;37689:24;:31::i;:::-;-1:-1:-1;;;;;37654:17:0;;;;;;;:10;:17;;;;;:32;;:66;;;;37739:21;;;37735:226;;37807:40;37815:7;37824:5;37831:7;37840:6;37807:7;:40::i;:::-;-1:-1:-1;;;;;37781:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:66;;;;37907:10;:17;;;;;;:38;;37866:31;;;:22;:31;;;;;:38;;;;;;;;;;:79;37735:226;37510:3;;37468:504;;;-1:-1:-1;34636:10:0::1;34594:29;34626:21:::0;;;:9:::1;:21;::::0;;;;;;;34681:8:::1;:20:::0;;;;;34754:12;;34626:21;;34681:20;;34811:15:::1;34626:21:::0;-1:-1:-1;;34787:8:0;;34781:15;;::::1;;;;;;;;;;;;;;;:26;;;:45;34777:378;;34852:10;::::0;::::1;::::0;34894::::1;34884:21;::::0;;;:9:::1;:21;::::0;;;;34852:10;;-1:-1:-1;34877:28:0::1;::::0;34884:21;34877:28:::1;:::i;:::-;34777:378;;;34943:6;34938:206;34959:6;34955:1;:10;34938:206;;;35017:15;34995:5;35001:1;34995:8;;;;;;;;;;;;;;;;;;:19;;;:37;34991:48;;;35034:5;;34991:48;35067:27;35078:5;35084:1;35078:8;;;;;;;35067:27;35058:36;;35120:5;35126:1;35120:8;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;;::::1;;35113:15:::0;;;::::1;::::0;;::::1;::::0;;;;34967:3:::1;34938:206;;;;34777:378;35178:10;::::0;::::1;::::0;:22:::1;::::0;35193:6;35178:14:::1;:22::i;:::-;35165:10;::::0;::::1;:35:::0;35223:9;;:21:::1;::::0;35237:6;35223:13:::1;:21::i;:::-;35211:33:::0;;35269:11:::1;::::0;:23:::1;::::0;35285:6;35269:15:::1;:23::i;:::-;35255:11;:37:::0;35318:12:::1;::::0;:24:::1;::::0;35335:6;35318:16:::1;:24::i;:::-;35303:12;:39:::0;35353:45:::1;-1:-1:-1::0;;;;;35353:12:0::1;:25;35379:10;35391:6:::0;35353:25:::1;:45::i;:::-;37982:1;;;;34517:889:::0;;;;:::o;27794:1112::-;8172:1;8778:7;;:19;;8770:63;;;;-1:-1:-1;;;8770:63:0;;;;;;;:::i;:::-;8172:1;8911:7;:18;;;36873:12:::1;::::0;27871:10:::1;::::0;36806:12:::1;::::0;36937:30:::1;36806:12:::0;36873;36937:15:::1;:30::i;:::-;-1:-1:-1::0;;;;;36896:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;:38:::1;:71:::0;37013:31:::1;36907:5:::0;37013:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;36978:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:32:::1;;:66:::0;;;;37059:21;::::1;::::0;37055:370:::1;;-1:-1:-1::0;;;;;37238:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;:24:::1;;::::0;37214:57:::1;::::0;37222:7;;37231:5;;37264:6;37214:7:::1;:57::i;:::-;-1:-1:-1::0;;;;;37188:16:0;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:23;;::::1;::::0;;;;;;;;;:83;;;;37327:10:::1;:17:::0;;;;;;:38:::1;::::0;37286:31;;;:22:::1;:31:::0;;;;;:38;;;;;;;;;:79;;;;37390:17;;;:8:::1;:17:::0;;;;:23;;-1:-1:-1;37055:370:0::1;-1:-1:-1::0;37446:11:0::1;::::0;37482:1:::1;37468:504;37489:12;:19:::0;37485:23;::::1;37468:504;;;37538:12;37551:1;37538:15;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;37538:15:0::1;::::0;-1:-1:-1;37609:30:0::1;37538:15:::0;37632:6;37609:15:::1;:30::i;:::-;-1:-1:-1::0;;;;;37568:17:0;::::1;;::::0;;;:10:::1;:17;::::0;;;;;;;:38:::1;:71:::0;37689:31:::1;37579:5:::0;37689:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;37654:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:32:::1;;:66:::0;;;;37739:21;::::1;::::0;37735:226:::1;;37807:40;37815:7;37824:5;37831:7;37840:6;37807:7;:40::i;:::-;-1:-1:-1::0;;;;;37781:16:0;;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:23;;::::1;::::0;;;;;;;;;:66;;;;37907:10:::1;:17:::0;;;;;;:38:::1;::::0;37866:31;;;:22:::1;:31:::0;;;;;:38;;;;;;;;;;:79;37735:226:::1;37510:3;;37468:504;;;;27911:1:::2;27902:6;:10;27894:37;;;;-1:-1:-1::0;;;27894:37:0::2;;;;;;;:::i;:::-;27956:11;::::0;:23:::2;::::0;27972:6;27956:15:::2;:23::i;:::-;27942:11;:37:::0;28022:10:::2;27990:20;28013::::0;;;:8:::2;:20;::::0;;;;28056:9;;:21:::2;::::0;28070:6;28056:13:::2;:21::i;:::-;28044:33:::0;;28088:694;::::2;;;28128:12;::::0;:24:::2;::::0;28145:6;28128:16:::2;:24::i;:::-;28113:12;:39:::0;28180:10:::2;::::0;::::2;::::0;:22:::2;::::0;28195:6;28180:14:::2;:22::i;:::-;28167:10;::::0;::::2;:35:::0;28217:18:::2;28238:75;19978:20:::0;28238:57:::2;19874:9;28238:36;:15;19874:9:::0;28238:19:::2;:36::i;:::-;:40:::0;::::2;:57::i;:::-;:61:::0;::::2;:75::i;:::-;28352:10;28328:11;28342:21:::0;;;:9:::2;:21;::::0;;;;:28;28217:96;;-1:-1:-1;28389:8:0;;;:64:::2;;-1:-1:-1::0;28411:10:0::2;28401:21;::::0;;;:9:::2;:21;::::0;;;;:28;;28443:10;;28401:21;-1:-1:-1;;28423:5:0;;;28401:28;::::2;;;;;;;;;;;;;;;:39;;;:52;28389:64;28385:314;;;28484:10;28474:21;::::0;;;:9:::2;:21;::::0;;;;;;;28501:55;;;;::::2;::::0;;;;;;;;::::2;::::0;;;28474:83;;::::2;::::0;;::::2;::::0;;;;;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;;;;;::::2;::::0;28385:314:::2;;;28646:10;28636:21;::::0;;;:9:::2;:21;::::0;;;;:28;;:47:::2;::::0;28676:6;;-1:-1:-1;;28658:5:0;;;28636:28;::::2;;;;;;::::0;;;::::2;::::0;;;::::2;::::0;;::::2;;:35:::0;;:39:::2;:47::i;:::-;28608:10;28598:21;::::0;;;:9:::2;:21;::::0;;;;:28;;-1:-1:-1;;28620:5:0;;;28598:28;::::2;;;;;;::::0;;;::::2;::::0;;;::::2;::::0;;::::2;;:85:::0;28385:314:::2;28088:694;;;;;28746:12;::::0;::::2;::::0;:24:::2;::::0;28763:6;28746:16:::2;:24::i;:::-;28731:12;::::0;::::2;:39:::0;28088:694:::2;28792:64;-1:-1:-1::0;;;;;28792:12:0::2;:29;28822:10;28842:4;28849:6:::0;28792:29:::2;:64::i;:::-;28879:10;-1:-1:-1::0;;;;;28872:26:0::2;;28891:6;28872:26;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;8128:1:0;9090:7;:22;-1:-1:-1;;;;;27794:1112:0:o;23236:168::-;-1:-1:-1;;;;;23339:25:0;;23312:7;23339:25;;;:10;:25;;;;;:36;;;:57;;19874:9;23339:40;:57::i;:::-;23332:64;23236:168;-1:-1:-1;;23236:168:0:o;20354:27::-;;;;:::o;29064:1260::-;36873:12;;29157:4;;36806:12;;36782:13;;36937:30;36806:12;36873;36937:15;:30::i;:::-;-1:-1:-1;;;;;36896:17:0;;;;;;:10;:17;;;;;;;;:38;:71;37013:31;36907:5;37013:24;:31::i;:::-;-1:-1:-1;;;;;36978:17:0;;;;;;;:10;:17;;;;;:32;;:66;;;;37059:21;;;37055:370;;-1:-1:-1;;;;;37238:17:0;;;;;;:8;:17;;;;;:24;;;37214:57;;37222:7;;37231:5;;37264:6;37214:7;:57::i;:::-;-1:-1:-1;;;;;37188:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:83;;;;37327:10;:17;;;;;;:38;;37286:31;;;:22;:31;;;;;:38;;;;;;;;;:79;;;;37390:17;;;:8;:17;;;;:23;;-1:-1:-1;37055:370:0;-1:-1:-1;37446:11:0;;37482:1;37468:504;37489:12;:19;37485:23;;37468:504;;;37538:12;37551:1;37538:15;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37538:15:0;;-1:-1:-1;37609:30:0;37538:15;37632:6;37609:15;:30::i;:::-;-1:-1:-1;;;;;37568:17:0;;;;;;:10;:17;;;;;;;;:38;:71;37689:31;37579:5;37689:24;:31::i;:::-;-1:-1:-1;;;;;37654:17:0;;;;;;;:10;:17;;;;;:32;;:66;;;;37739:21;;;37735:226;;37807:40;37815:7;37824:5;37831:7;37840:6;37807:7;:40::i;:::-;-1:-1:-1;;;;;37781:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:66;;;;37907:10;:17;;;;;;:38;;37866:31;;;:22;:31;;;;;:38;;;;;;;;;;:79;37735:226;37510:3;;37468:504;;;-1:-1:-1;29190:10:0::1;29182:19;::::0;;;:7:::1;:19;::::0;;;;;::::1;;29174:28;;;::::0;::::1;;29217:11:::0;29213:24:::1;;29230:7;;29213:24;29261:11;::::0;:23:::1;::::0;29277:6;29261:15:::1;:23::i;:::-;29247:11;:37:::0;-1:-1:-1;;;;;29318:14:0;::::1;29295:20;29318:14:::0;;;:8:::1;:14;::::0;;;;29355:9;;:21:::1;::::0;29369:6;29355:13:::1;:21::i;:::-;29343:33:::0;;-1:-1:-1;;;;;29391:21:0;::::1;29407:4;29391:21;29387:843;;;29516:44;29538:12;29553:6;29516:13;:44::i;:::-;29387:843;;;29582:11;29578:652;;;29623:10;::::0;::::1;::::0;:22:::1;::::0;29638:6;29623:14:::1;:22::i;:::-;29610:10;::::0;::::1;:35:::0;29660:18:::1;29681:75;19978:20:::0;29681:57:::1;19874:9;29681:36;:15;19874:9:::0;29681:19:::1;:36::i;:75::-;-1:-1:-1::0;;;;;29806:18:0;::::1;29771:32;29806:18:::0;;;:12:::1;:18;::::0;;;;29853:15;;29660:96;;-1:-1:-1;29806:18:0;29889:8;;;:51:::1;;;29930:10;29901:8;29914:1;29910:3;:5;29901:15;;;;;;;;;;;;;;;;;;:26;;;:39;29889:51;29885:262;;;29975:55;::::0;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;29961:70;;::::1;::::0;;::::1;::::0;;-1:-1:-1;29961:70:0;;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;29885:262:::1;;;30097:34;30124:6;30097:8;30110:1;30106:3;:5;30097:15;;;;;;;:34;30072:8;30085:1;30081:3;:5;30072:15;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:59:::0;29885:262:::1;29578:652;;;;;;30194:12;::::0;::::1;::::0;:24:::1;::::0;30211:6;30194:16:::1;:24::i;:::-;30179:12;::::0;::::1;:39:::0;29578:652:::1;30240:40;::::0;-1:-1:-1;;;30240:40:0;;-1:-1:-1;;;;;30240:12:0::1;:17;::::0;::::1;::::0;:40:::1;::::0;30266:4:::1;::::0;30273:6;;30240:40:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30303:4;-1:-1:-1::0;;;;;30296:20:0::1;;30309:6;30296:20;;;;;;:::i;:::-;;;;;;;;37982:1;;29064:1260:::0;;;;;;;:::o;23492:641::-;23625:12;:19;23558:27;;23608:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;23598:47;;23661:9;23656:445;23680:7;:14;23676:1;:18;23656:445;;;23810:15;23828:6;;:59;;-1:-1:-1;;;;;23864:17:0;;;;;;:8;:17;;;;;:23;23828:59;;;-1:-1:-1;;;;;23837:17:0;;;;;;:8;:17;;;;;:24;;;23828:59;23810:77;-1:-1:-1;23902:14:0;23919:6;;:35;;23943:11;;23919:35;;;23928:12;;23919:35;23902:52;;23988:12;24001:1;23988:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23988:15:0;23969:7;23977:1;23969:10;;;;;;;;;;;;;;:16;;:34;-1:-1:-1;;;;;23969:34:0;;;-1:-1:-1;;;;;23969:34:0;;;;;24038:51;24046:7;24055;24063:1;24055:10;;;;;;;;;;;;;;:16;;;24073:7;24082:6;24038:7;:51::i;:::-;24018:7;24026:1;24018:10;;;;;;;;;;;;;;;;;;;:17;:71;-1:-1:-1;;23696:3:0;;23656:445;;;;23492:641;;;:::o;25009:688::-;-1:-1:-1;;;;;25209:18:0;;25096:13;25209:18;;;:12;:18;;;;;25120:35;;25096:13;;25260:391;25281:15;;25277:19;;25260:391;;;25347:15;25322:8;25331:1;25322:11;;;;;;;;;;;;;;;;;;:22;;;:40;25318:322;;;25387:8;25383:112;;25455:15;;:19;;;25435:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;25420:55;;25383:112;25533:8;25542:1;25533:11;;;;;;;;;;;;;;;;;;25513:31;;;;;;;;;;;;;;;;;;;;;;;;;:12;25526:3;25513:17;;;;;;;;;;;;;:31;;;;25563:5;;;;;;;25595:29;25605:8;25614:1;25605:11;;;;;;;25595:29;25587:37;;25318:322;25298:3;;25260:391;;;;25661:28;;25009:688;;;:::o;20250:62::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;33817:614::-;36873:12;;33855:10;;36806:12;;36782:13;;36937:30;36806:12;36873;36937:15;:30::i;:::-;-1:-1:-1;;;;;36896:17:0;;;;;;:10;:17;;;;;;;;:38;:71;37013:31;36907:5;37013:24;:31::i;:::-;-1:-1:-1;;;;;36978:17:0;;;;;;;:10;:17;;;;;:32;;:66;;;;37059:21;;;37055:370;;-1:-1:-1;;;;;37238:17:0;;;;;;:8;:17;;;;;:24;;;37214:57;;37222:7;;37231:5;;37264:6;37214:7;:57::i;:::-;-1:-1:-1;;;;;37188:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:83;;;;37327:10;:17;;;;;;:38;;37286:31;;;:22;:31;;;;;:38;;;;;;;;;:79;;;;37390:17;;;:8;:17;;;;:23;;-1:-1:-1;37055:370:0;-1:-1:-1;37446:11:0;;37482:1;37468:504;37489:12;:19;37485:23;;37468:504;;;37538:12;37551:1;37538:15;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37538:15:0;;-1:-1:-1;37609:30:0;37538:15;37632:6;37609:15;:30::i;:::-;-1:-1:-1;;;;;37568:17:0;;;;;;:10;:17;;;;;;;;:38;:71;37689:31;37579:5;37689:24;:31::i;:::-;-1:-1:-1;;;;;37654:17:0;;;;;;;:10;:17;;;;;:32;;:66;;;;37739:21;;;37735:226;;37807:40;37815:7;37824:5;37831:7;37840:6;37807:7;:40::i;:::-;-1:-1:-1;;;;;37781:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:66;;;;37907:10;:17;;;;;;:38;;37866:31;;;:22;:31;;;;;:38;;;;;;;;;;:79;37735:226;37510:3;;37468:504;;;;33879:14:::1;33895:21:::0;33920:31:::1;33940:10;33920:19;:31::i;:::-;33982:10;33969:24;::::0;;;:12:::1;:24;::::0;;;;33878:73;;-1:-1:-1;33878:73:0;;-1:-1:-1;33962:31:0::1;::::0;33969:24;33962:31:::1;:::i;:::-;34036:10;34004:20;34027::::0;;;:8:::1;:20;::::0;;;;34102:10:::1;::::0;::::1;::::0;34084:12:::1;::::0;::::1;::::0;34070:9;;:43:::1;::::0;34102:10;34070:27:::1;::::0;:9;:13:::1;:27::i;:43::-;34058:55:::0;;:9:::1;34124:12;::::0;::::1;:16:::0;;;34151:10:::1;::::0;::::1;:14:::0;34192:42:::1;34208:25;:6:::0;34219:13;34208:10:::1;:25::i;:::-;34192:11;::::0;;:15:::1;:42::i;:::-;34178:11;:56:::0;34245:45:::1;-1:-1:-1::0;;;;;34245:12:0::1;:25;34271:10;34283:6:::0;34245:25:::1;:45::i;:::-;34305:17:::0;;34301:101:::1;;34339:51;34361:12;34376:13;34339;:51::i;:::-;34412:11;:9;:11::i;22988:240::-:0;23058:7;23078:14;23120:12;-1:-1:-1;;;;;23095:38:0;:13;-1:-1:-1;;;;;23095:38:0;;:67;;23151:11;;23095:67;;;23136:12;;23095:67;23078:84;;23180:38;23196:13;23211:6;23180:15;:38::i;16370:230::-;15689:12;:10;:12::i;:::-;15679:6;;-1:-1:-1;;;;;15679:6:0;;;:22;;;15671:67;;;;-1:-1:-1;;;15671:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16455:22:0;::::1;16447:73;;;;-1:-1:-1::0;;;16447:73:0::1;;;;;;;:::i;:::-;16553:6;::::0;16532:38:::1;::::0;-1:-1:-1;;;;;16532:38:0;;::::1;::::0;16553:6:::1;::::0;16532:38:::1;::::0;16553:6:::1;::::0;16532:38:::1;16577:6;:17:::0;;-1:-1:-1;;;;;;16577:17:0::1;-1:-1:-1::0;;;;;16577:17:0;;;::::1;::::0;;;::::1;::::0;;16370:230::o;20047:39::-;;;;;;;;;;;;;;;:::o;9981:167::-;10039:7;10067:5;;;10087:6;;;;10079:46;;;;-1:-1:-1;;;10079:46:0;;;;;;;:::i;10403:130::-;10461:7;10484:43;10488:1;10491;10484:43;;;;;;;;;;;;;;;;;:3;:43::i;12112:126::-;12170:7;12193:39;12197:1;12200;12193:39;;;;;;;;;;;;;;;;;:3;:39::i;21832:526::-;21920:7;21944:12;21940:98;;-1:-1:-1;;;;;;21980:25:0;;;;;;:10;:25;;;;;;;;:46;;21973:53;;21940:98;-1:-1:-1;;;;;22275:25:0;;;;;;:10;:25;;;;;:36;;;;22203:40;;;;;22068:282;;22137:198;;22327:7;;22137:185;;22317:4;;22137:175;;;;:39;22286:13;22137:24;:39::i;:198::-;-1:-1:-1;;;;;22068:25:0;;;;;;:10;:25;;;;;;;;:46;;;:50;:282::i;22366:361::-;-1:-1:-1;;;;;22689:14:0;;;22521:7;22689:14;;;:7;:14;;;;;;;;:29;;;;;;;;;;;;;22618;;;:22;:29;;;;;:44;;;;;;;;;;22548:171;;22689:29;22548:136;;22679:4;;22548:126;;22575:88;;:38;22704:13;22606:6;22575:15;:38::i;:88::-;22548:8;;:12;:126::i;:171::-;22541:178;22366:361;-1:-1:-1;;;;;22366:361:0:o;11237:431::-;11295:7;11524:6;11520:37;;-1:-1:-1;11548:1:0;11541:8;;11520:37;11577:5;;;11581:1;11577;:5;:1;11597:5;;;;;:10;11589:56;;;;-1:-1:-1;;;11589:56:0;;;;;;;:::i;17204:190::-;17303:85;17322:5;17352:23;;;17377:2;17381:5;17329:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;17329:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;17329:58:0;-1:-1:-1;;;;;;17329:58:0;;;;;;;;;;17303:18;:85::i;:::-;17204:190;;;:::o;35470:698::-;-1:-1:-1;;;;;35575:25:0;;;;;;:10;:25;;;;;:38;35556:15;:57;35552:448;;35669:27;:6;19874:9;35669:10;:27::i;:::-;-1:-1:-1;;;;;35630:25:0;;;;;;:10;:25;;;;;:36;;:66;35552:448;;;-1:-1:-1;;;;;35749:25:0;;35729:17;35749:25;;;:10;:25;;;;;:38;:59;;35792:15;35749:42;:59::i;:::-;-1:-1:-1;;;;;35856:25:0;;35823:16;35856:25;;;:10;:25;;;;;:36;;;35729:79;;-1:-1:-1;35823:16:0;35842:51;;35729:79;;35842:13;:51::i;:::-;35823:70;-1:-1:-1;35947:41:0;19874:9;35947:20;:6;35823:70;35947:10;:20::i;:41::-;-1:-1:-1;;;;;35908:25:0;;;;;;:10;:25;;;;;:36;;:80;-1:-1:-1;;35552:448:0;-1:-1:-1;;;;;36012:25:0;;;;;;:10;:25;;;;;36055:15;36012:40;;;;:58;;;36122:36;;19874:9;36122:19;:36::i;:::-;-1:-1:-1;;;;;36081:25:0;;;;;;;:10;:25;;;;;:77;;;;-1:-1:-1;35470:698:0:o;3235:100::-;3319:10;3235:100;:::o;17400:223::-;17522:95;17541:5;17571:27;;;17600:4;17606:2;17610:5;17548:68;;;;;;;;;;:::i;17522:95::-;17400:223;;;;:::o;10808:198::-;10914:7;10946:12;10938:6;;;;10930:29;;;;-1:-1:-1;;;10930:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;10978:5:0;;;10808:198::o;12702:343::-;12808:7;12902:12;12895:5;12887:28;;;;-1:-1:-1;;;12887:28:0;;;;;;;;:::i;:::-;;12922:9;12938:1;12934;:5;;;;;;;12702:343;-1:-1:-1;;;;;12702:343:0:o;17990:567::-;18074:27;18082:5;-1:-1:-1;;;;;18074:25:0;;:27::i;:::-;18066:71;;;;-1:-1:-1;;;18066:71:0;;;;;;;:::i;:::-;18203:12;18217:23;18252:5;-1:-1:-1;;;;;18244:19:0;18264:4;18244:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18202:67;;;;18284:7;18276:52;;;;-1:-1:-1;;;18276:52:0;;;;;;;:::i;:::-;18341:17;;:21;18337:215;;18478:10;18467:30;;;;;;;;;;;;:::i;:::-;18459:85;;;;-1:-1:-1;;;18459:85:0;;;;;;;:::i;772:597::-;832:4;1279:20;;1123:66;1320:23;;;;;;:42;;-1:-1:-1;1347:15:0;;;1320:42;1312:51;772:597;-1:-1:-1;;;;772:597:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;397:274::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;;625:40;661:2;650:9;646:18;625:40;:::i;:::-;615:50;;484:187;;;;;:::o;676:266::-;;;805:2;793:9;784:7;780:23;776:32;773:2;;;826:6;818;811:22;773:2;854:31;875:9;854:31;:::i;:::-;844:41;932:2;917:18;;;;904:32;;-1:-1:-1;;;763:179:1:o;947:397::-;;;;1090:2;1078:9;1069:7;1065:23;1061:32;1058:2;;;1111:6;1103;1096:22;1058:2;1139:31;1160:9;1139:31;:::i;:::-;1129:41;;1217:2;1206:9;1202:18;1189:32;1179:42;;1271:2;1260:9;1256:18;1243:32;1284:30;1308:5;1284:30;:::i;:::-;1333:5;1323:15;;;1048:296;;;;;:::o;1349:1148::-;;1464:2;1507;1495:9;1486:7;1482:23;1478:32;1475:2;;;1528:6;1520;1513:22;1475:2;1573:9;1560:23;1602:18;1643:2;1635:6;1632:14;1629:2;;;1664:6;1656;1649:22;1629:2;1707:6;1696:9;1692:22;1682:32;;1752:7;1745:4;1741:2;1737:13;1733:27;1723:2;;1779:6;1771;1764:22;1723:2;1820;1807:16;1842:2;1838;1835:10;1832:2;;;1848:9;1832:2;1886;1882;1878:11;1918:2;1912:9;1969:2;1964;1956:6;1952:15;1948:24;2022:6;2010:10;2007:22;2002:2;1990:10;1987:18;1984:46;1981:2;;;2033:9;1981:2;2060;2053:22;2110:18;;;2144:15;;;;-1:-1:-1;2179:11:1;;;2209;;;2205:20;;2202:33;-1:-1:-1;2199:2:1;;;2253:6;2245;2238:22;2199:2;2280:6;2271:15;;2295:171;2309:2;2306:1;2303:9;2295:171;;;2366:25;2387:3;2366:25;:::i;:::-;2354:38;;2327:1;2320:9;;;;;2412:12;;;;2444;;2295:171;;;-1:-1:-1;2485:6:1;1444:1053;-1:-1:-1;;;;;;;;1444:1053:1:o;2502:257::-;;2622:2;2610:9;2601:7;2597:23;2593:32;2590:2;;;2643:6;2635;2628:22;2590:2;2680:9;2674:16;2699:30;2723:5;2699:30;:::i;2764:190::-;;2876:2;2864:9;2855:7;2851:23;2847:32;2844:2;;;2897:6;2889;2882:22;2844:2;-1:-1:-1;2925:23:1;;2834:120;-1:-1:-1;2834:120:1:o;2959:194::-;;3082:2;3070:9;3061:7;3057:23;3053:32;3050:2;;;3103:6;3095;3088:22;3050:2;-1:-1:-1;3131:16:1;;3040:113;-1:-1:-1;3040:113:1:o;3158:321::-;;;3284:2;3272:9;3263:7;3259:23;3255:32;3252:2;;;3305:6;3297;3290:22;3252:2;3346:9;3333:23;3323:33;;3406:2;3395:9;3391:18;3378:32;3419:30;3443:5;3419:30;:::i;:::-;3468:5;3458:15;;;3242:237;;;;;:::o;3484:544::-;;3595:5;3589:12;3622:6;3617:3;3610:19;3648:4;3677:2;3672:3;3668:12;3661:19;;3714:2;3707:5;3703:14;3735:3;3747:256;3761:6;3758:1;3755:13;3747:256;;;3820:13;;3858:9;;3846:22;;3908:11;;3902:18;3888:12;;;3881:40;3950:4;3941:14;;;;3978:15;;;;3783:1;3776:9;3747:256;;;-1:-1:-1;4019:3:1;;3565:463;-1:-1:-1;;;;;3565:463:1:o;4033:274::-;;4200:6;4194:13;4216:53;4262:6;4257:3;4250:4;4242:6;4238:17;4216:53;:::i;:::-;4285:16;;;;;4170:137;-1:-1:-1;;4170:137:1:o;4312:203::-;-1:-1:-1;;;;;4476:32:1;;;;4458:51;;4446:2;4431:18;;4413:102::o;4520:375::-;-1:-1:-1;;;;;4778:15:1;;;4760:34;;4830:15;;;;4825:2;4810:18;;4803:43;4877:2;4862:18;;4855:34;;;;4710:2;4695:18;;4677:218::o;4900:274::-;-1:-1:-1;;;;;5092:32:1;;;;5074:51;;5156:2;5141:18;;5134:34;5062:2;5047:18;;5029:145::o;5179:821::-;5404:2;5456:21;;;5526:13;;5429:18;;;5548:22;;;5179:821;;5404:2;5589;;5607:18;;;;5648:15;;;5179:821;5694:280;5708:6;5705:1;5702:13;5694:280;;;5767:13;;5809:9;;-1:-1:-1;;;;;5805:35:1;5793:48;;5881:11;;5875:18;5861:12;;;5854:40;5914:12;;;;5949:15;;;;5837:1;5723:9;5694:280;;;-1:-1:-1;5991:3:1;;5384:616;-1:-1:-1;;;;;;;5384:616:1:o;6005:187::-;6170:14;;6163:22;6145:41;;6133:2;6118:18;;6100:92::o;6427:383::-;;6576:2;6565:9;6558:21;6608:6;6602:13;6651:6;6646:2;6635:9;6631:18;6624:34;6667:66;6726:6;6721:2;6710:9;6706:18;6701:2;6693:6;6689:15;6667:66;:::i;:::-;6794:2;6773:15;-1:-1:-1;;6769:29:1;6754:45;;;;6801:2;6750:54;;6548:262;-1:-1:-1;;6548:262:1:o;6815:402::-;7017:2;6999:21;;;7056:2;7036:18;;;7029:30;7095:34;7090:2;7075:18;;7068:62;-1:-1:-1;;;7161:2:1;7146:18;;7139:36;7207:3;7192:19;;6989:228::o;7222:338::-;7424:2;7406:21;;;7463:2;7443:18;;;7436:30;-1:-1:-1;;;7497:2:1;7482:18;;7475:44;7551:2;7536:18;;7396:164::o;7565:351::-;7767:2;7749:21;;;7806:2;7786:18;;;7779:30;7845:29;7840:2;7825:18;;7818:57;7907:2;7892:18;;7739:177::o;7921:356::-;8123:2;8105:21;;;8142:18;;;8135:30;8201:34;8196:2;8181:18;;8174:62;8268:2;8253:18;;8095:182::o;8282:398::-;8484:2;8466:21;;;8523:2;8503:18;;;8496:30;8562:34;8557:2;8542:18;;8535:62;-1:-1:-1;;;8628:2:1;8613:18;;8606:32;8670:3;8655:19;;8456:224::o;8685:341::-;8887:2;8869:21;;;8926:2;8906:18;;;8899:30;-1:-1:-1;;;8960:2:1;8945:18;;8938:47;9017:2;9002:18;;8859:167::o;9031:397::-;9233:2;9215:21;;;9272:2;9252:18;;;9245:30;9311:34;9306:2;9291:18;;9284:62;-1:-1:-1;;;9377:2:1;9362:18;;9355:31;9418:3;9403:19;;9205:223::o;9433:356::-;9635:2;9617:21;;;9654:18;;;9647:30;9713:34;9708:2;9693:18;;9686:62;9780:2;9765:18;;9607:182::o;9794:353::-;9996:2;9978:21;;;10035:2;10015:18;;;10008:30;10074:31;10069:2;10054:18;;10047:59;10138:2;10123:18;;9968:179::o;10152:353::-;10354:2;10336:21;;;10393:2;10373:18;;;10366:30;10432:31;10427:2;10412:18;;10405:59;10496:2;10481:18;;10326:179::o;10510:406::-;10712:2;10694:21;;;10751:2;10731:18;;;10724:30;10790:34;10785:2;10770:18;;10763:62;-1:-1:-1;;;10856:2:1;10841:18;;10834:40;10906:3;10891:19;;10684:232::o;10921:352::-;11123:2;11105:21;;;11162:2;11142:18;;;11135:30;11201;11196:2;11181:18;;11174:58;11264:2;11249:18;;11095:178::o;11278:355::-;11480:2;11462:21;;;11519:2;11499:18;;;11492:30;11558:33;11553:2;11538:18;;11531:61;11624:2;11609:18;;11452:181::o;11638:355::-;11840:2;11822:21;;;11879:2;11859:18;;;11852:30;11918:33;11913:2;11898:18;;11891:61;11984:2;11969:18;;11812:181::o;11998:177::-;12144:25;;;12132:2;12117:18;;12099:76::o;12180:412::-;;12447:6;12436:9;12429:25;12490:2;12485;12474:9;12470:18;12463:30;12510:76;12582:2;12571:9;12567:18;12559:6;12510:76;:::i;12597:248::-;12771:25;;;12827:2;12812:18;;12805:34;12759:2;12744:18;;12726:119::o;12850:556::-;;13173:6;13162:9;13155:25;13216:6;13211:2;13200:9;13196:18;13189:34;13259:6;13254:2;13243:9;13239:18;13232:34;13302:3;13297:2;13286:9;13282:18;13275:31;13323:77;13395:3;13384:9;13380:19;13372:6;13323:77;:::i;:::-;13315:85;13145:261;-1:-1:-1;;;;;;13145:261:1:o;13411:463::-;13670:25;;;13726:2;13711:18;;13704:34;;;;13769:2;13754:18;;13747:34;;;;13812:2;13797:18;;13790:34;13855:3;13840:19;;13833:35;13657:3;13642:19;;13624:250::o;13879:258::-;13951:1;13961:113;13975:6;13972:1;13969:13;13961:113;;;14051:11;;;14045:18;14032:11;;;14025:39;13997:2;13990:10;13961:113;;;14092:6;14089:1;14086:13;14083:2;;;-1:-1:-1;;14127:1:1;14109:16;;14102:27;13932:205::o;14142:120::-;14230:5;14223:13;14216:21;14209:5;14206:32;14196:2;;14252:1;14249;14242:12

Swarm Source

ipfs://087746841f5e86771263e2153264fd43c1629d228bed61cb4533bb43c0cf297c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.