Contract 0x0cd180b70201e67eb81c6bb57087963a9672523a

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8a05baea7ce3693e151c8774fb0bc858dfb53b4ad4f14316a5b024c533a73a8fHarvest240942412022-01-24 5:59:461 hr 30 mins ago0xdade920c979bf9754a1dbe903a6416b333a055f3 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.0064234926
0x906a948173055356e1137dd7ceff5e742a1cccdfea64a0bd4d634363bc9fa17bHarvest240902152022-01-24 3:39:013 hrs 51 mins ago0x83340338ff3b2d4e4a466eb3b21828e10dfe8e40 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.00352901831842.272298773
0x7c04af58acdfed4bed0a77fe53860b0857ebca78a100c179e4e9261b28dc37cbHarvest240902152022-01-24 3:39:013 hrs 51 mins ago0x6c9244d2f9febf230f7be9de2d185b330e431261 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.05091015762546.49732865
0x5d5a3836382619fb4de4a025f3aa51837157692051892e7c7f9309527aed4d63Harvest240775942022-01-23 20:05:3411 hrs 25 mins ago0xb44cecb73b06ad11704a26aa315a8696e9df967d IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.05443194815949.736703843
0x01a1c66e83f7c25e2f840a302aabd4c64a9c93263db52f7744c8d2a759291fc0Harvest240644362022-01-23 11:46:3119 hrs 44 mins ago0x241d226309bab66c649fd72b30d470ba134d93d2 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.00355349899842.565540273
0x9739fda45d011a6878e59ce32c242d85f9bb8ec347744ec17346d89bc59034d8Harvest240644362022-01-23 11:46:3119 hrs 44 mins ago0x6c9244d2f9febf230f7be9de2d185b330e431261 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.05785648760747.565540273
0x831176965ce8f59851d59032144b41e011b557eba3ae3e9ec523d710f924d7a3Harvest240553702022-01-23 6:15:411 day 1 hr ago0xb44cecb73b06ad11704a26aa315a8696e9df967d IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.03638037126730.0001
0x886b64461bd3aaea3cc1a9189d861f1a9b6d8039292ba967a7b04dcd53d3e37bHarvest240466932022-01-23 1:10:421 day 6 hrs ago0x241d226309bab66c649fd72b30d470ba134d93d2 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.141734479168116.340013666
0xf92e04335bc628b8d5a812ea517b24a9b657a12f8440fac66578f087af25b4daHarvest240419452022-01-22 22:22:421 day 9 hrs ago0x6c9244d2f9febf230f7be9de2d185b330e431261 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.148062482195121.340013666
0x25075ba6bbe9841e77b1a8291b07ca25fba494989f8b99b8ec5b4acf168686efHarvest240293612022-01-22 14:47:511 day 16 hrs ago0x910a4404219f6b09f244f9db179316d6071b1a38 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.13290134405110.691531101
0x850f21b7280e678b0da14358934cd7f9aed80857cbe7485e2222513b0cbb48d2Harvest240070532022-01-22 1:19:412 days 6 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.006542404296 78.368102446
0x14b782a6bac2032b72519fc943f0bcd6485d77760fe1d4c67aef47e1bacab864Harvest240067062022-01-22 1:07:432 days 6 hrs ago0x6bc6f09959e4b6abf123083db29aa4d26080c626 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.133122328479109.49333772
0xef64af3863b5fe0fb77813bf1ece85d08b8e004cb49cfb6dc37f7256442fcbe8Harvest240066322022-01-22 1:05:112 days 6 hrs ago0x6bc6f09959e4b6abf123083db29aa4d26080c626 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.148724681422111.309871646
0x1d5eae038b8f38ef4b5d05d64fb9566e85bc9651e680d3aad60afab1211b4c54Harvest239982562022-01-21 20:03:432 days 11 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.838987867612 656.998598758
0xca57069970006aeb1736d9bcbe3fa409027d11c66e1417d00b4d3468d3227279Harvest239951962022-01-21 18:03:322 days 13 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.098105193455 83.007674593
0x9a78a95eaa67055372052d7ae124def271e14edf64ed40110870e3cb0a2a6a74Harvest239921222022-01-21 16:04:492 days 15 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.384399741291 312.947045882
0x31fe81d43d8e68112ca2dc836e04327e852ea10f9fcd981273f8337393453d95Harvest239892642022-01-21 14:13:412 days 17 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.524835165239 427.499511471
0x5c6684d7d98a128e8a0807b98541e54f9e4692519c9d3180ffe645f1e970535aHarvest239865172022-01-21 12:30:232 days 19 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.19544880697 158.957556545
0x5470db2da848910534d093c321a72293adddf05fdc7cd21cc81646e1186fe8fcHarvest239835022022-01-21 10:35:542 days 20 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.292376506891 237.400295955
0x2976374ff17a0fe9221e674b1adaa73a488c946548d7e54a17cc4d15906570e6Harvest239737902022-01-21 4:53:223 days 2 hrs ago0x83340338ff3b2d4e4a466eb3b21828e10dfe8e40 IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.08879054715271.568110717
0xf8ea6f509cb01096dbd7059efe43feb16bcb0df3c12502ff69dc5ade0da7c9a6Harvest239503702022-01-20 15:02:233 days 16 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.084828300057 68.717095903
0x70632a0863dff5ba7a45216d707f3e2c989683c88f04aed24d382d028ae1cae5Harvest239496512022-01-20 14:37:313 days 16 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.030847956144 369.511830486
0x92b7039f406b21909dce43d5d049afe26915779cf8da953f3f21ea96e59ceb17Harvest239459382022-01-20 12:25:213 days 19 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.422397449316 344.428203586
0x53e944bc6d48bf27fcbda31c47fff7f7b1570fd20f1870ff4623dee216b1b6a7Harvest239419422022-01-20 10:03:133 days 21 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.0614151 50
0x955d2a1a0c2555c362550241f7e00bea7775ea446a8eeadcf79f046fabb07db2Harvest239385542022-01-20 8:02:263 days 23 hrs ago0xde30acae712f090c0c3a255f61bfae876d491f6e IN  0x0cd180b70201e67eb81c6bb57087963a9672523a0 MATIC0.0607412 50
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyCurveLP

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 polygonscan.com on 2021-11-24
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

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


pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

// File: contracts/BIFI/interfaces/common/IUniswapRouterETH.sol


pragma solidity >=0.6.0 <0.9.0;

interface IUniswapRouterETH {
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn, 
        uint amountOutMin, 
        address[] calldata path, 
        address to, 
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);

    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}

// File: contracts/BIFI/interfaces/curve/IRewardsGauge.sol


pragma solidity ^0.6.0;

interface IRewardsGauge {
    function balanceOf(address account) external view returns (uint256);
    function claimable_reward(address _addr, address _token) external view returns (uint256);
    function claim_rewards(address _addr) external;
    function deposit(uint256 _value) external;
    function withdraw(uint256 _value) external;
}

// File: contracts/BIFI/interfaces/curve/ICurveSwap.sol


pragma solidity ^0.6.0;

interface ICurveSwap2 {
    function add_liquidity(uint256[2] memory amounts, uint256 min_mint_amount) external;
    function add_liquidity(uint256[2] memory amounts, uint256 min_mint_amount, bool _use_underlying) external;
}

interface ICurveSwap3 {
    function add_liquidity(uint256[3] memory amounts, uint256 min_mint_amount) external;
    function add_liquidity(uint256[3] memory amounts, uint256 min_mint_amount, bool _use_underlying) external;
}

interface ICurveSwap4 {
    function add_liquidity(uint256[4] memory amounts, uint256 min_mint_amount) external;
}

interface ICurveSwap5 {
    function add_liquidity(uint256[5] memory amounts, uint256 min_mint_amount) external;
}

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


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: contracts/BIFI/strategies/Common/StratManager.sol


pragma solidity ^0.6.12;



contract StratManager is Ownable, Pausable {
    /**
     * @dev Beefy Contracts:
     * {keeper} - Address to manage a few lower risk features of the strat
     * {strategist} - Address of the strategy author/deployer where strategist fee will go.
     * {vault} - Address of the vault that controls the strategy's funds.
     * {unirouter} - Address of exchange to execute swaps.
     */
    address public keeper;
    address public strategist;
    address public unirouter;
    address public vault;
    address public beefyFeeRecipient;

    /**
     * @dev Initializes the base strategy.
     * @param _keeper address to use as alternative owner.
     * @param _strategist address where strategist fees go.
     * @param _unirouter router to use for swaps
     * @param _vault address of parent vault.
     * @param _beefyFeeRecipient address where to send Beefy's fees.
     */
    constructor(
        address _keeper,
        address _strategist,
        address _unirouter,
        address _vault,
        address _beefyFeeRecipient
    ) public {
        keeper = _keeper;
        strategist = _strategist;
        unirouter = _unirouter;
        vault = _vault;
        beefyFeeRecipient = _beefyFeeRecipient;
    }

    // checks that caller is either owner or keeper.
    modifier onlyManager() {
        require(msg.sender == owner() || msg.sender == keeper, "!manager");
        _;
    }

    /**
     * @dev Updates address of the strat keeper.
     * @param _keeper new keeper address.
     */
    function setKeeper(address _keeper) external onlyManager {
        keeper = _keeper;
    }

    /**
     * @dev Updates address where strategist fee earnings will go.
     * @param _strategist new strategist address.
     */
    function setStrategist(address _strategist) external {
        require(msg.sender == strategist, "!strategist");
        strategist = _strategist;
    }

    /**
     * @dev Updates router that will be used for swaps.
     * @param _unirouter new unirouter address.
     */
    function setUnirouter(address _unirouter) external onlyOwner {
        unirouter = _unirouter;
    }

    /**
     * @dev Updates parent vault.
     * @param _vault new vault address.
     */
    function setVault(address _vault) external onlyOwner {
        vault = _vault;
    }

    /**
     * @dev Updates beefy fee recipient.
     * @param _beefyFeeRecipient new beefy fee recipient address.
     */
    function setBeefyFeeRecipient(address _beefyFeeRecipient) external onlyOwner {
        beefyFeeRecipient = _beefyFeeRecipient;
    }

    /**
     * @dev Function to synchronize balances before new user deposit.
     * Can be overridden in the strategy.
     */
    function beforeDeposit() external virtual {}
}

// File: contracts/BIFI/strategies/Common/FeeManager.sol


pragma solidity ^0.6.12;


abstract contract FeeManager is StratManager {
    uint constant public STRATEGIST_FEE = 112;
    uint constant public MAX_FEE = 1000;
    uint constant public MAX_CALL_FEE = 111;

    uint constant public WITHDRAWAL_FEE_CAP = 50;
    uint constant public WITHDRAWAL_MAX = 10000;

    uint public withdrawalFee = 10;

    uint public callFee = 111;
    uint public beefyFee = MAX_FEE - STRATEGIST_FEE - callFee;

    function setCallFee(uint256 _fee) public onlyManager {
        require(_fee <= MAX_CALL_FEE, "!cap");
        
        callFee = _fee;
        beefyFee = MAX_FEE - STRATEGIST_FEE - callFee;
    }

    function setWithdrawalFee(uint256 _fee) public onlyManager {
        require(_fee <= WITHDRAWAL_FEE_CAP, "!cap");

        withdrawalFee = _fee;
    }
}

// File: contracts/BIFI/utils/IGasPrice.sol


pragma solidity ^0.6.12;

interface IGasPrice {
    function maxGasPrice() external returns (uint);
}

// File: contracts/BIFI/utils/GasThrottler.sol


pragma solidity ^0.6.12;



contract GasThrottler {

    bool public shouldGasThrottle = true;

    address public gasprice = address(0xA43509661141F254F54D9A326E8Ec851A0b95307);

    modifier gasThrottle() {
        if (shouldGasThrottle && Address.isContract(gasprice)) {
            require(tx.gasprice <= IGasPrice(gasprice).maxGasPrice(), "gas is too high!");
        }
        _;
    }
}

// File: contracts/BIFI/strategies/Curve/StrategyCurveLP.sol


pragma solidity ^0.6.0;










contract StrategyCurveLP is StratManager, FeeManager, GasThrottler {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    // Tokens used
    address public want; // curve lpToken
    address public crv;
    address public native;
    address public depositToken;

    // Third party contracts
    address public rewardsGauge;
    address public pool;
    uint public immutable poolSize;
    uint public depositIndex;
    bool public useUnderlying;

    // Routes
    address[] public crvToNativeRoute;
    address[] public nativeToDepositRoute;

    // if no CRV rewards yet, can enable later with custom router
    bool public crvEnabled = true;
    address public crvRouter;

    bool public harvestOnDeposit;
    uint256 public lastHarvest;

    /**
     * @dev Event that is fired each time someone harvests the strat.
     */
    event StratHarvest(address indexed harvester);

    constructor(
        address _want,
        address _gauge,
        address _pool,
        uint _poolSize,
        uint _depositIndex,
        bool _useUnderlying,
        address[] memory _crvToNativeRoute,
        address[] memory _nativeToDepositRoute,
        address _vault,
        address _unirouter,
        address _keeper,
        address _strategist,
        address _beefyFeeRecipient
    ) StratManager(_keeper, _strategist, _unirouter, _vault, _beefyFeeRecipient) public {
        want = _want;
        rewardsGauge = _gauge;
        pool = _pool;
        poolSize = _poolSize;
        depositIndex = _depositIndex;
        useUnderlying = _useUnderlying;

        crv = _crvToNativeRoute[0];
        native = _crvToNativeRoute[_crvToNativeRoute.length - 1];
        crvToNativeRoute = _crvToNativeRoute;
        crvRouter = unirouter;

        require(_nativeToDepositRoute[0] == native, '_nativeToDepositRoute[0] != native');
        depositToken = _nativeToDepositRoute[_nativeToDepositRoute.length - 1];
        nativeToDepositRoute = _nativeToDepositRoute;

        _giveAllowances();
    }

    // puts the funds to work
    function deposit() public whenNotPaused {
        uint256 wantBal = IERC20(want).balanceOf(address(this));

        if (wantBal > 0) {
            IRewardsGauge(rewardsGauge).deposit(wantBal);
        }
    }

    function withdraw(uint256 _amount) external {
        require(msg.sender == vault, "!vault");

        uint256 wantBal = IERC20(want).balanceOf(address(this));

        if (wantBal < _amount) {
            IRewardsGauge(rewardsGauge).withdraw(_amount.sub(wantBal));
            wantBal = IERC20(want).balanceOf(address(this));
        }

        if (wantBal > _amount) {
            wantBal = _amount;
        }

        if (tx.origin == owner() || paused()) {
            IERC20(want).safeTransfer(vault, wantBal);
        } else {
            uint256 withdrawalFeeAmount = wantBal.mul(withdrawalFee).div(WITHDRAWAL_MAX);
            IERC20(want).safeTransfer(vault, wantBal.sub(withdrawalFeeAmount));
        }
    }

    function beforeDeposit() external override {
        if (harvestOnDeposit) {
            require(msg.sender == vault, "!vault");
            _harvest();
        }
    }

    function harvest() external virtual whenNotPaused gasThrottle {
        _harvest();
    }

    function managerHarvest() external onlyManager {
        _harvest();
    }

    // compounds earnings and charges performance fee
    function _harvest() internal {
        IRewardsGauge(rewardsGauge).claim_rewards(address(this));
        uint256 crvBal = IERC20(crv).balanceOf(address(this));
        uint256 nativeBal = IERC20(native).balanceOf(address(this));
        if (nativeBal > 0 || crvBal > 0) {
            chargeFees();
            addLiquidity();
            deposit();
            lastHarvest = block.timestamp;
            emit StratHarvest(msg.sender);
        }
    }

    // performance fees
    function chargeFees() internal {
        uint256 crvBal = IERC20(crv).balanceOf(address(this));
        if (crvEnabled && crvBal > 0) {
            IUniswapRouterETH(crvRouter).swapExactTokensForTokens(crvBal, 0, crvToNativeRoute, address(this), block.timestamp);
        }

        uint256 nativeFeeBal = IERC20(native).balanceOf(address(this)).mul(45).div(1000);

        uint256 callFeeAmount = nativeFeeBal.mul(callFee).div(MAX_FEE);
        IERC20(native).safeTransfer(tx.origin, callFeeAmount);

        uint256 beefyFeeAmount = nativeFeeBal.mul(beefyFee).div(MAX_FEE);
        IERC20(native).safeTransfer(beefyFeeRecipient, beefyFeeAmount);

        uint256 strategistFee = nativeFeeBal.mul(STRATEGIST_FEE).div(MAX_FEE);
        IERC20(native).safeTransfer(strategist, strategistFee);
    }

    // Adds liquidity to AMM and gets more LP tokens.
    function addLiquidity() internal {
        uint256 nativeBal = IERC20(native).balanceOf(address(this));
        if (depositToken != native) {
            IUniswapRouterETH(unirouter).swapExactTokensForTokens(nativeBal, 0, nativeToDepositRoute, address(this), block.timestamp);
        }

        uint256 depositBal = IERC20(depositToken).balanceOf(address(this));

        if (poolSize == 2) {
            uint256[2] memory amounts;
            amounts[depositIndex] = depositBal;
            if (useUnderlying) ICurveSwap2(pool).add_liquidity(amounts, 0, true);
            else ICurveSwap2(pool).add_liquidity(amounts, 0);
        } else if (poolSize == 3) {
            uint256[3] memory amounts;
            amounts[depositIndex] = depositBal;
            if (useUnderlying) ICurveSwap3(pool).add_liquidity(amounts, 0, true);
            else ICurveSwap3(pool).add_liquidity(amounts, 0);
        } else if (poolSize == 4) {
            uint256[4] memory amounts;
            amounts[depositIndex] = depositBal;
            ICurveSwap4(pool).add_liquidity(amounts, 0);
        } else if (poolSize == 5) {
            uint256[5] memory amounts;
            amounts[depositIndex] = depositBal;
            ICurveSwap5(pool).add_liquidity(amounts, 0);
        }
    }

    // calculate the total underlaying 'want' held by the strat.
    function balanceOf() public view returns (uint256) {
        return balanceOfWant().add(balanceOfPool());
    }

    // it calculates how much 'want' this contract holds.
    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

    // it calculates how much 'want' the strategy has working in the farm.
    function balanceOfPool() public view returns (uint256) {
        return IRewardsGauge(rewardsGauge).balanceOf(address(this));
    }

    function crvToNative() external view returns(address[] memory) {
        return crvToNativeRoute;
    }

    function nativeToDeposit() external view returns(address[] memory) {
        return nativeToDepositRoute;
    }

    function setCrvEnabled(bool _enabled) external onlyManager {
        crvEnabled = _enabled;
    }

    function setCrvRoute(address _router, address[] memory _crvToNative) external onlyManager {
        require(_crvToNative[0] == crv, '!crv');
        require(_crvToNative[_crvToNative.length - 1] == native, '!native');

        _removeAllowances();
        crvToNativeRoute = _crvToNative;
        crvRouter = _router;
        _giveAllowances();
    }

    function setHarvestOnDeposit(bool _harvestOnDeposit) external onlyManager {
        harvestOnDeposit = _harvestOnDeposit;
    }

    // returns rewards unharvested
    function rewardsAvailable() public view returns (uint256) {
        return IRewardsGauge(rewardsGauge).claimable_reward(address(this), crv);
    }

    // native reward amount for calling harvest
    function callReward() public view returns (uint256) {
        uint256 outputBal = rewardsAvailable();
        uint256[] memory amountOut = IUniswapRouterETH(unirouter).getAmountsOut(outputBal, crvToNativeRoute);
        uint256 nativeOut = amountOut[amountOut.length -1];

        return nativeOut.mul(45).div(1000).mul(callFee).div(MAX_FEE);
    }

    function setShouldGasThrottle(bool _shouldGasThrottle) external onlyManager {
        shouldGasThrottle = _shouldGasThrottle;
    }

    // called as part of strat migration. Sends all the available funds back to the vault.
    function retireStrat() external {
        require(msg.sender == vault, "!vault");

        IRewardsGauge(rewardsGauge).withdraw(balanceOfPool());

        uint256 wantBal = IERC20(want).balanceOf(address(this));
        IERC20(want).transfer(vault, wantBal);
    }

    // pauses deposits and withdraws all funds from third party systems.
    function panic() public onlyManager {
        pause();
        IRewardsGauge(rewardsGauge).withdraw(balanceOfPool());
    }

    function pause() public onlyManager {
        _pause();

        _removeAllowances();
    }

    function unpause() external onlyManager {
        _unpause();

        _giveAllowances();

        deposit();
    }

    function _giveAllowances() internal {
        IERC20(want).safeApprove(rewardsGauge, type(uint).max);
        IERC20(native).safeApprove(unirouter, type(uint).max);
        IERC20(crv).safeApprove(crvRouter, type(uint).max);
        IERC20(depositToken).safeApprove(pool, type(uint).max);
    }

    function _removeAllowances() internal {
        IERC20(want).safeApprove(rewardsGauge, 0);
        IERC20(native).safeApprove(unirouter, 0);
        IERC20(crv).safeApprove(crvRouter, 0);
        IERC20(depositToken).safeApprove(pool, 0);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_want","type":"address"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256","name":"_poolSize","type":"uint256"},{"internalType":"uint256","name":"_depositIndex","type":"uint256"},{"internalType":"bool","name":"_useUnderlying","type":"bool"},{"internalType":"address[]","name":"_crvToNativeRoute","type":"address[]"},{"internalType":"address[]","name":"_nativeToDepositRoute","type":"address[]"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"address","name":"_keeper","type":"address"},{"internalType":"address","name":"_strategist","type":"address"},{"internalType":"address","name":"_beefyFeeRecipient","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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvToNative","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"crvToNativeRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasprice","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"managerHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"native","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeToDeposit","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nativeToDepositRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsGauge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"name":"setBeefyFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setCrvEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address[]","name":"_crvToNative","type":"address[]"}],"name":"setCrvRoute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_shouldGasThrottle","type":"bool"}],"name":"setShouldGasThrottle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shouldGasThrottle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useUnderlying","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a0604052600a600655606f60075561030960085560098054600160ff199182168117610100600160a81b03191674a43509661141f254f54d9a326e8ec851a0b9530700179092556014805490911690911790553480156200006057600080fd5b506040516200407c3803806200407c83398181016040526101a08110156200008757600080fd5b815160208301516040808501516060860151608087015160a088015160c08901805195519799969894979396929591948301929184640100000000821115620000cf57600080fd5b908301906020820185811115620000e557600080fd5b82518660208202830111640100000000821117156200010357600080fd5b82525081516020918201928201910280838360005b838110156200013257818101518382015260200162000118565b50505050905001604052602001805160405193929190846401000000008211156200015c57600080fd5b9083019060208201858111156200017257600080fd5b82518660208202830111640100000000821117156200019057600080fd5b82525081516020918201928201910280838360005b83811015620001bf578181015183820152602001620001a5565b505050509190910160409081526020830151908301516060840151608085015160a09095015192965090945092915082828587846000620001ff6200054b565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060008060146101000a81548160ff02191690831515021790555084600160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083600260006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600360006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600460006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600560006101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050508c600a60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b600e60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508a600f60006101000a8154816001600160a01b0302191690836001600160a01b0316021790555089608081815250508860108190555087601160006101000a81548160ff02191690831515021790555086600081518110620003d757fe5b6020026020010151600b60006101000a8154816001600160a01b0302191690836001600160a01b03160217905550866001885103815181106200041657fe5b602090810291909101810151600c80546001600160a01b0319166001600160a01b0390921691909117905587516200045591601291908a019062000a1e565b5060035460148054610100600160a81b0319166101006001600160a01b0393841602179055600c54875191169087906000906200048e57fe5b60200260200101516001600160a01b031614620004dd5760405162461bcd60e51b815260040180806020018281038252602281526020018062003ffa6022913960400191505060405180910390fd5b85600187510381518110620004ee57fe5b602090810291909101810151600d80546001600160a01b0319166001600160a01b0390921691909117905586516200052d916013919089019062000a1e565b50620005386200054f565b5050505050505050505050505062000aa9565b3390565b600e54600a546200057c916001600160a01b0391821691166000196200060b602090811b62001f9717901c565b600354600c54620005a9916001600160a01b0391821691166000196200060b602090811b62001f9717901c565b601454600b54620005dc916001600160a01b0391821691610100909104166000196200060b602090811b62001f9717901c565b600f54600d5462000609916001600160a01b0391821691166000196200060b602090811b62001f9717901c565b565b80158062000695575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200066557600080fd5b505afa1580156200067a573d6000803e3d6000fd5b505050506040513d60208110156200069157600080fd5b5051155b620006d25760405162461bcd60e51b8152600401808060200182810382526036815260200180620040466036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200072a9185916200072f16565b505050565b60606200078b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620007eb60201b620020aa179092919060201c565b8051909150156200072a57808060200190516020811015620007ac57600080fd5b50516200072a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806200401c602a913960400191505060405180910390fd5b6060620007fc848460008562000806565b90505b9392505050565b606082471015620008495760405162461bcd60e51b815260040180806020018281038252602681526020018062003fd46026913960400191505060405180910390fd5b62000854856200096e565b620008a6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620008e75780518252601f199092019160209182019101620008c6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200094b576040519150601f19603f3d011682016040523d82523d6000602084013e62000950565b606091505b5090925090506200096382828662000974565b979650505050505050565b3b151590565b6060831562000985575081620007ff565b825115620009965782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620009e2578181015183820152602001620009c8565b50505050905090810190601f16801562000a105780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b82805482825590600052602060002090810192821562000a76579160200282015b8281111562000a7657825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000a3f565b5062000a8492915062000a88565b5090565b5b8082111562000a845780546001600160a01b031916815560010162000a89565b6080516134fc62000ad860003980610fc95280612e84528061300c52806130dd528061316352506134fc6000f3fe608060405234801561001057600080fd5b50600436106103af5760003560e01c80638456cb59116101f4578063c7b9d5301161011a578063e7a7250a116100ad578063fb6177871161007c578063fb61778714610806578063fbfa77cf1461080e578063fc167fc614610816578063fccf884d14610833576103af565b8063e7a7250a146107b1578063f1a392da146107b9578063f2fde38b146107c1578063fad4675e146107e7576103af565b8063d801d946116100e9578063d801d94614610773578063d92f3d731461077b578063de5b8b22146107a1578063dfbdc437146107a9576103af565b8063c7b9d53014610735578063c89039c51461075b578063d0e30db014610763578063d31025891461076b576103af565b80639f8b5da111610192578063b88a324b11610161578063b88a324b1461066c578063bc063e1a1461071d578063c1a3d44c14610725578063c6ddbeeb1461072d576103af565b80639f8b5da114610619578063a68833e514610621578063ac1e502514610647578063aced166114610664576103af565b80638da5cb5b116101ce5780638da5cb5b146105f95780638e1454591461060157806390321e1a1461060957806397fd323d14610611576103af565b80638456cb59146105e15780638912cb8b146105e95780638bc7e8c4146105f1576103af565b80634ec18db9116102d95780636ec232d311610277578063748747e611610246578063748747e6146105a35780637b898939146105c95780637d38ca65146105d15780637f173559146105d9576103af565b80636ec232d31461056e578063715018a61461057657806371b359e11461057e578063722713f71461059b576103af565b80635839b094116102b35780635839b094146105055780635c975abb146105245780636817031b146105405780636a4874a114610566576103af565b80634ec18db9146104ed57806354518b1a146104f5578063573fef0a146104fd576103af565b806326465826116103515780633c1deb53116103205780633c1deb531461047d5780633f4ba83a146104d55780634641257d146104dd5780634700d305146104e5576103af565b806326465826146104335780632ad5a53f146104505780632e1a7d4d146104585780633930d6b614610475576103af565b806316f0115b1161038d57806316f0115b146104135780631f1fcd511461041b5780631fe4a68614610423578063257ae0de1461042b576103af565b80630e8fbb5a146103b457806311588086146103d557806311b0b42d146103ef575b600080fd5b6103d3600480360360208110156103ca57600080fd5b5035151561083b565b005b6103dd6108c6565b60408051918252519081900360200190f35b6103f7610942565b604080516001600160a01b039092168252519081900360200190f35b6103f7610951565b6103f7610960565b6103f761096f565b6103f761097e565b6103d36004803603602081101561044957600080fd5b503561098d565b6103dd610a47565b6103d36004803603602081101561046e57600080fd5b5035610a4c565b6103f7610cad565b610485610cbc565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156104c15781810151838201526020016104a9565b505050509050019250505060405180910390f35b6103d3610d1e565b6103d3610da5565b6103d3610ee9565b6103dd610fc7565b6103dd610feb565b6103d3610ff1565b6103d36004803603602081101561051b57600080fd5b5035151561104b565b61052c6110cb565b604080519115158252519081900360200190f35b6103d36004803603602081101561055657600080fd5b50356001600160a01b03166110db565b6103f761115f565b6103f761116e565b6103d3611182565b6103f76004803603602081101561059457600080fd5b503561122e565b6103dd611255565b6103d3600480360360208110156105b957600080fd5b50356001600160a01b0316611275565b6103dd611304565b6103dd61130a565b6103f761130f565b6103d3611323565b61052c6113a0565b6103dd6113b0565b6103f76113b6565b6103f76113c5565b6103dd6113d4565b6103dd6113da565b61052c6115a3565b6103d36004803603602081101561063757600080fd5b50356001600160a01b03166115ac565b6103d36004803603602081101561065d57600080fd5b5035611630565b6103f76116e1565b6103d36004803603604081101561068257600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156106ac57600080fd5b8201836020820111156106be57600080fd5b803590602001918460208302840111600160201b831117156106df57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506116f0945050505050565b6103dd611877565b6103dd61187d565b61052c6118c8565b6103d36004803603602081101561074b57600080fd5b50356001600160a01b03166118d1565b6103f7611940565b6103d361194f565b6103dd611a84565b6103d3611a8a565b6103d36004803603602081101561079157600080fd5b50356001600160a01b0316611af7565b61052c611b7b565b6103dd611b84565b6103dd611b89565b6103dd611be3565b6103d3600480360360208110156107d757600080fd5b50356001600160a01b0316611be9565b6103d3600480360360208110156107fd57600080fd5b50351515611ceb565b6103d3611d6b565b6103f7611f1b565b6103f76004803603602081101561082c57600080fd5b5035611f2a565b610485611f37565b6108436113b6565b6001600160a01b0316336001600160a01b0316148061086c57506001546001600160a01b031633145b6108a8576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b60148054911515600160a81b0260ff60a81b19909216919091179055565b600e54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561091157600080fd5b505afa158015610925573d6000803e3d6000fd5b505050506040513d602081101561093b57600080fd5b5051905090565b600c546001600160a01b031681565b600f546001600160a01b031681565b600a546001600160a01b031681565b6002546001600160a01b031681565b6003546001600160a01b031681565b6109956113b6565b6001600160a01b0316336001600160a01b031614806109be57506001546001600160a01b031633145b6109fa576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b606f811115610a39576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600781905561037803600855565b606f81565b6004546001600160a01b03163314610a94576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600a54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610adf57600080fd5b505afa158015610af3573d6000803e3d6000fd5b505050506040513d6020811015610b0957600080fd5b5051905081811015610bf857600e546001600160a01b0316632e1a7d4d610b3084846120c3565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610b6657600080fd5b505af1158015610b7a573d6000803e3d6000fd5b5050600a54604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b158015610bc957600080fd5b505afa158015610bdd573d6000803e3d6000fd5b505050506040513d6020811015610bf357600080fd5b505190505b81811115610c035750805b610c0b6113b6565b6001600160a01b0316326001600160a01b03161480610c2d5750610c2d6110cb565b15610c5457600454600a54610c4f916001600160a01b03918216911683612125565b610ca9565b6000610c77612710610c716006548561217790919063ffffffff16565b906121d0565b600454909150610ca7906001600160a01b0316610c9484846120c3565b600a546001600160a01b03169190612125565b505b5050565b600e546001600160a01b031681565b60606013805480602002602001604051908101604052809291908181526020018280548015610d1457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610cf6575b5050505050905090565b610d266113b6565b6001600160a01b0316336001600160a01b03161480610d4f57506001546001600160a01b031633145b610d8b576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610d93612237565b610d9b6122da565b610da361194f565b565b610dad6110cb565b15610df2576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60095460ff168015610e195750600954610e199061010090046001600160a01b031661235c565b15610ee157600960019054906101000a90046001600160a01b03166001600160a01b0316633de39c116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610e6e57600080fd5b505af1158015610e82573d6000803e3d6000fd5b505050506040513d6020811015610e9857600080fd5b50513a1115610ee1576040805162461bcd60e51b815260206004820152601060248201526f67617320697320746f6f20686967682160801b604482015290519081900360640190fd5b610da3612362565b610ef16113b6565b6001600160a01b0316336001600160a01b03161480610f1a57506001546001600160a01b031633145b610f56576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b610f5e611323565b600e546001600160a01b0316632e1a7d4d610f776108c6565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610fad57600080fd5b505af1158015610fc1573d6000803e3d6000fd5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61271081565b601454600160a81b900460ff1615610da3576004546001600160a01b03163314610ee1576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b6110536113b6565b6001600160a01b0316336001600160a01b0316148061107c57506001546001600160a01b031633145b6110b8576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6014805460ff1916911515919091179055565b600054600160a01b900460ff1690565b6110e361251c565b6001600160a01b03166110f46113b6565b6001600160a01b03161461113d576040805162461bcd60e51b81526020600482018190526024820152600080516020613447833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031681565b60095461010090046001600160a01b031681565b61118a61251c565b6001600160a01b031661119b6113b6565b6001600160a01b0316146111e4576040805162461bcd60e51b81526020600482018190526024820152600080516020613447833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6012818154811061123b57fe5b6000918252602090912001546001600160a01b0316905081565b60006112706112626108c6565b61126a61187d565b90612520565b905090565b61127d6113b6565b6001600160a01b0316336001600160a01b031614806112a657506001546001600160a01b031633145b6112e2576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60105481565b607081565b60145461010090046001600160a01b031681565b61132b6113b6565b6001600160a01b0316336001600160a01b0316148061135457506001546001600160a01b031633145b611390576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b61139861257a565b610da3612603565b601454600160a81b900460ff1681565b60065481565b6000546001600160a01b031690565b6005546001600160a01b031681565b60075481565b6000806113e5611b89565b6003546040805163d06ca61f60e01b8152600481018481526024820192835260128054604484018190529596506060956001600160a01b039095169463d06ca61f94889492939290916064909101908490801561146b57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161144d575b5050935050505060006040518083038186803b15801561148a57600080fd5b505afa15801561149e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156114c757600080fd5b8101908080516040519392919084600160201b8211156114e657600080fd5b9083019060208201858111156114fb57600080fd5b82518660208202830111600160201b8211171561151757600080fd5b82525081516020918201928201910280838360005b8381101561154457818101518382015260200161152c565b50505050905001604052505050905060008160018351038151811061156557fe5b6020026020010151905061159b6103e8610c716007546115956103e8610c71602d8861217790919063ffffffff16565b90612177565b935050505090565b60095460ff1681565b6115b461251c565b6001600160a01b03166115c56113b6565b6001600160a01b03161461160e576040805162461bcd60e51b81526020600482018190526024820152600080516020613447833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6116386113b6565b6001600160a01b0316336001600160a01b0316148061166157506001546001600160a01b031633145b61169d576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b60328111156116dc576040805162461bcd60e51b815260206004808301919091526024820152630216361760e41b604482015290519081900360640190fd5b600655565b6001546001600160a01b031681565b6116f86113b6565b6001600160a01b0316336001600160a01b0316148061172157506001546001600160a01b031633145b61175d576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b600b5481516001600160a01b0390911690829060009061177957fe5b60200260200101516001600160a01b0316146117c5576040805162461bcd60e51b8152602060048083019190915260248201526310b1b93b60e11b604482015290519081900360640190fd5b600c5481516001600160a01b0390911690829060001981019081106117e657fe5b60200260200101516001600160a01b031614611833576040805162461bcd60e51b8152602060048201526007602482015266216e617469766560c81b604482015290519081900360640190fd5b61183b612603565b805161184e9060129060208401906132dd565b5060148054610100600160a81b0319166101006001600160a01b03851602179055610ca96122da565b6103e881565b600a54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561091157600080fd5b60115460ff1681565b6002546001600160a01b0316331461191e576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b031681565b6119576110cb565b1561199c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600a54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156119e757600080fd5b505afa1580156119fb573d6000803e3d6000fd5b505050506040513d6020811015611a1157600080fd5b505190508015611a8157600e546040805163b6b55f2560e01b81526004810184905290516001600160a01b039092169163b6b55f259160248082019260009290919082900301818387803b158015611a6857600080fd5b505af1158015611a7c573d6000803e3d6000fd5b505050505b50565b60085481565b611a926113b6565b6001600160a01b0316336001600160a01b03161480611abb57506001546001600160a01b031633145b610ee1576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b611aff61251c565b6001600160a01b0316611b106113b6565b6001600160a01b031614611b59576040805162461bcd60e51b81526020600482018190526024820152600080516020613447833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60145460ff1681565b603281565b600e54600b5460408051630cff5bdd60e21b81523060048201526001600160a01b039283166024820152905160009392909216916333fd6f7491604480820192602092909190829003018186803b15801561091157600080fd5b60155481565b611bf161251c565b6001600160a01b0316611c026113b6565b6001600160a01b031614611c4b576040805162461bcd60e51b81526020600482018190526024820152600080516020613447833981519152604482015290519081900360640190fd5b6001600160a01b038116611c905760405162461bcd60e51b81526004018080602001828103825260268152602001806133da6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611cf36113b6565b6001600160a01b0316336001600160a01b03161480611d1c57506001546001600160a01b031633145b611d58576040805162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b604482015290519081900360640190fd5b6009805460ff1916911515919091179055565b6004546001600160a01b03163314611db3576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600e546001600160a01b0316632e1a7d4d611dcc6108c6565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611e0257600080fd5b505af1158015611e16573d6000803e3d6000fd5b5050600a54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b158015611e6757600080fd5b505afa158015611e7b573d6000803e3d6000fd5b505050506040513d6020811015611e9157600080fd5b5051600a54600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b158015611ef157600080fd5b505af1158015611f05573d6000803e3d6000fd5b505050506040513d6020811015610ca757600080fd5b6004546001600160a01b031681565b6013818154811061123b57fe5b60606012805480602002602001604051908101604052809291908181526020018280548015610d14576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311610cf6575050505050905090565b80158061201d575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611fef57600080fd5b505afa158015612003573d6000803e3d6000fd5b505050506040513d602081101561201957600080fd5b5051155b6120585760405162461bcd60e51b81526004018080602001828103825260368152602001806134916036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610ca7908490612681565b60606120b98484600085612732565b90505b9392505050565b60008282111561211a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ca7908490612681565b6000826121865750600061211f565b8282028284828161219357fe5b04146120bc5760405162461bcd60e51b81526004018080602001828103825260218152602001806134266021913960400191505060405180910390fd5b6000808211612226576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161222f57fe5b049392505050565b61223f6110cb565b612287576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122bd61251c565b604080516001600160a01b039092168252519081900360200190a1565b600e54600a546122f9916001600160a01b039182169116600019611f97565b600354600c54612318916001600160a01b039182169116600019611f97565b601454600b5461233d916001600160a01b039182169161010090910416600019611f97565b600f54600d54610da3916001600160a01b039182169116600019611f97565b3b151590565b600e5460408051634274debf60e11b815230600482015290516001600160a01b03909216916384e9bd7e9160248082019260009290919082900301818387803b1580156123ae57600080fd5b505af11580156123c2573d6000803e3d6000fd5b5050600b54604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561241357600080fd5b505afa158015612427573d6000803e3d6000fd5b505050506040513d602081101561243d57600080fd5b5051600c54604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561249057600080fd5b505afa1580156124a4573d6000803e3d6000fd5b505050506040513d60208110156124ba57600080fd5b50519050801515806124cc5750600082115b15610ca9576124d961288e565b6124e1612bee565b6124e961194f565b4260155560405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a25050565b3390565b6000828201838110156120bc576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6125826110cb565b156125c7576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122bd61251c565b600e54600a54612621916001600160a01b0391821691166000611f97565b600354600c5461263f916001600160a01b0391821691166000611f97565b601454600b54612663916001600160a01b0391821691610100909104166000611f97565b600f54600d54610da3916001600160a01b0391821691166000611f97565b60606126d6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120aa9092919063ffffffff16565b805190915015610ca7578080602001905160208110156126f557600080fd5b5051610ca75760405162461bcd60e51b815260040180806020018281038252602a815260200180613467602a913960400191505060405180910390fd5b6060824710156127735760405162461bcd60e51b81526004018080602001828103825260268152602001806134006026913960400191505060405180910390fd5b61277c8561235c565b6127cd576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061280c5780518252601f1990920191602091820191016127ed565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461286e576040519150601f19603f3d011682016040523d82523d6000602084013e612873565b606091505b5091509150612883828286613239565b979650505050505050565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156128d957600080fd5b505afa1580156128ed573d6000803e3d6000fd5b505050506040513d602081101561290357600080fd5b505160145490915060ff16801561291a5750600081115b15612ab657601460019054906101000a90046001600160a01b03166001600160a01b03166338ed1739826000601230426040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b0316815260200183815260200182810382528581815481526020019150805480156129c957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116129ab575b50509650505050505050600060405180830381600087803b1580156129ed57600080fd5b505af1158015612a01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a2a57600080fd5b8101908080516040519392919084600160201b821115612a4957600080fd5b908301906020820185811115612a5e57600080fd5b82518660208202830111600160201b82111715612a7a57600080fd5b82525081516020918201928201910280838360005b83811015612aa7578181015183820152602001612a8f565b50505050905001604052505050505b600c54604080516370a0823160e01b81523060048201529051600092612b45926103e892610c7192602d926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015612b1357600080fd5b505afa158015612b27573d6000803e3d6000fd5b505050506040513d6020811015612b3d57600080fd5b505190612177565b90506000612b646103e8610c716007548561217790919063ffffffff16565b600c54909150612b7e906001600160a01b03163283612125565b6000612b9b6103e8610c716008548661217790919063ffffffff16565b600554600c54919250612bbb916001600160a01b03908116911683612125565b6000612bce6103e8610c71866070612177565b600254600c54919250611a7c916001600160a01b03908116911683612125565b600c54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612c3957600080fd5b505afa158015612c4d573d6000803e3d6000fd5b505050506040513d6020811015612c6357600080fd5b5051600c54600d549192506001600160a01b03918216911614612e07576003546040516338ed173960e01b8152600481018381526000602483018190523060648401819052426084850181905260a0604486019081526013805460a488018190526001600160a01b03909816976338ed1739978a97929594939160c49091019086908015612d1a57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612cfc575b50509650505050505050600060405180830381600087803b158015612d3e57600080fd5b505af1158015612d52573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612d7b57600080fd5b8101908080516040519392919084600160201b821115612d9a57600080fd5b908301906020820185811115612daf57600080fd5b82518660208202830111600160201b82111715612dcb57600080fd5b82525081516020918201928201910280838360005b83811015612df8578181015183820152602001612de0565b50505050905001604052505050505b600d54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015612e5257600080fd5b505afa158015612e66573d6000803e3d6000fd5b505050506040513d6020811015612e7c57600080fd5b5051905060027f0000000000000000000000000000000000000000000000000000000000000000141561300a57612eb1613342565b818160105460028110612ec057fe5b602002015260115460ff1615612f7157600f546040805163ee22be2360e01b81526001600160a01b039092169163ee22be239184916000916001916004019081908590808383885b83811015612f20578181015183820152602001612f08565b5050505090500183815260200182151581526020019350505050600060405180830381600087803b158015612f5457600080fd5b505af1158015612f68573d6000803e3d6000fd5b50505050613004565b600f5460408051630b4c7e4d60e01b81526001600160a01b0390921691630b4c7e4d91849160009160049091019081908490808383875b83811015612fc0578181015183820152602001612fa8565b5050505090500182815260200192505050600060405180830381600087803b158015612feb57600080fd5b505af1158015612fff573d6000803e3d6000fd5b505050505b50610ca9565b7f0000000000000000000000000000000000000000000000000000000000000000600314156130db5761303b613360565b81816010546003811061304a57fe5b602002015260115460ff161561309c57600f546040516315b74c9d60e11b8152825160049091019081526001600160a01b0390911690632b6e993a908390600090600190808460608083836020612f08565b600f54604051634515cef360e01b8152825160049091019081526001600160a01b0390911690634515cef3908390600090808360608083836020612fa8565b7f0000000000000000000000000000000000000000000000000000000000000000600414156131615761310c61337e565b81816010546004811061311b57fe5b6020020152600f5460405162a6cbcd60e21b81526001600160a01b039091169063029b2f3490839060009060040180836080808383878181015183820152602001612fa8565b7f000000000000000000000000000000000000000000000000000000000000000060051415610ca95761319261339c565b8181601054600581106131a157fe5b6020020152600f54604051638473849960e01b81526001600160a01b03909116906384738499908390600090600401808360a0808383875b838110156131f15781810151838201526020016131d9565b5050505090500182815260200192505050600060405180830381600087803b15801561321c57600080fd5b505af1158015613230573d6000803e3d6000fd5b50505050505050565b606083156132485750816120bc565b8251156132585782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156132a257818101518382015260200161328a565b50505050905090810190601f1680156132cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215613332579160200282015b8281111561333257825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906132fd565b5061333e9291506133ba565b5090565b60405180604001604052806002906020820280368337509192915050565b60405180606001604052806003906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b6040518060a001604052806005906020820280368337509192915050565b5b8082111561333e5780546001600160a01b03191681556001016133bb56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212203f1d0603e740a1fee1cf4a75f718390a04f8bffdf9ae2d1e2234c29bff80bab364736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5f6e6174697665546f4465706f736974526f7574655b305d20213d206e61746976655361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000600743b1d8a96438bd46836fd34977a00293f6aa00000000000000000000000040c0e9376468b4f257d15f8c47e5d0c646c28880000000000000000000000000225fb4176f0e20cdb66b4a3df70ca3063281e85500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000108c7a293162adff86da216ab5f91e56723125dc0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d000000000000000000000000982f264ce97365864181df65df4931c593a515ad0000000000000000000000006fb16f7f2c1f1bda14d4277530a92d4404b7fb7e0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000172370d5cd63279efa6d502dab29171933a610af0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174

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

000000000000000000000000600743b1d8a96438bd46836fd34977a00293f6aa00000000000000000000000040c0e9376468b4f257d15f8c47e5d0c646c28880000000000000000000000000225fb4176f0e20cdb66b4a3df70ca3063281e85500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000108c7a293162adff86da216ab5f91e56723125dc0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b4799750600000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d000000000000000000000000982f264ce97365864181df65df4931c593a515ad0000000000000000000000006fb16f7f2c1f1bda14d4277530a92d4404b7fb7e0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000172370d5cd63279efa6d502dab29171933a610af0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f6190000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12700000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174

-----Decoded View---------------
Arg [0] : _want (address): 0x600743b1d8a96438bd46836fd34977a00293f6aa
Arg [1] : _gauge (address): 0x40c0e9376468b4f257d15f8c47e5d0c646c28880
Arg [2] : _pool (address): 0x225fb4176f0e20cdb66b4a3df70ca3063281e855
Arg [3] : _poolSize (uint256): 4
Arg [4] : _depositIndex (uint256): 2
Arg [5] : _useUnderlying (bool): False
Arg [6] : _crvToNativeRoute (address[]): 0x172370d5cd63279efa6d502dab29171933a610af,0x7ceb23fd6bc0add59e62ac25578270cff1b9f619,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [7] : _nativeToDepositRoute (address[]): 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0x2791bca1f2de4661ed88a30c99a7a9449aa84174
Arg [8] : _vault (address): 0x108c7a293162adff86da216ab5f91e56723125dc
Arg [9] : _unirouter (address): 0x1b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [10] : _keeper (address): 0x10aee6b5594942433e7fc2783598c979b030ef3d
Arg [11] : _strategist (address): 0x982f264ce97365864181df65df4931c593a515ad
Arg [12] : _beefyFeeRecipient (address): 0x6fb16f7f2c1f1bda14d4277530a92d4404b7fb7e

-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 000000000000000000000000600743b1d8a96438bd46836fd34977a00293f6aa
Arg [1] : 00000000000000000000000040c0e9376468b4f257d15f8c47e5d0c646c28880
Arg [2] : 000000000000000000000000225fb4176f0e20cdb66b4a3df70ca3063281e855
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [8] : 000000000000000000000000108c7a293162adff86da216ab5f91e56723125dc
Arg [9] : 0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [10] : 00000000000000000000000010aee6b5594942433e7fc2783598c979b030ef3d
Arg [11] : 000000000000000000000000982f264ce97365864181df65df4931c593a515ad
Arg [12] : 0000000000000000000000006fb16f7f2c1f1bda14d4277530a92d4404b7fb7e
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [14] : 000000000000000000000000172370d5cd63279efa6d502dab29171933a610af
Arg [15] : 0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619
Arg [16] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [18] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [19] : 0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174


Deployed ByteCode Sourcemap

46419:9722:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53890:129;;;;;;;;;;;;;;;;-1:-1:-1;53890:129:0;;;;:::i;:::-;;53042:133;;;:::i;:::-;;;;;;;;;;;;;;;;46649:21;;;:::i;:::-;;;;-1:-1:-1;;;;;46649:21:0;;;;;;;;;;;;;;46777:19;;;:::i;46581:::-;;;:::i;42388:25::-;;;:::i;42420:24::-;;;:::i;45316:200::-;;;;;;;;;;;;;;;;-1:-1:-1;45316:200:0;;:::i;45028:39::-;;;:::i;48757:738::-;;;;;;;;;;;;;;;;-1:-1:-1;48757:738:0;;:::i;46743:27::-;;;:::i;53296:113::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55453:121;;;:::i;49684:91::-;;;:::i;55216:126::-;;;:::i;46803:30::-;;;:::i;45127:43::-;;;:::i;49503:173::-;;;:::i;53417:99::-;;;;;;;;;;;;;;;;-1:-1:-1;53417:99:0;;;;:::i;40676:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;44248;;;;;;;;;;;;;;;;-1:-1:-1;44248:86:0;-1:-1:-1;;;;;44248:86:0;;:::i;46624:18::-;;;:::i;46003:77::-;;;:::i;39035:148::-;;;:::i;46920:33::-;;;;;;;;;;;;;;;;-1:-1:-1;46920:33:0;;:::i;52660:113::-;;;:::i;43520:92::-;;;;;;;;;;;;;;;;-1:-1:-1;43520:92:0;-1:-1:-1;;;;;43520:92:0;;:::i;46840:24::-;;;:::i;44938:41::-;;;:::i;47109:24::-;;;:::i;55350:95::-;;;:::i;47142:28::-;;;:::i;45179:30::-;;;:::i;38384:87::-;;;:::i;42478:32::-;;;:::i;45218:25::-;;;:::i;54268:354::-;;;:::i;45958:36::-;;;:::i;44469:134::-;;;;;;;;;;;;;;;;-1:-1:-1;44469:134:0;-1:-1:-1;;;;;44469:134:0;;:::i;45524:154::-;;;;;;;;;;;;;;;;-1:-1:-1;45524:154:0;;:::i;42360:21::-;;;:::i;53524:358::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53524:358:0;;;;;;;;;;;;;;;-1:-1:-1;;;53524:358:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53524:358:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53524:358:0;;-1:-1:-1;53524:358:0;;-1:-1:-1;;;;;53524:358:0:i;44986:35::-;;;:::i;52840:118::-;;;:::i;46871:25::-;;;:::i;43757:155::-;;;;;;;;;;;;;;;;-1:-1:-1;43757:155:0;-1:-1:-1;;;;;43757:155:0;;:::i;46677:27::-;;;:::i;48535:214::-;;;:::i;45250:57::-;;;:::i;49783:76::-;;;:::i;44044:102::-;;;;;;;;;;;;;;;;-1:-1:-1;44044:102:0;-1:-1:-1;;;;;44044:102:0;;:::i;47073:29::-;;;:::i;45076:44::-;;;:::i;54063:148::-;;;:::i;47177:26::-;;;:::i;39338:244::-;;;;;;;;;;;;;;;;-1:-1:-1;39338:244:0;-1:-1:-1;;;;;39338:244:0;;:::i;54630:133::-;;;;;;;;;;;;;;;;-1:-1:-1;54630:133:0;;;;:::i;54863:271::-;;;:::i;42451:20::-;;;:::i;46960:37::-;;;;;;;;;;;;;;;;-1:-1:-1;46960:37:0;;:::i;53183:105::-;;;:::i;53890:129::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;53975:16:::1;:36:::0;;;::::1;;-1:-1:-1::0;;;53975:36:0::1;-1:-1:-1::0;;;;53975:36:0;;::::1;::::0;;;::::1;::::0;;53890:129::o;53042:133::-;53129:12;;53115:52;;;-1:-1:-1;;;53115:52:0;;53161:4;53115:52;;;;;;53088:7;;-1:-1:-1;;;;;53129:12:0;;53115:37;;:52;;;;;;;;;;;;;;53129:12;53115:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53115:52:0;;-1:-1:-1;53042:133:0;:::o;46649:21::-;;;-1:-1:-1;;;;;46649:21:0;;:::o;46777:19::-;;;-1:-1:-1;;;;;46777:19:0;;:::o;46581:::-;;;-1:-1:-1;;;;;46581:19:0;;:::o;42388:25::-;;;-1:-1:-1;;;;;42388:25:0;;:::o;42420:24::-;;;-1:-1:-1;;;;;42420:24:0;;:::o;45316:200::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;45064:3:::1;45388:4;:20;;45380:37;;;::::0;;-1:-1:-1;;;45380:37:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;45380:37:0;;;;;;;;;;;;;::::1;;45438:7;:14:::0;;;45474:24;:34:::1;45463:8;:45:::0;45316:200::o;45028:39::-;45064:3;45028:39;:::o;48757:738::-;48834:5;;-1:-1:-1;;;;;48834:5:0;48820:10;:19;48812:38;;;;;-1:-1:-1;;;48812:38:0;;;;;;;;;;;;-1:-1:-1;;;48812:38:0;;;;;;;;;;;;;;;48888:4;;48881:37;;;-1:-1:-1;;;48881:37:0;;48912:4;48881:37;;;;;;48863:15;;-1:-1:-1;;;;;48888:4:0;;48881:22;;:37;;;;;;;;;;;;;;48888:4;48881:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48881:37:0;;-1:-1:-1;48935:17:0;;;48931:170;;;48983:12;;-1:-1:-1;;;;;48983:12:0;48969:36;49006:20;:7;49018;49006:11;:20::i;:::-;48969:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49059:4:0;;49052:37;;;-1:-1:-1;;;49052:37:0;;49083:4;49052:37;;;;;;-1:-1:-1;;;;;49059:4:0;;;;-1:-1:-1;49052:22:0;;-1:-1:-1;49052:37:0;;;;;;;;;;;;;;;49059:4;49052:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49052:37:0;;-1:-1:-1;48931:170:0;49127:7;49117;:17;49113:67;;;-1:-1:-1;49161:7:0;49113:67;49209:7;:5;:7::i;:::-;-1:-1:-1;;;;;49196:20:0;:9;-1:-1:-1;;;;;49196:20:0;;:32;;;;49220:8;:6;:8::i;:::-;49192:296;;;49271:5;;49252:4;;49245:41;;-1:-1:-1;;;;;49252:4:0;;;;49271:5;49278:7;49245:25;:41::i;:::-;49192:296;;;49319:27;49349:46;45165:5;49349:26;49361:13;;49349:7;:11;;:26;;;;:::i;:::-;:30;;:46::i;:::-;49436:5;;49319:76;;-1:-1:-1;49410:66:0;;-1:-1:-1;;;;;49436:5:0;49443:32;:7;49319:76;49443:11;:32::i;:::-;49417:4;;-1:-1:-1;;;;;49417:4:0;;49410:66;:25;:66::i;:::-;49192:296;;48757:738;;:::o;46743:27::-;;;-1:-1:-1;;;;;46743:27:0;;:::o;53296:113::-;53345:16;53381:20;53374:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53374:27:0;;;;;;;;;;;;;;;;;;;;;;;53296:113;:::o;55453:121::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;55504:10:::1;:8;:10::i;:::-;55527:17;:15;:17::i;:::-;55557:9;:7;:9::i;:::-;55453:121::o:0;49684:91::-;41002:8;:6;:8::i;:::-;41001:9;40993:38;;;;;-1:-1:-1;;;40993:38:0;;;;;;;;;;;;-1:-1:-1;;;40993:38:0;;;;;;;;;;;;;;;46127:17:::1;::::0;::::1;;:49:::0;::::1;;;-1:-1:-1::0;46167:8:0::1;::::0;46148:28:::1;::::0;46167:8:::1;::::0;::::1;-1:-1:-1::0;;;;;46167:8:0::1;46148:18;:28::i;:::-;46123:159;;;46226:8;;;;;;;;;-1:-1:-1::0;;;;;46226:8:0::1;-1:-1:-1::0;;;;;46216:31:0::1;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46216:33:0;46201:11:::1;:48;;46193:77;;;::::0;;-1:-1:-1;;;46193:77:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46193:77:0;;;;;;;;;;;;;::::1;;49757:10:::2;:8;:10::i;55216:126::-:0;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;55263:7:::1;:5;:7::i;:::-;55295:12;::::0;-1:-1:-1;;;;;55295:12:0::1;55281:36;55318:15;:13;:15::i;:::-;55281:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;55216:126::o:0;46803:30::-;;;:::o;45127:43::-;45165:5;45127:43;:::o;49503:173::-;49561:16;;-1:-1:-1;;;49561:16:0;;;;49557:112;;;49616:5;;-1:-1:-1;;;;;49616:5:0;49602:10;:19;49594:38;;;;;-1:-1:-1;;;49594:38:0;;;;;;;;;;;;-1:-1:-1;;;49594:38:0;;;;;;;;;;;;;;53417:99;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;53487:10:::1;:21:::0;;-1:-1:-1;;53487:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53417:99::o;40676:86::-;40723:4;40747:7;-1:-1:-1;;;40747:7:0;;;;;40676:86::o;44248:::-;38615:12;:10;:12::i;:::-;-1:-1:-1;;;;;38604:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38604:23:0;;38596:68;;;;;-1:-1:-1;;;38596:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38596:68:0;;;;;;;;;;;;;;;44312:5:::1;:14:::0;;-1:-1:-1;;;;;;44312:14:0::1;-1:-1:-1::0;;;;;44312:14:0;;;::::1;::::0;;;::::1;::::0;;44248:86::o;46624:18::-;;;-1:-1:-1;;;;;46624:18:0;;:::o;46003:77::-;;;;;;-1:-1:-1;;;;;46003:77:0;;:::o;39035:148::-;38615:12;:10;:12::i;:::-;-1:-1:-1;;;;;38604:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38604:23:0;;38596:68;;;;;-1:-1:-1;;;38596:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38596:68:0;;;;;;;;;;;;;;;39142:1:::1;39126:6:::0;;39105:40:::1;::::0;-1:-1:-1;;;;;39126:6:0;;::::1;::::0;39105:40:::1;::::0;39142:1;;39105:40:::1;39173:1;39156:19:::0;;-1:-1:-1;;;;;;39156:19:0::1;::::0;;39035:148::o;46920:33::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46920:33:0;;-1:-1:-1;46920:33:0;:::o;52660:113::-;52702:7;52729:36;52749:15;:13;:15::i;:::-;52729;:13;:15::i;:::-;:19;;:36::i;:::-;52722:43;;52660:113;:::o;43520:92::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;43588:6:::1;:16:::0;;-1:-1:-1;;;;;;43588:16:0::1;-1:-1:-1::0;;;;;43588:16:0;;;::::1;::::0;;;::::1;::::0;;43520:92::o;46840:24::-;;;;:::o;44938:41::-;44976:3;44938:41;:::o;47109:24::-;;;;;;-1:-1:-1;;;;;47109:24:0;;:::o;55350:95::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;55397:8:::1;:6;:8::i;:::-;55418:19;:17;:19::i;47142:28::-:0;;;-1:-1:-1;;;47142:28:0;;;;;:::o;45179:30::-;;;;:::o;38384:87::-;38430:7;38457:6;-1:-1:-1;;;;;38457:6:0;38384:87;:::o;42478:32::-;;;-1:-1:-1;;;;;42478:32:0;;:::o;45218:25::-;;;;:::o;54268:354::-;54311:7;54331:17;54351:18;:16;:18::i;:::-;54427:9;;54409:71;;;-1:-1:-1;;;54409:71:0;;;;;;;;;;;;;;54463:16;54409:71;;;;;;;;54331:38;;-1:-1:-1;54380:26:0;;-1:-1:-1;;;;;54427:9:0;;;;54409:42;;54331:38;;54463:16;;54409:71;;;;;;;;54463:16;;54409:71;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54409:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54409:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54409:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54409:71:0;;;;;;;;;;;;-1:-1:-1;54409:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54380:100;;54491:17;54511:9;54539:1;54521:9;:16;:19;54511:30;;;;;;;;;;;;;;54491:50;;54561:53;45017:4;54561:40;54593:7;;54561:27;54583:4;54561:17;54575:2;54561:9;:13;;:17;;;;:::i;:27::-;:31;;:40::i;:53::-;54554:60;;;;;54268:354;:::o;45958:36::-;;;;;;:::o;44469:134::-;38615:12;:10;:12::i;:::-;-1:-1:-1;;;;;38604:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38604:23:0;;38596:68;;;;;-1:-1:-1;;;38596:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38596:68:0;;;;;;;;;;;;;;;44557:17:::1;:38:::0;;-1:-1:-1;;;;;;44557:38:0::1;-1:-1:-1::0;;;;;44557:38:0;;;::::1;::::0;;;::::1;::::0;;44469:134::o;45524:154::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;45118:2:::1;45602:4;:26;;45594:43;;;::::0;;-1:-1:-1;;;45594:43:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;45594:43:0;;;;;;;;;;;;;::::1;;45650:13;:20:::0;45524:154::o;42360:21::-;;;-1:-1:-1;;;;;42360:21:0;;:::o;53524:358::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;53652:3:::1;::::0;53633:15;;-1:-1:-1;;;;;53652:3:0;;::::1;::::0;53633:12;;53652:3:::1;::::0;53633:15:::1;;;;;;;;;;-1:-1:-1::0;;;;;53633:22:0::1;;53625:39;;;::::0;;-1:-1:-1;;;53625:39:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;53625:39:0;;;;;;;;;;;;;::::1;;53724:6;::::0;53696:19;;-1:-1:-1;;;;;53724:6:0;;::::1;::::0;53683:12;;-1:-1:-1;;53696:23:0;;;53683:37;::::1;;;;;;;;;;;-1:-1:-1::0;;;;;53683:47:0::1;;53675:67;;;::::0;;-1:-1:-1;;;53675:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;53675:67:0;;;;;;;;;;;;;::::1;;53755:19;:17;:19::i;:::-;53785:31:::0;;::::1;::::0;:16:::1;::::0;:31:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;53827:9:0::1;:19:::0;;-1:-1:-1;;;;;;53827:19:0::1;;-1:-1:-1::0;;;;;53827:19:0;::::1;;;::::0;;53857:17:::1;:15;:17::i;44986:35::-:0;45017:4;44986:35;:::o;52840:118::-;52920:4;;52913:37;;;-1:-1:-1;;;52913:37:0;;52944:4;52913:37;;;;;;52886:7;;-1:-1:-1;;;;;52920:4:0;;52913:22;;:37;;;;;;;;;;;;;;52920:4;52913:37;;;;;;;;;;46871:25;;;;;;:::o;43757:155::-;43843:10;;-1:-1:-1;;;;;43843:10:0;43829;:24;43821:48;;;;;-1:-1:-1;;;43821:48:0;;;;;;;;;;;;-1:-1:-1;;;43821:48:0;;;;;;;;;;;;;;;43880:10;:24;;-1:-1:-1;;;;;;43880:24:0;-1:-1:-1;;;;;43880:24:0;;;;;;;;;;43757:155::o;46677:27::-;;;-1:-1:-1;;;;;46677:27:0;;:::o;48535:214::-;41002:8;:6;:8::i;:::-;41001:9;40993:38;;;;;-1:-1:-1;;;40993:38:0;;;;;;;;;;;;-1:-1:-1;;;40993:38:0;;;;;;;;;;;;;;;48611:4:::1;::::0;48604:37:::1;::::0;;-1:-1:-1;;;48604:37:0;;48635:4:::1;48604:37;::::0;::::1;::::0;;;48586:15:::1;::::0;-1:-1:-1;;;;;48611:4:0::1;::::0;48604:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;48611:4;48604:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48604:37:0;;-1:-1:-1;48658:11:0;;48654:88:::1;;48700:12;::::0;48686:44:::1;::::0;;-1:-1:-1;;;48686:44:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;48700:12:0;;::::1;::::0;48686:35:::1;::::0;:44;;;;;48700:12:::1;::::0;48686:44;;;;;;;;48700:12;;48686:44;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48654:88;41042:1;48535:214::o:0;45250:57::-;;;;:::o;49783:76::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;44044:102;38615:12;:10;:12::i;:::-;-1:-1:-1;;;;;38604:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38604:23:0;;38596:68;;;;;-1:-1:-1;;;38596:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38596:68:0;;;;;;;;;;;;;;;44116:9:::1;:22:::0;;-1:-1:-1;;;;;;44116:22:0::1;-1:-1:-1::0;;;;;44116:22:0;;;::::1;::::0;;;::::1;::::0;;44044:102::o;47073:29::-;;;;;;:::o;45076:44::-;45118:2;45076:44;:::o;54063:148::-;54153:12;;54199:3;;54139:64;;;-1:-1:-1;;;54139:64:0;;54192:4;54139:64;;;;-1:-1:-1;;;;;54199:3:0;;;54139:64;;;;;;54112:7;;54153:12;;;;;54139:44;;:64;;;;;;;;;;;;;;;54153:12;54139:64;;;;;;;;;;47177:26;;;;:::o;39338:244::-;38615:12;:10;:12::i;:::-;-1:-1:-1;;;;;38604:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38604:23:0;;38596:68;;;;;-1:-1:-1;;;38596:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;38596:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;39427:22:0;::::1;39419:73;;;;-1:-1:-1::0;;;39419:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39529:6;::::0;;39508:38:::1;::::0;-1:-1:-1;;;;;39508:38:0;;::::1;::::0;39529:6;::::1;::::0;39508:38:::1;::::0;::::1;39557:6;:17:::0;;-1:-1:-1;;;;;;39557:17:0::1;-1:-1:-1::0;;;;;39557:17:0;;;::::1;::::0;;;::::1;::::0;;39338:244::o;54630:133::-;43337:7;:5;:7::i;:::-;-1:-1:-1;;;;;43323:21:0;:10;-1:-1:-1;;;;;43323:21:0;;:45;;;-1:-1:-1;43362:6:0;;-1:-1:-1;;;;;43362:6:0;43348:10;:20;43323:45;43315:66;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;-1:-1:-1;;;43315:66:0;;;;;;;;;;;;;;;54717:17:::1;:38:::0;;-1:-1:-1;;54717:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54630:133::o;54863:271::-;54928:5;;-1:-1:-1;;;;;54928:5:0;54914:10;:19;54906:38;;;;;-1:-1:-1;;;54906:38:0;;;;;;;;;;;;-1:-1:-1;;;54906:38:0;;;;;;;;;;;;;;;54971:12;;-1:-1:-1;;;;;54971:12:0;54957:36;54994:15;:13;:15::i;:::-;54957:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55048:4:0;;55041:37;;;-1:-1:-1;;;55041:37:0;;55072:4;55041:37;;;;;;55023:15;;-1:-1:-1;;;;;;55048:4:0;;;;-1:-1:-1;55041:22:0;;:37;;;;;;;;;;;;;;55048:4;55041:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55041:37:0;55096:4;;55111:5;;;55089:37;;;-1:-1:-1;;;55089:37:0;;-1:-1:-1;;;;;55111:5:0;;;55089:37;;;;;;;;;;;;;;55041;;-1:-1:-1;55096:4:0;;;;55089:21;;:37;;;;;55041;;55089;;;;;;;;55096:4;;55089:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42451:20;;;-1:-1:-1;;;;;42451:20:0;;:::o;46960:37::-;;;;;;;;;;53183:105;53228:16;53264;53257:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53257:23:0;;;;;;;;;;;;;;;;;;;;;;53183:105;:::o;31685:622::-;32055:10;;;32054:62;;-1:-1:-1;32071:39:0;;;-1:-1:-1;;;32071:39:0;;32095:4;32071:39;;;;-1:-1:-1;;;;;32071:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32071:39:0;:44;32054:62;32046:152;;;;-1:-1:-1;;;32046:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32236:62;;;-1:-1:-1;;;;;32236:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32236:62:0;-1:-1:-1;;;32236:62:0;;;32209:90;;32229:5;;32209:19;:90::i;26021:195::-;26124:12;26156:52;26178:6;26186:4;26192:1;26195:12;26156:21;:52::i;:::-;26149:59;;26021:195;;;;;;:::o;7087:158::-;7145:7;7178:1;7173;:6;;7165:49;;;;;-1:-1:-1;;;7165:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7232:5:0;;;7087:158;;;;;:::o;31026:177::-;31136:58;;;-1:-1:-1;;;;;31136:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31136:58:0;-1:-1:-1;;;31136:58:0;;;31109:86;;31129:5;;31109:19;:86::i;7504:220::-;7562:7;7586:6;7582:20;;-1:-1:-1;7601:1:0;7594:8;;7582:20;7625:5;;;7629:1;7625;:5;:1;7649:5;;;;;:10;7641:56;;;;-1:-1:-1;;;7641:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8202:153;8260:7;8292:1;8288;:5;8280:44;;;;;-1:-1:-1;;;8280:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8346:1;8342;:5;;;;;;;8202:153;-1:-1:-1;;;8202:153:0:o;41735:120::-;41279:8;:6;:8::i;:::-;41271:41;;;;;-1:-1:-1;;;41271:41:0;;;;;;;;;;;;-1:-1:-1;;;41271:41:0;;;;;;;;;;;;;;;41804:5:::1;41794:15:::0;;-1:-1:-1;;;;41794:15:0::1;::::0;;41825:22:::1;41834:12;:10;:12::i;:::-;41825:22;::::0;;-1:-1:-1;;;;;41825:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;41735:120::o:0;55582:299::-;55654:12;;55636:4;;55629:54;;-1:-1:-1;;;;;55636:4:0;;;;55654:12;-1:-1:-1;;55629:24:0;:54::i;:::-;55721:9;;55701:6;;55694:53;;-1:-1:-1;;;;;55701:6:0;;;;55721:9;-1:-1:-1;;55694:26:0;:53::i;:::-;55782:9;;55765:3;;55758:50;;-1:-1:-1;;;;;55765:3:0;;;;55782:9;;;;;-1:-1:-1;;55758:23:0;:50::i;:::-;55852:4;;55826:12;;55819:54;;-1:-1:-1;;;;;55826:12:0;;;;55852:4;-1:-1:-1;;55819:32:0;:54::i;23103:422::-;23470:20;23509:8;;;23103:422::o;49922:461::-;49976:12;;49962:56;;;-1:-1:-1;;;49962:56:0;;50012:4;49962:56;;;;;;-1:-1:-1;;;;;49976:12:0;;;;49962:41;;:56;;;;;49976:12;;49962:56;;;;;;;;49976:12;;49962:56;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50053:3:0;;50046:36;;;-1:-1:-1;;;50046:36:0;;50076:4;50046:36;;;;;;50029:14;;-1:-1:-1;;;;;;50053:3:0;;;;-1:-1:-1;50046:21:0;;:36;;;;;;;;;;;;;;50053:3;50046:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50046:36:0;50120:6;;50113:39;;;-1:-1:-1;;;50113:39:0;;50146:4;50113:39;;;;;;50046:36;;-1:-1:-1;50093:17:0;;-1:-1:-1;;;;;50120:6:0;;;;50113:24;;:39;;;;;50046:36;;50113:39;;;;;;;;50120:6;50113:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50113:39:0;;-1:-1:-1;50167:13:0;;;;:27;;;50193:1;50184:6;:10;50167:27;50163:213;;;50211:12;:10;:12::i;:::-;50238:14;:12;:14::i;:::-;50267:9;:7;:9::i;:::-;50305:15;50291:11;:29;50340:24;;50353:10;;50340:24;;;;;49922:461;;:::o;667:106::-;755:10;667:106;:::o;6625:179::-;6683:7;6715:5;;;6739:6;;;;6731:46;;;;;-1:-1:-1;;;6731:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;41476:118;41002:8;:6;:8::i;:::-;41001:9;40993:38;;;;;-1:-1:-1;;;40993:38:0;;;;;;;;;;;;-1:-1:-1;;;40993:38:0;;;;;;;;;;;;;;;41536:7:::1;:14:::0;;-1:-1:-1;;;;41536:14:0::1;-1:-1:-1::0;;;41536:14:0::1;::::0;;41566:20:::1;41573:12;:10;:12::i;55889:249::-:0;55963:12;;55945:4;;55938:41;;-1:-1:-1;;;;;55945:4:0;;;;55963:12;;55938:24;:41::i;:::-;56017:9;;55997:6;;55990:40;;-1:-1:-1;;;;;55997:6:0;;;;56017:9;;55990:26;:40::i;:::-;56065:9;;56048:3;;56041:37;;-1:-1:-1;;;;;56048:3:0;;;;56065:9;;;;;56076:1;56041:23;:37::i;:::-;56122:4;;56096:12;;56089:41;;-1:-1:-1;;;;;56096:12:0;;;;56122:4;;56089:32;:41::i;33331:761::-;33755:23;33781:69;33809:4;33781:69;;;;;;;;;;;;;;;;;33789:5;-1:-1:-1;;;;;33781:27:0;;;:69;;;;;:::i;:::-;33865:17;;33755:95;;-1:-1:-1;33865:21:0;33861:224;;34007:10;33996:30;;;;;;;;;;;;;;;-1:-1:-1;33996:30:0;33988:85;;;;-1:-1:-1;;;33988:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27073:530;27200:12;27258:5;27233:21;:30;;27225:81;;;;-1:-1:-1;;;27225:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27325:18;27336:6;27325:10;:18::i;:::-;27317:60;;;;;-1:-1:-1;;;27317:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27451:12;27465:23;27492:6;-1:-1:-1;;;;;27492:11:0;27512:5;27520:4;27492:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27492:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27450:75;;;;27543:52;27561:7;27570:10;27582:12;27543:17;:52::i;:::-;27536:59;27073:530;-1:-1:-1;;;;;;;27073:530:0:o;50416:813::-;50482:3;;50475:36;;;-1:-1:-1;;;50475:36:0;;50505:4;50475:36;;;;;;50458:14;;-1:-1:-1;;;;;50482:3:0;;50475:21;;:36;;;;;;;;;;;;;;50482:3;50475:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50475:36:0;50526:10;;50475:36;;-1:-1:-1;50526:10:0;;:24;;;;;50549:1;50540:6;:10;50526:24;50522:171;;;50585:9;;;;;;;;;-1:-1:-1;;;;;50585:9:0;-1:-1:-1;;;;;50567:53:0;;50621:6;50629:1;50632:16;50658:4;50665:15;50567:114;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50567:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50567:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50567:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50567:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;50567:114:0;;;;;;;;;;;;-1:-1:-1;50567:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50522:171;50735:6;;50728:39;;;-1:-1:-1;;;50728:39:0;;50761:4;50728:39;;;;;;50705:20;;50728:57;;50780:4;;50728:47;;50772:2;;-1:-1:-1;;;;;50735:6:0;;;;50728:24;;:39;;;;;;;;;;;;;;;50735:6;50728:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50728:39:0;;:43;:47::i;:57::-;50705:80;;50798:21;50822:38;45017:4;50822:25;50839:7;;50822:12;:16;;:25;;;;:::i;:38::-;50878:6;;50798:62;;-1:-1:-1;50871:53:0;;-1:-1:-1;;;;;50878:6:0;50899:9;50798:62;50871:27;:53::i;:::-;50937:22;50962:39;45017:4;50962:26;50979:8;;50962:12;:16;;:26;;;;:::i;:39::-;51040:17;;51019:6;;50937:64;;-1:-1:-1;51012:62:0;;-1:-1:-1;;;;;51019:6:0;;;;51040:17;50937:64;51012:27;:62::i;:::-;51087:21;51111:45;45017:4;51111:32;:12;44976:3;51111:16;:32::i;:45::-;51195:10;;51174:6;;51087:69;;-1:-1:-1;51167:54:0;;-1:-1:-1;;;;;51174:6:0;;;;51195:10;51087:69;51167:27;:54::i;51292:1294::-;51363:6;;51356:39;;;-1:-1:-1;;;51356:39:0;;51389:4;51356:39;;;;;;51336:17;;-1:-1:-1;;;;;51363:6:0;;51356:24;;:39;;;;;;;;;;;;;;51363:6;51356:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51356:39:0;51426:6;;51410:12;;51356:39;;-1:-1:-1;;;;;;51410:12:0;;;51426:6;;51410:22;51406:176;;51467:9;;51449:121;;-1:-1:-1;;;51449:121:0;;;;;;;;51467:9;51449:121;;;;;;51547:4;51449:121;;;;;;51554:15;51449:121;;;;;;;;;;;;;51517:20;51449:121;;;;;;;;-1:-1:-1;;;;;51467:9:0;;;;51449:53;;51503:9;;51517:20;;51547:4;51554:15;51449:121;;;;;;51517:20;;51449:121;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51449:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51449:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51449:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51449:121:0;;;;;;;;;;;;-1:-1:-1;51449:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51406:176;51622:12;;51615:45;;;-1:-1:-1;;;51615:45:0;;51654:4;51615:45;;;;;;51594:18;;-1:-1:-1;;;;;51622:12:0;;51615:30;;:45;;;;;;;;;;;;;;51622:12;51615:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51615:45:0;;-1:-1:-1;51689:1:0;51677:8;:13;51673:906;;;51707:25;;:::i;:::-;51771:10;51747:7;51755:12;;51747:21;;;;;;;;;;:34;51800:13;;;;51796:131;;;51827:4;;51815:49;;;-1:-1:-1;;;51815:49:0;;-1:-1:-1;;;;;51827:4:0;;;;51815:31;;51847:7;;51827:4;;;;51815:49;;;;;51847:7;;51815:49;;51847:7;51827:4;51815:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51796:131;;;51896:4;;51884:43;;;-1:-1:-1;;;51884:43:0;;-1:-1:-1;;;;;51896:4:0;;;;51884:31;;51916:7;;51896:4;;51884:43;;;;;;;51916:7;;51884:43;;51916:7;51896:4;51884:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51796:131;51673:906;;;;51949:8;51961:1;51949:13;51945:634;;;51979:25;;:::i;:::-;52043:10;52019:7;52027:12;;52019:21;;;;;;;;;;:34;52072:13;;;;52068:131;;;52099:4;;52087:49;;-1:-1:-1;;;52087:49:0;;;;;;;;;;;-1:-1:-1;;;;;52099:4:0;;;;52087:31;;52119:7;;52099:4;;;;52087:49;52119:7;52087:49;;;52119:7;52087:49;;;52068:131;52168:4;;52156:43;;-1:-1:-1;;;52156:43:0;;;;;;;;;;;-1:-1:-1;;;;;52168:4:0;;;;52156:31;;52188:7;;52168:4;;52156:43;52188:7;52156:43;;;52188:7;52156:43;;;51945:634;52221:8;52233:1;52221:13;52217:362;;;52251:25;;:::i;:::-;52315:10;52291:7;52299:12;;52291:21;;;;;;;;;;:34;52352:4;;52340:43;;-1:-1:-1;;;52340:43:0;;-1:-1:-1;;;;;52352:4:0;;;;52340:31;;52372:7;;52352:4;;52340:43;;;52372:7;52340:43;;;52372:7;52352:4;52340:43;;;;;;;;;;;;52217:362;52405:8;52417:1;52405:13;52401:178;;;52435:25;;:::i;:::-;52499:10;52475:7;52483:12;;52475:21;;;;;;;;;;:34;52536:4;;52524:43;;-1:-1:-1;;;52524:43:0;;-1:-1:-1;;;;;52536:4:0;;;;52524:31;;52556:7;;52536:4;;52524:43;;;52556:7;52524:43;;;52556:7;52536:4;52524:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52401:178;51292:1294;;:::o;29613:742::-;29728:12;29757:7;29753:595;;;-1:-1:-1;29788:10:0;29781:17;;29753:595;29902:17;;:21;29898:439;;30165:10;30159:17;30226:15;30213:10;30209:2;30205:19;30198:44;30113:148;30308:12;30301:20;;-1:-1:-1;;;30301:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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