Contract 0xf5360a03bcb4e00f3c08c071d5377acd21335400

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdb18484236568f7c5d009644f5b560c0f4cca4422a095ad3a8eda914a5430201Set_fee217512082021-11-24 16:18:103 days 7 hrs ago0x85cf0915c8d3695b03da739e3eaefd5388eb5eef IN  0xf5360a03bcb4e00f3c08c071d5377acd213354000 MATIC0.00086121
0x0b6579ef98eed27ae90e40392f64882a5f5b58fe014485cf97b7e4aea840b944Set_multi Harves...190438632021-09-13 1:28:1275 days 22 hrs ago0x85cf0915c8d3695b03da739e3eaefd5388eb5eef IN  0xf5360a03bcb4e00f3c08c071d5377acd213354000 MATIC0.000138339
0x065e35a859dc4d1430bc551d9ed883ec1c4377d52982aeba677ad8d7d006abeeHarvest190425612021-09-13 0:38:0175 days 23 hrs ago0x333241628fe88cf1eae1d070e9cbfdbac6182b1f IN  0xf5360a03bcb4e00f3c08c071d5377acd213354000 MATIC0.00733845
0x5ee768df164cfe943c865a36dc89c42841d48478df4620b96468437abb6b4320Harvest190425522021-09-13 0:37:3575 days 23 hrs ago0x333241628fe88cf1eae1d070e9cbfdbac6182b1f IN  0xf5360a03bcb4e00f3c08c071d5377acd213354000 MATIC0.00944647
0x95a2c328fe6f9caeae1414eb21bba05916afa8c24dedc888eb061d52c61d13d7Set Jar190125922021-09-12 4:06:0876 days 19 hrs ago0x85cf0915c8d3695b03da739e3eaefd5388eb5eef IN  0xf5360a03bcb4e00f3c08c071d5377acd213354000 MATIC0.000057929182
0x284a89a2a180181e15da92eb4e84ae71961ef84aad35e756f9318df94c85185e0x60806040190125392021-09-12 4:04:1876 days 19 hrs ago0x85cf0915c8d3695b03da739e3eaefd5388eb5eef IN  Contract Creation0 MATIC0.0030034587
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyTwoAssets

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-09-13
*/

pragma solidity ^0.6.12;

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

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


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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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



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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



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

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

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

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

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

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

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

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


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


interface IJar is IERC20 {
    function token() external view returns (address);

    //function claimInsurance() external; // NOTE: Only yDelegatedVault implements this

    function getRatio() external view returns (uint256);

    function balance() external view returns (uint256);

    function depositAll() external;

    function deposit(uint256) external;

    function depositFor(address user, uint256 amount) external;

    function withdrawAll() external;

    function withdraw(uint256) external;

    function earn() external;

    function strategy() external view returns (address);

    function decimals() external view returns (uint8);

    function getLastTimeRestaked(address _address) external view returns (uint256);

    function notifyReward(address _reward, uint256 _amount) external;

    function getPendingReward(address _user) external view returns (uint256);
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}
interface IUniswapRouterV2 {
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

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

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

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

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

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

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);
}


abstract contract BaseStrategy is Ownable {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    // Tokens
    address public want; //The LP token, Harvest calls this "rewardToken"
    address public constant weth = 0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619; //weth for Matic
    address public harvestedToken; //The token we harvest, will add support for multiple tokens in v2

    // User accounts
    address public strategist; //The address the performance fee is sent to
    address public jar;

    // Dex
    address public constant currentRouter = 0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506; //SushiSwap router

    constructor(
        address _want,
        address _strategist,
        address _harvestedToken
    ) public {
        require(_want != address(0));
        require(_strategist != address(0));

        want = _want;
        strategist = _strategist;
        harvestedToken = _harvestedToken;
    }

    // **** Modifiers **** //

    //Replaced with Ownable, which allows me to transfer ownership of the contract
    /*modifier onlyStrategist {
        require(msg.sender == strategist, "!strategist");
        _;
    }*/

    // **** Views **** //

    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

    function balanceOfPool() public virtual view returns (uint256);

    function getHarvestable() external virtual view returns (uint256);

    function balanceOf() public view returns (uint256) {
        return balanceOfWant().add(balanceOfPool());
    }

    function getName() external virtual pure returns (string memory);

    // **** Setters **** //

    function setJar(address _jar) external onlyOwner {
        require(jar == address(0), "jar already set");
        jar = _jar;
        emit SetJar(_jar);
    }

    function setStrategist(address _strategist) external onlyOwner {
        strategist = _strategist;
    }

    // **** State mutations **** //
    function deposit() public virtual;

    // Withdraw partial funds, normally used with a jar withdrawal
    function withdraw(uint256 _amount) external {
        require(msg.sender == jar, "!jar");
        uint256 _balance = IERC20(want).balanceOf(address(this));
        if (_balance < _amount) {
            _amount = _withdrawSome(_amount.sub(_balance));
            _amount = _amount.add(_balance);
        }

        IERC20(want).safeTransfer(jar, _amount);
    }

    function _withdrawAll() internal {
        _withdrawSome(balanceOfPool());
    }

    function _withdrawSome(uint256 _amount) internal virtual returns (uint256);

    function harvest() public virtual;

    // **** Internal functions ****
    function _swapUniswap(
        address _from,
        address _to,
        uint256 _amount
    ) internal {
        require(_to != address(0));

        // Swap with uniswap
        IERC20(_from).safeApprove(currentRouter, 0);
        IERC20(_from).safeApprove(currentRouter, _amount);

        address[] memory path;

        if (_from == weth || _to == weth) {
            path = new address[](2);
            path[0] = _from;
            path[1] = _to;
        } else {
            path = new address[](3);
            path[0] = _from;
            path[1] = weth;
            path[2] = _to;
        }

        IUniswapRouterV2(currentRouter).swapExactTokensForTokens(
            _amount,
            0,
            path,
            address(this),
            now.add(600)
        );
    }

    function _swapUniswapWithPath(
        address[] memory path,
        uint256 _amount
    ) internal {
        require(path[1] != address(0));

        // Swap with uniswap
        IERC20(path[0]).safeApprove(currentRouter, 0);
        IERC20(path[0]).safeApprove(currentRouter, _amount);

        IUniswapRouterV2(currentRouter).swapExactTokensForTokens(
            _amount,
            0,
            path,
            address(this),
            now.add(600)
        );
    }

    function _swapUniswapWithPathForFeeOnTransferTokens(
        address[] memory path,
        uint256 _amount
    ) internal {
        require(path[1] != address(0));

        // Swap with uniswap
        IERC20(path[0]).safeApprove(currentRouter, 0);
        IERC20(path[0]).safeApprove(currentRouter, _amount);

        IUniswapRouterV2(currentRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(
            _amount,
            0,
            path,
            address(this),
            now.add(600)
        );
    }

    function _distributePerformanceFeesAndDeposit() internal {
        uint256 _want = IERC20(want).balanceOf(address(this));

        if (_want > 0) {
            deposit();
        }
    }

    // **** Events **** //
    event SetJar(address indexed jar);
}
interface IMasterChef {
    function deposit(uint256 _pid, uint256 _amount, address _to) external;
    function withdraw(uint256 _pid, uint256 _amount, address _to) external;
    function withdrawAndHarvest(uint256 _pid, uint256 _amount, address _to) external;
    function emergencyWithdraw(uint256 _pid, address _to) external;
    function harvest(uint256 _pid, address _to) external;

    function userInfo(uint256 _pid, address _user) external view returns(uint256, uint256);
    function pendingSushi(uint256 _pid, address _user) external view returns (uint256);
}

// Base contract for MasterChef/SakeMaster/etc rewards contract interfaces

abstract contract BaseStrategyMasterChef is BaseStrategy {

    address public rewards;
    uint256 public poolId;
    bool public emergencyStatus = false;

    constructor(
        address _rewards,
        address _want,
        address _strategist,
        uint256 _poolId,
        address _harvestedToken
    )
        public
        BaseStrategy(_want, _strategist, _harvestedToken)
    {
        poolId = _poolId;
        rewards = _rewards;
    }

    // **** Getters ****
    function balanceOfPool() public override view returns (uint256) {
        (uint256 amount, ) = IMasterChef(rewards).userInfo(poolId, address(this));
        return amount;
        //return IMasterChef(rewards).balanceOf(poolId, address(this));
    }

    function getHarvestable() external override view returns (uint256) {
        return IMasterChef(rewards).pendingSushi(poolId, address(this));
    }

    // **** Setters ****

    function deposit() public override {
        require(emergencyStatus == false, "emergency withdrawal in process");
        uint256 _want = IERC20(want).balanceOf(address(this));
        if (_want > 0) {
            IERC20(want).safeApprove(rewards, 0);
            IERC20(want).safeApprove(rewards, _want);
            IMasterChef(rewards).deposit(poolId, _want, address(this));
        }
    }

    function _withdrawSome(uint256 _amount)
        internal
        override
        returns (uint256)
    {
        IMasterChef(rewards).withdraw(poolId, _amount,address(this));
        return _amount;
    }

    /* **** Other Mutative functions **** */

    function _getReward() internal {
        IMasterChef(rewards).harvest(poolId, address(this));
        //Usually different for other pools based on IMasterChef
        //IMasterChef(rewards).claim(poolId);
    }

    // **** Admin functions ****

    function salvage(address token) public onlyOwner {
        require(token != want && token != harvestedToken, "cannot salvage");

        uint256 _token = IERC20(token).balanceOf(address(this));
        if (_token > 0) {
            IERC20(token).safeTransfer(msg.sender, _token);
        }
    }

    function emergencyWithdraw() public onlyOwner {
        IMasterChef(rewards).emergencyWithdraw(poolId,address(this));

        uint256 _want = IERC20(want).balanceOf(address(this));
        if (_want > 0) {
            IERC20(want).safeTransfer(jar, _want);
        }

        emergencyStatus = true;
    }
}


abstract contract StrategyFarmTwoAssets is BaseStrategyMasterChef {

    // Token addresses for the harvested and rewards tokens
    address public constant sushi = 0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a;
    address public constant matic = 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270;
    address public constant eth = 0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619;
    
    // LP tokens
    address public constant token1 = 0xc2132D05D31c914a87C6611C10748AEb04B58e8F;
    address public constant token2 = 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174;

    address public multiHarvest = 0x0000000000000000000000000000000000000000;

    // Other constants
    uint16 public constant underlyingPoolId = 8;
    uint256 public keepFXS = 100;
    uint256 public harvestCutoff = 10**12;
    uint256 public harvestCutoffMatic = 10**15;
    uint256 public constant keepFXSmax = 10000;

    // Uniswap swap paths
    address[] public sushi_matic_path;
    address[] public matic_token1_path;
    address[] public matic_token2_path;

    constructor(
        address _rewards,
        address _want,
        address _strategist
    )
        public
        BaseStrategyMasterChef(
            _rewards,
            _want,
            _strategist,
            underlyingPoolId,
            sushi
        )
    {
        sushi_matic_path = new address[](2);
        sushi_matic_path[0] = sushi;
        sushi_matic_path[1] = matic;

        matic_token1_path = new address[](3);
        matic_token1_path[0] = matic;
        matic_token1_path[1] = eth;
        matic_token1_path[2] = token1;

        matic_token2_path = new address[](3);
        matic_token2_path[0] = matic;
        matic_token2_path[1] = eth;
        matic_token2_path[2] = token2;
    }

    // **** State Mutations ****

    function set_fee(uint256 NewFee) external onlyOwner() {
        require(NewFee <= 1000, "New fee must be less than 1000 bps");
        keepFXS = NewFee;
    }
    function set_multiHarvest(address newHarvest) external onlyOwner() {
        multiHarvest = newHarvest;
    }

    function set_harvestCutoff(uint256 newCutoff) external onlyOwner() {
        harvestCutoff = newCutoff;
    }

    function set_harvestCutoffMatic(uint256 newCutoff) external onlyOwner() {
        harvestCutoffMatic = newCutoff;
    }

    //Harvest needs to be called twice because deposit and withdraw have the nonReentrant modifier, so I cannot claim and deposit in the same tx
    function harvest() public override {
        //prevent unauthorized smart contracts from calling harvest()
        require(msg.sender == tx.origin || msg.sender == owner() || msg.sender == strategist || msg.sender == multiHarvest || msg.sender == jar, "not authorized");

        // Collects reward tokens
        _getReward();
        
        
        //Swap Sushi for matic
        uint256 _sushiBalance = IERC20(sushi).balanceOf(address(this));
        if (_sushiBalance > harvestCutoff){
            _swapUniswapWithPath(sushi_matic_path, _sushiBalance);
        }
        
        // Matic to LP
        uint256 _maticBalance = IERC20(matic).balanceOf(address(this));
        if (_maticBalance > harvestCutoffMatic){

            // Take performance fee
            uint256 performanceFee = _maticBalance.mul(keepFXS).div(keepFXSmax);
            if (performanceFee>0) {
                IERC20(matic).safeTransfer(
                    strategist,
                    performanceFee
                );
            }
            
            // Swap 1/2 remaining to token1 
            uint256 _maticBalancePost = IERC20(matic).balanceOf(address(this));
            _swapUniswapWithPath(matic_token1_path, _maticBalancePost.div(2));

            // Swap 1/2 remaining to token2
            uint256 _maticBalancePost2 = IERC20(matic).balanceOf(address(this));
            _swapUniswapWithPath(matic_token2_path, _maticBalancePost2);
            
            // Add liquidity
            uint256 _token1 = IERC20(token1).balanceOf(address(this));
            uint256 _token2 = IERC20(token2).balanceOf(address(this));
            if (_token1 > 0 && _token2 > 0) {
                IERC20(token1).safeApprove(currentRouter, 0);
                IERC20(token1).safeApprove(currentRouter, _token1);
                IERC20(token2).safeApprove(currentRouter, 0);
                IERC20(token2).safeApprove(currentRouter, _token2);

                IUniswapRouterV2(currentRouter).addLiquidity(
                    token1,
                    token2,
                    _token1,
                    _token2,
                    0,
                    0,
                    address(this),
                    now + 600
                );

                // Donates DUST
                IERC20(token1).safeTransfer(
                    strategist,
                    IERC20(token1).balanceOf(address(this))
                );
                IERC20(token2).safeTransfer(
                    strategist,
                    IERC20(token2).balanceOf(address(this))
                );
            }
            // Stake the LP tokens
            _distributePerformanceFeesAndDeposit();
        }
    }
}

contract StrategyTwoAssets is StrategyFarmTwoAssets {
    // Token addresses
    address public SUSHI_MASTER_CHEF = 0x0769fd68dFb93167989C6f7254cd0D766Fb2841F;
    address public usdt_USDC_LP = 0x4B1F1e2435A9C96f7330FAea190Ef6A7C8D70001;

    constructor()
        public
        StrategyFarmTwoAssets(
            SUSHI_MASTER_CHEF,
            usdt_USDC_LP,
            msg.sender
        )
    {}

    // **** Views ****

    function getName() external override pure returns (string memory) {
        return "StrategyTwoAssets";
    }

    function pairName() external pure returns (string memory) {
        return "usdtUSDC";
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"jar","type":"address"}],"name":"SetJar","type":"event"},{"inputs":[],"name":"SUSHI_MASTER_CHEF","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"currentRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHarvestable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestCutoff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestCutoffMatic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestedToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"jar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keepFXS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keepFXSmax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"matic","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"matic_token1_path","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"matic_token2_path","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiHarvest","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":"pairName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"salvage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_jar","type":"address"}],"name":"setJar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"NewFee","type":"uint256"}],"name":"set_fee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCutoff","type":"uint256"}],"name":"set_harvestCutoff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCutoff","type":"uint256"}],"name":"set_harvestCutoffMatic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newHarvest","type":"address"}],"name":"set_multiHarvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushi","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sushi_matic_path","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token2","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":"underlyingPoolId","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdt_USDC_LP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600780546001600160a81b0319169055606460085564e8d4a5100060095566038d7ea4c68000600a55600e80546001600160a01b0319908116730769fd68dfb93167989c6f7254cd0d766fb2841f17909155600f8054909116734b1f1e2435a9c96f7330faea190ef6a7c8d700011790553480156200008257600080fd5b50600e54600f546001600160a01b039182169116338282826008730b3f868e0be5597d5db7feb59e1cadbb0fdda50a8383826000620000c0620004ce565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b0383166200011e57600080fd5b6001600160a01b0382166200013257600080fd5b600180546001600160a01b03199081166001600160a01b039586161790915560038054821693851693909317909255600280548316918416919091178155600694909455600580549091169690911695909517909455925060009150620001969050565b50604051908082528060200260200182016040528015620001c1578160200160208202803683370190505b508051620001d891600b91602090910190620004d2565b50730b3f868e0be5597d5db7feb59e1cadbb0fdda50a600b600081548110620001fd57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550730d500b1d8e8ef31e21c99d1db9a6444d3adf1270600b6001815481106200024f57fe5b60009182526020918290200180546001600160a01b0319166001600160a01b0393909316929092179091556040805160038082526080820190925291820160608036833750508151620002aa92600c925060200190620004d2565b50730d500b1d8e8ef31e21c99d1db9a6444d3adf1270600c600081548110620002cf57fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550737ceb23fd6bc0add59e62ac25578270cff1b9f619600c6001815481106200032157fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555073c2132d05d31c914a87c6611c10748aeb04b58e8f600c6002815481106200037357fe5b60009182526020918290200180546001600160a01b0319166001600160a01b0393909316929092179091556040805160038082526080820190925291820160608036833750508151620003ce92600d925060200190620004d2565b50730d500b1d8e8ef31e21c99d1db9a6444d3adf1270600d600081548110620003f357fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550737ceb23fd6bc0add59e62ac25578270cff1b9f619600d6001815481106200044557fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550732791bca1f2de4661ed88a30c99a7a9449aa84174600d6002815481106200049757fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050506200055d565b3390565b8280548282559060005260206000209081019282156200052a579160200282015b828111156200052a57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620004f3565b50620005389291506200053c565b5090565b5b80821115620005385780546001600160a01b03191681556001016200053d565b612710806200056d6000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c8063715018a61161015c578063b6b0b097116100ce578063db2e21bc11610087578063db2e21bc1461055c578063e8f0280714610564578063ee88a86e14610581578063f2fde38b14610589578063f6f482aa146105af578063fc9ea242146105d55761027f565b8063b6b0b0971461050e578063be38a4fe14610516578063c1a3d44c1461051e578063c7b9d53014610526578063d0e30db01461054c578063d21220a7146105545761027f565b80638e7ae478116101205780638e7ae4781461049d5780639e9b3c7a146104ba5780639ec5a894146104d7578063a9505ab2146104df578063ad678c79146104fe578063b096906e146105065761027f565b8063715018a61461045f578063722713f714610467578063863a03e01461046f5780638c7c9e0c146103d75780638da5cb5b146104955761027f565b806325be124e116101f55780634641257d116101b95780634641257d146103e75780634713405a146103ef5780634f0b17c914610415578063506508f11461041d5780635b74f9db1461042557806369b176f6146104425761027f565b806325be124e146103aa5780632e1a7d4d146103b25780633e0dc34e146103cf5780633fc8cef3146103d757806340794c3b146103df5761027f565b80631aa02d59116102475780631aa02d591461034f5780631b43987f1461036e5780631bbcbdcc1461038a5780631f1fcd51146103925780631fe4a6861461039a57806324b4e8f8146103a25761027f565b80630547104d146102845780630a0879031461029e57806311588086146102c2578063122fea3b146102ca57806317d7de7c146102d2575b600080fd5b61028c6105dd565b60408051918252519081900360200190f35b6102a6610663565b604080516001600160a01b039092168252519081900360200190f35b61028c61067b565b6102a6610702565b6102da61071a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103145781810151838201526020016102fc565b50505050905090810190601f1680156103415780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61036c6004803603602081101561036557600080fd5b5035610745565b005b6103766107ed565b604080519115158252519081900360200190f35b6102a66107f6565b6102a6610805565b6102a6610814565b61028c610823565b6102a6610829565b61036c600480360360208110156103c857600080fd5b5035610841565b61028c61094c565b6102a6610952565b6102da61096a565b61036c61098c565b61036c6004803603602081101561040557600080fd5b50356001600160a01b0316611220565b61028c6112aa565b6102a66112b0565b61036c6004803603602081101561043b57600080fd5b50356112c4565b6102a66004803603602081101561045857600080fd5b503561132b565b61036c611352565b61028c6113fe565b61036c6004803603602081101561048557600080fd5b50356001600160a01b031661141e565b6102a6611585565b6102a6600480360360208110156104b357600080fd5b5035611594565b6102a6600480360360208110156104d057600080fd5b50356115a1565b6102a66115ae565b6104e76115bd565b6040805161ffff9092168252519081900360200190f35b6102a66115c2565b61028c6115d1565b6102a66115d7565b6102a66115ef565b61028c6115fe565b61036c6004803603602081101561053c57600080fd5b50356001600160a01b0316611649565b61036c6116cd565b6102a6611858565b61036c611870565b61036c6004803603602081101561057a57600080fd5b50356119ee565b61028c611a55565b61036c6004803603602081101561059f57600080fd5b50356001600160a01b0316611a5b565b61036c600480360360208110156105c557600080fd5b50356001600160a01b0316611b5d565b6102a6611c59565b6005546006546040805163065509bb60e21b81526004810192909252306024830152516000926001600160a01b03169163195426ec916044808301926020929190829003018186803b15801561063257600080fd5b505afa158015610646573d6000803e3d6000fd5b505050506040513d602081101561065c57600080fd5b5051905090565b730b3f868e0be5597d5db7feb59e1cadbb0fdda50a81565b600554600654604080516393f1a40b60e01b81526004810192909252306024830152805160009384936001600160a01b03909116926393f1a40b92604480840193829003018186803b1580156106d057600080fd5b505afa1580156106e4573d6000803e3d6000fd5b505050506040513d60408110156106fa57600080fd5b505191505090565b731b02da8cb0d097eb8d57a175b88c7d8b4799750681565b604080518082019091526011815270537472617465677954776f41737365747360781b602082015290565b61074d611c68565b6001600160a01b031661075e611585565b6001600160a01b0316146107a7576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b6103e88111156107e85760405162461bcd60e51b81526004018080602001828103825260228152602001806126186022913960400191505060405180910390fd5b600855565b60075460ff1681565b600f546001600160a01b031681565b6001546001600160a01b031681565b6003546001600160a01b031681565b600a5481565b732791bca1f2de4661ed88a30c99a7a9449aa8417481565b6004546001600160a01b03163314610889576040805162461bcd60e51b8152602060048083019190915260248201526310b530b960e11b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156108d457600080fd5b505afa1580156108e8573d6000803e3d6000fd5b505050506040513d60208110156108fe57600080fd5b505190508181101561092b5761091c6109178383611c6c565b611cce565b91506109288282611d48565b91505b600454600154610948916001600160a01b03918216911684611da9565b5050565b60065481565b737ceb23fd6bc0add59e62ac25578270cff1b9f61981565b604080518082019091526008815267757364745553444360c01b602082015290565b333214806109b2575061099d611585565b6001600160a01b0316336001600160a01b0316145b806109c757506003546001600160a01b031633145b806109e1575060075461010090046001600160a01b031633145b806109f657506004546001600160a01b031633145b610a38576040805162461bcd60e51b815260206004820152600e60248201526d1b9bdd08185d5d1a1bdc9a5e995960921b604482015290519081900360640190fd5b610a40611e00565b604080516370a0823160e01b81523060048201529051600091730b3f868e0be5597d5db7feb59e1cadbb0fdda50a916370a0823191602480820192602092909190829003018186803b158015610a9557600080fd5b505afa158015610aa9573d6000803e3d6000fd5b505050506040513d6020811015610abf57600080fd5b5051600954909150811115610b3257610b32600b805480602002602001604051908101604052809291908181526020018280548015610b2757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610b09575b505050505082611e70565b604080516370a0823160e01b81523060048201529051600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a0823191602480820192602092909190829003018186803b158015610b8757600080fd5b505afa158015610b9b573d6000803e3d6000fd5b505050506040513d6020811015610bb157600080fd5b5051600a54909150811115610948576000610be3612710610bdd600854856120a390919063ffffffff16565b906120fc565b90508015610c1757600354610c1790730d500b1d8e8ef31e21c99d1db9a6444d3adf1270906001600160a01b031683611da9565b604080516370a0823160e01b81523060048201529051600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a0823191602480820192602092909190829003018186803b158015610c6c57600080fd5b505afa158015610c80573d6000803e3d6000fd5b505050506040513d6020811015610c9657600080fd5b5051600c805460408051602083810282018101909252828152939450610d1093929190830182828015610cf257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610cd4575b5050505050610d0b6002846120fc90919063ffffffff16565b611e70565b604080516370a0823160e01b81523060048201529051600091730d500b1d8e8ef31e21c99d1db9a6444d3adf1270916370a0823191602480820192602092909190829003018186803b158015610d6557600080fd5b505afa158015610d79573d6000803e3d6000fd5b505050506040513d6020811015610d8f57600080fd5b5051600d805460408051602083810282018101909252828152939450610df493929190830182828015610b27576020028201919060005260206000209081546001600160a01b03168152600190910190602001808311610b0957505050505082611e70565b604080516370a0823160e01b8152306004820152905160009173c2132d05d31c914a87c6611c10748aeb04b58e8f916370a0823191602480820192602092909190829003018186803b158015610e4957600080fd5b505afa158015610e5d573d6000803e3d6000fd5b505050506040513d6020811015610e7357600080fd5b5051604080516370a0823160e01b81523060048201529051919250600091732791bca1f2de4661ed88a30c99a7a9449aa84174916370a08231916024808301926020929190829003018186803b158015610ecc57600080fd5b505afa158015610ee0573d6000803e3d6000fd5b505050506040513d6020811015610ef657600080fd5b505190508115801590610f095750600081115b1561120f57610f4273c2132d05d31c914a87c6611c10748aeb04b58e8f731b02da8cb0d097eb8d57a175b88c7d8b479975066000612163565b610f7573c2132d05d31c914a87c6611c10748aeb04b58e8f731b02da8cb0d097eb8d57a175b88c7d8b4799750684612163565b610fa9732791bca1f2de4661ed88a30c99a7a9449aa84174731b02da8cb0d097eb8d57a175b88c7d8b479975066000612163565b610fdc732791bca1f2de4661ed88a30c99a7a9449aa84174731b02da8cb0d097eb8d57a175b88c7d8b4799750683612163565b6040805162e8e33760e81b815273c2132d05d31c914a87c6611c10748aeb04b58e8f6004820152732791bca1f2de4661ed88a30c99a7a9449aa841746024820152604481018490526064810183905260006084820181905260a482018190523060c4830152610258420160e48301529151731b02da8cb0d097eb8d57a175b88c7d8b479975069263e8e337009261010480820193606093909283900390910190829087803b15801561108d57600080fd5b505af11580156110a1573d6000803e3d6000fd5b505050506040513d60608110156110b757600080fd5b5050600354604080516370a0823160e01b81523060048201529051611164926001600160a01b03169173c2132d05d31c914a87c6611c10748aeb04b58e8f916370a0823191602480820192602092909190829003018186803b15801561111c57600080fd5b505afa158015611130573d6000803e3d6000fd5b505050506040513d602081101561114657600080fd5b505173c2132d05d31c914a87c6611c10748aeb04b58e8f9190611da9565b600354604080516370a0823160e01b8152306004820152905161120f926001600160a01b031691732791bca1f2de4661ed88a30c99a7a9449aa84174916370a0823191602480820192602092909190829003018186803b1580156111c757600080fd5b505afa1580156111db573d6000803e3d6000fd5b505050506040513d60208110156111f157600080fd5b5051732791bca1f2de4661ed88a30c99a7a9449aa841749190611da9565b611217612276565b50505050505050565b611228611c68565b6001600160a01b0316611239611585565b6001600160a01b031614611282576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60095481565b60075461010090046001600160a01b031681565b6112cc611c68565b6001600160a01b03166112dd611585565b6001600160a01b031614611326576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b600a55565b600d818154811061133857fe5b6000918252602090912001546001600160a01b0316905081565b61135a611c68565b6001600160a01b031661136b611585565b6001600160a01b0316146113b4576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600061141961140b61067b565b6114136115fe565b90611d48565b905090565b611426611c68565b6001600160a01b0316611437611585565b6001600160a01b031614611480576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b6001546001600160a01b038281169116148015906114ac57506002546001600160a01b03828116911614155b6114ee576040805162461bcd60e51b815260206004820152600e60248201526d63616e6e6f742073616c7661676560901b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561153d57600080fd5b505afa158015611551573d6000803e3d6000fd5b505050506040513d602081101561156757600080fd5b505190508015610948576109486001600160a01b0383163383611da9565b6000546001600160a01b031690565b600c818154811061133857fe5b600b818154811061133857fe5b6005546001600160a01b031681565b600881565b6002546001600160a01b031681565b61271081565b730d500b1d8e8ef31e21c99d1db9a6444d3adf127081565b6004546001600160a01b031681565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561063257600080fd5b611651611c68565b6001600160a01b0316611662611585565b6001600160a01b0316146116ab576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60075460ff1615611725576040805162461bcd60e51b815260206004820152601f60248201527f656d657267656e6379207769746864726177616c20696e2070726f6365737300604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561177057600080fd5b505afa158015611784573d6000803e3d6000fd5b505050506040513d602081101561179a57600080fd5b505190508015611855576005546001546117c2916001600160a01b0391821691166000612163565b6005546001546117df916001600160a01b03918216911683612163565b60055460065460408051638dbdbe6d60e01b8152600481019290925260248201849052306044830152516001600160a01b0390921691638dbdbe6d9160648082019260009290919082900301818387803b15801561183c57600080fd5b505af1158015611850573d6000803e3d6000fd5b505050505b50565b73c2132d05d31c914a87c6611c10748aeb04b58e8f81565b611878611c68565b6001600160a01b0316611889611585565b6001600160a01b0316146118d2576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b600554600654604080516302f940c760e41b81526004810192909252306024830152516001600160a01b0390921691632f940c709160448082019260009290919082900301818387803b15801561192857600080fd5b505af115801561193c573d6000803e3d6000fd5b5050600154604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561198d57600080fd5b505afa1580156119a1573d6000803e3d6000fd5b505050506040513d60208110156119b757600080fd5b5051905080156119de576004546001546119de916001600160a01b03918216911683611da9565b506007805460ff19166001179055565b6119f6611c68565b6001600160a01b0316611a07611585565b6001600160a01b031614611a50576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b600955565b60085481565b611a63611c68565b6001600160a01b0316611a74611585565b6001600160a01b031614611abd576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b6001600160a01b038116611b025760405162461bcd60e51b81526004018080602001828103825260268152602001806125cc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611b65611c68565b6001600160a01b0316611b76611585565b6001600160a01b031614611bbf576040805162461bcd60e51b8152602060048201819052602482015260008051602061265b833981519152604482015290519081900360640190fd5b6004546001600160a01b031615611c0f576040805162461bcd60e51b815260206004820152600f60248201526e1a985c88185b1c9958591e481cd95d608a1b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0383169081179091556040517f55c9c1522358ac20ccd3c4887fe1886c26bd0f045ab7fd11acd78680bb77956990600090a250565b600e546001600160a01b031681565b3390565b600082821115611cc3576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b60055460065460408051630ad58d2f60e01b8152600481019290925260248201849052306044830152516000926001600160a01b031691630ad58d2f916064808301928692919082900301818387803b158015611d2a57600080fd5b505af1158015611d3e573d6000803e3d6000fd5b5093949350505050565b600082820183811015611da2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dfb9084906122fd565b505050565b60055460065460408051630c7e663b60e11b81526004810192909252306024830152516001600160a01b03909216916318fccc769160448082019260009290919082900301818387803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b50505050565b60006001600160a01b031682600181518110611e8857fe5b60200260200101516001600160a01b03161415611ea457600080fd5b611eeb731b02da8cb0d097eb8d57a175b88c7d8b47997506600084600081518110611ecb57fe5b60200260200101516001600160a01b03166121639092919063ffffffff16565b611f11731b02da8cb0d097eb8d57a175b88c7d8b479975068284600081518110611ecb57fe5b731b02da8cb0d097eb8d57a175b88c7d8b479975066338ed17398260008530611f3c42610258611d48565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015611fac578181015183820152602001611f94565b505050509050019650505050505050600060405180830381600087803b158015611fd557600080fd5b505af1158015611fe9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561201257600080fd5b810190808051604051939291908464010000000082111561203257600080fd5b90830190602082018581111561204757600080fd5b825186602082028301116401000000008211171561206457600080fd5b82525081516020918201928201910280838360005b83811015612091578181015183820152602001612079565b50505050905001604052505050505050565b6000826120b257506000611cc8565b828202828482816120bf57fe5b0414611da25760405162461bcd60e51b815260040180806020018281038252602181526020018061263a6021913960400191505060405180910390fd5b6000808211612152576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161215b57fe5b049392505050565b8015806121e9575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121bb57600080fd5b505afa1580156121cf573d6000803e3d6000fd5b505050506040513d60208110156121e557600080fd5b5051155b6122245760405162461bcd60e51b81526004018080602001828103825260368152602001806126a56036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611dfb9084906122fd565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156122c157600080fd5b505afa1580156122d5573d6000803e3d6000fd5b505050506040513d60208110156122eb57600080fd5b505190508015611855576118556116cd565b6060612352826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123ae9092919063ffffffff16565b805190915015611dfb5780806020019051602081101561237157600080fd5b5051611dfb5760405162461bcd60e51b815260040180806020018281038252602a81526020018061267b602a913960400191505060405180910390fd5b60606123bd84846000856123c5565b949350505050565b6060824710156124065760405162461bcd60e51b81526004018080602001828103825260268152602001806125f26026913960400191505060405180910390fd5b61240f85612521565b612460576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061249f5780518252601f199092019160209182019101612480565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612501576040519150601f19603f3d011682016040523d82523d6000602084013e612506565b606091505b5091509150612516828286612527565b979650505050505050565b3b151590565b60608315612536575081611da2565b8251156125465782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612590578181015183820152602001612578565b50505050905090810190601f1680156125bd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e657720666565206d757374206265206c657373207468616e203130303020627073536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220b27df87c04cfd2ceefbe72df08de48437b34c74ec501b077d89452b5ea61976064736f6c634300060c0033

Deployed ByteCode Sourcemap

54834:661:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47789:149;;;:::i;:::-;;;;;;;;;;;;;;;;49680:74;;;:::i;:::-;;;;-1:-1:-1;;;;;49680:74:0;;;;;;;;;;;;;;47528:253;;;:::i;41963:82::-;;;:::i;55279:111::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51384:161;;;;;;;;;;;;;;;;-1:-1:-1;51384:161:0;;:::i;:::-;;47146:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;55001:72;;;:::i;41548:19::-;;;:::i;41847:25::-;;;:::i;50345:42::-;;;:::i;50027:75::-;;;:::i;43578:369::-;;;;;;;;;;;;;;;;-1:-1:-1;43578:369:0;;:::i;47118:21::-;;;:::i;41623:73::-;;;:::i;55398:94::-;;;:::i;52064:2763::-;;;:::i;51551:111::-;;;;;;;;;;;;;;;;-1:-1:-1;51551:111:0;-1:-1:-1;;;;;51551:111:0;;:::i;50301:37::-;;;:::i;50111:72::-;;;:::i;51789:121::-;;;;;;;;;;;;;;;;-1:-1:-1;51789:121:0;;:::i;50553:34::-;;;;;;;;;;;;;;;;-1:-1:-1;50553:34:0;;:::i;35203:148::-;;;:::i;42922:113::-;;;:::i;48910:302::-;;;;;;;;;;;;;;;;-1:-1:-1;48910:302:0;-1:-1:-1;;;;;48910:302:0;;:::i;34552:87::-;;;:::i;50512:34::-;;;;;;;;;;;;;;;;-1:-1:-1;50512:34:0;;:::i;50472:33::-;;;;;;;;;;;;;;;;-1:-1:-1;50472:33:0;;:::i;47089:22::-;;;:::i;50216:43::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41720:29;;;:::i;50394:42::-;;;:::i;49761:74::-;;;:::i;41924:18::-;;;:::i;42651:118::-;;;:::i;43317:106::-;;;;;;;;;;;;;;;;-1:-1:-1;43317:106:0;-1:-1:-1;;;;;43317:106:0;;:::i;47974:402::-;;;:::i;49945:75::-;;;:::i;49220:315::-;;;:::i;51670:111::-;;;;;;;;;;;;;;;;-1:-1:-1;51670:111:0;;:::i;50266:28::-;;;:::i;35506:244::-;;;;;;;;;;;;;;;;-1:-1:-1;35506:244:0;-1:-1:-1;;;;;35506:244:0;;:::i;43147:162::-;;;;;;;;;;;;;;;;-1:-1:-1;43147:162:0;-1:-1:-1;;;;;43147:162:0;;:::i;54917:77::-;;;:::i;47789:149::-;47886:7;;47908:6;;47874:56;;;-1:-1:-1;;;47874:56:0;;;;;;;;;47924:4;47874:56;;;;;47847:7;;-1:-1:-1;;;;;47886:7:0;;47874:33;;:56;;;;;;;;;;;;;;47886:7;47874:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47874:56:0;;-1:-1:-1;47789:149:0;:::o;49680:74::-;49712:42;49680:74;:::o;47528:253::-;47636:7;;47654:6;;47624:52;;;-1:-1:-1;;;47624:52:0;;;;;;;;;47670:4;47624:52;;;;;;47583:7;;;;-1:-1:-1;;;;;47636:7:0;;;;47624:29;;:52;;;;;;;;;;47636:7;47624:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47624:52:0;;-1:-1:-1;;47528:253:0;:::o;41963:82::-;42003:42;41963:82;:::o;55279:111::-;55356:26;;;;;;;;;;;;-1:-1:-1;;;55356:26:0;;;;55279:111;:::o;51384:161::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;51467:4:::1;51457:6;:14;;51449:61;;;;-1:-1:-1::0;;;51449:61:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51521:7;:16:::0;51384:161::o;47146:35::-;;;;;;:::o;55001:72::-;;;-1:-1:-1;;;;;55001:72:0;;:::o;41548:19::-;;;-1:-1:-1;;;;;41548:19:0;;:::o;41847:25::-;;;-1:-1:-1;;;;;41847:25:0;;:::o;50345:42::-;;;;:::o;50027:75::-;50060:42;50027:75;:::o;43578:369::-;43655:3;;-1:-1:-1;;;;;43655:3:0;43641:10;:17;43633:34;;;;;-1:-1:-1;;;43633:34:0;;;;;;;;;;;;;;;-1:-1:-1;;;43633:34:0;;;;;;;;;;;;;;;43704:4;;43697:37;;;-1:-1:-1;;;43697:37:0;;43728:4;43697:37;;;;;;43678:16;;-1:-1:-1;;;;;43704:4:0;;43697:22;;:37;;;;;;;;;;;;;;43704:4;43697:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43697:37:0;;-1:-1:-1;43749:18:0;;;43745:143;;;43794:36;43808:21;:7;43820:8;43808:11;:21::i;:::-;43794:13;:36::i;:::-;43784:46;-1:-1:-1;43855:21:0;43784:46;43867:8;43855:11;:21::i;:::-;43845:31;;43745:143;43926:3;;;43907:4;43900:39;;-1:-1:-1;;;;;43907:4:0;;;;43926:3;43931:7;43900:25;:39::i;:::-;43578:369;;:::o;47118:21::-;;;;:::o;41623:73::-;41654:42;41623:73;:::o;55398:94::-;55467:17;;;;;;;;;;;;-1:-1:-1;;;55467:17:0;;;;55398:94;:::o;52064:2763::-;52189:10;52203:9;52189:23;;:48;;;52230:7;:5;:7::i;:::-;-1:-1:-1;;;;;52216:21:0;:10;-1:-1:-1;;;;;52216:21:0;;52189:48;:76;;;-1:-1:-1;52255:10:0;;-1:-1:-1;;;;;52255:10:0;52241;:24;52189:76;:106;;;-1:-1:-1;52283:12:0;;;;;-1:-1:-1;;;;;52283:12:0;52269:10;:26;52189:106;:127;;;-1:-1:-1;52313:3:0;;-1:-1:-1;;;;;52313:3:0;52299:10;:17;52189:127;52181:154;;;;;-1:-1:-1;;;52181:154:0;;;;;;;;;;;;-1:-1:-1;;;52181:154:0;;;;;;;;;;;;;;;52383:12;:10;:12::i;:::-;52482:38;;;-1:-1:-1;;;52482:38:0;;52514:4;52482:38;;;;;;52458:21;;49712:42;;52482:23;;:38;;;;;;;;;;;;;;;49712:42;52482:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52482:38:0;52551:13;;52482:38;;-1:-1:-1;52535:29:0;;52531:114;;;52580:53;52601:16;52580:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52580:53:0;;;;;;;;;;;;;;;;;;;;;52619:13;52580:20;:53::i;:::-;52713:38;;;-1:-1:-1;;;52713:38:0;;52745:4;52713:38;;;;;;52689:21;;49793:42;;52713:23;;:38;;;;;;;;;;;;;;;49793:42;52713:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52713:38:0;52782:18;;52713:38;;-1:-1:-1;52766:34:0;;52762:2058;;;52855:22;52880:42;50431:5;52880:26;52898:7;;52880:13;:17;;:26;;;;:::i;:::-;:30;;:42::i;:::-;52855:67;-1:-1:-1;52941:16:0;;52937:172;;53027:10;;52978:115;;49793:42;;-1:-1:-1;;;;;53027:10:0;53060:14;52978:26;:115::i;:::-;53211:38;;;-1:-1:-1;;;53211:38:0;;53243:4;53211:38;;;;;;53183:25;;49793:42;;53211:23;;:38;;;;;;;;;;;;;;;49793:42;53211:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53211:38:0;53285:17;53264:65;;;;;53211:38;53264:65;;;;;;;;;;;;;53211:38;;-1:-1:-1;53264:65:0;;;53285:17;53264:65;;;53285:17;53264:65;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53264:65:0;;;;;;;;;;;;;;;;;;;;;53304:24;53326:1;53304:17;:21;;:24;;;;:::i;:::-;53264:20;:65::i;:::-;53420:38;;;-1:-1:-1;;;53420:38:0;;53452:4;53420:38;;;;;;53391:26;;49793:42;;53420:23;;:38;;;;;;;;;;;;;;;49793:42;53420:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53420:38:0;53494:17;53473:59;;;;;53420:38;53473:59;;;;;;;;;;;;;53420:38;;-1:-1:-1;53473:59:0;;;53494:17;53473:59;;;53494:17;53473:59;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53473:59:0;;;;;;;;;;;;;;;;;;;;53513:18;53473:20;:59::i;:::-;53609:39;;;-1:-1:-1;;;53609:39:0;;53642:4;53609:39;;;;;;53591:15;;49978:42;;53609:24;;:39;;;;;;;;;;;;;;;49978:42;53609:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53609:39:0;53681;;;-1:-1:-1;;;53681:39:0;;53714:4;53681:39;;;;;;53609;;-1:-1:-1;53663:15:0;;50060:42;;53681:24;;:39;;;;;53609;;53681;;;;;;;50060:42;53681:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53681:39:0;;-1:-1:-1;53739:11:0;;;;;:26;;;53764:1;53754:7;:11;53739:26;53735:985;;;53786:44;49978:42;42003;53828:1;53786:26;:44::i;:::-;53849:50;49978:42;42003;53891:7;53849:26;:50::i;:::-;53918:44;50060:42;42003;53960:1;53918:26;:44::i;:::-;53981:50;50060:42;42003;54023:7;53981:26;:50::i;:::-;54052:297;;;-1:-1:-1;;;54052:297:0;;49978:42;54052:297;;;;50060:42;54052:297;;;;;;;;;;;;;;;;54237:1;54052:297;;;;;;;;;;;;54293:4;54052:297;;;;54327:3;54321;:9;54052:297;;;;;;42003:42;;54052:44;;:297;;;;;;;;;;;;;;;;;;42003:42;54052:297;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54453:10:0;;54052:297;54486:39;;-1:-1:-1;;;54486:39:0;;54519:4;54486:39;;;;;;54403:141;;-1:-1:-1;;;;;54453:10:0;;49978:42;;54486:24;;:39;;;;;54052:297;;54486:39;;;;;;;;49978:42;54486:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54486:39:0;49978:42;;54403:141;:27;:141::i;:::-;54613:10;;54646:39;;;-1:-1:-1;;;54646:39:0;;54679:4;54646:39;;;;;;54563:141;;-1:-1:-1;;;;;54613:10:0;;50060:42;;54646:24;;:39;;;;;;;;;;;;;;;50060:42;54646:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54646:39:0;50060:42;;54563:141;:27;:141::i;:::-;54770:38;:36;:38::i;:::-;52762:2058;;;;;52064:2763;;:::o;51551:111::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;51629:12:::1;:25:::0;;-1:-1:-1;;;;;51629:25:0;;::::1;;;-1:-1:-1::0;;;;;;51629:25:0;;::::1;::::0;;;::::1;::::0;;51551:111::o;50301:37::-;;;;:::o;50111:72::-;;;;;;-1:-1:-1;;;;;50111:72:0;;:::o;51789:121::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;51872:18:::1;:30:::0;51789:121::o;50553:34::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50553:34:0;;-1:-1:-1;50553:34:0;:::o;35203:148::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;35310:1:::1;35294:6:::0;;35273:40:::1;::::0;-1:-1:-1;;;;;35294:6:0;;::::1;::::0;35273:40:::1;::::0;35310:1;;35273:40:::1;35341:1;35324:19:::0;;-1:-1:-1;;;;;;35324:19:0::1;::::0;;35203:148::o;42922:113::-;42964:7;42991:36;43011:15;:13;:15::i;:::-;42991;:13;:15::i;:::-;:19;;:36::i;:::-;42984:43;;42922:113;:::o;48910:302::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;48987:4:::1;::::0;-1:-1:-1;;;;;48978:13:0;;::::1;48987:4:::0;::::1;48978:13;::::0;::::1;::::0;:40:::1;;-1:-1:-1::0;49004:14:0::1;::::0;-1:-1:-1;;;;;48995:23:0;;::::1;49004:14:::0;::::1;48995:23;;48978:40;48970:67;;;::::0;;-1:-1:-1;;;48970:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;48970:67:0;;;;;;;;;;;;;::::1;;49050:14;49074:5;-1:-1:-1::0;;;;;49067:23:0::1;;49099:4;49067:38;;;;;;;;;;;;;-1:-1:-1::0;;;;;49067:38:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49067:38:0;;-1:-1:-1;49120:10:0;;49116:89:::1;;49147:46;-1:-1:-1::0;;;;;49147:26:0;::::1;49174:10;49186:6:::0;49147:26:::1;:46::i;34552:87::-:0;34598:7;34625:6;-1:-1:-1;;;;;34625:6:0;34552:87;:::o;50512:34::-;;;;;;;;;;50472:33;;;;;;;;;;47089:22;;;-1:-1:-1;;;;;47089:22:0;;:::o;50216:43::-;50258:1;50216:43;:::o;41720:29::-;;;-1:-1:-1;;;;;41720:29:0;;:::o;50394:42::-;50431:5;50394:42;:::o;49761:74::-;49793:42;49761:74;:::o;41924:18::-;;;-1:-1:-1;;;;;41924:18:0;;:::o;42651:118::-;42731:4;;42724:37;;;-1:-1:-1;;;42724:37:0;;42755:4;42724:37;;;;;;42697:7;;-1:-1:-1;;;;;42731:4:0;;42724:22;;:37;;;;;;;;;;;;;;42731:4;42724:37;;;;;;;;;;43317:106;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;43391:10:::1;:24:::0;;-1:-1:-1;;;;;;43391:24:0::1;-1:-1:-1::0;;;;;43391:24:0;;;::::1;::::0;;;::::1;::::0;;43317:106::o;47974:402::-;48028:15;;;;:24;48020:68;;;;;-1:-1:-1;;;48020:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48122:4;;48115:37;;;-1:-1:-1;;;48115:37:0;;48146:4;48115:37;;;;;;48099:13;;-1:-1:-1;;;;;48122:4:0;;48115:22;;:37;;;;;;;;;;;;;;48122:4;48115:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48115:37:0;;-1:-1:-1;48167:9:0;;48163:206;;48218:7;;;48200:4;48193:36;;-1:-1:-1;;;;;48200:4:0;;;;48218:7;;48193:24;:36::i;:::-;48269:7;;;48251:4;48244:40;;-1:-1:-1;;;;;48251:4:0;;;;48269:7;48278:5;48244:24;:40::i;:::-;48311:7;;48328:6;;48299:58;;;-1:-1:-1;;;48299:58:0;;;;;;;;;;;;;;;48351:4;48299:58;;;;;-1:-1:-1;;;;;48311:7:0;;;;48299:28;;:58;;;;;48311:7;;48299:58;;;;;;;;48311:7;;48299:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48163:206;47974:402;:::o;49945:75::-;49978:42;49945:75;:::o;49220:315::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;49289:7:::1;::::0;49316:6:::1;::::0;49277:60:::1;::::0;;-1:-1:-1;;;49277:60:0;;::::1;::::0;::::1;::::0;;;;49331:4:::1;49277:60:::0;;;;;-1:-1:-1;;;;;49289:7:0;;::::1;::::0;49277:38:::1;::::0;:60;;;;;49289:7:::1;::::0;49277:60;;;;;;;;49289:7;;49277:60;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;49373:4:0::1;::::0;49366:37:::1;::::0;;-1:-1:-1;;;49366:37:0;;49397:4:::1;49366:37;::::0;::::1;::::0;;;49350:13:::1;::::0;-1:-1:-1;;;;;;49373:4:0;;::::1;::::0;-1:-1:-1;49366:22:0::1;::::0;:37;;;;;::::1;::::0;;;;;;;;49373:4;49366:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49366:37:0;;-1:-1:-1;49418:9:0;;49414:79:::1;;49470:3;::::0;;49451:4;49444:37:::1;::::0;-1:-1:-1;;;;;49451:4:0;;::::1;::::0;49470:3:::1;49475:5:::0;49444:25:::1;:37::i;:::-;-1:-1:-1::0;49505:15:0::1;:22:::0;;-1:-1:-1;;49505:22:0::1;49523:4;49505:22;::::0;;49220:315::o;51670:111::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;51748:13:::1;:25:::0;51670:111::o;50266:28::-;;;;:::o;35506:244::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;35595:22:0;::::1;35587:73;;;;-1:-1:-1::0;;;35587:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35697:6;::::0;;35676:38:::1;::::0;-1:-1:-1;;;;;35676:38:0;;::::1;::::0;35697:6;::::1;::::0;35676:38:::1;::::0;::::1;35725:6;:17:::0;;-1:-1:-1;;;;;;35725:17:0::1;-1:-1:-1::0;;;;;35725:17:0;;;::::1;::::0;;;::::1;::::0;;35506:244::o;43147:162::-;34783:12;:10;:12::i;:::-;-1:-1:-1;;;;;34772:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;34772:23:0;;34764:68;;;;;-1:-1:-1;;;34764:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;34764:68:0;;;;;;;;;;;;;;;43215:3:::1;::::0;-1:-1:-1;;;;;43215:3:0::1;:17:::0;43207:45:::1;;;::::0;;-1:-1:-1;;;43207:45:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43207:45:0;;;;;;;;;;;;;::::1;;43263:3;:10:::0;;-1:-1:-1;;;;;;43263:10:0::1;-1:-1:-1::0;;;;;43263:10:0;::::1;::::0;;::::1;::::0;;;43289:12:::1;::::0;::::1;::::0;-1:-1:-1;;43289:12:0::1;43147:162:::0;:::o;54917:77::-;;;-1:-1:-1;;;;;54917:77:0;;:::o;571:106::-;659:10;571:106;:::o;6808:158::-;6866:7;6899:1;6894;:6;;6886:49;;;;;-1:-1:-1;;;6886:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6953:5:0;;;6808:158;;;;;:::o;48384:212::-;48515:7;;48533:6;;48503:60;;;-1:-1:-1;;;48503:60:0;;;;;;;;;;;;;;;48557:4;48503:60;;;;;48478:7;;-1:-1:-1;;;;;48515:7:0;;48503:29;;:60;;;;;48478:7;;48503:60;;;;;;;48478:7;48515;48503:60;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48581:7:0;;48384:212;-1:-1:-1;;;;48384:212:0:o;6346:179::-;6404:7;6436:5;;;6460:6;;;;6452:46;;;;;-1:-1:-1;;;6452:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6516:1;6346:179;-1:-1:-1;;;6346:179:0:o;30460:177::-;30570:58;;;-1:-1:-1;;;;;30570:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30570:58:0;-1:-1:-1;;;30570:58:0;;;30543:86;;30563:5;;30543:19;:86::i;:::-;30460:177;;;:::o;48652:214::-;48706:7;;48723:6;;48694:51;;;-1:-1:-1;;;48694:51:0;;;;;;;;;48739:4;48694:51;;;;;-1:-1:-1;;;;;48706:7:0;;;;48694:28;;:51;;;;;48706:7;;48694:51;;;;;;;;48706:7;;48694:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48652:214::o;45039:495::-;45181:1;-1:-1:-1;;;;;45162:21:0;:4;45167:1;45162:7;;;;;;;;;;;;;;-1:-1:-1;;;;;45162:21:0;;;45154:30;;;;;;45227:45;42003:42;45270:1;45234:4;45239:1;45234:7;;;;;;;;;;;;;;-1:-1:-1;;;;;45227:27:0;;;:45;;;;;:::i;:::-;45283:51;42003:42;45326:7;45290:4;45295:1;45290:7;;;;;;;45283:51;42003:42;45347:56;45418:7;45440:1;45456:4;45483;45503:12;:3;45511;45503:7;:12::i;:::-;45347:179;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45347:179:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45347:179:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45347:179:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45039:495;;:::o;7225:220::-;7283:7;7307:6;7303:20;;-1:-1:-1;7322:1:0;7315:8;;7303:20;7346:5;;;7350:1;7346;:5;:1;7370:5;;;;;:10;7362:56;;;;-1:-1:-1;;;7362:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7923:153;7981:7;8013:1;8009;:5;8001:44;;;;;-1:-1:-1;;;8001:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8067:1;8063;:5;;;;;;;7923:153;-1:-1:-1;;;7923:153:0:o;31119:622::-;31489:10;;;31488:62;;-1:-1:-1;31505:39:0;;;-1:-1:-1;;;31505:39:0;;31529:4;31505:39;;;;-1:-1:-1;;;;;31505:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31505:39:0;:44;31488:62;31480:152;;;;-1:-1:-1;;;31480:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31670:62;;;-1:-1:-1;;;;;31670:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31670:62:0;-1:-1:-1;;;31670:62:0;;;31643:90;;31663:5;;31643:19;:90::i;46096:192::-;46187:4;;46180:37;;;-1:-1:-1;;;46180:37:0;;46211:4;46180:37;;;;;;46164:13;;-1:-1:-1;;;;;46187:4:0;;46180:22;;:37;;;;;;;;;;;;;;46187:4;46180:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46180:37:0;;-1:-1:-1;46234:9:0;;46230:51;;46260:9;:7;:9::i;32765:761::-;33189:23;33215:69;33243:4;33215:69;;;;;;;;;;;;;;;;;33223:5;-1:-1:-1;;;;;33215:27:0;;;:69;;;;;:::i;:::-;33299:17;;33189:95;;-1:-1:-1;33299:21:0;33295:224;;33441:10;33430:30;;;;;;;;;;;;;;;-1:-1:-1;33430:30:0;33422:85;;;;-1:-1:-1;;;33422:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25556:195;25659:12;25691:52;25713:6;25721:4;25727:1;25730:12;25691:21;:52::i;:::-;25684:59;25556:195;-1:-1:-1;;;;25556:195:0:o;26608:530::-;26735:12;26793:5;26768:21;:30;;26760:81;;;;-1:-1:-1;;;26760:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26860:18;26871:6;26860:10;:18::i;:::-;26852:60;;;;;-1:-1:-1;;;26852:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26986:12;27000:23;27027:6;-1:-1:-1;;;;;27027:11:0;27047:5;27055:4;27027:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27027:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26985:75;;;;27078:52;27096:7;27105:10;27117:12;27078:17;:52::i;:::-;27071:59;26608:530;-1:-1:-1;;;;;;;26608:530:0:o;22638:422::-;23005:20;23044:8;;;22638:422::o;29148:742::-;29263:12;29292:7;29288:595;;;-1:-1:-1;29323:10:0;29316:17;;29288:595;29437:17;;:21;29433:439;;29700:10;29694:17;29761:15;29748:10;29744:2;29740:19;29733:44;29648:148;29843:12;29836:20;;-1:-1:-1;;;29836:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://b27df87c04cfd2ceefbe72df08de48437b34c74ec501b077d89452b5ea619760
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.