Contract 0x4e8a4628468222c191589962b29304df5df4df9b 1

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xff488e913b97e5a37e3da46dcb67ac07d9945d78180d4532c30d2ad0971b559cWithdraw232367322022-12-05 8:10:3933 mins ago0xea28405a52c38c6bcd954bd7833de3e5c2a5dc75 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.0116336325 26.5
0xfe4afc0bca8d74a1c34a3c402288a51edbf8c91fd96b2ecaf3d5d8327c804de2Withdraw Expired...232264352022-12-05 2:15:556 hrs 28 mins ago0xf4c942ee218fcff25097e6a1c48269a6b5397663 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.016497668143 27.213232025
0x8459fe22ae364eab55d6c00a130f4c9c5649ab8e67edc79b935b617e2a9c5737Withdraw232233702022-12-05 0:31:048 hrs 12 mins ago0xb7929297716e07886a341295dbc2cfffc043660b IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.0128408665 26.5
0x4d176c2de638893a7d8a30c725932d6f80d4fa1cc5fab7f2f8bc3a9c80358360Withdraw232230442022-12-05 0:19:568 hrs 24 mins ago0xdb9cde94ab07a7c08270d9def9e3a37d61024b64 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.011549709 27
0xa429aaf11e9fe16ba10f6de1e462934779998ccfa15ffecd9fcd34c837ca50c9Stake232228912022-12-05 0:14:388 hrs 29 mins ago0x785b70b908e1458bdae818c03d7b8e6688b025e6 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.012260331 26.5
0x43963c4b7d1818397be0d8681f9f1f3e86ff36efd0012abd8b88c271289cbfbfGet Reward232228492022-12-05 0:13:088 hrs 30 mins ago0x785b70b908e1458bdae818c03d7b8e6688b025e6 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.015825376 26.5
0x4d17e14dc6928d596366484643413073e1df74973ab58a298c3f6a3b832b410fGet Reward232228322022-12-05 0:12:348 hrs 31 mins ago0x785b70b908e1458bdae818c03d7b8e6688b025e6 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.016292184282 27.2816825
0x5e56ba705a64236c3d349d01a74077ec898b83a82bdad51ba7890bc5867cd4abGet Reward232228272022-12-05 0:12:238 hrs 31 mins ago0x785b70b908e1458bdae818c03d7b8e6688b025e6 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.016773150548 27.305205
0xc55268fb852b08216de39521782d4f51ccf374767aca06c535dc576ba5e83b8dGet Reward232228222022-12-05 0:12:138 hrs 31 mins ago0x785b70b908e1458bdae818c03d7b8e6688b025e6 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.016262663169 27.35225
0x9a169b3d80c8933aec12636c88bbb4d431cbb69067ab5d6d2400630e43ae30ccGet Reward232228152022-12-05 0:11:598 hrs 32 mins ago0x785b70b908e1458bdae818c03d7b8e6688b025e6 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.010842475 26.5
0xfa442b24c2031f8482f0eac5fb4ec90960c8168441a72a7196a67b68498c9e4fWithdraw232223082022-12-04 23:54:468 hrs 49 mins ago0xe0cee9eaf010352e2cb813aa56c2350dc9338bce IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.011601659785 27.053018162
0xcaac8cbe96f602fb9c2ac4704eda9279187c54cf2ce66641f21ad0ac92333fb2Withdraw232195652022-12-04 22:18:4910 hrs 25 mins ago0xb0720a40d6335df0ac90ff9e4b755217632ca78c IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.0116223965 26.5
0x0ebf42d472ae9bef9f0d0cd5c460bfc5c1945b80191ef2bddcee877e0abf12e5Get Reward232126822022-12-04 18:22:3814 hrs 21 mins ago0xecd8416edb9843a1afa4660aa65bf613048d9f5a IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.011289356887 26.485294751
0xce4414a249c1d97496a776b41769608019ef413cbb41409a8c6749da7aaf4c32Get Reward232126592022-12-04 18:21:5114 hrs 22 mins ago0xecd8416edb9843a1afa4660aa65bf613048d9f5a IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.014563774214 26.729633049
0x41e63461b72652777c8c0fb4e08e915b88f3cffb05f5408ebe81b84b90825fd6Get Reward232126482022-12-04 18:21:2914 hrs 22 mins ago0xecd8416edb9843a1afa4660aa65bf613048d9f5a IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.014592920582 26.783126854
0xd81d97c427100f2b2b741a709490bc72a9c7dd5c9a46b3ac8ceda620d0b1376fGet Reward232126362022-12-04 18:21:0514 hrs 22 mins ago0xecd8416edb9843a1afa4660aa65bf613048d9f5a IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.01416623 26
0xb0ebef459d4a76ec16f8e76c55994307419e27cb2c5fdb4d3e67e45c15f5c881Get Reward232123812022-12-04 18:12:2014 hrs 31 mins ago0xef7c8c8a887962341c7ecbfe1d1d0f63ec8fcba7 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.011491426517 26.959358399
0xfceaee644d807983da50764c48d62e9d63f77bc2b7a2325c682508e5f480a341Get Reward232083672022-12-04 15:55:1016 hrs 48 mins ago0x8a714cd6e61bfce8bc15d1116640b4c7e46a0530 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.038720325
0xdd2b692a12abfc647c00ce64522a31a7e41736a9417c1efaafac088addb09084Withdraw232076192022-12-04 15:29:2817 hrs 14 mins ago0xfeb9ee87c5f6ac6c7febbec71080397dd9da5f3a IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.010719825
0x4627bb9cc796b65ed7a24e9c319d22a3a93771ce0322b9ff6036428b1e7a192cWithdraw232068642022-12-04 15:03:4717 hrs 40 mins ago0x6f122de7b6ff6dcf934f841039973ebb30d9950d IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.01233870635 27.35
0x942db31d149075d9a39a9a7e6c7e57ca2b057c493ed6d070cfa4bbea0d3e3042Withdraw232064992022-12-04 14:51:3417 hrs 52 mins ago0xf6842e34a04a42f48251e143af75ed475451b287 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.01331477058 27.2816825
0x0d297f186f0195b8b51a004fef0f93a8b04e3484eb62ba62b83f04a11166c529Withdraw231993802022-12-04 10:46:0321 hrs 58 mins ago0x7250c3d16b64203047bf722827206ce147c5b6d4 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.011435983413 26.665944009
0xc297ae96ad44ed987b8523e877b4d4e93665ceb6e47fb31c600bdabe833027b7Withdraw231981992022-12-04 10:05:1122 hrs 38 mins ago0xf06fdd0feb53b71556ddd11ddeb85807adf7376b IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.0110261465 26.5
0x9ab22dc78a58b05ebc06cce89fca990617a07f8cc0fe8a958b5a3f69dfd5c922Get Reward231978522022-12-04 9:53:0322 hrs 51 mins ago0x9eed5584122339bb79932e8cf1f2a991c2f83926 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.0460519915 26.5
0x73958cea9a4f982b0146570b3c71bbe5cf979a8ab2f62b040bee23a2402d1126Get Reward231962542022-12-04 8:57:0723 hrs 46 mins ago0xb56925882f80bf913be541ed87380256499901a7 IN  0x4e8a4628468222c191589962b29304df5df4df9b0 AVAX0.01458038209 26.900577647
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiFeeDistribution

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2022-03-28
*/

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

// File contracts/interfaces/IChefIncentivesController.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

interface IChefIncentivesController {

  /**
   * @dev Called by the corresponding asset on any update that affects the rewards distribution
   * @param user The address of the user
   * @param userBalance The balance of the user of the asset in the lending pool
   * @param totalSupply The total supply of the asset in the lending pool
   **/
  function handleAction(
    address user,
    uint256 userBalance,
    uint256 totalSupply
  ) external;

    function addPool(address _token, uint256 _allocPoint) external;

    function claim(address _user, address[] calldata _tokens) external;

}


// File contracts/interfaces/IMultiFeeDistribution.sol

pragma solidity 0.6.12;

interface IMultiFeeDistribution {

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

}


// File contracts/dependencies/openzeppelin/contracts/IERC20.sol

pragma solidity 0.6.12;

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

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

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

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

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

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

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

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


// File contracts/dependencies/openzeppelin/contracts/SafeMath.sol

pragma solidity 0.6.12;

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


// File contracts/dependencies/openzeppelin/contracts/Address.sol

pragma solidity 0.6.12;

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


// File contracts/dependencies/openzeppelin/contracts/SafeERC20.sol


pragma solidity 0.6.12;



/**
 * @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 contracts/dependencies/openzeppelin/contracts/Context.sol

pragma solidity 0.6.12;

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

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


// File contracts/dependencies/openzeppelin/contracts/Ownable.sol


pragma solidity ^0.6.0;

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

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

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

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

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

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

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


// File contracts/staking/MultiFeeDistribution.sol

pragma solidity 0.6.12;

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

// Based on Ellipsis EPS Staker
// https://github.com/ellipsis-finance/ellipsis/blob/master/contracts/EpsStaker.sol
contract MultiFeeDistribution is IMultiFeeDistribution, 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;
    }

    // reward tokens treasury
    address immutable treasury;

    IChefIncentivesController public incentivesController;
    IERC20 public immutable stakingToken;
    address[] public rewardTokens;
    mapping(address => Reward) public rewardData;

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

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

    // Penalty in percent 75.00%
    uint256 public constant penaltyPercent = 7500;

    // 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, address _treasury) Ownable() public {
        treasury = _treasury;
        stakingToken = IERC20(_stakingToken);
        // IMintableToken(_stakingToken).setMinter(address(this));
        // First reward MUST be the staking token or things will break
        // related to the 75% 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;
    }

    function setIncentivesController(IChefIncentivesController _controller) external onlyOwner {
        incentivesController = _controller;
    }

    // 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 _currentRewardPerToken
    ) internal view returns (uint256) {
        return _balance.mul(
            _currentRewardPerToken.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).div(1e12);
    }

    // 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, rewardTokens[i], balance, _rewardPerToken(rewardTokens[i], supply)).div(1e12);
        }
        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[user];
        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 75% 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];
        uint256 earned = bal.earned;
        if (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 = earned.sub(amountWithoutPenalty).mul(penaltyPercent).div(10000);
        }
        amount = bal.unlocked.add(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 {
        require(amount > 0, "Cannot stake 0");
        _updateReward(msg.sender);
        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, lock);
    }

    // Mint new tokens
    // Minted tokens receive rewards normally but incur a 75% penalty when
    // withdrawn before lockDuration has passed.
    function mint(address user, uint256 amount, bool withPenalty) external override {
        require(minters[msg.sender]);
        if (amount == 0) return;
        _updateReward(user);

        stakingToken.safeTransferFrom(treasury, address(this), amount);
        if (user == address(this)) {
            // minting to this contract adds the new tokens as incentives for lockers
            _notifyReward(address(stakingToken), amount);
            return;
        }
        totalSupply = totalSupply.add(amount);
        Balances storage bal = balances[user];
        bal.total = bal.total.add(amount);
        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);
        }
        emit Staked(user, amount, false);
    }

    // Withdraw staked tokens
    // First withdraws unlocked tokens, then earned tokens. Withdrawing earned tokens
    // incurs a 75% penalty which is distributed based on locked balances.
    function withdraw(uint256 amount) public {
        require(amount > 0, "Cannot withdraw 0");
        _updateReward(msg.sender);
        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(10000).div(penaltyAmount);
                }
                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) {
            incentivesController.claim(address(this), new address[](0));
            _notifyReward(address(stakingToken), penaltyAmount);
        }
        emit Withdrawn(msg.sender, amount, penaltyAmount);
    }

    function _getReward(address[] memory _rewardTokens) internal {
        uint256 length = _rewardTokens.length;
        for (uint i; i < length; i++) {
            address token = _rewardTokens[i];
            uint256 reward = rewards[msg.sender][token].div(1e12);
            if (token != address(stakingToken)) {
                // for rewards other than stakingToken, every 24 hours we check if new
                // rewards were sent to the contract or accrued via aToken interest
                Reward storage r = rewardData[token];
                uint256 periodFinish = r.periodFinish;
                require(periodFinish > 0, "Unknown reward token");
                uint256 balance = r.balance;
                if (periodFinish < block.timestamp.add(rewardsDuration - 1 days)) {
                    uint256 unseen = IERC20(token).balanceOf(address(this)).sub(balance);
                    if (unseen > 0) {
                        _notifyReward(token, unseen);
                        balance = balance.add(unseen);
                    }
                }
                r.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);
        }
    }

    // Claim all pending staking rewards
    function getReward(address[] memory _rewardTokens) public {
        _updateReward(msg.sender);
        _getReward(_rewardTokens);
    }

    // Withdraw full unlocked balance and optionally claim pending rewards
    function exit(bool claimRewards) 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) {
            incentivesController.claim(address(this), new address[](0));
            _notifyReward(address(stakingToken), penaltyAmount);
        }
        if (claimRewards) {
            _getReward(rewardTokens);
        }
        emit Withdrawn(msg.sender, amount, penaltyAmount);
    }

    // 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);
        emit Withdrawn(msg.sender, amount, 0);
    }

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

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

        r.lastUpdateTime = block.timestamp;
        r.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);
    }

    function _updateReward(address account) internal {
        address token = address(stakingToken);
        uint256 balance;
        Reward storage r = rewardData[token];
        uint256 rpt = _rewardPerToken(token, lockedSupply);
        r.rewardPerTokenStored = rpt;
        r.lastUpdateTime = lastTimeRewardApplicable(token);
        if (account != address(this)) {
            // Special case, use the locked balances and supply for stakingReward rewards
            rewards[account][token] = _earned(account, token, balances[account].locked, rpt);
            userRewardPerTokenPaid[account][token] = rpt;
            balance = balances[account].total;
        }

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

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

    event Staked(address indexed user, uint256 amount, bool locked);
    event Withdrawn(address indexed user, uint256 receivedAmount, uint256 penaltyPaid);
    event RewardPaid(address indexed user, address indexed rewardsToken, uint256 reward);
    event Recovered(address token, uint256 amount);
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_treasury","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":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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"locked","type":"bool"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"receivedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"penaltyPaid","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":[{"internalType":"bool","name":"claimRewards","type":"bool"}],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_rewardTokens","type":"address[]"}],"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":[],"name":"incentivesController","outputs":[{"internalType":"contract IChefIncentivesController","name":"","type":"address"}],"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":[],"name":"penaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"contract IChefIncentivesController","name":"_controller","type":"address"}],"name":"setIncentivesController","outputs":[],"stateMutability":"nonpayable","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 IERC20","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"}]

60c06040523480156200001157600080fd5b5060405162002fb638038062002fb683398101604081905262000034916200010b565b60006200004062000107565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606091821b81166080529082901b1660a052600280546001810182557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b039390931692831790556000918252600360205260409091204291015562000162565b3390565b600080604083850312156200011e578182fd5b82516200012b8162000149565b60208401519092506200013e8162000149565b809150509250929050565b6001600160a01b03811681146200015f57600080fd5b50565b60805160601c60a05160601c612dee620001c860003980610a0c5280610acb5280610d9a5280610e2f528061111f5280611358528061145352806114b15280611a205280611adf5280611bca5280611dc952806120f25250806114755250612dee6000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80638980f11f11610125578063d1a1beb4116100ad578063e6c91a151161007c578063e6c91a1514610453578063e70b9e2714610466578063f122977714610479578063f2fde38b1461048c578063f46eccc41461049f57610211565b8063d1a1beb4146103ec578063dc01f60d146103ff578063df3798761461041f578063e655dbd81461044057610211565b8063a01c77bc116100f4578063a01c77bc146103ae578063abe50f19146103b6578063af1df255146103c9578063bcd11014146103d1578063ca5c7b91146103e457610211565b80638980f11f1461036b5780638da5cb5b1461037e5780638fd9f2ca146103865780639c9b2e211461039b57610211565b8063547d0096116101a85780637035ab98116101775780637035ab9814610315578063715018a61461032857806372f702f3146103305780637bb7bed1146103455780637fd7d0621461035857610211565b8063547d0096146102c95780635e0fac2e146102dc578063638634ee146102ef5780636eacd3981461030257610211565b806318160ddd116101e457806318160ddd146102805780632e1a7d4d14610288578063386a95251461029d57806348e5d9f8146102a557610211565b806302b629381461021657806304554443146102405780630483a7f614610255578063161ba46a14610278575b600080fd5b6102296102243660046125f2565b6104b2565b604051610237929190612cc2565b60405180910390f35b6102486105ef565b6040516102379190612c90565b6102686102633660046125f2565b6105f6565b6040516102379493929190612cd0565b610248610784565b61024861078a565b61029b610296366004612787565b610790565b005b610248610b39565b6102b86102b33660046125f2565b610b40565b604051610237959493929190612cff565b61029b6102d73660046126b2565b610b70565b6102486102ea3660046125f2565b610c1e565b6102486102fd3660046125f2565b610cb2565b6102486103103660046125f2565b610ce1565b61024861032336600461260e565b610cfc565b61029b610d19565b610338610d98565b604051610237919061283c565b610338610353366004612787565b610dbc565b61029b6103663660046126b2565b610de3565b61029b610379366004612646565b610df8565b610338610f11565b61038e610f20565b6040516102379190612941565b61029b6103a93660046125f2565b610f29565b61029b610fe6565b61029b6103c43660046127b7565b611182565b6103386113c8565b6102486103df3660046125f2565b6113d7565b610248611411565b61029b6103fa366004612671565b611417565b61041261040d3660046125f2565b611663565b60405161023791906128e9565b61043261042d3660046125f2565b611811565b604051610237929190612c99565b61029b61044e3660046125f2565b611935565b61029b61046136600461274f565b61198c565b61024861047436600461260e565b611ba8565b6102486104873660046125f2565b611bc5565b61029b61049a3660046125f2565b611c19565b61038e6104ad3660046125f2565b611ccf565b6001600160a01b0381166000908152600a60205260408120600381015482919080156105c5576001600160a01b0385166000908152600c6020526040812054815b8181101561059d576001600160a01b0388166000908152600c6020526040812080548390811061051f57fe5b906000526020600020906002020160000154905080600014156105425750610595565b6001600160a01b0389166000908152600c6020526040902080544291908490811061056957fe5b9060005260206000209060020201600101541115610587575061059d565b6105918482611ce4565b9350505b6001016104f3565b506105c06127106105ba611d4c6105b48787611d09565b90611d4b565b90611d85565b945050505b6105e6836105e0838560010154611ce490919063ffffffff16565b90611d09565b93505050915091565b6277f88081565b6001600160a01b0381166000908152600b602052604081208190819060609082805b825481101561075c574283828154811061062e57fe5b906000526020600020906002020160010154111561072a57816106a457825481900367ffffffffffffffff8111801561066657600080fd5b506040519080825280602002602001820160405280156106a057816020015b61068d612576565b8152602001906001900390816106855790505b5093505b8281815481106106b057fe5b9060005260206000209060020201604051806040016040529081600082015481526020016001820154815250508483815181106106e957fe5b6020026020010181905250818060010192505061072383828154811061070b57fe5b60009182526020909120600290910201548690611ce4565b9450610754565b61075183828154811061073957fe5b60009182526020909120600290910201548790611ce4565b95505b600101610618565b5050506001600160a01b0385166000908152600a602052604090206002015493509193509193565b611d4c81565b60085481565b600081116107b95760405162461bcd60e51b81526004016107b090612a9b565b60405180910390fd5b6107c233611dc7565b336000908152600a60205260408120600181015490919083116107f85760018201546107ee9084611d09565b60018301556109d2565b6000610811836001015485611d0990919063ffffffff16565b905080836003015410156108375760405162461bcd60e51b81526004016107b090612b73565b60006001840155600383015461084d9082611d09565b600384015560005b336000908152600c6020526040812080548390811061087057fe5b9060005260206000209060020201600001549050806000141561089357506109c7565b831580156108ce5750336000908152600c602052604090208054429190849081106108ba57fe5b906000526020600020906002020160010154115b156109455782935082856003015410156108fa5760405162461bcd60e51b81526004016107b090612a59565b60038501546109099084611d09565b6003860181905561093257336000908152600c6020526040812061092c91612590565b506109cf565b610942846105ba85612710611d4b565b92505b808311610988576109568184611d09565b336000908152600c6020526040902080548490811061097157fe5b6000918252602090912060029091020155506109cf565b336000908152600c602052604090208054839081106109a357fe5b600091825260208220600290910201818155600101556109c38382611d09565b9250505b600101610855565b50505b60006109de8483611ce4565b83549091506109ed9082611d09565b83556008546109fc9082611d09565b600855610a336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163386611f87565b8115610af0576001546001600160a01b0316638e2eba09306000604051908082528060200260200182016040528015610a76578160200160208202803683370190505b506040518363ffffffff1660e01b8152600401610a94929190612874565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b50505050610af07f000000000000000000000000000000000000000000000000000000000000000083611fdd565b336001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc68584604051610b2b929190612cc2565b60405180910390a250505050565b62093a8081565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b610b7861208f565b6000546001600160a01b03908116911614610ba55760405162461bcd60e51b81526004016107b090612b07565b60055460ff1615610bb557600080fd5b60005b8151811015610c0d57600160046000848481518110610bd357fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610bb8565b50506005805460ff19166001179055565b6001600160a01b0381166000908152600a6020908152604080832060010154600c909252822090915b8154811015610cab5742828281548110610c5d57fe5b9060005260206000209060020201600101541115610c7a57610cab565b610ca1828281548110610c8957fe5b60009182526020909120600290910201548490611ce4565b9250600101610c47565b5050919050565b6001600160a01b038116600090815260036020526040812054428111610cd85780610cda565b425b9392505050565b6001600160a01b03166000908152600a602052604090205490565b600660209081526000928352604080842090915290825290205481565b610d2161208f565b6000546001600160a01b03908116911614610d4e5760405162461bcd60e51b81526004016107b090612b07565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000081565b60028181548110610dc957fe5b6000918252602090912001546001600160a01b0316905081565b610dec33611dc7565b610df581612093565b50565b610e0061208f565b6000546001600160a01b03908116911614610e2d5760405162461bcd60e51b81526004016107b090612b07565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415610e7f5760405162461bcd60e51b81526004016107b090612b3c565b6001600160a01b03821660009081526003602052604090206002015415610eb85760405162461bcd60e51b81526004016107b090612bf4565b610ed4610ec3610f11565b6001600160a01b0384169083611f87565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051610f059291906128d0565b60405180910390a15050565b6000546001600160a01b031690565b60055460ff1681565b610f3161208f565b6000546001600160a01b03908116911614610f5e5760405162461bcd60e51b81526004016107b090612b07565b6001600160a01b03811660009081526003602052604090206002015415610f8457600080fd5b600280546001810182557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b039093166001600160a01b0319909316831790556000918252600360205260409091204291810182905555565b610fef33611dc7565b336000908152600b60209081526040808320600a90925282208154919290914284600019830183811061101e57fe5b9060005260206000209060020201600101541161105b576002830154336000908152600b602052604081209193506110569190612590565b6110d0565b60005b818110156110ce574285828154811061107357fe5b9060005260206000209060020201600101541115611090576110ce565b61109f858281548110610c8957fe5b92508481815481106110ad57fe5b6000918252602082206002909102018181556001908101919091550161105e565b505b60028301546110df9083611d09565b600284015582546110f09083611d09565b83556008546110ff9083611d09565b60085560095461110f9083611d09565b6009556111466001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163384611f87565b336001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6836000604051610b2b929190612cc2565b600082116111a25760405162461bcd60e51b81526004016107b0906129c5565b6111ab33611dc7565b6008546111b89083611ce4565b600855336000908152600a6020526040902080546111d69084611ce4565b81558115611336576009546111eb9084611ce4565b60095560028101546111fd9084611ce4565b600282015560006112226277f88061121c62093a806105b44282611d85565b90611ce4565b336000908152600b60205260409020549091508015806112735750336000908152600b602052604090208054839190600019840190811061125f57fe5b906000526020600020906002020160010154105b156112c257336000908152600b6020908152604080832081518083019092528882528183018681528154600181810184559286529390942091516002909302909101918255915191015561132f565b336000908152600b6020526040902080546112fe91879160001985019081106112e757fe5b600091825260209091206002909102015490611ce4565b336000908152600b602052604090208054600019840190811061131d57fe5b60009182526020909120600290910201555b505061134b565b60018101546113459084611ce4565b60018201555b6113806001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330866122c5565b336001600160a01b03167f37d4053e34fde482e96f6bcd424dfa31342cbd5fe184d497fb3c8bb4b4b9758084846040516113bb929190612cb2565b60405180910390a2505050565b6001546001600160a01b031681565b6001600160a01b03811660009081526003602052604081206001015461140b9064e8d4a51000906105ba9062093a80611d4b565b92915050565b60095481565b3360009081526004602052604090205460ff1661143357600080fd5b8161143d5761165e565b61144683611dc7565b61149b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000030856122c5565b6001600160a01b0383163014156114db576114d67f000000000000000000000000000000000000000000000000000000000000000083611fdd565b61165e565b6008546114e89083611ce4565b6008556001600160a01b0383166000908152600a60205260409020805461150f9084611ce4565b8155811561160d5760038101546115269084611ce4565b600382015560006115456277f88061121c62093a806105b44282611d85565b6001600160a01b0386166000908152600c6020526040902080549192509080158061158f57508282600183038154811061157b57fe5b906000526020600020906002020160010154105b156115d1576040805180820190915286815260208082018581528454600181810187556000878152939093209351600290910290930192835551910155611605565b6115e4868360018403815481106112e757fe5b8260018303815481106115f357fe5b60009182526020909120600290910201555b505050611622565b600181015461161c9084611ce4565b60018201555b836001600160a01b03167f37d4053e34fde482e96f6bcd424dfa31342cbd5fe184d497fb3c8bb4b4b97580846000604051610b2b929190612cb2565b505050565b60025460609067ffffffffffffffff8111801561167f57600080fd5b506040519080825280602002602001820160405280156116b957816020015b6116a66125b1565b81526020019060019003908161169e5790505b50905060005b815181101561180b57600081156116ee576001600160a01b0384166000908152600a602052604090205461170b565b6001600160a01b0384166000908152600a60205260409020600201545b90506000821561171d57600854611721565b6009545b90506002838154811061173057fe5b9060005260206000200160009054906101000a90046001600160a01b031684848151811061175a57fe5b6020026020010151600001906001600160a01b031690816001600160a01b0316815250506117e764e8d4a510006105ba876002878154811061179857fe5b9060005260206000200160009054906101000a90046001600160a01b0316866117e260028a815481106117c757fe5b6000918252602090912001546001600160a01b0316886122ec565b612383565b8484815181106117f357fe5b602090810291909101810151015250506001016116bf565b50919050565b6001600160a01b0381166000908152600c6020526040812060609082805b825481101561192d574283828154811061184557fe5b906000526020600020906002020160010154111561192557816118bb57825481900367ffffffffffffffff8111801561187d57600080fd5b506040519080825280602002602001820160405280156118b757816020015b6118a4612576565b81526020019060019003908161189c5790505b5093505b8281815481106118c757fe5b90600052602060002090600202016040518060400160405290816000820154815260200160018201548152505084838151811061190057fe5b6020026020010181905250818060010192505061192283828154811061070b57fe5b94505b60010161182f565b505050915091565b61193d61208f565b6000546001600160a01b0390811691161461196a5760405162461bcd60e51b81526004016107b090612b07565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61199533611dc7565b6000806119a1336104b2565b336000908152600c602052604081209294509092506119c09190612590565b336000908152600a602052604090206003810154600182015482546119ea92916105e09190611d09565b81556000600182018190556003820155611a10611a078484611ce4565b60085490611d09565b600855611a476001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163385611f87565b8115611b04576001546001600160a01b0316638e2eba09306000604051908082528060200260200182016040528015611a8a578160200160208202803683370190505b506040518363ffffffff1660e01b8152600401611aa8929190612874565b600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b50505050611b047f000000000000000000000000000000000000000000000000000000000000000083611fdd565b8315611b6d57611b6d6002805480602002602001604051908101604052809291908181526020018280548015611b6357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b45575b5050505050612093565b336001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc68484604051610b2b929190612cc2565b600760209081526000928352604080842090915290825290205481565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614611c0957600854611c0d565b6009545b9050610cda83826122ec565b611c2161208f565b6000546001600160a01b03908116911614611c4e5760405162461bcd60e51b81526004016107b090612b07565b6001600160a01b038116611c745760405162461bcd60e51b81526004016107b09061297f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60046020526000908152604090205460ff1681565b600082820183811015610cda5760405162461bcd60e51b81526004016107b0906129ed565b6000610cda83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506123f2565b600082611d5a5750600061140b565b82820282848281611d6757fe5b0414610cda5760405162461bcd60e51b81526004016107b090612ac6565b6000610cda83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061241e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03811660009081526003602052604081206009548290611e109085906122ec565b600383018190559050611e2284610cb2565b60028301556001600160a01b0385163014611eb0576001600160a01b0385166000908152600a6020526040902060020154611e61908690869084612383565b6001600160a01b038087166000818152600760209081526040808320948a168084529482528083209590955582825260068152848220938252928352838120859055908152600a909152205492505b60085460025460015b81811015611f7d5760028181548110611ece57fe5b60009182526020808320909101546001600160a01b0316808352600390915260409091209097509450611f0187846122ec565b600386018190559350611f1387610cb2565b60028601556001600160a01b0388163014611f7557611f3488888887612383565b6001600160a01b03808a166000818152600760209081526040808320948d168084529482528083209590955591815260068252838120928152919052208490555b600101611eb9565b5050505050505050565b61165e8363a9059cbb60e01b8484604051602401611fa69291906128d0565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612455565b6001600160a01b03821660009081526003602052604090208054421061201d5761201362093a806105ba8464e8d4a51000611d4b565b6001820155612074565b805460009061202c9042611d09565b9050600061205064e8d4a510006105ba856001015485611d4b90919063ffffffff16565b905061206c62093a806105ba64e8d4a510006105b48886611ce4565b600184015550505b42600282018190556120899062093a80611ce4565b90555050565b3390565b805160005b8181101561165e5760008382815181106120ae57fe5b6020908102919091018101513360009081526007835260408082206001600160a01b0384168352909352918220549092506120ee9064e8d4a51000611d85565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614612232576001600160a01b03821660009081526003602052604090208054806121605760405162461bcd60e51b81526004016107b090612c62565b6004820154612172426207e900611ce4565b82101561221c5760006121fb82876001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016121ab919061283c565b60206040518083038186803b1580156121c357600080fd5b505afa1580156121d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061279f565b9050801561221a5761220d8682611fdd565b6122178282611ce4565b91505b505b6122268185611d09565b83600401819055505050505b8061223e5750506122bd565b3360008181526007602090815260408083206001600160a01b038716808552925282209190915561226f9183611f87565b816001600160a01b0316336001600160a01b03167f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e836040516122b29190612c90565b60405180910390a350505b600101612098565b6122e6846323b872dd60e01b858585604051602401611fa693929190612850565b50505050565b60008161231657506001600160a01b0382166000908152600360208190526040909120015461140b565b6001600160a01b03831660009081526003602052604090206001810154600290910154610cda916123609185916105ba91670de0b6b3a7640000916105b49182906105e08c610cb2565b6001600160a01b0385166000908152600360208190526040909120015490611ce4565b6001600160a01b0380851660008181526007602090815260408083209488168084529482528083205493835260068252808320948352939052918220546123e9919061121c90670de0b6b3a7640000906105ba906123e2908890611d09565b8890611d4b565b95945050505050565b600081848411156124165760405162461bcd60e51b81526004016107b0919061294c565b505050900390565b6000818361243f5760405162461bcd60e51b81526004016107b0919061294c565b50600083858161244b57fe5b0495945050505050565b612467826001600160a01b031661253a565b6124835760405162461bcd60e51b81526004016107b090612c2b565b60006060836001600160a01b03168360405161249f9190612820565b6000604051808303816000865af19150503d80600081146124dc576040519150601f19603f3d011682016040523d82523d6000602084013e6124e1565b606091505b5091509150816125035760405162461bcd60e51b81526004016107b090612a24565b8051156122e6578080602001905181019061251e919061276b565b6122e65760405162461bcd60e51b81526004016107b090612baa565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061256e57508115155b949350505050565b604051806040016040528060008152602001600081525090565b5080546000825560020290600052602060002090810190610df591906125c8565b604080518082019091526000808252602082015290565b5b808211156125e357600080825560018201556002016125c9565b5090565b803561140b81612d95565b600060208284031215612603578081fd5b8135610cda81612d95565b60008060408385031215612620578081fd5b823561262b81612d95565b9150602083013561263b81612d95565b809150509250929050565b60008060408385031215612658578182fd5b823561266381612d95565b946020939093013593505050565b600080600060608486031215612685578081fd5b833561269081612d95565b92506020840135915060408401356126a781612daa565b809150509250925092565b600060208083850312156126c4578182fd5b823567ffffffffffffffff8111156126da578283fd5b8301601f810185136126ea578283fd5b80356126fd6126f882612d49565b612d22565b8181528381019083850185840285018601891015612719578687fd5b8694505b838510156127435761272f89826125e7565b83526001949094019391850191850161271d565b50979650505050505050565b600060208284031215612760578081fd5b8135610cda81612daa565b60006020828403121561277c578081fd5b8151610cda81612daa565b600060208284031215612798578081fd5b5035919050565b6000602082840312156127b0578081fd5b5051919050565b600080604083850312156127c9578182fd5b82359150602083013561263b81612daa565b6000815180845260208085019450808401835b838110156128155781518051885283015183880152604090960195908201906001016127ee565b509495945050505050565b60008251612832818460208701612d69565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038381168252604060208084018290528451918401829052600092858201929091906060860190855b818110156128c25785518516835294830194918301916001016128a4565b509098975050505050505050565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b8281101561293457815180516001600160a01b03168552860151868501529284019290850190600101612906565b5091979650505050505050565b901515815260200190565b600060208252825180602084015261296b816040850160208701612d69565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600e908201526d043616e6e6f74207374616b6520360941b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b60208082526022908201527f496e73756666696369656e742062616c616e63652061667465722070656e616c604082015261747960f01b606082015260800190565b602080825260119082015270043616e6e6f74207769746864726177203607c1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f43616e6e6f74207769746864726177207374616b696e6720746f6b656e000000604082015260600190565b6020808252601d908201527f496e73756666696369656e7420756e6c6f636b65642062616c616e6365000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601c908201527f43616e6e6f742077697468647261772072657761726420746f6b656e00000000604082015260600190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b6020808252601490820152732ab735b737bbb7103932bbb0b932103a37b5b2b760611b604082015260600190565b90815260200190565b60008382526040602083015261256e60408301846127db565b9182521515602082015260400190565b918252602082015260400190565b600085825284602083015283604083015260806060830152612cf560808301846127db565b9695505050505050565b948552602085019390935260408401919091526060830152608082015260a00190565b60405181810167ffffffffffffffff81118282101715612d4157600080fd5b604052919050565b600067ffffffffffffffff821115612d5f578081fd5b5060209081020190565b60005b83811015612d84578181015183820152602001612d6c565b838111156122e65750506000910152565b6001600160a01b0381168114610df557600080fd5b8015158114610df557600080fdfea26469706673582212206c5ababe1ac2de26bbdf6190876ab162b54002f8c290099e953a249d4afc4a9964736f6c634300060c0033000000000000000000000000fcde4a87b8b6fa58326bb462882f1778158b02f1000000000000000000000000d1c99f5831bd32502d7a3115a06f24d1f98fe3df

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

000000000000000000000000fcde4a87b8b6fa58326bb462882f1778158b02f1000000000000000000000000d1c99f5831bd32502d7a3115a06f24d1f98fe3df

-----Decoded View---------------
Arg [0] : _stakingToken (address): 0xfcde4a87b8b6fa58326bb462882f1778158b02f1
Arg [1] : _treasury (address): 0xd1c99f5831bd32502d7a3115a06f24d1f98fe3df

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fcde4a87b8b6fa58326bb462882f1778158b02f1
Arg [1] : 000000000000000000000000d1c99f5831bd32502d7a3115a06f24d1f98fe3df


Deployed ByteCode Sourcemap

17193:20775:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25561:962;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;18490:59;;;:::i;:::-;;;;;;;:::i;24643:828::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;18592:45::-;;;:::i;18960:26::-;;;:::i;29535:2105::-;;;;;;:::i;:::-;;:::i;:::-;;18386:48;;;:::i;18285:44::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;:::i;19842:242::-;;;;;;:::i;:::-;;:::i;23329:436::-;;;;;;:::i;:::-;;:::i;21578:245::-;;;;;;:::i;:::-;;:::i;23119:121::-;;;;;;:::i;:::-;;:::i;18805:77::-;;;;;;:::i;:::-;;:::i;16271:138::-;;;:::i;18206:36::-;;;:::i;:::-;;;;;;;:::i;18249:29::-;;;;;;:::i;:::-;;:::i;33067:138::-;;;;;;:::i;:::-;;:::i;35948:396::-;;;;;;:::i;:::-;;:::i;15669:73::-;;;:::i;18732:25::-;;;:::i;:::-;;;;;;;:::i;20304:322::-;;;;;;:::i;:::-;;:::i;34208:948::-;;;:::i;26734:1116::-;;;;;;:::i;:::-;;:::i;18146:53::-;;;:::i;22079:178::-;;;;;;:::i;:::-;;:::i;18993:27::-;;;:::i;28008:1325::-;;;;;;:::i;:::-;;:::i;22345:684::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23899:688::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;20092:144::-;;;;;;:::i;:::-;;:::i;33289:833::-;;;;;;:::i;:::-;;:::i;18889:62::-;;;;;;:::i;:::-;;:::i;21831:240::-;;;;;;:::i;:::-;;:::i;16554:230::-;;;;;;:::i;:::-;;:::i;18686:39::-;;;;;;:::i;:::-;;:::i;25561:962::-;-1:-1:-1;;;;;25739:14:0;;25651;25739;;;:8;:14;;;;;25781:10;;;;25651:14;;25739;25806:10;;25802:610;;-1:-1:-1;;;;;25893:18:0;;25833:28;25893:18;;;:12;:18;;;;;:25;25833:28;25933:372;25954:6;25950:1;:10;25933:372;;;-1:-1:-1;;;;;26009:18:0;;25986:20;26009:18;;;:12;:18;;;;;:21;;26028:1;;26009:21;;;;;;;;;;;;;;;;:28;;;25986:51;;26060:12;26076:1;26060:17;26056:31;;;26079:8;;;26056:31;-1:-1:-1;;;;;26110:18:0;;;;;;:12;:18;;;;;:21;;26145:15;;26110:18;26129:1;;26110:21;;;;;;;;;;;;;;;;:32;;;:50;26106:104;;;26185:5;;;26106:104;26251:38;:20;26276:12;26251:24;:38::i;:::-;26228:61;;25933:372;;25962:3;;25933:372;;;-1:-1:-1;26337:63:0;26394:5;26337:52;18633:4;26337:32;:6;26348:20;26337:10;:32::i;:::-;:36;;:52::i;:::-;:56;;:63::i;:::-;26321:79;;25802:610;;;26431:43;26460:13;26431:24;26448:6;26431:3;:12;;;:16;;:24;;;;:::i;:::-;:28;;:43::i;:::-;26422:52;;26485:30;;25561:962;;;:::o;18490:59::-;18529:20;18490:59;:::o;24643:828::-;-1:-1:-1;;;;;24890:15:0;;24730:13;24890:15;;;:9;:15;;;;;24730:13;;;;24808:31;;24730:13;;24938:455;24959:12;;24955:16;;24938:455;;;25019:15;24997:5;25003:1;24997:8;;;;;;;;;;;;;;;;;;:19;;;:37;24993:389;;;25059:8;25055:105;;25123:12;;:16;;;25103:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;25092:48;;25055:105;25194:5;25200:1;25194:8;;;;;;;;;;;;;;;;;;25178:24;;;;;;;;;;;;;;;;;;;;;;;;;:8;25187:3;25178:13;;;;;;;;;;;;;:24;;;;25221:5;;;;;;;25254:27;25265:5;25271:1;25265:8;;;;;;;;;;;;;;;;;;;;;:15;25254:6;;:10;:27::i;:::-;25245:36;;24993:389;;;25335:31;25350:5;25356:1;25350:8;;;;;;;;;;;;;;;;;;;;;:15;25335:10;;:14;:31::i;:::-;25322:44;;24993:389;24973:3;;24938:455;;;-1:-1:-1;;;;;;;;25411:14:0;;;;;;:8;:14;;;;;:21;;;;-1:-1:-1;24643:828:0;;;;;:::o;18592:45::-;18633:4;18592:45;:::o;18960:26::-;;;;:::o;29535:2105::-;29604:1;29595:6;:10;29587:40;;;;-1:-1:-1;;;29587:40:0;;;;;;;:::i;:::-;;;;;;;;;29638:25;29652:10;29638:13;:25::i;:::-;29706:10;29674:20;29697;;;:8;:20;;;;;29776:12;;;;29697:20;;29674;29766:22;;29762:1399;;29820:12;;;;:24;;29837:6;29820:16;:24::i;:::-;29805:12;;;:39;29762:1399;;;29877:17;29897:24;29908:3;:12;;;29897:6;:10;;:24;;;;:::i;:::-;29877:44;;29958:9;29944:3;:10;;;:23;;29936:65;;;;-1:-1:-1;;;29936:65:0;;;;;;;:::i;:::-;30031:1;30016:12;;;:16;30060:10;;;;:25;;30075:9;30060:14;:25::i;:::-;30047:10;;;:38;30105:6;30100:1050;30179:10;30143:20;30166:24;;;:12;:24;;;;;:27;;30191:1;;30166:27;;;;;;;;;;;;;;;;:34;;;30143:57;;30223:12;30239:1;30223:17;30219:31;;;30242:8;;;30219:31;30273:18;;:78;;;;-1:-1:-1;30308:10:0;30295:24;;;;:12;:24;;;;;:27;;30336:15;;30295:24;30320:1;;30295:27;;;;;;;;;;;;;;;;:38;;;:56;30273:78;30269:537;;;30392:9;30376:25;;30446:9;30432:3;:10;;;:23;;30424:70;;;;-1:-1:-1;;;30424:70:0;;;;;;;:::i;:::-;30530:10;;;;:25;;30545:9;30530:14;:25::i;:::-;30517:10;;;:38;;;30578:135;;30646:10;30633:24;;;;:12;:24;;;;;30626:31;;;:::i;:::-;30684:5;;;30578:135;30747:39;30772:13;30747:20;:9;30761:5;30747:13;:20::i;:39::-;30735:51;;30269:537;30841:12;30828:9;:25;30824:311;;30915:27;:12;30932:9;30915:16;:27::i;:::-;30891:10;30878:24;;;;:12;:24;;;;;:27;;30903:1;;30878:27;;;;;;;;;;;;;;;;;;;:64;-1:-1:-1;30965:5:0;;30824:311;31039:10;31026:24;;;;:12;:24;;;;;:27;;31051:1;;31026:27;;;;;;;;;;;;;;;;;;31019:34;;;;;;31088:27;:9;31102:12;31088:13;:27::i;:::-;31076:39;;30100:1050;;30119:3;;30100:1050;;;;29762:1399;;31173:22;31198:25;:6;31209:13;31198:10;:25::i;:::-;31246:9;;31173:50;;-1:-1:-1;31246:29:0;;31173:50;31246:13;:29::i;:::-;31234:41;;31300:11;;:31;;31316:14;31300:15;:31::i;:::-;31286:11;:45;31342;-1:-1:-1;;;;;31342:12:0;:25;31368:10;31380:6;31342:25;:45::i;:::-;31402:17;;31398:175;;31436:20;;-1:-1:-1;;;;;31436:20:0;:26;31471:4;31436:20;31478:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31478:16:0;;31436:59;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31510:51;31532:12;31547:13;31510;:51::i;:::-;31598:10;-1:-1:-1;;;;;31588:44:0;;31610:6;31618:13;31588:44;;;;;;;:::i;:::-;;;;;;;;29535:2105;;;;:::o;18386:48::-;18428:6;18386:48;:::o;18285:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19842:242::-;15873:12;:10;:12::i;:::-;15863:6;;-1:-1:-1;;;;;15863:6:0;;;:22;;;15855:67;;;;-1:-1:-1;;;15855:67:0;;;;;;;:::i;:::-;19928:13:::1;::::0;::::1;;19927:14;19919:23;;;::::0;::::1;;19958:6;19953:93;19970:8;:15;19966:1;:19;19953:93;;;20030:4;20007:7;:20;20015:8;20024:1;20015:11;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;20007:20:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;20007:20:0;:27;;-1:-1:-1;;20007:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;19987:3:0::1;19953:93;;;-1:-1:-1::0;;20056:13:0::1;:20:::0;;-1:-1:-1;;20056:20:0::1;20072:4;20056:20;::::0;;19842:242::o;23329:436::-;-1:-1:-1;;;;;23427:14:0;;23391;23427;;;:8;:14;;;;;;;;:23;;;23496:12;:18;;;;;23427:23;;23525:209;23546:15;;23542:19;;23525:209;;;23612:15;23587:8;23596:1;23587:11;;;;;;;;;;;;;;;;;;:22;;;:40;23583:86;;;23648:5;;23583:86;23692:30;23703:8;23712:1;23703:11;;;;;;;;;;;;;;;;;;;;;:18;23692:6;;:10;:30::i;:::-;23683:39;-1:-1:-1;23563:3:0;;23525:209;;;;23744:13;23329:436;;;:::o;21578:245::-;-1:-1:-1;;;;;21696:25:0;;21656:7;21696:25;;;:10;:25;;;;;:38;21752:15;:30;-1:-1:-1;21752:63:0;;21803:12;21752:63;;;21785:15;21752:63;21745:70;21578:245;-1:-1:-1;;;21578:245:0:o;23119:121::-;-1:-1:-1;;;;;23212:14:0;23178;23212;;;:8;:14;;;;;:20;;23119:121::o;18805:77::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;16271:138::-;15873:12;:10;:12::i;:::-;15863:6;;-1:-1:-1;;;;;15863:6:0;;;:22;;;15855:67;;;;-1:-1:-1;;;15855:67:0;;;;;;;:::i;:::-;16374:1:::1;16358:6:::0;;16337:40:::1;::::0;-1:-1:-1;;;;;16358:6:0;;::::1;::::0;16337:40:::1;::::0;16374:1;;16337:40:::1;16401:1;16384:19:::0;;-1:-1:-1;;;;;;16384:19:0::1;::::0;;16271:138::o;18206:36::-;;;:::o;18249:29::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18249:29:0;;-1:-1:-1;18249:29:0;:::o;33067:138::-;33136:25;33150:10;33136:13;:25::i;:::-;33172;33183:13;33172:10;:25::i;:::-;33067:138;:::o;35948:396::-;15873:12;:10;:12::i;:::-;15863:6;;-1:-1:-1;;;;;15863:6:0;;;:22;;;15855:67;;;;-1:-1:-1;;;15855:67:0;;;;;;;:::i;:::-;36075:12:::1;-1:-1:-1::0;;;;;36051:37:0::1;:12;-1:-1:-1::0;;;;;36051:37:0::1;;;36043:79;;;;-1:-1:-1::0;;;36043:79:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;36141:24:0;::::1;;::::0;;;:10:::1;:24;::::0;;;;:39:::1;;::::0;:44;36133:85:::1;;;;-1:-1:-1::0;;;36133:85:0::1;;;;;;;:::i;:::-;36229:55;36263:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;36229:33:0;::::1;::::0;36272:11;36229:33:::1;:55::i;:::-;36300:36;36310:12;36324:11;36300:36;;;;;;;:::i;:::-;;;;;;;;35948:396:::0;;:::o;15669:73::-;15707:7;15730:6;-1:-1:-1;;;;;15730:6:0;15669:73;:::o;18732:25::-;;;;;;:::o;20304:322::-;15873:12;:10;:12::i;:::-;15863:6;;-1:-1:-1;;;;;15863:6:0;;;:22;;;15855:67;;;;-1:-1:-1;;;15855:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;20393:25:0;::::1;;::::0;;;:10:::1;:25;::::0;;;;:40:::1;;::::0;:45;20385:54:::1;;;::::0;::::1;;20450:12;:32:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;20450:32:0;;::::1;-1:-1:-1::0;;;;;;20450:32:0;;::::1;::::0;::::1;::::0;;-1:-1:-1;20493:25:0;;;:10:::1;20450:32;20493:25:::0;;;;;20536:15:::1;20493:40:::0;;::::1;:58:::0;;;20562:56;20304:322::o;34208:948::-;34260:25;34274:10;34260:13;:25::i;:::-;34338:10;34296:29;34328:21;;;:9;:21;;;;;;;;34383:8;:20;;;;;34456:12;;34328:21;;34383:20;;34513:15;34328:21;-1:-1:-1;;34489:8:0;;34483:15;;;;;;;;;;;;;;;;;:26;;;:45;34479:378;;34554:10;;;;34596;34586:21;;;;:9;:21;;;;;34554:10;;-1:-1:-1;34579:28:0;;34586:21;34579:28;:::i;:::-;34479:378;;;34645:6;34640:206;34661:6;34657:1;:10;34640:206;;;34719:15;34697:5;34703:1;34697:8;;;;;;;;;;;;;;;;;;:19;;;:37;34693:48;;;34736:5;;34693:48;34769:27;34780:5;34786:1;34780:8;;;;;;;34769:27;34760:36;;34822:5;34828:1;34822:8;;;;;;;;;;;;;;;;;;;;34815:15;;;;;;;;;;;34669:3;34640:206;;;;34479:378;34880:10;;;;:22;;34895:6;34880:14;:22::i;:::-;34867:10;;;:35;34925:9;;:21;;34939:6;34925:13;:21::i;:::-;34913:33;;34971:11;;:23;;34987:6;34971:15;:23::i;:::-;34957:11;:37;35020:12;;:24;;35037:6;35020:16;:24::i;:::-;35005:12;:39;35055:45;-1:-1:-1;;;;;35055:12:0;:25;35081:10;35093:6;35055:25;:45::i;:::-;35126:10;-1:-1:-1;;;;;35116:32:0;;35138:6;35146:1;35116:32;;;;;;;:::i;26734:1116::-;26813:1;26804:6;:10;26796:37;;;;-1:-1:-1;;;26796:37:0;;;;;;;:::i;:::-;26844:25;26858:10;26844:13;:25::i;:::-;26894:11;;:23;;26910:6;26894:15;:23::i;:::-;26880:11;:37;26960:10;26928:20;26951;;;:8;:20;;;;;26994:9;;:21;;27008:6;26994:13;:21::i;:::-;26982:33;;27026:694;;;;27066:12;;:24;;27083:6;27066:16;:24::i;:::-;27051:12;:39;27118:10;;;;:22;;27133:6;27118:14;:22::i;:::-;27105:10;;;:35;27155:18;27176:75;18529:20;27176:57;18428:6;27176:36;:15;18428:6;27176:19;:36::i;:57::-;:61;;:75::i;:::-;27290:10;27266:11;27280:21;;;:9;:21;;;;;:28;27155:96;;-1:-1:-1;27327:8:0;;;:64;;-1:-1:-1;27349:10:0;27339:21;;;;:9;:21;;;;;:28;;27381:10;;27339:21;-1:-1:-1;;27361:5:0;;;27339:28;;;;;;;;;;;;;;;;:39;;;:52;27327:64;27323:314;;;27422:10;27412:21;;;;:9;:21;;;;;;;;27439:55;;;;;;;;;;;;;;;;;27412:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27323:314;;;27584:10;27574:21;;;;:9;:21;;;;;:28;;:47;;27614:6;;-1:-1:-1;;27596:5:0;;;27574:28;;;;;;;;;;;;;;;;;;;:35;;:39;:47::i;:::-;27546:10;27536:21;;;;:9;:21;;;;;:28;;-1:-1:-1;;27558:5:0;;;27536:28;;;;;;;;;;;;;;;;;;;:85;27323:314;27026:694;;;;;27684:12;;;;:24;;27701:6;27684:16;:24::i;:::-;27669:12;;;:39;27026:694;27730:64;-1:-1:-1;;;;;27730:12:0;:29;27760:10;27780:4;27787:6;27730:29;:64::i;:::-;27817:10;-1:-1:-1;;;;;27810:32:0;;27829:6;27837:4;27810:32;;;;;;;:::i;:::-;;;;;;;;26734:1116;;;:::o;18146:53::-;;;-1:-1:-1;;;;;18146:53:0;;:::o;22079:178::-;-1:-1:-1;;;;;22182:25:0;;22155:7;22182:25;;;:10;:25;;;;;:36;;;:67;;22244:4;;22182:57;;18428:6;22182:40;:57::i;:67::-;22175:74;22079:178;-1:-1:-1;;22079:178:0:o;18993:27::-;;;;:::o;28008:1325::-;28115:10;28107:19;;;;:7;:19;;;;;;;;28099:28;;;;;;28142:11;28138:24;;28155:7;;28138:24;28172:19;28186:4;28172:13;:19::i;:::-;28204:62;-1:-1:-1;;;;;28204:12:0;:29;28234:8;28252:4;28259:6;28204:29;:62::i;:::-;-1:-1:-1;;;;;28281:21:0;;28297:4;28281:21;28277:206;;;28406:44;28428:12;28443:6;28406:13;:44::i;:::-;28465:7;;28277:206;28507:11;;:23;;28523:6;28507:15;:23::i;:::-;28493:11;:37;-1:-1:-1;;;;;28564:14:0;;28541:20;28564:14;;;:8;:14;;;;;28601:9;;:21;;28615:6;28601:13;:21::i;:::-;28589:33;;28633:650;;;;28678:10;;;;:22;;28693:6;28678:14;:22::i;:::-;28665:10;;;:35;28715:18;28736:75;18529:20;28736:57;18428:6;28736:36;:15;18428:6;28736:19;:36::i;:75::-;-1:-1:-1;;;;;28861:18:0;;28826:32;28861:18;;;:12;:18;;;;;28908:15;;28715:96;;-1:-1:-1;28861:18:0;28942:8;;;:51;;;28983:10;28954:8;28967:1;28963:3;:5;28954:15;;;;;;;;;;;;;;;;;;:26;;;:39;28942:51;28938:262;;;29028:55;;;;;;;;;;;;;;;;;;;29014:70;;;;;;;;-1:-1:-1;29014:70:0;;;;;;;;;;;;;;;;;;;;;;;28938:262;;;29150:34;29177:6;29150:8;29163:1;29159:3;:5;29150:15;;;;;;;:34;29125:8;29138:1;29134:3;:5;29125:15;;;;;;;;;;;;;;;;;;;;;:59;28938:262;28633:650;;;;;;29247:12;;;;:24;;29264:6;29247:16;:24::i;:::-;29232:12;;;:39;28633:650;29305:4;-1:-1:-1;;;;;29298:27:0;;29311:6;29319:5;29298:27;;;;;;;:::i;28008:1325::-;;;;:::o;22345:684::-;22478:12;:19;22411:27;;22461:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;22451:47;;22514:9;22509:488;22533:7;:14;22529:1;:18;22509:488;;;22663:15;22681:6;;:59;;-1:-1:-1;;;;;22717:17:0;;;;;;:8;:17;;;;;:23;22681:59;;;-1:-1:-1;;;;;22690:17:0;;;;;;:8;:17;;;;;:24;;;22681:59;22663:77;-1:-1:-1;22755:14:0;22772:6;;:35;;22796:11;;22772:35;;;22781:12;;22772:35;22755:52;;22841:12;22854:1;22841:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22841:15:0;22822:7;22830:1;22822:10;;;;;;;;;;;;;;:16;;:34;-1:-1:-1;;;;;22822:34:0;;;-1:-1:-1;;;;;22822:34:0;;;;;22891:94;22980:4;22891:84;22899:7;22908:12;22921:1;22908:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22908:15:0;22925:7;22934:40;22950:12;22963:1;22950:15;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22950:15:0;22967:6;22934:15;:40::i;:::-;22891:7;:84::i;:94::-;22871:7;22879:1;22871:10;;;;;;;;;;;;;;;;;;;:17;:114;-1:-1:-1;;22549:3:0;;22509:488;;;;22345:684;;;:::o;23899:688::-;-1:-1:-1;;;;;24099:18:0;;23986:13;24099:18;;;:12;:18;;;;;24010:35;;23986:13;;24150:391;24171:15;;24167:19;;24150:391;;;24237:15;24212:8;24221:1;24212:11;;;;;;;;;;;;;;;;;;:22;;;:40;24208:322;;;24277:8;24273:112;;24345:15;;:19;;;24325:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;24310:55;;24273:112;24423:8;24432:1;24423:11;;;;;;;;;;;;;;;;;;24403:31;;;;;;;;;;;;;;;;;;;;;;;;;:12;24416:3;24403:17;;;;;;;;;;;;;:31;;;;24453:5;;;;;;;24485:29;24495:8;24504:1;24495:11;;;;;;;24485:29;24477:37;;24208:322;24188:3;;24150:391;;;;24551:28;;23899:688;;;:::o;20092:144::-;15873:12;:10;:12::i;:::-;15863:6;;-1:-1:-1;;;;;15863:6:0;;;:22;;;15855:67;;;;-1:-1:-1;;;15855:67:0;;;;;;;:::i;:::-;20194:20:::1;:34:::0;;-1:-1:-1;;;;;;20194:34:0::1;-1:-1:-1::0;;;;;20194:34:0;;;::::1;::::0;;;::::1;::::0;;20092:144::o;33289:833::-;33342:25;33356:10;33342:13;:25::i;:::-;33379:14;33395:21;33420:31;33440:10;33420:19;:31::i;:::-;33482:10;33469:24;;;;:12;:24;;;;;33378:73;;-1:-1:-1;33378:73:0;;-1:-1:-1;33462:31:0;;33469:24;33462:31;:::i;:::-;33536:10;33504:20;33527;;;:8;:20;;;;;33602:10;;;;33584:12;;;;33570:9;;:43;;33602:10;33570:27;;:9;:13;:27::i;:43::-;33558:55;;:9;33624:12;;;:16;;;33651:10;;;:14;33692:42;33708:25;:6;33719:13;33708:10;:25::i;:::-;33692:11;;;:15;:42::i;:::-;33678:11;:56;33745:45;-1:-1:-1;;;;;33745:12:0;:25;33771:10;33783:6;33745:25;:45::i;:::-;33805:17;;33801:175;;33839:20;;-1:-1:-1;;;;;33839:20:0;:26;33874:4;33839:20;33881:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33881:16:0;;33839:59;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33913:51;33935:12;33950:13;33913;:51::i;:::-;33990:12;33986:69;;;34019:24;34030:12;34019:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34019:24:0;;;;;;;;;;;;;;;;;;;;;:10;:24::i;:::-;34080:10;-1:-1:-1;;;;;34070:44:0;;34092:6;34100:13;34070:44;;;;;;;:::i;18889:62::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;21831:240::-;21901:7;21921:14;21963:12;-1:-1:-1;;;;;21938:38:0;:13;-1:-1:-1;;;;;21938:38:0;;:67;;21994:11;;21938:67;;;21979:12;;21938:67;21921:84;;22023:38;22039:13;22054:6;22023:15;:38::i;16554:230::-;15873:12;:10;:12::i;:::-;15863:6;;-1:-1:-1;;;;;15863:6:0;;;:22;;;15855:67;;;;-1:-1:-1;;;15855:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16639:22:0;::::1;16631:73;;;;-1:-1:-1::0;;;16631:73:0::1;;;;;;;:::i;:::-;16737:6;::::0;;16716:38:::1;::::0;-1:-1:-1;;;;;16716:38:0;;::::1;::::0;16737:6;::::1;::::0;16716:38:::1;::::0;::::1;16761:6;:17:::0;;-1:-1:-1;;;;;;16761:17:0::1;-1:-1:-1::0;;;;;16761:17:0;;;::::1;::::0;;;::::1;::::0;;16554:230::o;18686:39::-;;;;;;;;;;;;;;;:::o;4720:167::-;4778:7;4806:5;;;4826:6;;;;4818:46;;;;-1:-1:-1;;;4818:46:0;;;;;;;:::i;5142:130::-;5200:7;5223:43;5227:1;5230;5223:43;;;;;;;;;;;;;;;;;:3;:43::i;5976:431::-;6034:7;6263:6;6259:37;;-1:-1:-1;6287:1:0;6280:8;;6259:37;6316:5;;;6320:1;6316;:5;:1;6336:5;;;;;:10;6328:56;;;;-1:-1:-1;;;6328:56:0;;;;;;;:::i;6851:126::-;6909:7;6932:39;6936:1;6939;6932:39;;;;;;;;;;;;;;;;;:3;:39::i;36352:1266::-;36436:12;-1:-1:-1;;;;;36505:17:0;;36412:13;36505:17;;;:10;:17;;;;;36570:12;;36412:13;;36547:36;;36436:12;;36547:15;:36::i;:::-;36594:22;;;:28;;;36533:50;-1:-1:-1;36652:31:0;36677:5;36652:24;:31::i;:::-;36633:16;;;:50;-1:-1:-1;;;;;36698:24:0;;36717:4;36698:24;36694:335;;-1:-1:-1;;;;;36880:17:0;;;;;;:8;:17;;;;;:24;;;36856:54;;36864:7;;36873:5;;36906:3;36856:7;:54::i;:::-;-1:-1:-1;;;;;36830:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:80;;;;36925:31;;;:22;:31;;;;;:38;;;;;;;;;:44;;;36994:17;;;:8;:17;;;;:23;;-1:-1:-1;36694:335:0;37058:11;;37097:12;:19;37141:1;37127:484;37148:6;37144:1;:10;37127:484;;;37184:12;37197:1;37184:15;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37184:15:0;37218:17;;;:10;:17;;;;;;;37184:15;;-1:-1:-1;37218:17:0;-1:-1:-1;37256:30:0;37184:15;37279:6;37256:15;:30::i;:::-;37301:22;;;:28;;;37250:36;-1:-1:-1;37363:31:0;37388:5;37363:24;:31::i;:::-;37344:16;;;:50;-1:-1:-1;;;;;37413:24:0;;37432:4;37413:24;37409:191;;37484:37;37492:7;37501:5;37508:7;37517:3;37484:7;:37::i;:::-;-1:-1:-1;;;;;37458:16:0;;;;;;;:7;:16;;;;;;;;:23;;;;;;;;;;;;:63;;;;37540:31;;;:22;:31;;;;;:38;;;;;;;:44;;;37409:191;37156:3;;37127:484;;;;36352:1266;;;;;;;:::o;12261:190::-;12360:85;12379:5;12409:23;;;12434:2;12438:5;12386:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12386:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;12386:58:0;-1:-1:-1;;;;;;12386:58:0;;;;;;;;;;12360:18;:85::i;35220:613::-;-1:-1:-1;;;;;35321:25:0;;35302:16;35321:25;;;:10;:25;;;;;35380:14;;35361:15;:33;35357:358;;35426:37;18428:6;35426:16;:6;35437:4;35426:10;:16::i;:37::-;35411:12;;;:52;35357:358;;;35516:14;;35496:17;;35516:35;;35535:15;35516:18;:35::i;:::-;35496:55;;35566:16;35585:37;35617:4;35585:27;35599:1;:12;;;35585:9;:13;;:27;;;;:::i;:37::-;35566:56;-1:-1:-1;35652:51:0;18428:6;35652:30;35677:4;35652:20;:6;35566:56;35652:10;:20::i;:51::-;35637:12;;;:66;-1:-1:-1;;35357:358:0;35746:15;35727:16;;;:34;;;35789:36;;18428:6;35789:19;:36::i;:::-;35772:53;;-1:-1:-1;;35220:613:0:o;14260:100::-;14344:10;14260:100;:::o;31648:1369::-;31737:20;;31720:14;31768:1242;31785:6;31781:1;:10;31768:1242;;;31813:13;31829;31843:1;31829:16;;;;;;;;;;;;;;;;;;;31885:10;31860:14;31877:19;;;:7;:19;;;;;;-1:-1:-1;;;;;31877:26:0;;;;;;;;;;;31829:16;;-1:-1:-1;31877:36:0;;31908:4;31877:30;:36::i;:::-;31860:53;;31949:12;-1:-1:-1;;;;;31932:30:0;:5;-1:-1:-1;;;;;31932:30:0;;31928:868;;-1:-1:-1;;;;;32175:17:0;;32156:16;32175:17;;;:10;:17;;;;;32234:14;;32275:16;32267:49;;;;-1:-1:-1;;;32267:49:0;;;;;;;:::i;:::-;32353:9;;;;32400:45;:15;32420:24;32400:19;:45::i;:::-;32385:12;:60;32381:350;;;32470:14;32487:51;32530:7;32494:5;-1:-1:-1;;;;;32487:23:0;;32519:4;32487:38;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:51::-;32470:68;-1:-1:-1;32565:10:0;;32561:151;;32604:28;32618:5;32625:6;32604:13;:28::i;:::-;32669:19;:7;32681:6;32669:11;:19::i;:::-;32659:29;;32561:151;32381:350;;32761:19;:7;32773:6;32761:11;:19::i;:::-;32749:1;:9;;:31;;;;31928:868;;;;32814:11;32810:25;;32827:8;;;;32810:25;32858:10;32879:1;32850:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;32850:26:0;;;;;;;;;:30;;;;32895:46;;32934:6;32895:26;:46::i;:::-;32984:5;-1:-1:-1;;;;;32961:37:0;32972:10;-1:-1:-1;;;;;32961:37:0;;32991:6;32961:37;;;;;;:::i;:::-;;;;;;;;31768:1242;;;31793:3;;31768:1242;;12457:223;12579:95;12598:5;12628:27;;;12657:4;12663:2;12667:5;12605:68;;;;;;;;;;:::i;12579:95::-;12457:223;;;;:::o;20675:526::-;20763:7;20787:12;20783:98;;-1:-1:-1;;;;;;20823:25:0;;;;;;:10;:25;;;;;;;;:46;;20816:53;;20783:98;-1:-1:-1;;;;;21118:25:0;;;;;;:10;:25;;;;;:36;;;;21046:40;;;;;20911:282;;20980:198;;21170:7;;20980:185;;21160:4;;20980:175;;;;:39;21129:13;20980:24;:39::i;:198::-;-1:-1:-1;;;;;20911:25:0;;;;;;:10;:25;;;;;;;;:46;;;:50;:282::i;21209:361::-;-1:-1:-1;;;;;21532:14:0;;;21380:7;21532:14;;;:7;:14;;;;;;;;:29;;;;;;;;;;;;;21461;;;:22;:29;;;;;:44;;;;;;;;;;21407:155;;21532:29;21407:120;;21522:4;;21407:110;;21434:72;;:22;;:26;:72::i;:::-;21407:8;;:12;:110::i;:155::-;21400:162;21209:361;-1:-1:-1;;;;;21209:361:0:o;5547:198::-;5653:7;5685:12;5677:6;;;;5669:29;;;;-1:-1:-1;;;5669:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;5717:5:0;;;5547:198::o;7441:343::-;7547:7;7641:12;7634:5;7626:28;;;;-1:-1:-1;;;7626:28:0;;;;;;;;:::i;:::-;;7661:9;7677:1;7673;:5;;;;;;;7441:343;-1:-1:-1;;;;;7441:343:0:o;13047:567::-;13131:27;13139:5;-1:-1:-1;;;;;13131:25:0;;:27::i;:::-;13123:71;;;;-1:-1:-1;;;13123:71:0;;;;;;;:::i;:::-;13260:12;13274:23;13309:5;-1:-1:-1;;;;;13301:19:0;13321:4;13301:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13259:67;;;;13341:7;13333:52;;;;-1:-1:-1;;;13333:52:0;;;;;;;:::i;:::-;13398:17;;:21;13394:215;;13535:10;13524:30;;;;;;;;;;;;:::i;:::-;13516:85;;;;-1:-1:-1;;;13516:85:0;;;;;;;:::i;9720:597::-;9780:4;10227:20;;10071:66;10268:23;;;;;;:42;;-1:-1:-1;10295:15:0;;;10268:42;10260:51;9720:597;-1:-1:-1;;;;9720:597:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::o;5:130::-;72:20;;97:33;72:20;97:33;:::i;1620:241::-;;1724:2;1712:9;1703:7;1699:23;1695:32;1692:2;;;-1:-1;;1730:12;1692:2;85:6;72:20;97:33;124:5;97:33;:::i;1868:366::-;;;1989:2;1977:9;1968:7;1964:23;1960:32;1957:2;;;-1:-1;;1995:12;1957:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2047:63;-1:-1;2147:2;2186:22;;72:20;97:33;72:20;97:33;:::i;:::-;2155:63;;;;1951:283;;;;;:::o;2241:366::-;;;2362:2;2350:9;2341:7;2337:23;2333:32;2330:2;;;-1:-1;;2368:12;2330:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2420:63;2520:2;2559:22;;;;1409:20;;-1:-1;;;2324:283::o;2614:485::-;;;;2749:2;2737:9;2728:7;2724:23;2720:32;2717:2;;;-1:-1;;2755:12;2717:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2807:63;-1:-1;2907:2;2946:22;;1409:20;;-1:-1;3015:2;3051:22;;939:20;964:30;939:20;964:30;:::i;:::-;3023:60;;;;2711:388;;;;;:::o;3106:377::-;;3235:2;;3223:9;3214:7;3210:23;3206:32;3203:2;;;-1:-1;;3241:12;3203:2;3299:17;3286:31;3337:18;3329:6;3326:30;3323:2;;;-1:-1;;3359:12;3323:2;3435:22;;270:4;258:17;;254:27;-1:-1;244:2;;-1:-1;;285:12;244:2;332:6;319:20;354:80;369:64;426:6;369:64;:::i;:::-;354:80;:::i;:::-;462:21;;;519:14;;;;494:17;;;608;;;599:27;;;;596:36;-1:-1;593:2;;;-1:-1;;635:12;593:2;-1:-1;661:10;;655:206;680:6;677:1;674:13;655:206;;;760:37;793:3;781:10;760:37;:::i;:::-;748:50;;702:1;695:9;;;;;812:14;;;;840;;655:206;;;-1:-1;3379:88;3197:286;-1:-1;;;;;;;3197:286::o;3490:235::-;;3591:2;3579:9;3570:7;3566:23;3562:32;3559:2;;;-1:-1;;3597:12;3559:2;952:6;939:20;964:30;988:5;964:30;:::i;3732:257::-;;3844:2;3832:9;3823:7;3819:23;3815:32;3812:2;;;-1:-1;;3850:12;3812:2;1087:6;1081:13;1099:30;1123:5;1099:30;:::i;4308:241::-;;4412:2;4400:9;4391:7;4387:23;4383:32;4380:2;;;-1:-1;;4418:12;4380:2;-1:-1;1409:20;;4374:175;-1:-1;4374:175::o;4556:263::-;;4671:2;4659:9;4650:7;4646:23;4642:32;4639:2;;;-1:-1;;4677:12;4639:2;-1:-1;1557:13;;4633:186;-1:-1;4633:186::o;4826:360::-;;;4944:2;4932:9;4923:7;4919:23;4915:32;4912:2;;;-1:-1;;4950:12;4912:2;1422:6;1409:20;5002:63;;5102:2;5142:9;5138:22;939:20;964:30;988:5;964:30;:::i;7025:930::-;;7308:5;30418:12;31594:6;31589:3;31582:19;31631:4;;31626:3;31622:14;7320:123;;31631:4;7544:5;29899:14;-1:-1;7583:350;7608:6;7605:1;7602:13;7583:350;;;7669:13;;15489:23;;16397:37;;15655:16;;15649:23;15726:14;;;16397:37;5658:4;5649:14;;;;31150;;;;7630:1;7623:9;7583:350;;;-1:-1;7939:10;;7209:746;-1:-1;;;;;7209:746::o;16566:271::-;;9241:5;30418:12;9352:52;9397:6;9392:3;9385:4;9378:5;9374:16;9352:52;:::i;:::-;9416:16;;;;;16700:137;-1:-1;;16700:137::o;16844:222::-;-1:-1;;;;;32788:54;;;;6028:37;;16971:2;16956:18;;16942:124::o;17073:444::-;-1:-1;;;;;32788:54;;;6028:37;;32788:54;;;;17420:2;17405:18;;6028:37;17503:2;17488:18;;16397:37;;;;17256:2;17241:18;;17227:290::o;17524:481::-;-1:-1;;;;;32788:54;;;6028:37;;17729:2;17847;17832:18;;;17825:48;;;30418:12;;17714:18;;;31582:19;;;17524:481;;29899:14;;;;32799:42;;17847:2;31622:14;;;;17524:481;6636:260;6661:6;6658:1;6655:13;6636:260;;;6722:13;;32788:54;;6028:37;;31150:14;;;;5347;;;;6683:1;6676:9;6636:260;;;-1:-1;17879:116;;17700:305;-1:-1;;;;;;;;17700:305::o;18012:333::-;-1:-1;;;;;32788:54;;;;6028:37;;18331:2;18316:18;;16397:37;18167:2;18152:18;;18138:207::o;18352:478::-;18583:2;18597:47;;;30418:12;;18568:18;;;31582:19;;;18352:478;;18583:2;31622:14;;;;;;29899;;;18352:478;8599:341;8624:6;8621:1;8618:13;8599:341;;;8685:13;;16060:23;;-1:-1;;;;;32788:54;6028:37;;16222:16;;16216:23;16293:14;;;16397:37;5939:14;;;;31150;;;;3337:18;8639:9;8599:341;;;-1:-1;18650:170;;18554:276;-1:-1;;;;;;;18554:276::o;18837:210::-;32570:13;;32563:21;9035:34;;18958:2;18943:18;;18929:118::o;19604:310::-;;19751:2;19772:17;19765:47;10096:5;30418:12;31594:6;19751:2;19740:9;19736:18;31582:19;10190:52;10235:6;31622:14;19740:9;31622:14;19751:2;10216:5;10212:16;10190:52;:::i;:::-;34041:7;34025:14;-1:-1;;34021:28;10254:39;;;;31622:14;10254:39;;19722:192;-1:-1;;19722:192::o;19921:416::-;20121:2;20135:47;;;10530:2;20106:18;;;31582:19;10566:34;31622:14;;;10546:55;-1:-1;;;10621:12;;;10614:30;10663:12;;;20092:245::o;20344:416::-;20544:2;20558:47;;;10914:2;20529:18;;;31582:19;-1:-1;;;31622:14;;;10930:37;10986:12;;;20515:245::o;20767:416::-;20967:2;20981:47;;;11237:2;20952:18;;;31582:19;11273:29;31622:14;;;11253:50;11322:12;;;20938:245::o;21190:416::-;21390:2;21404:47;;;21375:18;;;31582:19;11609:34;31622:14;;;11589:55;11663:12;;;21361:245::o;21613:416::-;21813:2;21827:47;;;11914:2;21798:18;;;31582:19;11950:34;31622:14;;;11930:55;-1:-1;;;12005:12;;;11998:26;12043:12;;;21784:245::o;22036:416::-;22236:2;22250:47;;;12294:2;22221:18;;;31582:19;-1:-1;;;31622:14;;;12310:40;12369:12;;;22207:245::o;22459:416::-;22659:2;22673:47;;;12620:2;22644:18;;;31582:19;12656:34;31622:14;;;12636:55;-1:-1;;;12711:12;;;12704:25;12748:12;;;22630:245::o;22882:416::-;23082:2;23096:47;;;23067:18;;;31582:19;13035:34;31622:14;;;13015:55;13089:12;;;23053:245::o;23305:416::-;23505:2;23519:47;;;13340:2;23490:18;;;31582:19;13376:31;31622:14;;;13356:52;13427:12;;;23476:245::o;23728:416::-;23928:2;23942:47;;;13678:2;23913:18;;;31582:19;13714:31;31622:14;;;13694:52;13765:12;;;23899:245::o;24151:416::-;24351:2;24365:47;;;14016:2;24336:18;;;31582:19;14052:34;31622:14;;;14032:55;-1:-1;;;14107:12;;;14100:34;14153:12;;;24322:245::o;24574:416::-;24774:2;24788:47;;;14404:2;24759:18;;;31582:19;14440:30;31622:14;;;14420:51;14490:12;;;24745:245::o;24997:416::-;25197:2;25211:47;;;14741:2;25182:18;;;31582:19;14777:33;31622:14;;;14757:54;14830:12;;;25168:245::o;25420:416::-;25620:2;25634:47;;;15081:2;25605:18;;;31582:19;-1:-1;;;31622:14;;;15097:43;15159:12;;;25591:245::o;25843:222::-;16397:37;;;25970:2;25955:18;;25941:124::o;26072:601::-;;16427:5;16404:3;16397:37;26337:2;26455;26444:9;26440:18;26433:48;26495:168;26337:2;26326:9;26322:18;26649:6;26495:168;:::i;26680:321::-;16397:37;;;32570:13;32563:21;26987:2;26972:18;;9035:34;26829:2;26814:18;;26800:201::o;27008:349::-;16397:37;;;27343:2;27328:18;;9881:58;27171:2;27156:18;;27142:215::o;27704:824::-;;16427:5;16404:3;16397:37;16427:5;28190:2;28179:9;28175:18;16397:37;16427:5;28273:2;28262:9;28258:18;16397:37;28025:3;28310:2;28299:9;28295:18;28288:48;28350:168;28025:3;28014:9;28010:19;28504:6;28350:168;:::i;:::-;28342:176;27996:532;-1:-1;;;;;;27996:532::o;28535:668::-;16397:37;;;28939:2;28924:18;;16397:37;;;;29022:2;29007:18;;16397:37;;;;29105:2;29090:18;;16397:37;29188:3;29173:19;;16397:37;28774:3;28759:19;;28745:458::o;29210:256::-;29272:2;29266:9;29298:17;;;29373:18;29358:34;;29394:22;;;29355:62;29352:2;;;29430:1;;29420:12;29352:2;29272;29439:22;29250:216;;-1:-1;29250:216::o;29473:304::-;;29632:18;29624:6;29621:30;29618:2;;;-1:-1;;29654:12;29618:2;-1:-1;29699:4;29687:17;;;29752:15;;29555:222::o;33681:268::-;33746:1;33753:101;33767:6;33764:1;33761:13;33753:101;;;33834:11;;;33828:18;33815:11;;;33808:39;33789:2;33782:10;33753:101;;;33869:6;33866:1;33863:13;33860:2;;;-1:-1;;33746:1;33916:16;;33909:27;33730:219::o;34062:117::-;-1:-1;;;;;32788:54;;34121:35;;34111:2;;34170:1;;34160:12;34186:111;34267:5;32570:13;32563:21;34245:5;34242:32;34232:2;;34288:1;;34278:12

Swarm Source

ipfs://6c5ababe1ac2de26bbdf6190876ab162b54002f8c290099e953a249d4afc4a99
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.