Contract 0x5733bf71744506849a279272585131545068d3ca

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4c316ac3982bbeca953bf6f09a225352dc13487ba3b0ae078f8a21b8b1a6ec28Harvest451731772022-08-18 14:40:253 mins ago0x70ecc7fecaea8d67e820035ed48c53706e7f2079 IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.004010388327
0xde9ccedfdb1750f4bdc5528fb8e741dd749b03e40633f16ef34487acd011692bHarvest451728972022-08-18 14:34:439 mins ago0x9d7593003c0d48014a38be07ca8c312e6d32f17d IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00388476887
0xbfac6b1536371b076b1ffb7dccee240861953a5a9d26f019b025e8d5c4a5b2b7Harvest451725982022-08-18 14:28:1016 mins ago0x657439ed989b0ec28a09b592fda8c61ebd434b6a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00324013622
0x00be47a1f03e551b13446a903a6a0fb720eb27b09f775d0832dc3b17d866c243Harvest451723762022-08-18 14:23:3720 mins ago0x40c5cf51be4b6e0ad376d598e1615c156d6fc8fc IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003401687041
0xfa030545b1085d265cdef4191eef0d7c2f2d91a7d57bcc5da4009fc1384e0074Harvest451722092022-08-18 14:20:2423 mins ago0xf0ab1a62b3ca931619d3108159f0c4010873702b IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003477251134
0x5e1df19ff0c780bd7d30165514145ca27bb86204941fde207b51749f21cfce19Harvest451720962022-08-18 14:18:1425 mins ago0xf0ab1a62b3ca931619d3108159f0c4010873702b IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003477251134
0x10bfebb0d28f861a27aedee83cab3223f87fdc088684328503fc6be96ead9f59Harvest451720172022-08-18 14:16:3027 mins ago0xe4a7d73bccbae0e7398f8d437ff16b4623a5ac3a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.005764693502
0xfe05fdb2e29362b5de2d8ad2474a5776d66adf06d67fbf10bc2c5aa1b7efeb1fHarvest451718642022-08-18 14:12:4431 mins ago0x0290009c77908568f53223efdeee3506cf27c6c4 IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.002895176
0x0571b6ec3361aaff0c9d0e2ae5aaf146c1f69ec76db4ce72c44ecc3ae3aa420eHarvest451717952022-08-18 14:11:2232 mins ago0xe4a7d73bccbae0e7398f8d437ff16b4623a5ac3a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003239919082
0x93071c823a1f18873d947f2ee54251d64f44c0172f0d07c717cd5a113da65fa2Harvest451717202022-08-18 14:10:0334 mins ago0x9d7593003c0d48014a38be07ca8c312e6d32f17d IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003295216943
0xc1a3698602d308a74cd1f66a9624acec884fa35442140cb9d652707537838e64Harvest451716442022-08-18 14:08:3935 mins ago0xf0ab1a62b3ca931619d3108159f0c4010873702b IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003347909147
0xe11edc72b627c4662b4959429188699d69800c1a57e2c5e1103fe5a98a466e1cHarvest451715672022-08-18 14:07:1736 mins ago0xd968665350a0bb7d487aadba94d920d8890ee06f IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003144595412
0x6861578a30bb830c924127d8540c64770b45c4efd9f20f0d8dd4f2a673bdb849Harvest451714942022-08-18 14:05:5638 mins ago0xd968665350a0bb7d487aadba94d920d8890ee06f IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003465091395
0xf72be4c3be081b58e0d46a1cdcec8517def81b7ee4677be3641d01232d3a4351Harvest451714162022-08-18 14:04:2639 mins ago0x9d7593003c0d48014a38be07ca8c312e6d32f17d IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00361897
0x8c32193da875d720b7a6b2d58dabdbd3b0e4f18f1f970d65e8693f3506bf0a3dHarvest451713352022-08-18 14:02:4141 mins ago0x6868ac68dd1b4b2b400f388346d019a606aded7e IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00332822195
0x79455e6478986bdc32a90c67a23a99f44acaf816424d0e9f0cde59ff44d31503Harvest451712552022-08-18 14:01:1342 mins ago0xf0ab1a62b3ca931619d3108159f0c4010873702b IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003454815
0x588cac69b8d074069a5d7a7e4e0db961978ba3aa264a38c3ba8a412d64ff1bd8Harvest451711722022-08-18 13:59:4144 mins ago0x9d7593003c0d48014a38be07ca8c312e6d32f17d IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00361897
0x21b4c130a2e6451b07ac12b36b2538e0482b98994a40ecf859e60684219f92ceHarvest451710912022-08-18 13:57:5846 mins ago0x40c5cf51be4b6e0ad376d598e1615c156d6fc8fc IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00361897
0x528563f8f405be3fab021b19d8291cd85138d65bfd034d20e5f9a2e3996b4b63Harvest451710102022-08-18 13:56:2947 mins ago0xe4a7d73bccbae0e7398f8d437ff16b4623a5ac3a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003802668917
0x7b11192a94edb73c1ffb8c7f0faf0eed8b8eaac65547bf8de570218eae2094b0Harvest451709242022-08-18 13:54:3749 mins ago0xf0ab1a62b3ca931619d3108159f0c4010873702b IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003820691387
0x1bbbc5a7aa900188df434428ac42334913c43adb6701ec6f56d57a87f7d2da0bHarvest451708392022-08-18 13:52:5851 mins ago0xd968665350a0bb7d487aadba94d920d8890ee06f IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.0043789537
0x10d567dfb46609c3bd709df5f9c37bb42f3d6655b1d8ebc9fb22a69b03755ecdHarvest451707442022-08-18 13:51:0953 mins ago0xe4a7d73bccbae0e7398f8d437ff16b4623a5ac3a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00361897
0xd11f095191a11fa11c94323bcde27f9f894be854c344fe93f8c75bc6c62aabbaHarvest451706632022-08-18 13:49:4154 mins ago0x0290009c77908568f53223efdeee3506cf27c6c4 IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.003793259595
0x80f47136a7a56a461dfb07e7be306ff29e984764c31b377642af0880f2666b1dHarvest451705792022-08-18 13:48:0756 mins ago0xe4a7d73bccbae0e7398f8d437ff16b4623a5ac3a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.004676642934
0x9eb349614576dccdc36b1c115f5fc8e2bef1e9b5e88e16209f8cab50c8d2c2bcHarvest451704662022-08-18 13:45:2258 mins ago0xe4a7d73bccbae0e7398f8d437ff16b4623a5ac3a IN  0x5733bf71744506849a279272585131545068d3ca0 FTM0.00361897
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xc7361b7f211afa8430fec5a822c04ab82bc441500181a4bdf3be1ce76e04f919187966572021-10-11 1:25:07311 days 13 hrs ago 0xe1610bb38ce95254dd77cbc82f9c1148569b560e  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReaperAutoCompoundLiquidv2_Spirit

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-10-11
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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


pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


pragma solidity ^0.6.0;





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

    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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 {
        _decimals = decimals_;
    }

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

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


pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;


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

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

    bool private _paused;

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

pragma solidity ^0.6.0;

interface IUniswapV2Pair {
    function token0() external view returns (address);
    function token1() external view returns (address);
}

pragma solidity ^0.6.0;

interface IMasterChef {
    function poolLength() external view returns (uint256);
    function getMultiplier(uint256 _from, uint256 _to) external view returns (uint256);
    function pendingSpirit(uint256 _pid, address _user) external view returns (uint256);
    function massUpdatePools() external;
    function updatePool(uint256 _pid) external;
    function deposit(uint256 _pid, uint256 _amount) external;
    function withdraw(uint256 _pid, uint256 _amount) external;
    function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256);
    function emergencyWithdraw(uint256 _pid) external;
}

interface IMasterChefv2 {
    function harvest(uint256 pid, address to) external;
    function withdraw(uint256 pid, uint256 amount, address to) external;
    function deposit(uint256 pid, uint256 amount, address to) external;
    function lqdrPerBlock() external view returns (uint256);
}
pragma solidity ^0.6.0;

/**
 * @dev Implementation of a strategy to get yields from farming LP Pools in SpookySwap.
 * SpookySwap is an automated market maker (“AMM”) that allows two tokens to be exchanged on Fantom's Opera Network.
 *
 * This strategy deposits whatever funds it receives from the vault into the selected masterChef pool.
 * rewards from providing liquidity are farmed every few minutes, sold and split 50/50.
 * The corresponding pair of assets are bought and more liquidity is added to the masterChef pool.
 *
 * Expect the amount of LP tokens you have to grow over time while you have assets deposit
 */
contract ReaperAutoCompoundLiquidv2_Spirit is Ownable, Pausable {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    /**
     * @dev Tokens Used:
     * {wftm} - Required for liquidity routing when doing swaps.
     * {rewardToken} - Token generated by staking our funds.
     * {lpPair} - LP Token that the strategy maximizes.
     * {lpToken0, lpToken1} - Tokens that the strategy maximizes. IUniswapV2Pair tokens.
     */
    address public wftm = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83);
    address public rewardToken0 = address(0x10b620b2dbAC4Faa7D7FFD71Da486f5D44cd86f9); //LQDR
    address public rewardToken1; 
    uint8 public rewardTokens = 1;
    address public lpPair;
    address public lpToken0;
    address public lpToken1;

    bool public harvestOn = false;

    mapping(uint8 => bool) public isEmitting;
    mapping (address => address) tokenRouter;
    /**
     * @dev Third Party Contracts:
     * {router} - the router for target DEX
     * {masterChef} - masterChef contract
     * {poolId} - masterChef pool id
     */
    address public constant spookyRouter = address(0xF491e7B69E4244ad4002BC14e878a34207E38c29);
    address public constant spiritRouter = address(0x16327E3FbDaCA3bcF7E38F5Af2599D2DDc33aE52);
    address public masterChef = 0x6e2ad6527901c9664f016466b8DA1357a004db0f;
    uint8 public poolId;

    /**
     * @dev Reaper Contracts:
     * {treasury} - Address of the Reaper treasury
     * {vault} - Address of the vault that controls the strategy's funds.
     */
    address public treasury;
    address public vault;

     /**
     * @dev Distribution of fees earned. This allocations relative to the % implemented on
     * Current implementation separates 5% for fees. Can be changed through the constructor
     * Inputs in constructor should be ratios between the Fee and Max Fee, divisble into percents by 10000
     *
     * {callFee} - Percent of the totalFee reserved for the harvester (1000 = 10% of total fee: 0.5% by default)
     * {treasuryFee} - Percent of the totalFee taken by maintainers of the software (9000 = 90% of total fee: 4.5% by default)
     * {securityFee} - Fee taxed when a user withdraws funds. Taken to prevent flash deposit/harvest attacks.
     * These funds are redistributed to stakers in the pool.
     *
     * {totalFee} - divided by 10,000 to determine the % fee. Set to 5% by default and
     * lowered as necessary to provide users with the most competitive APY.
     *
     * {MAX_FEE} - Maximum fee allowed by the strategy. Hard-capped at 5%.
     * {PERCENT_DIVISOR} - Constant used to safely calculate the correct percentages.
     */

    uint public callFee = 1000;
    uint public treasuryFee = 9000;
    uint public securityFee = 10;
    uint public totalFee = 450;
    uint constant public MAX_FEE = 500;
    uint constant  public PERCENT_DIVISOR = 10000;

    /**
     * @dev Routes we take to swap tokens using PanrewardTokenSwap.
     * {rewardTokenToWftmRoute} - Route we take to get from {rewardToken} into {wftm}.
     * {rewardTokenToLp0Route} - Route we take to get from {rewardToken} into {lpToken0}.
     * {rewardTokenToLp1Route} - Route we take to get from {rewardToken} into {lpToken1}.
     */
    address[] public rewardToken0ToWftmRoute = [rewardToken0, wftm];
    address[] public rewardToken1ToWftmRoute = [rewardToken1, wftm];
    address[] public wftmToLp0Route;
    address[] public wftmToLp1Route;

    /**
     * {StratHarvest} Event that is fired each time someone harvests the strat.
     * {TotalFeeUpdated} Event that is fired each time the total fee is updated.
     * {CallFeeUpdated} Event that is fired each time the call fee is updated.
     */
    event StratHarvest(address indexed harvester);
    event TotalFeeUpdated(uint newFee);
    event CallFeeUpdated(uint newCallFee, uint newTreasuryFee);

    /**
     * @dev Initializes the strategy. Sets parameters, saves routes, and gives allowances.
     * @notice see documentation for each variable above its respective declaration.
     */
    constructor (
      address _lpPair,
      uint8 _poolId,
      address _vault,
      address _treasury
    ) public {
        lpPair = _lpPair;
        poolId = _poolId;
        vault = _vault;
        treasury = _treasury;

        lpToken0 = IUniswapV2Pair(lpPair).token0();
        lpToken1 = IUniswapV2Pair(lpPair).token1();

        if(lpToken0 != wftm){
            wftmToLp0Route = [wftm, lpToken0];
        }

        if(lpToken1 != wftm){
            wftmToLp1Route = [wftm, lpToken1];
        }

        
        tokenRouter[lpToken0] = spiritRouter;
        tokenRouter[lpToken1] = spiritRouter;
        tokenRouter[rewardToken0] = spiritRouter; 
               
        
        

        isEmitting[0] = true;
        isEmitting[1] = false;

        giveAllowances();
    }



    /**
     * @dev Function that puts the funds to work.
     * It gets called whenever someone deposits in the strategy's vault contract.
     * It deposits {lpPair} in the masterChef to farm {rewardToken}
     */
    function deposit() public whenNotPaused onActionHarvest{
        uint256 pairBal = IERC20(lpPair).balanceOf(address(this));

        if (pairBal > 0) {
            IMasterChefv2(masterChef).deposit(poolId, pairBal, address(this));
        }
    }

    /**
     * @dev Withdraws funds and sents them back to the vault.
     * It withdraws {lpPair} from the masterChef.
     * The available {lpPair} minus fees is returned to the vault.
     */
    function withdraw(uint256 _amount) external onActionHarvest{
    require(msg.sender == vault, "!vault");

      uint256 pairBal = IERC20(lpPair).balanceOf(address(this));

      if (pairBal < _amount) {
        IMasterChefv2(masterChef).withdraw(poolId, _amount.sub(pairBal), address(this));
        pairBal = IERC20(lpPair).balanceOf(address(this));
      }

      if (pairBal > _amount) {
        pairBal = _amount;
      }
      uint256 withdrawFee = pairBal.mul(securityFee).div(PERCENT_DIVISOR);
      IERC20(lpPair).safeTransfer(vault, pairBal.sub(withdrawFee));
    }


    /**
     * @dev Core function of the strat, in charge of collecting and re-investing rewards.
     * 1. It claims rewards from the masterChef.
     * 2. It charges the system fees to simplify the split.
     * 3. It swaps the {rewardToken} token for {lpToken0} & {lpToken1}
     * 4. Adds more liquidity to the pool.
     * 5. It deposits the new LP tokens.
     */
    function harvest() public whenNotPaused {
        require(!Address.isContract(msg.sender), "!contract");
        IMasterChefv2(masterChef).harvest(poolId, address(this));
        
        chargeFees();
         
        addLiquidity();
         
        deposit();
         
        emit StratHarvest(msg.sender);
    }

    modifier onActionHarvest {
        if (harvestOn == true){
            harvest();
        }
        _;
    }

    /**
     * @dev Takes out fees from the rewards. Set by constructor
     * callFeeToUser is set as a percentage of the fee,
     * as is treasuryFeeToVault
     */
    function chargeFees() internal {
        uint256 rewardBal;

        if(isEmitting[0] == true){
            rewardBal = IERC20(rewardToken0).balanceOf(address(this));           
            IUniswapRouterETH(tokenRouter[rewardToken0]).swapExactTokensForTokensSupportingFeeOnTransferTokens(rewardBal, 0 , rewardToken0ToWftmRoute, address(this), now.add(600));
        }

        if(isEmitting[1] == true){
            rewardBal = IERC20(rewardToken1).balanceOf(address(this));
            IUniswapRouterETH(tokenRouter[rewardToken1]).swapExactTokensForTokensSupportingFeeOnTransferTokens(rewardBal, 0 , rewardToken1ToWftmRoute, address(this), now.add(600));
        }

        uint256 fees = IERC20(wftm).balanceOf(address(this)).mul(totalFee).div(PERCENT_DIVISOR);

        uint256 callFeeToUser = fees.mul(callFee).div(PERCENT_DIVISOR);
        IERC20(wftm).safeTransfer(msg.sender, callFeeToUser);

        uint256 treasuryFeeToVault = fees.mul(treasuryFee).div(PERCENT_DIVISOR);
        IERC20(wftm).safeTransfer(treasury, treasuryFeeToVault);
    }

    /**
     * @dev Swaps {rewardToken} for {lpToken0}, {lpToken1} & {wftm} using SpookySwap.
     */
    function addLiquidity() internal {
        uint256 half = IERC20(wftm).balanceOf(address(this)).div(2);
        if(lpToken0 != wftm){
            IUniswapRouterETH(tokenRouter[lpToken0]).swapExactTokensForTokensSupportingFeeOnTransferTokens(half, 0, wftmToLp0Route, address(this), now.add(600));
        }

        if(lpToken1 != wftm){
            IUniswapRouterETH(tokenRouter[lpToken1]).swapExactTokensForTokensSupportingFeeOnTransferTokens(half, 0, wftmToLp1Route, address(this), now.add(600));
        }
          
        uint256 lp0Bal = IERC20(lpToken0).balanceOf(address(this));
        uint256 lp1Bal = IERC20(lpToken1).balanceOf(address(this));

        IUniswapRouterETH(spiritRouter).addLiquidity(lpToken0, lpToken1, lp0Bal, lp1Bal, 1, 1, address(this), now.add(600));
    }

    /**
     * @dev Function to calculate the total underlaying {lpPair} held by the strat.
     * It takes into account both the funds in hand, as the funds allocated in the masterChef.
     */
    function balanceOf() public view returns (uint256) {
        return balanceOfLpPair().add(balanceOfPool());
    }

    /**
     * @dev It calculates how much {lpPair} the contract holds.
     */
    function balanceOfLpPair() public view returns (uint256) {
        return IERC20(lpPair).balanceOf(address(this));
    }

    /**
     * @dev It calculates how much {lpPair} the strategy has allocated in the masterChef
     */
    function balanceOfPool() public view returns (uint256) {
        (uint256 _amount,) = IMasterChef(masterChef).userInfo(poolId, address(this));
        return _amount;
    }

    /**
     * @dev Function that has to be called as part of strat migration. It sends all the available funds back to the
     * vault, ready to be migrated to the new strat.
     */
    function retireStrat() external {
        require(msg.sender == vault, "!vault");

        IMasterChef(masterChef).emergencyWithdraw(poolId);

        uint256 pairBal = IERC20(lpPair).balanceOf(address(this));
        IERC20(lpPair).transfer(vault, pairBal);
    }

    /**
     * @dev Pauses deposits. Withdraws all funds from the masterChef, leaving rewards behind
     */
    function panic() public onlyOwner {
        pause();
        IMasterChef(masterChef).withdraw(poolId, balanceOfPool());
    }

    /**
     * @dev Pauses the strat.
     */
    function pause() public onlyOwner {
      _pause();
      removeAllowances();
    }

    /**
     * @dev Unpauses the strat.
     */
    function unpause() external onlyOwner {
        _unpause();

        giveAllowances();

        deposit();
    }

    function giveAllowances() internal {
        IERC20(lpPair).safeApprove(masterChef, 0);
        IERC20(rewardToken0).safeApprove(spiritRouter, 0);       
        IERC20(lpPair).safeApprove(masterChef, uint256(-1));
        IERC20(rewardToken0).safeApprove(spiritRouter, uint256(-1));

        IERC20(wftm).safeApprove(spiritRouter, 0);
        IERC20(wftm).safeApprove(spiritRouter, uint256(-1));

        IERC20(lpToken0).safeApprove(spiritRouter, 0);
        IERC20(lpToken0).safeApprove(spiritRouter, uint256(-1));

        IERC20(lpToken1).safeApprove(spiritRouter, 0);
        IERC20(lpToken1).safeApprove(spiritRouter, uint256(-1));
    }

    function removeAllowances() internal {
        IERC20(lpPair).safeApprove(masterChef, 0);
        IERC20(rewardToken0).safeApprove(spiritRouter, 0);
        IERC20(wftm).safeApprove(spiritRouter, 0);
        IERC20(lpToken0).safeApprove(spiritRouter, 0);
        IERC20(lpToken1).safeApprove(spiritRouter, 0);
    }


    /**
     * @dev updates the total fee, capped at 5%
     */
    function updateTotalFee(uint _totalFee) external onlyOwner returns (bool) {
      require(_totalFee <= MAX_FEE, "Fee Too High");
      totalFee = _totalFee;
      emit TotalFeeUpdated(totalFee);
      return true;
    }

    /**
     * @dev updates the call fee and adjusts the treasury fee to cover the difference
     */
    function updateCallFee(uint _callFee) external onlyOwner returns (bool) {
      callFee = _callFee;
      treasuryFee = PERCENT_DIVISOR.sub(callFee);
      emit CallFeeUpdated(callFee, treasuryFee);
      return true;
    }

    function updateTreasury(address newTreasury) external onlyOwner returns (bool) {
      treasury = newTreasury;
      return true;
    }

    function emittance(uint8 _id, bool _status) external onlyOwner returns (bool){
        isEmitting[_id] = _status;
        return true;
    }

    function harvestOnAction(bool _setting) external onlyOwner returns (bool){
        harvestOn = _setting;
        return true;
    }

    function changeRewardToken(address _token, address _router) external onlyOwner returns (bool){
            rewardToken1 = _token;
            tokenRouter[rewardToken1] = _router;
            IERC20(rewardToken1).safeApprove(tokenRouter[rewardToken1], 0);
            IERC20(rewardToken1).safeApprove(tokenRouter[rewardToken1], uint256(-1));
            rewardToken1ToWftmRoute = [rewardToken1, wftm];
            isEmitting[1] = true;
            rewardTokens = 2;
            return true;  
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lpPair","type":"address"},{"internalType":"uint8","name":"_poolId","type":"uint8"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newCallFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTreasuryFee","type":"uint256"}],"name":"CallFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"TotalFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENT_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfLpPair","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":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"name":"changeRewardToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_id","type":"uint8"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"emittance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_setting","type":"bool"}],"name":"harvestOnAction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"isEmitting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardToken0ToWftmRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardToken1ToWftmRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardTokens","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"securityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spiritRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spookyRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"updateCallFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalFee","type":"uint256"}],"name":"updateTotalFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasury","type":"address"}],"name":"updateTreasury","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wftmToLp0Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wftmToLp1Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527321be370d5312f44cb42ce377bc9b8a0cef1a4c83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507310b620b2dbac4faa7d7ffd71da486f5d44cd86f9600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600360146101000a81548160ff021916908360ff1602179055506000600660146101000a81548160ff021916908315150217905550736e2ad6527901c9664f016466b8da1357a004db0f600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e8600c55612328600d55600a600e556101c2600f556040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601090600262000214929190620015b2565b506040518060400160405280600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506011906002620002d8929190620015b2565b50348015620002e657600080fd5b50604051620065e4380380620065e4833981810160405260808110156200030c57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919050505060006200034d62000bbe60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff02191690831515021790555083600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960146101000a81548160ff021916908360ff16021790555081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156200054c57600080fd5b505afa15801562000561573d6000803e3d6000fd5b505050506040513d60208110156200057857600080fd5b8101908080519060200190929190505050600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200063257600080fd5b505afa15801562000647573d6000803e3d6000fd5b505050506040513d60208110156200065e57600080fd5b8101908080519060200190929190505050600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620007ec576040518060400160405280600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506012906002620007ea929190620015b2565b505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000929576040518060400160405280600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601390600262000927929190620015b2565b505b7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae5260086000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507316327e3fbdaca3bcf7e38f5af2599d2ddc33ae5260086000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507316327e3fbdaca3bcf7e38f5af2599d2ddc33ae5260086000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600760008060ff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060076000600160ff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000bb462000bc660201b60201c565b505050506200167e565b600033905090565b62000c3d600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000ca67316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000d3c600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000dc47316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000e2d7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000eb57316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000f1e7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b62000fa67316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b6200100f7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b620010977316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166200109960201b62002c97179092919060201c565b565b60008114806200116b575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156200112c57600080fd5b505afa15801562001141573d6000803e3d6000fd5b505050506040513d60208110156200115857600080fd5b8101908080519060200190929190505050145b620011c2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180620065ae6036913960400191505060405180910390fd5b620012678363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200126c60201b60201c565b505050565b6060620012d5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166200136660201b62002e5c179092919060201c565b90506000815111156200136157808060200190516020811015620012f857600080fd5b810190808051906020019092919050505062001360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062006584602a913960400191505060405180910390fd5b5b505050565b60606200137d84846000856200138660201b60201c565b90509392505050565b606062001399856200159f60201b60201c565b6200140c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106200145e578051825260208201915060208101905060208303925062001439565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620014c2576040519150601f19603f3d011682016040523d82523d6000602084013e620014c7565b606091505b50915091508115620014de57809250505062001597565b600081511115620014f25780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200155b5780820151818401526020810190506200153e565b50505050905090810190601f168015620015895780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b8280548282559060005260206000209081019282156200162e579160200282015b828111156200162d5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620015d3565b5b5090506200163d919062001641565b5090565b5b808211156200167a57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010162001642565b5090565b614ef6806200168e6000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c8063877562b61161015c578063d0e30db0116100ce578063f4f45b4611610087578063f4f45b4614610989578063f88fb689146109bd578063f911545314610a01578063fb61778714610a47578063fbfa77cf14610a51578063fd66533e14610a855761027f565b8063d0e30db014610861578063d32b96041461086b578063d4b25c5b146108af578063d68e130214610907578063ec4942da14610925578063f2fde38b146109455761027f565b806391245cd91161012057806391245cd9146107145780639c1704521461076c578063bc063e1a146107e6578063c2351cdd14610804578063c2b18aa014610822578063cc32d176146108435761027f565b8063877562b6146106135780638954ffeb146106475780638da5cb5b1461068e5780638ed8ea7e146106c257806390321e1a146106f65761027f565b80634870dd9a116101f557806361d027b3116101b957806361d027b31461051f5780636f28d68814610553578063715018a614610587578063722713f7146105915780637f51bb1f146105af5780638456cb59146106095761027f565b80634870dd9a1461044557806350d7d61314610463578063575a86b2146104975780635c975abb146104cb5780635ee167c0146104eb5761027f565b80632e1a7d4d116102475780632e1a7d4d146103a45780633e0dc34e146103d25780633f4ba83a146103f3578063452ed4f1146103fd5780634641257d146104315780634700d3051461043b5761027f565b806311588086146102845780631c0730c4146102a25780631dee25de146102fa5780631df4ccfc1461032e5780632a23ed911461034c575b600080fd5b61028c610ad8565b6040518082815260200191505060405180910390f35b6102ce600480360360208110156102b857600080fd5b8101908080359060200190929190505050610bcc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610302610c08565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610336610c2e565b6040518082815260200191505060405180910390f35b6103786004803603602081101561036257600080fd5b8101908080359060200190929190505050610c34565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103d0600480360360208110156103ba57600080fd5b8101908080359060200190929190505050610c70565b005b6103da611085565b604051808260ff16815260200191505060405180910390f35b6103fb611098565b005b61040561117a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104396111a0565b005b6104436113b9565b005b61044d611539565b6040518082815260200191505060405180910390f35b61046b61153f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049f611557565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104d361157d565b60405180821515815260200191505060405180910390f35b6104f3611593565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105276115b9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055b6115df565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61058f611605565b005b61059961178b565b6040518082815260200191505060405180910390f35b6105f1600480360360208110156105c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117b3565b60405180821515815260200191505060405180910390f35b6106116118c7565b005b61061b6119a1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106766004803603602081101561065d57600080fd5b81019080803560ff1690602001909291905050506119c7565b60405180821515815260200191505060405180910390f35b6106966119e7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106ca611a10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106fe611a28565b6040518082815260200191505060405180910390f35b6107406004803603602081101561072a57600080fd5b8101908080359060200190929190505050611a2e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107ce6004803603604081101561078257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a6a565b60405180821515815260200191505060405180910390f35b6107ee611eea565b6040518082815260200191505060405180910390f35b61080c611ef0565b6040518082815260200191505060405180910390f35b61082a611fbb565b604051808260ff16815260200191505060405180910390f35b61084b611fce565b6040518082815260200191505060405180910390f35b610869611fd4565b005b6108976004803603602081101561088157600080fd5b8101908080359060200190929190505050612216565b60405180821515815260200191505060405180910390f35b6108db600480360360208110156108c557600080fd5b81019080803590602001909291905050506123a1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61090f6123dd565b6040518082815260200191505060405180910390f35b61092d6123e3565b60405180821515815260200191505060405180910390f35b6109876004803603602081101561095b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123f6565b005b610991612601565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109e9600480360360208110156109d357600080fd5b8101908080359060200190929190505050612627565b60405180821515815260200191505060405180910390f35b610a2f60048036036020811015610a1757600080fd5b81019080803515159060200190929190505050612761565b60405180821515815260200191505060405180910390f35b610a4f61284e565b005b610a59612b6c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ac060048036036040811015610a9b57600080fd5b81019080803560ff169060200190929190803515159060200190929190505050612b92565b60405180821515815260200191505060405180910390f35b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393f1a40b600960149054906101000a900460ff16306040518363ffffffff1660e01b8152600401808360ff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b158015610b7d57600080fd5b505afa158015610b91573d6000803e3d6000fd5b505050506040513d6040811015610ba757600080fd5b8101908080519060200190929190805190602001909291905050505090508091505090565b60138181548110610bd957fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f5481565b60118181548110610c4157fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60011515600660149054906101000a900460ff1615151415610c9557610c946111a0565b5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d58576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610de357600080fd5b505afa158015610df7573d6000803e3d6000fd5b505050506040513d6020811015610e0d57600080fd5b8101908080519060200190929190505050905081811015610fc657600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630ad58d2f600960149054906101000a900460ff16610e898486612e7490919063ffffffff16565b306040518463ffffffff1660e01b8152600401808460ff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b158015610ee757600080fd5b505af1158015610efb573d6000803e3d6000fd5b50505050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f8857600080fd5b505afa158015610f9c573d6000803e3d6000fd5b505050506040513d6020811015610fb257600080fd5b810190808051906020019092919050505090505b81811115610fd2578190505b6000610ffd612710610fef600e5485612ebe90919063ffffffff16565b612f4490919063ffffffff16565b9050611080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166110388385612e7490919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612f8e9092919063ffffffff16565b505050565b600960149054906101000a900460ff1681565b6110a0613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611160576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611168613038565b61117061312a565b611178611fd4565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060149054906101000a900460ff1615611223576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b61122c336135b7565b1561129f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f21636f6e7472616374000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318fccc76600960149054906101000a900460ff16306040518363ffffffff1660e01b8152600401808360ff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050600060405180830381600087803b15801561134457600080fd5b505af1158015611358573d6000803e3d6000fd5b505050506113646135ca565b61136c613d1f565b611374611fd4565b3373ffffffffffffffffffffffffffffffffffffffff167f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb560405160405180910390a2565b6113c1613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611481576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6114896118c7565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600960149054906101000a900460ff166114df610ad8565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561151f57600080fd5b505af1158015611533573d6000803e3d6000fd5b50505050565b61271081565b7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae5281565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61160d613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006117ae611798610ad8565b6117a0611ef0565b61456390919063ffffffff16565b905090565b60006117bd613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461187d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6118cf613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461198f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6119976145eb565b61199f6146df565b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60076020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b73f491e7b69e4244ad4002bc14e878a34207e38c2981565b600c5481565b60108181548110611a3b57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611a74613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160086000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611ce460086000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b611dd260086000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6040518060400160405280600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506011906002611e93929190614d54565b50600160076000600160ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506002600360146101000a81548160ff021916908360ff1602179055506001905092915050565b6101f481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611f7b57600080fd5b505afa158015611f8f573d6000803e3d6000fd5b505050506040513d6020811015611fa557600080fd5b8101908080519060200190929190505050905090565b600360149054906101000a900460ff1681565b600d5481565b600060149054906101000a900460ff1615612057576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60011515600660149054906101000a900460ff161515141561207c5761207b6111a0565b5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561210757600080fd5b505afa15801561211b573d6000803e3d6000fd5b505050506040513d602081101561213157600080fd5b81019080805190602001909291905050509050600081111561221357600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638dbdbe6d600960149054906101000a900460ff1683306040518463ffffffff1660e01b8152600401808460ff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b1580156121fa57600080fd5b505af115801561220e573d6000803e3d6000fd5b505050505b50565b6000612220613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101f4821115612358576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f46656520546f6f2048696768000000000000000000000000000000000000000081525060200191505060405180910390fd5b81600f819055507f2e59d502792bca3d730c472cd3acfbc16d0f9fe6ce0cddbdf0f80830251dfaca600f546040518082815260200191505060405180910390a160019050919050565b601281815481106123ae57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b600660149054906101000a900460ff1681565b6123fe613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612544576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614e1a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612631613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600c8190555061270f600c54612710612e7490919063ffffffff16565b600d819055507f06a730aa61ec47f8cc95582be032daaf0ec4cb816c24b9c07b574ea41821048b600c54600d54604051808381526020018281526020019250505060405180910390a160019050919050565b600061276b613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461282b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600660146101000a81548160ff02191690831515021790555060019050919050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612911576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e600960149054906101000a900460ff166040518263ffffffff1660e01b8152600401808260ff168152602001915050600060405180830381600087803b15801561299857600080fd5b505af11580156129ac573d6000803e3d6000fd5b505050506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612a3b57600080fd5b505afa158015612a4f573d6000803e3d6000fd5b505050506040513d6020811015612a6557600080fd5b81019080805190602001909291905050509050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612b2d57600080fd5b505af1158015612b41573d6000803e3d6000fd5b505050506040513d6020811015612b5757600080fd5b81019080805190602001909291905050505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612b9c613030565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c5c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600760008560ff1660ff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001905092915050565b6000811480612d65575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612d2857600080fd5b505afa158015612d3c573d6000803e3d6000fd5b505050506040513d6020811015612d5257600080fd5b8101908080519060200190929190505050145b612dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614e8b6036913960400191505060405180910390fd5b612e578363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506148d9565b505050565b6060612e6b84846000856149c8565b90509392505050565b6000612eb683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614bce565b905092915050565b600080831415612ed15760009050612f3e565b6000828402905082848281612ee257fe5b0414612f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614e406021913960400191505060405180910390fd5b809150505b92915050565b6000612f8683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614c8e565b905092915050565b61302b8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506148d9565b505050565b600033905090565b600060149054906101000a900460ff166130ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6130fd613030565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61319a600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6131fc7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b61328b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b61330c7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b61336e7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6133ef7316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6134517316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6134d27316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6135347316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6135b57316327e3fbdaca3bcf7e38f5af2599d2ddc33ae527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b565b600080823b905060008111915050919050565b600060011515600760008060ff16815260200190815260200160002060009054906101000a900460ff161515141561386f57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561368557600080fd5b505afa158015613699573d6000803e3d6000fd5b505050506040513d60208110156136af57600080fd5b8101908080519060200190929190505050905060086000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79582600060103061377a6102584261456390919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561383257602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116137e8575b50509650505050505050600060405180830381600087803b15801561385657600080fd5b505af115801561386a573d6000803e3d6000fd5b505050505b6001151560076000600160ff16815260200190815260200160002060009054906101000a900460ff1615151415613b1357600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561392957600080fd5b505afa15801561393d573d6000803e3d6000fd5b505050506040513d602081101561395357600080fd5b8101908080519060200190929190505050905060086000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601130613a1e6102584261456390919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015613ad657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311613a8c575b50509650505050505050600060405180830381600087803b158015613afa57600080fd5b505af1158015613b0e573d6000803e3d6000fd5b505050505b6000613c01612710613bf3600f54600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015613baa57600080fd5b505afa158015613bbe573d6000803e3d6000fd5b505050506040513d6020811015613bd457600080fd5b8101908080519060200190929190505050612ebe90919063ffffffff16565b612f4490919063ffffffff16565b90506000613c2e612710613c20600c5485612ebe90919063ffffffff16565b612f4490919063ffffffff16565b9050613c7d3382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612f8e9092919063ffffffff16565b6000613ca8612710613c9a600d5486612ebe90919063ffffffff16565b612f4490919063ffffffff16565b9050613d19600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612f8e9092919063ffffffff16565b50505050565b6000613df86002600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015613daf57600080fd5b505afa158015613dc3573d6000803e3d6000fd5b505050506040513d6020811015613dd957600080fd5b8101908080519060200190929190505050612f4490919063ffffffff16565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461401e5760086000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601230613f296102584261456390919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015613fe157602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311613f97575b50509650505050505050600060405180830381600087803b15801561400557600080fd5b505af1158015614019573d6000803e3d6000fd5b505050505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146142425760086000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79582600060133061414d6102584261456390919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561420557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116141bb575b50509650505050505050600060405180830381600087803b15801561422957600080fd5b505af115801561423d573d6000803e3d6000fd5b505050505b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156142cd57600080fd5b505afa1580156142e1573d6000803e3d6000fd5b505050506040513d60208110156142f757600080fd5b810190808051906020019092919050505090506000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561439557600080fd5b505afa1580156143a9573d6000803e3d6000fd5b505050506040513d60208110156143bf57600080fd5b810190808051906020019092919050505090507316327e3fbdaca3bcf7e38f5af2599d2ddc33ae5273ffffffffffffffffffffffffffffffffffffffff1663e8e33700600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585600180306144636102584261456390919063ffffffff16565b6040518963ffffffff1660e01b8152600401808973ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200198505050505050505050606060405180830381600087803b15801561450c57600080fd5b505af1158015614520573d6000803e3d6000fd5b505050506040513d606081101561453657600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050505050505050565b6000808284019050838110156145e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600060149054906101000a900460ff161561466e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586146b2613030565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61474f600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6147b17316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6148137316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6148757316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b6148d77316327e3fbdaca3bcf7e38f5af2599d2ddc33ae526000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c979092919063ffffffff16565b565b606061493b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e5c9092919063ffffffff16565b90506000815111156149c35780806020019051602081101561495c57600080fd5b81019080805190602001909291905050506149c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614e61602a913960400191505060405180910390fd5b5b505050565b60606149d3856135b7565b614a45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614a955780518252602082019150602081019050602083039250614a72565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614af7576040519150601f19603f3d011682016040523d82523d6000602084013e614afc565b606091505b50915091508115614b11578092505050614bc6565b600081511115614b245780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614b8b578082015181840152602081019050614b70565b50505050905090810190601f168015614bb85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b6000838311158290614c7b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614c40578082015181840152602081019050614c25565b50505050905090810190601f168015614c6d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290614d3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614cff578082015181840152602081019050614ce4565b50505050905090810190601f168015614d2c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614d4657fe5b049050809150509392505050565b828054828255906000526020600020908101928215614dcd579160200282015b82811115614dcc5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190614d74565b5b509050614dda9190614dde565b5090565b5b80821115614e1557600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101614ddf565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122074420c436171933709b65d30dbb87a340bf1378eca14708a0126049b5ca9a0a564736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000004fe6f19031239f105f753d1df8a0d24857d0caa2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023fe5420483bc00f6a13d104bb25d9b428569e1a0000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b

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

0000000000000000000000004fe6f19031239f105f753d1df8a0d24857d0caa2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023fe5420483bc00f6a13d104bb25d9b428569e1a0000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b

-----Decoded View---------------
Arg [0] : _lpPair (address): 0x4fe6f19031239f105f753d1df8a0d24857d0caa2
Arg [1] : _poolId (uint8): 0
Arg [2] : _vault (address): 0x23fe5420483bc00f6a13d104bb25d9b428569e1a
Arg [3] : _treasury (address): 0x0e7c5313e9bb80b654734d9b7ab1fb01468dee3b

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000004fe6f19031239f105f753d1df8a0d24857d0caa2
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 00000000000000000000000023fe5420483bc00f6a13d104bb25d9b428569e1a
Arg [3] : 0000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b


Deployed ByteCode Sourcemap

38194:13742:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48132:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41715:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38764:81;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41052:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41607:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;43886:589;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;39603:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49225:118;;;:::i;:::-;;38930:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;44863:330;;;:::i;:::-;;48895:128;;;:::i;:::-;;41126:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39429:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;39526:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33278:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38958:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;39807;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38859:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2693:148;;;:::i;:::-;;47688:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50988:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49080:86;;;:::i;:::-;;38988:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;39058:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2051:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;39332:90;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40947:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41537:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51427:506;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41085:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47894:122;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38894:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40980:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43426:252;;;:::i;:::-;;50415:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41677:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41017:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39020:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2996:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38684:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;50752:228;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51285:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48504:271;;;:::i;:::-;;39837:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51134:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48132:175;48178:7;48199:15;48231:10;;;;;;;;;;;48219:32;;;48252:6;;;;;;;;;;;48268:4;48219:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48198:76;;;48292:7;48285:14;;;48132:175;:::o;41715:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38764:81::-;;;;;;;;;;;;;:::o;41052:26::-;;;;:::o;41607:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43886:589::-;45254:4;45241:17;;:9;;;;;;;;;;;:17;;;45237:58;;;45274:9;:7;:9::i;:::-;45237:58;43974:5:::1;;;;;;;;;;;43960:19;;:10;:19;;;43952:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;44001:15;44026:6;;;;;;;;;;;44019:24;;;44052:4;44019:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;44001:57;;44083:7;44073;:17;44069:183;;;44117:10;;;;;;;;;;;44103:34;;;44138:6;;;;;;;;;;;44146:20;44158:7;44146;:11;;:20;;;;:::i;:::-;44176:4;44103:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44210:6;;;;;;;;;;;44203:24;;;44236:4;44203:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;44193:49;;44069:183;44276:7;44266;:17;44262:61;;;44306:7;44296:17;;44262:61;44331:19;44353:45;41166:5;44353:24;44365:11;;44353:7;:11;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;44331:67;;44407:60;44435:5;;;;;;;;;;;44442:24;44454:11;44442:7;:11;;:24;;;;:::i;:::-;44414:6;;;;;;;;;;;44407:27;;;;:60;;;;;:::i;:::-;45305:1;;43886:589:::0;:::o;39603:19::-;;;;;;;;;;;;;:::o;49225:118::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49274:10:::1;:8;:10::i;:::-;49297:16;:14;:16::i;:::-;49326:9;:7;:9::i;:::-;49225:118::o:0;38930:21::-;;;;;;;;;;;;;:::o;44863:330::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44923:30:::1;44942:10;44923:18;:30::i;:::-;44922:31;44914:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;44992:10;;;;;;;;;;;44978:33;;;45012:6;;;;;;;;;;;45028:4;44978:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;45055:12;:10;:12::i;:::-;45089:14;:12;:14::i;:::-;45125:9;:7;:9::i;:::-;45174:10;45161:24;;;;;;;;;;;;44863:330::o:0;48895:128::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48940:7:::1;:5;:7::i;:::-;48970:10;;;;;;;;;;;48958:32;;;48991:6;;;;;;;;;;;48999:15;:13;:15::i;:::-;48958:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48895:128::o:0;41126:45::-;41166:5;41126:45;:::o;39429:90::-;39476:42;39429:90;:::o;39526:70::-;;;;;;;;;;;;;:::o;33278:78::-;33317:4;33341:7;;;;;;;;;;;33334:14;;33278:78;:::o;38958:23::-;;;;;;;;;;;;;:::o;39807:::-;;;;;;;;;;;;;:::o;38859:27::-;;;;;;;;;;;;;:::o;2693:148::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2800:1:::1;2763:40;;2784:6;::::0;::::1;;;;;;;;2763:40;;;;;;;;;;;;2831:1;2814:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2693:148::o:0;47688:115::-;47730:7;47757:38;47779:15;:13;:15::i;:::-;47757:17;:15;:17::i;:::-;:21;;:38;;;;:::i;:::-;47750:45;;47688:115;:::o;50988:138::-;51061:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51087:11:::1;51076:8;;:22;;;;;;;;;;;;;;;;;;51114:4;51107:11;;50988:138:::0;;;:::o;49080:86::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49123:8:::1;:6;:8::i;:::-;49140:18;:16;:18::i;:::-;49080:86::o:0;38988:23::-;;;;;;;;;;;;;:::o;39058:40::-;;;;;;;;;;;;;;;;;;;;;;:::o;2051:79::-;2089:7;2116:6;;;;;;;;;;;2109:13;;2051:79;:::o;39332:90::-;39379:42;39332:90;:::o;40947:26::-;;;;:::o;41537:63::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51427:506::-;51515:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51550:6:::1;51535:12;;:21;;;;;;;;;;;;;;;;;;51599:7;51571:11;:25;51583:12;;;;;;;;;;;51571:25;;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;51621:62;51654:11;:25;51666:12;;;;;;;;;;;51654:25;;;;;;;;;;;;;;;;;;;;;;;;;51681:1;51628:12;;;;;;;;;;;51621:32;;;;:62;;;;;:::i;:::-;51698:72;51731:11;:25;51743:12;;;;;;;;;;;51731:25;;;;;;;;;;;;;;;;;;;;;;;;;51766:2;51705:12;;;;;;;;;;;51698:32;;;;:72;;;;;:::i;:::-;51785:46;;;;;;;;51812:12;;;;;;;;;;;51785:46;;;;;;;;51826:4;;;;;;;;;;;51785:46;;;;;;::::0;:23:::1;:46;;;;;;;:::i;:::-;;51862:4;51846:10;:13;51857:1;51846:13;;;;;;;;;;;;;;:20;;;;;;;;;;;;;;;;;;51896:1;51881:12;;:16;;;;;;;;;;;;;;;;;;51919:4;51912:11;;51427:506:::0;;;;:::o;41085:34::-;41116:3;41085:34;:::o;47894:122::-;47942:7;47976:6;;;;;;;;;;;47969:24;;;48002:4;47969:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47962:46;;47894:122;:::o;38894:29::-;;;;;;;;;;;;;:::o;40980:30::-;;;;:::o;43426:252::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45254:4:::1;45241:17;;:9;;;;;;;;;;;:17;;;45237:58;;;45274:9;:7;:9::i;:::-;45237:58;43492:15:::2;43517:6;;;;;;;;;;;43510:24;;;43543:4;43510:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;43492:57;;43576:1;43566:7;:11;43562:109;;;43608:10;;;;;;;;;;;43594:33;;;43628:6;;;;;;;;;;;43636:7;43653:4;43594:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;43562:109;45305:1;43426:252::o:0;50415:224::-;50483:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41116:3:::1;50506:9;:20;;50498:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;50563:9;50552:8;:20;;;;50586:25;50602:8;;50586:25;;;;;;;;;;;;;;;;;;50627:4;50620:11;;50415:224:::0;;;:::o;41677:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41017:28::-;;;;:::o;39020:29::-;;;;;;;;;;;;;:::o;2996:244::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3105:1:::1;3085:22;;:8;:22;;;;3077:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3195:8;3166:38;;3187:6;::::0;::::1;;;;;;;;3166:38;;;;;;;;;;;;3224:8;3215:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2996:244:::0;:::o;38684:73::-;;;;;;;;;;;;;:::o;50752:228::-;50818:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50843:8:::1;50833:7;:18;;;;50874:28;50894:7;;41166:5;50874:19;;:28;;;;:::i;:::-;50860:11;:42;;;;50916:36;50931:7;;50940:11;;50916:36;;;;;;;;;;;;;;;;;;;;;;;;50968:4;50961:11;;50752:228:::0;;;:::o;51285:134::-;51353:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51381:8:::1;51369:9;;:20;;;;;;;;;;;;;;;;;;51407:4;51400:11;;51285:134:::0;;;:::o;48504:271::-;48569:5;;;;;;;;;;;48555:19;;:10;:19;;;48547:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48610:10;;;;;;;;;;;48598:41;;;48640:6;;;;;;;;;;;48598:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48660:15;48685:6;;;;;;;;;;;48678:24;;;48711:4;48678:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48660:57;;48735:6;;;;;;;;;;;48728:23;;;48752:5;;;;;;;;;;;48759:7;48728:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48504:271;:::o;39837:20::-;;;;;;;;;;;;;:::o;51134:143::-;51206:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51240:7:::1;51222:10;:15;51233:3;51222:15;;;;;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;51265:4;51258:11;;51134:143:::0;;;;:::o;29794:622::-;30173:1;30164:5;:10;30163:62;;;;30223:1;30180:5;:15;;;30204:4;30211:7;30180:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;30163:62;30155:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30318:90;30338:5;30368:22;;;30392:7;30401:5;30345:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30318:19;:90::i;:::-;29794:622;;;:::o;15113:196::-;15216:12;15248:53;15271:6;15279:4;15285:1;15288:12;15248:22;:53::i;:::-;15241:60;;15113:196;;;;;:::o;7435:136::-;7493:7;7520:43;7524:1;7527;7520:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7513:50;;7435:136;;;;:::o;8325:471::-;8383:7;8633:1;8628;:6;8624:47;;;8658:1;8651:8;;;;8624:47;8683:9;8699:1;8695;:5;8683:17;;8728:1;8723;8719;:5;;;;;;:10;8711:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8787:1;8780:8;;;8325:471;;;;;:::o;9272:132::-;9330:7;9357:39;9361:1;9364;9357:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;9350:46;;9272:132;;;;:::o;29135:177::-;29218:86;29238:5;29268:23;;;29293:2;29297:5;29245:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29218:19;:86::i;:::-;29135:177;;;:::o;605:106::-;658:15;693:10;686:17;;605:106;:::o;34327:120::-;33872:7;;;;;;;;;;;33864:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34396:5:::1;34386:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;34417:22;34426:12;:10;:12::i;:::-;34417:22;;;;;;;;;;;;;;;;;;;;34327:120::o:0;49351:658::-;49397:41;49424:10;;;;;;;;;;;49436:1;49404:6;;;;;;;;;;;49397:26;;;;:41;;;;;:::i;:::-;49449:49;39476:42;49496:1;49456:12;;;;;;;;;;;49449:32;;;;:49;;;;;:::i;:::-;49516:51;49543:10;;;;;;;;;;;49563:2;49523:6;;;;;;;;;;;49516:26;;;;:51;;;;;:::i;:::-;49578:59;39476:42;49633:2;49585:12;;;;;;;;;;;49578:32;;;;:59;;;;;:::i;:::-;49650:41;39476:42;49689:1;49657:4;;;;;;;;;;;49650:24;;;;:41;;;;;:::i;:::-;49702:51;39476:42;49749:2;49709:4;;;;;;;;;;;49702:24;;;;:51;;;;;:::i;:::-;49766:45;39476:42;49809:1;49773:8;;;;;;;;;;;49766:28;;;;:45;;;;;:::i;:::-;49822:55;39476:42;49873:2;49829:8;;;;;;;;;;;49822:28;;;;:55;;;;;:::i;:::-;49890:45;39476:42;49933:1;49897:8;;;;;;;;;;;49890:28;;;;:45;;;;;:::i;:::-;49946:55;39476:42;49997:2;49953:8;;;;;;;;;;;49946:28;;;;:55;;;;;:::i;:::-;49351:658::o;12195:422::-;12255:4;12463:12;12574:7;12562:20;12554:28;;12608:1;12601:4;:8;12594:15;;;12195:422;;;:::o;45495:1072::-;45537:17;45587:4;45570:21;;:10;:13;45581:1;45570:13;;;;;;;;;;;;;;;;;;;;;;;:21;;;45567:302;;;45626:12;;;;;;;;;;;45619:30;;;45658:4;45619:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45607:57;;45708:11;:25;45720:12;;;;;;;;;;;45708:25;;;;;;;;;;;;;;;;;;;;;;;;;45690:98;;;45789:9;45800:1;45804:23;45837:4;45844:12;45852:3;45844;:7;;:12;;;;:::i;:::-;45690:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45567:302;45901:4;45884:21;;:10;:13;45895:1;45884:13;;;;;;;;;;;;;;;;;;;;;;;:21;;;45881:291;;;45940:12;;;;;;;;;;;45933:30;;;45972:4;45933:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45921:57;;46011:11;:25;46023:12;;;;;;;;;;;46011:25;;;;;;;;;;;;;;;;;;;;;;;;;45993:98;;;46092:9;46103:1;46107:23;46140:4;46147:12;46155:3;46147;:7;;:12;;;;:::i;:::-;45993:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45881:291;46184:12;46199:72;41166:5;46199:51;46241:8;;46206:4;;;;;;;;;;;46199:22;;;46230:4;46199:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:41;;:51;;;;:::i;:::-;:55;;:72;;;;:::i;:::-;46184:87;;46284:21;46308:38;41166:5;46308:17;46317:7;;46308:4;:8;;:17;;;;:::i;:::-;:21;;:38;;;;:::i;:::-;46284:62;;46357:52;46383:10;46395:13;46364:4;;;;;;;;;;;46357:25;;;;:52;;;;;:::i;:::-;46422:26;46451:42;41166:5;46451:21;46460:11;;46451:4;:8;;:21;;;;:::i;:::-;:25;;:42;;;;:::i;:::-;46422:71;;46504:55;46530:8;;;;;;;;;;;46540:18;46511:4;;;;;;;;;;;46504:25;;;;:55;;;;;:::i;:::-;45495:1072;;;;:::o;46680:801::-;46724:12;46739:44;46781:1;46746:4;;;;;;;;;;;46739:22;;;46770:4;46739:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:41;;:44;;;;:::i;:::-;46724:59;;46809:4;;;;;;;;;;;46797:16;;:8;;;;;;;;;;;:16;;;46794:195;;46847:11;:21;46859:8;;;;;;;;;;;46847:21;;;;;;;;;;;;;;;;;;;;;;;;;46829:94;;;46924:4;46930:1;46933:14;46957:4;46964:12;46972:3;46964;:7;;:12;;;;:::i;:::-;46829:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46794:195;47016:4;;;;;;;;;;;47004:16;;:8;;;;;;;;;;;:16;;;47001:195;;47054:11;:21;47066:8;;;;;;;;;;;47054:21;;;;;;;;;;;;;;;;;;;;;;;;;47036:94;;;47131:4;47137:1;47140:14;47164:4;47171:12;47179:3;47171;:7;;:12;;;;:::i;:::-;47036:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47001:195;47218:14;47242:8;;;;;;;;;;;47235:26;;;47270:4;47235:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47218:58;;47287:14;47311:8;;;;;;;;;;;47304:26;;;47339:4;47304:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47287:58;;39476:42;47358:44;;;47403:8;;;;;;;;;;;47413;;;;;;;;;;;47423:6;47431;47439:1;47442;47453:4;47460:12;47468:3;47460;:7;;:12;;;;:::i;:::-;47358:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46680:801;;;:::o;6971:181::-;7029:7;7049:9;7065:1;7061;:5;7049:17;;7090:1;7085;:6;;7077:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7143:1;7136:8;;;6971:181;;;;:::o;34068:118::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34138:4:::1;34128:7;;:14;;;;;;;;;;;;;;;;;;34158:20;34165:12;:10;:12::i;:::-;34158:20;;;;;;;;;;;;;;;;;;;;34068:118::o:0;50017:321::-;50065:41;50092:10;;;;;;;;;;;50104:1;50072:6;;;;;;;;;;;50065:26;;;;:41;;;;;:::i;:::-;50117:49;39476:42;50164:1;50124:12;;;;;;;;;;;50117:32;;;;:49;;;;;:::i;:::-;50177:41;39476:42;50216:1;50184:4;;;;;;;;;;;50177:24;;;;:41;;;;;:::i;:::-;50229:45;39476:42;50272:1;50236:8;;;;;;;;;;;50229:28;;;;:45;;;;;:::i;:::-;50285;39476:42;50328:1;50292:8;;;;;;;;;;;50285:28;;;;:45;;;;;:::i;:::-;50017:321::o;31440:761::-;31864:23;31890:69;31918:4;31890:69;;;;;;;;;;;;;;;;;31898:5;31890:27;;;;:69;;;;;:::i;:::-;31864:95;;31994:1;31974:10;:17;:21;31970:224;;;32116:10;32105:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32097:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31970:224;31440:761;;;:::o;16490:979::-;16620:12;16653:18;16664:6;16653:10;:18::i;:::-;16645:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16779:12;16793:23;16820:6;:11;;16840:8;16851:4;16820:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16778:78;;;;16871:7;16867:595;;;16902:10;16895:17;;;;;;16867:595;17036:1;17016:10;:17;:21;17012:439;;;17279:10;17273:17;17340:15;17327:10;17323:2;17319:19;17312:44;17227:148;17422:12;17415:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16490:979;;;;;;;:::o;7874:192::-;7960:7;7993:1;7988;:6;;7996:12;7980:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8020:9;8036:1;8032;:5;8020:17;;8057:1;8050:8;;;7874:192;;;;;:::o;9900:278::-;9986:7;10018:1;10014;:5;10021:12;10006:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10045:9;10061:1;10057;:5;;;;;;10045:17;;10169:1;10162:8;;;9900:278;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://74420c436171933709b65d30dbb87a340bf1378eca14708a0126049b5ca9a0a5
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.