Contract 0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8484f34c9235c57acf49122415dc8a5ae73466a3c9870b9b9af2201ef21b7d67Harvest422420292022-07-07 17:14:416 secs ago0xb8924595019afb894150a9c7cbec3362999b9f94 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.005744999
0xf4c91e0b9025011e6cb7aa3701aea0b7812bfb4c61799914d9dd50b268f103ddHarvest422418992022-07-07 17:12:012 mins ago0x5cfb7b1345d0ec23e1f9181c61e5698c9b5020b5 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.004061214
0x0dea3be9303da8ae0968825b42d32f14adbdd12600ea25e48568ecdbecbfd447Harvest422416562022-07-07 17:07:437 mins ago0x33da80ce59602c2d66da944392cdf95bd4928c5e IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.007523218436
0x8c89ea159c235ce1180b959d6ebf2a7fbd6449bdf512c82241d0c74909e8b88eHarvest422415502022-07-07 17:05:299 mins ago0xb8924595019afb894150a9c7cbec3362999b9f94 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.007650345
0x8800bf8c72f8a093ff89f7b0c70020be6ad8bb9ee68950f019ebf8d8e60fc5b2Harvest422412642022-07-07 16:57:3817 mins ago0x70ecc7fecaea8d67e820035ed48c53706e7f2079 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.003782234956
0xb857d60fcbdba1a91d57d04e804871bfd77792f2f77bcdbbcf33ca285199ebf8Harvest422409632022-07-07 16:51:5222 mins ago0x5cfb7b1345d0ec23e1f9181c61e5698c9b5020b5 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.003609968
0x75d796835dac8200a4314b3fab6f2cc8bc8bc4ad604220bb0a1b0acd4d9d71ceHarvest422407442022-07-07 16:47:5226 mins ago0x5cfb7b1345d0ec23e1f9181c61e5698c9b5020b5 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.003609968
0xa8360824b8e7c46cdfc93c693d8a4f241c24af07a573504bb442d2b8db29f6ceHarvest422405912022-07-07 16:45:1429 mins ago0xb1f1a335b0b29e29b24cfe718987dcb100418083 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.003609968
0x604f925c85d24e8c734ac3d48c435947efa902755c5ec271acaea2155830e1d8Harvest422404082022-07-07 16:41:4533 mins ago0xb1f1c46ecec6748c1f1e6d6bccff1fc9417318c0 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.003755088713
0x2a4ec69aa1cea3f9db821a9b890dd9d90b5b9c9a3478138a2773576a6e08b3afHarvest422402142022-07-07 16:38:1536 mins ago0xb1f1c46ecec6748c1f1e6d6bccff1fc9417318c0 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.00506298012
0x2d411e79bcef249d8709648a0bee46664a5a30599c0e603e56a00f0b37187404Harvest422400142022-07-07 16:33:4341 mins ago0xb1f1d0d372f168e36119b8ddee785a737d908db2 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.018825441624
0x0b6c4385e267f2ec13c4b52c984237b35937f5f41319af75b89fc83fbad87686Harvest422392622022-07-07 16:13:121 hr 1 min ago0x33da80ce59602c2d66da944392cdf95bd4928c5e IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002256275
0xb1a75c784999f88195251c45de468643c6d2fcd20c55061e0cfd6cbc6dfbbadaHarvest422391542022-07-07 16:11:101 hr 3 mins ago0xb1f1c46ecec6748c1f1e6d6bccff1fc9417318c0 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0xe6dc4c7798c16c273f8ab68c05ec22f4c30aea3b1a4dd0f5905000f8c5597e17Harvest422390312022-07-07 16:09:121 hr 5 mins ago0x5cfb7b1345d0ec23e1f9181c61e5698c9b5020b5 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0xdbbe240abea93c0afe41333d34c243e4fe70ce7c7e7c0d5711e53dfcb5624e7cHarvest422389062022-07-07 16:07:041 hr 7 mins ago0xb1f1d0d372f168e36119b8ddee785a737d908db2 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0x34d7a0f073e5947a8b531b00382d708a9003f1e79c8269722cb87249a5901243Harvest422387832022-07-07 16:04:571 hr 9 mins ago0x70ecc7fecaea8d67e820035ed48c53706e7f2079 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002737466882
0x57e4e873822f60bcbf0f9a448b993d55920e1a5e444f56358d7f33e569cdb8a5Harvest422386222022-07-07 16:02:261 hr 12 mins ago0xb1f1a335b0b29e29b24cfe718987dcb100418083 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0x3aa91ec3c9d22286296d41e00918dbe79219f73c042fe7fffc74bab6dd12d7f5Harvest422384992022-07-07 16:00:251 hr 14 mins ago0x7a0bb56e6cbc290a301f6beea4eea0f9842ed2e9 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0x93ca2e0fed06724fc9251797c892aa7ee9cf0a7f472d67fa0ff5e84adcc43576Harvest422383762022-07-07 15:58:021 hr 16 mins ago0x5cfb7b1345d0ec23e1f9181c61e5698c9b5020b5 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0xffb2c2241d5fcbeda2b947f9c54d60b4063eb5bf54f6f28b89a0aecc55ef5d13Harvest422382532022-07-07 15:56:001 hr 18 mins ago0xb1f1c46ecec6748c1f1e6d6bccff1fc9417318c0 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.00270753
0xf8147e80bdfd45d47ab95233fc923cf6f406423674bca54e27c032d5a68d54c5Harvest422381302022-07-07 15:53:371 hr 21 mins ago0xb1f1d0d372f168e36119b8ddee785a737d908db2 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.0034745942
0x2f27a4e9337d4679a9fc1737e0d6a26569eba93511584cc71f520012585847e4Harvest422379802022-07-07 15:50:161 hr 24 mins ago0xb1f1d0d372f168e36119b8ddee785a737d908db2 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.003191211712
0xc74eac431d25a6c18420db34fe06469d0eb0137f136ba0fe4a53bba983dd2c24Harvest422378362022-07-07 15:47:041 hr 27 mins ago0x33da80ce59602c2d66da944392cdf95bd4928c5e IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002481853
0x7ae9d304934cc71ee4329167976283dd3c0d773c4d74ce46fad95caf49bdf4a6Harvest422377212022-07-07 15:45:111 hr 29 mins ago0xb1f1c46ecec6748c1f1e6d6bccff1fc9417318c0 IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
0x850a616524f70df44ebf128a6b01a44f8c086856e6710244603a6e032cd4b861Harvest422375982022-07-07 15:43:151 hr 31 mins ago0x33da80ce59602c2d66da944392cdf95bd4928c5e IN  0x30ee1424e88eb35fe4d1bb1b8423a1acbdd1e8ee0 FTM0.002707476
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x0d3d89fada066865d68dd88aea513aad2e80d22bfdbed1af50bcbe365bca006b257956572021-12-23 10:57:57196 days 6 hrs ago 0xaa4273346d21a935bdf1302418d9531342d8142c  Contract Creation0 FTM
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xe0C44C7488EeE12345731B8fD7675c662d296C9F

Contract Name:
LpAssetStrategyV2

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : LpAssetStrategyV2.sol
// 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;
    }
}

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;
    }
}

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);
}

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;
    }
}

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 { }
}

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");
        }
    }
}

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 {

    event Paused(address account);

    event Unpaused(address account);

    bool private _paused;

    constructor () internal {
        _paused = false;
    }

    function paused() public view returns (bool) {
        return _paused;
    }

    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

pragma solidity >=0.6.0 <0.8.0;

library StringUtils {
    function concat(string memory a, string memory b) internal pure returns (string memory) {
        return string(abi.encodePacked(a, b));
    }
}

pragma solidity ^0.6.0;

interface IUniSwapRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    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 removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

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 deposit(uint256 poolId, uint256 _amount) external;
    function withdraw(uint256 poolId, uint256 _amount) external;
    function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256);
    function emergencyWithdraw(uint256 _pid) external;
}

pragma solidity ^0.6.0;

contract LpAssetStrategyV2 is Ownable, Pausable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    // Tokens used
    address public wrapped = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83);
    address public output;
    address public want;
    address public lpToken0;
    address public lpToken1;

    // Fee structure
    uint256 public WITHDRAWAL_MAX = 100000;
    uint256 public WITHDRAW_FEE = 100;  //      0.1% of withdrawal amount
    uint256 public MAX_FEE = 1000;
    uint256 public CALL_FEE = 100;  //          10% of Platform fee  
    uint256 public STRATEGIST_FEE = 100; //     10% of Platform fee
    uint256 public FEE_BATCH = 750; //          75% of Platform fee
    uint256 public INSURANCE_FEE = 50; //        5% of Platform fee
    uint256 public PLATFORM_FEE = 40; //         4% Platform fee 

    // Third party contracts
    address public masterchef;
    address public unirouter;
    address public wrappedToLp0Router;
    address public wrappedToLp1Router;
    address public outputToWrappedRouter;

    // Controllers
    uint256 public poolId;
    bool public harvestOnDeposit;

    // Grim addresses
    address public harvester = address(0xb8924595019aFB894150a9C7CBEc3362999b9f94);
    address public strategist;
    address public grimFeeRecipient;
    address public insuranceFund;
    address public sentinel;
    address public vault;

    // Routes
    address[] public outputToWrappedRoute;
    address[] public wrappedToLp0Route;
    address[] public wrappedToLp1Route;
    address[] customPath;

    string pendingRewardsFunctionName = "pending output token";

    event StratHarvest(address indexed harvester);

    constructor(
        address _want,
        uint256 _poolId,
        address _masterChef,
        address _output,
        address _unirouter,
        address _sentinel,
        address _grimFeeRecipient,
        address _insuranceFund, 
        string memory _pendingRewardsFunctionName
    ) public {
        strategist = msg.sender;
        harvestOnDeposit = true;

        want = _want;
        poolId = _poolId;
        masterchef = _masterChef;
        output = _output;
        unirouter = _unirouter;
        sentinel = _sentinel;
        grimFeeRecipient = _grimFeeRecipient;
        insuranceFund = _insuranceFund;

        outputToWrappedRoute = [output, wrapped];
        outputToWrappedRouter = unirouter;
        wrappedToLp0Router = unirouter;
        wrappedToLp1Router = unirouter;

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

        wrappedToLp0Route = [wrapped, lpToken0];
        wrappedToLp1Route = [wrapped, lpToken1];

        pendingRewardsFunctionName = _pendingRewardsFunctionName;

        _giveAllowances();
    }

    /** @dev Sets the unirouter this contract uses to make transactions */
    function setUnirouter(address _unirouter) external onlyOwner {
        unirouter = _unirouter;
    }

    /** @dev Sets the grim fee recipient */
    function setGrimFeeRecipient(address _feeRecipient) external {
        require(msg.sender == strategist, "!auth");

        grimFeeRecipient = _feeRecipient;
    }

    /** @dev Sets the vault connected to this strategy */
    function setVault(address _vault) external onlyOwner {
        vault = _vault;
    }

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

    /** @dev Deposits funds into the masterchef */
    function deposit() public whenNotPaused {

        if (balanceOfPool() == 0 || !harvestOnDeposit) {
            _deposit();
        } else {
            _deposit();
            _harvest(msg.sender);
        }
    }

    function _deposit() internal whenNotPaused {
        uint256 wantBal = IERC20(want).balanceOf(address(this));
        IMasterChef(masterchef).deposit(poolId, wantBal);
    }

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

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

        IMasterChef(masterchef).withdraw(poolId, _amount.sub(wantBal));
        wantBal = IERC20(want).balanceOf(address(this));             
 
        if (wantBal > _amount) {
            wantBal = _amount;
        }

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

    function setHarvestOnDeposit(bool _harvestOnDeposit) external {
        require(msg.sender == strategist, "!auth");

        harvestOnDeposit = _harvestOnDeposit;
    }

    function harvest() external {
        require(!Address.isContract(msg.sender), "!auth Contract Harvest");
        _harvest(msg.sender);
    }

    /** @dev Compounds the strategy's earnings and charges fees */
    function _harvest(address caller) internal whenNotPaused {
        if (caller != vault){
            require(!Address.isContract(msg.sender), "!auth Contract Harvest");
        }
        IMasterChef(masterchef).deposit(poolId, 0);
        if (balanceOf() != 0){
            chargeFees(caller);
            addLiquidity();
        }
        _deposit();

        emit StratHarvest(msg.sender);
    }

    /** @dev This function converts all funds to WFTM, charges fees, and sends fees to respective accounts */
    function chargeFees(address caller) internal {                   
        uint256 toWrapped = IERC20(output).balanceOf(address(this));

        IUniSwapRouter(outputToWrappedRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(toWrapped, 0, outputToWrappedRoute, address(this), now);

        uint256 wrappedBal = IERC20(wrapped).balanceOf(address(this)).mul(PLATFORM_FEE).div(MAX_FEE);          

        uint256 callFeeAmount = wrappedBal.mul(CALL_FEE).div(MAX_FEE);        
        IERC20(wrapped).safeTransfer(caller, callFeeAmount);

        uint256 grimFeeAmount = wrappedBal.mul(FEE_BATCH).div(MAX_FEE);        
        IERC20(wrapped).safeTransfer(grimFeeRecipient, grimFeeAmount);

        uint256 strategistFee = wrappedBal.mul(STRATEGIST_FEE).div(MAX_FEE);    
        IERC20(wrapped).safeTransfer(strategist, strategistFee);

        uint256 insuranceFee = wrappedBal.mul(INSURANCE_FEE).div(MAX_FEE);
        IERC20(wrapped).safeTransfer(insuranceFund, insuranceFee);
    }

    /** @dev Converts WFTM to both sides of the LP token and builds the liquidity pair */
    function addLiquidity() internal {
        uint256 wrappedHalf = IERC20(wrapped).balanceOf(address(this)).div(2);

        approveTxnIfNeeded(wrapped, wrappedToLp0Router, wrappedHalf);
        approveTxnIfNeeded(wrapped, wrappedToLp1Router, wrappedHalf);

        if (lpToken0 != wrapped) {
            IUniSwapRouter(wrappedToLp0Router).swapExactTokensForTokensSupportingFeeOnTransferTokens(wrappedHalf, 0, wrappedToLp0Route, address(this), now);
        }
        if (lpToken1 != wrapped) {
            IUniSwapRouter(wrappedToLp1Router).swapExactTokensForTokensSupportingFeeOnTransferTokens(wrappedHalf, 0, wrappedToLp1Route, address(this), now);
        }

        uint256 lp0Bal = IERC20(lpToken0).balanceOf(address(this));
        uint256 lp1Bal = IERC20(lpToken1).balanceOf(address(this));
        IUniSwapRouter(unirouter).addLiquidity(lpToken0, lpToken1, lp0Bal, lp1Bal, 1, 1, address(this), now);
    }

    function setPendingRewardsFunctionName(string calldata _pendingRewardsFunctionName) external {
        require (msg.sender == strategist, "!auth");
        pendingRewardsFunctionName = _pendingRewardsFunctionName;
    }

    /** @dev Determines the amount of reward in WFTM upon calling the harvest function */
    function callReward() public view returns (uint256) {
        uint256 outputBal = rewardsAvailable();
        uint256 nativeOut;
        if (outputBal > 0) {
            try IUniSwapRouter(unirouter).getAmountsOut(outputBal, outputToWrappedRoute)
                returns (uint256[] memory amountOut) 
            {
                nativeOut = amountOut[amountOut.length -1];
            }
            catch {}
        }
        return nativeOut.mul(PLATFORM_FEE).div(MAX_FEE).mul(CALL_FEE).div(MAX_FEE);
    }

    /** @dev Returns the amount of rewards that are pending */
    function rewardsAvailable() public view returns (uint256) {
        string memory signature = StringUtils.concat(pendingRewardsFunctionName, "(uint256,address)");
        bytes memory result = Address.functionStaticCall(
            masterchef, 
            abi.encodeWithSignature(
                signature,
                poolId,
                address(this)
            )
        );  
        return abi.decode(result, (uint256));
    }

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

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

    /** @dev it calculates how much 'want' the strategy has working in the farm */
    function balanceOfPool() public view returns (uint256) {
        (uint256 _amount, ) = IMasterChef(masterchef).userInfo(poolId, address(this));
        return _amount;
    }

    /** @dev called as part of strat migration. Sends all the available funds back to the vault */
    function retireStrat() external {
        require(msg.sender == vault, "!vault");
        IMasterChef(masterchef).emergencyWithdraw(poolId);
        uint256 wantBal = IERC20(want).balanceOf(address(this));
        IERC20(want).transfer(vault, wantBal);
    }

    /** @dev Pauses the strategy contract and executes the emergency withdraw function */
    function panic() public {
        require(msg.sender == strategist || msg.sender == sentinel, "!auth");
        pause();
        IMasterChef(masterchef).emergencyWithdraw(poolId);
    }

    /** @dev Pauses the strategy contract */
    function pause() public {
        require(msg.sender == strategist || msg.sender == sentinel, "!auth");
        _pause();
        _removeAllowances();
    }

    /** @dev Unpauses the strategy contract */
    function unpause() external {
        require(msg.sender == strategist || msg.sender == sentinel, "!auth");
        _unpause();
        _giveAllowances();
        deposit();
    }

    /** @dev Gives allowances to spenders */
    function _giveAllowances() internal {
        IERC20(want).safeApprove(masterchef, uint256(-1));
        IERC20(output).safeApprove(outputToWrappedRouter, uint256(-1));
        IERC20(lpToken0).safeApprove(unirouter, 0);
        IERC20(lpToken0).safeApprove(unirouter, uint256(-1));
        IERC20(lpToken1).safeApprove(unirouter, 0);
        IERC20(lpToken1).safeApprove(unirouter, uint256(-1));
    }

    /** @dev Removes allowances to spenders */
    function _removeAllowances() internal {
        IERC20(want).safeApprove(masterchef, 0);
        IERC20(output).safeApprove(outputToWrappedRouter, 0);
        IERC20(lpToken0).safeApprove(unirouter, 0);
        IERC20(lpToken1).safeApprove(unirouter, 0);
    }

    /** @dev This function exists incase tokens that do not match the {want} of this strategy accrue.  For example: an amount of
    tokens sent to this address in the form of an airdrop of a different token type.  This will allow Grim to convert
    said token to the {want} token of the strategy, allowing the amount to be paid out to stakers in the matching vault. */ 
    function makeCustomTxn(address _fromToken, address _toToken, address _unirouter, uint256 _amount) external {
        require (msg.sender == strategist, "!auth for custom txn");
        approveTxnIfNeeded(_fromToken, _unirouter, _amount);
        customPath = [_fromToken, _toToken];
        IUniSwapRouter(_unirouter).swapExactTokensForTokens(_amount, 0, customPath, address(this), now.add(600));
    }

    /** @dev Modular function to set the output to wrapped route */
    function setOutputToWrappedRoute(address[] memory _route, address _router) external {
        require(msg.sender == strategist, "!auth");

        outputToWrappedRoute = _route;
        outputToWrappedRouter = _router;
    }

    /** @dev Modular function to set the transaction route of LP token 0 */
    function setWrappedToLp0Route(address[] memory _route, address _router) external {
        require(msg.sender == strategist, "!auth");

        wrappedToLp0Route = _route;
        wrappedToLp0Router = _router;
    }

    /** @dev Modular function to set the transaction route of LP token 1 */
    function setWrappedToLp1Route(address[] memory _route, address _router) external {
        require(msg.sender == strategist, "!auth");

        wrappedToLp1Route = _route;
        wrappedToLp1Router = _router;
    }

    /** @dev Internal function to approve the transaction if the allowance is below transaction amount */
    function approveTxnIfNeeded(address _token, address _spender, uint256 _amount) internal {
        if (IERC20(_token).allowance(address(this), _spender) < _amount) {
            IERC20(_token).safeApprove(_spender, uint256(0));
            IERC20(_token).safeApprove(_spender, uint256(-1));
        }
    }

    /** @dev Function to set the fee amounts up to a maximum of five percent */
    function setFees(uint256 newCallFee, uint256 newStratFee, uint256 newWithdrawFee, uint256 newFeeBatchAmount, uint256 newInsuranceFeeAmount) external {
        require(msg.sender == strategist, "!auth");
        require(newWithdrawFee < 2000, "withdrawal fee too high");
        CALL_FEE = newCallFee;
        STRATEGIST_FEE = newStratFee;
        WITHDRAW_FEE = newWithdrawFee;
        FEE_BATCH = newFeeBatchAmount;
        INSURANCE_FEE = newInsuranceFeeAmount;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_want","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"address","name":"_masterChef","type":"address"},{"internalType":"address","name":"_output","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"address","name":"_sentinel","type":"address"},{"internalType":"address","name":"_grimFeeRecipient","type":"address"},{"internalType":"address","name":"_insuranceFund","type":"address"},{"internalType":"string","name":"_pendingRewardsFunctionName","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_BATCH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INSURANCE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PLATFORM_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"callReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"grimFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvester","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"insuranceFund","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":[{"internalType":"address","name":"_fromToken","type":"address"},{"internalType":"address","name":"_toToken","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"makeCustomTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"masterchef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"output","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"outputToWrappedRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"outputToWrappedRouter","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":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sentinel","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCallFee","type":"uint256"},{"internalType":"uint256","name":"newStratFee","type":"uint256"},{"internalType":"uint256","name":"newWithdrawFee","type":"uint256"},{"internalType":"uint256","name":"newFeeBatchAmount","type":"uint256"},{"internalType":"uint256","name":"newInsuranceFeeAmount","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeRecipient","type":"address"}],"name":"setGrimFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_route","type":"address[]"},{"internalType":"address","name":"_router","type":"address"}],"name":"setOutputToWrappedRoute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_pendingRewardsFunctionName","type":"string"}],"name":"setPendingRewardsFunctionName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_route","type":"address[]"},{"internalType":"address","name":"_router","type":"address"}],"name":"setWrappedToLp0Route","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_route","type":"address[]"},{"internalType":"address","name":"_router","type":"address"}],"name":"setWrappedToLp1Route","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrapped","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wrappedToLp0Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wrappedToLp0Router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wrappedToLp1Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wrappedToLp1Router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040527321be370d5312f44cb42ce377bc9b8a0cef1a4c83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620186a060065560646007556103e860085560646009556064600a556102ee600b556032600c556028600d5573b8924595019afb894150a9c7cbec3362999b9f94601460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280601481526020017f70656e64696e67206f757470757420746f6b656e000000000000000000000000815250601e908051906020019062000127929190620013bc565b503480156200013557600080fd5b50604051620074953803806200749583398181016040526101208110156200015c57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080516040519392919084640100000000821115620001cd57600080fd5b83820191506020820185811115620001e457600080fd5b82518660018202830111640100000000821117156200020257600080fd5b8083526020830192505050908051906020019080838360005b83811015620002385780820151818401526020810190506200021b565b50505050905090810190601f168015620002665780820380516001836020036101000a031916815260200191505b5060405250505060006200027f62000ada60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff02191690831515021790555033601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601460006101000a81548160ff02191690831515021790555088600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508760138190555086600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601a9060026200062492919062001443565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015620007b757600080fd5b505afa158015620007cc573d6000803e3d6000fd5b505050506040513d6020811015620007e357600080fd5b8101908080519060200190929190505050600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200089d57600080fd5b505afa158015620008b2573d6000803e3d6000fd5b505050506040513d6020811015620008c957600080fd5b8101908080519060200190929190505050600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601b906002620009dd92919062001443565b506040518060400160405280600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601c90600262000aa192919062001443565b5080601e908051906020019062000aba929190620013bc565b5062000acb62000ae260201b60201c565b5050505050505050506200152e565b600033905090565b62000b78600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000e2a60201b620036c6179092919060201c565b62000c0e601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000e2a60201b620036c6179092919060201c565b62000c85600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000e2a60201b620036c6179092919060201c565b62000d1b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000e2a60201b620036c6179092919060201c565b62000d92600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000e2a60201b620036c6179092919060201c565b62000e28600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000e2a60201b620036c6179092919060201c565b565b600081148062000efc575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801562000ebd57600080fd5b505afa15801562000ed2573d6000803e3d6000fd5b505050506040513d602081101562000ee957600080fd5b8101908080519060200190929190505050145b62000f53576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806200745f6036913960400191505060405180910390fd5b62000ff88363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505062000ffd60201b60201c565b505050565b606062001066826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16620010f760201b6200388b179092919060201c565b9050600081511115620010f2578080602001905160208110156200108957600080fd5b8101908080519060200190929190505050620010f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062007435602a913960400191505060405180910390fd5b5b505050565b60606200110e84846000856200111760201b60201c565b90509392505050565b60608247101562001174576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806200740f6026913960400191505060405180910390fd5b6200118585620012d760201b60201c565b620011f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106200124a578051825260208201915060208101905060208303925062001225565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620012ae576040519150601f19603f3d011682016040523d82523d6000602084013e620012b3565b606091505b5091509150620012cb828286620012ea60201b60201c565b92505050949350505050565b600080823b905060008111915050919050565b60608315620012fc57829050620013b5565b600083511115620013105782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620013795780820151818401526020810190506200135c565b50505050905090810190601f168015620013a75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620013ff57805160ff191683800117855562001430565b8280016001018555821562001430579182015b828111156200142f57825182559160200191906001019062001412565b5b5090506200143f9190620014d2565b5090565b828054828255906000526020600020908101928215620014bf579160200282015b82811115620014be5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062001464565b5b509050620014ce9190620014f1565b5090565b5b80821115620014ed576000816000905550600101620014d3565b5090565b5b808211156200152a57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101620014f2565b5090565b615ed1806200153e6000396000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c8063722713f7116101d3578063bc063e1a11610104578063f20eaeb8116100a2578063f6e1021c1161007c578063f6e1021c14610e36578063fb1db27814610f0e578063fb61778714610f42578063fbfa77cf14610f4c57610378565b8063f20eaeb814610d8a578063f2fde38b14610dbe578063f58c251c14610e0257610378565b8063d2969d01116100de578063d2969d0114610c0c578063d92f3d7314610c50578063e7a7250a14610c94578063ea8793ad14610cb257610378565b8063bc063e1a14610bc6578063c1a3d44c14610be4578063d0e30db014610c0257610378565b8063951d6d2011610171578063a78f0e941161014b578063a78f0e9414610a9c578063a97a329614610ad0578063b50b367014610b5e578063b790230314610b9257610378565b8063951d6d2014610a4257806397fd323d14610a605780639bff5ddb14610a7e57610378565b80638456cb59116101ad5780638456cb59146109b0578063877562b6146109ba5780638912cb8b146109ee5780638da5cb5b14610a0e57610378565b8063722713f714610940578063743b7c631461095e5780637d38ca651461099257610378565b80634641257d116102ad578063573fef0a1161024b5780635ee167c0116102255780635ee167c0146107e65780636817031b1461081a5780636a23d9231461085e578063715018a61461093657610378565b8063573fef0a1461074357806359e791381461074d5780635c975abb146107c657610378565b80634c5a7dca116102875780634c5a7dca1461066557806350e70d48146106bd578063538d8669146106f157806354518b1a1461072557610378565b80634641257d1461061d5780634700d305146106275780634bdaeac11461063157610378565b80631fe4a6861161031a57806334fbc9a1116102f457806334fbc9a11461057f5780633e0dc34e1461059d5780633f4ba83a146105bb57806341a7ef49146105c557610378565b80631fe4a686146104e9578063257ae0de1461051d5780632e1a7d4d1461055157610378565b8063115880861161035657806311588086146104215780631573b5771461043f5780631d1721271461045d5780631f1fcd51146104b557610378565b8063025e30b01461037d57806304a66b481461039b5780630e8fbb5a146103f1575b600080fd5b610385610f80565b6040518082815260200191505060405180910390f35b6103ef600480360360a08110156103b157600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190505050610f86565b005b61041f6004803603602081101561040757600080fd5b810190808035151590602001909291905050506110ea565b005b6104296111ca565b6040518082815260200191505060405180910390f35b6104476112ae565b6040518082815260200191505060405180910390f35b6104896004803603602081101561047357600080fd5b81019080803590602001909291905050506112b4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104bd6112f0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f1611316565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61052561133c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61057d6004803603602081101561056757600080fd5b8101908080359060200190929190505050611362565b005b6105876117da565b6040518082815260200191505060405180910390f35b6105a56117e0565b6040518082815260200191505060405180910390f35b6105c36117e6565b005b6105f1600480360360208110156105db57600080fd5b810190808035906020019092919050505061191b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610625611957565b005b61062f6119de565b005b610639611b92565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106916004803603602081101561067b57600080fd5b8101908080359060200190929190505050611bb8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106c5611bf4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106f9611c1a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61072d611c40565b6040518082815260200191505060405180910390f35b61074b611c46565b005b6107c46004803603602081101561076357600080fd5b810190808035906020019064010000000081111561078057600080fd5b82018360208201111561079257600080fd5b803590602001918460018302840111640100000000831117156107b457600080fd5b9091929391929390505050611c48565b005b6107ce611d21565b60405180821515815260200191505060405180910390f35b6107ee611d37565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61085c6004803603602081101561083057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d5d565b005b6109346004803603604081101561087457600080fd5b810190808035906020019064010000000081111561089157600080fd5b8201836020820111156108a357600080fd5b803590602001918460208302840111640100000000831117156108c557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e69565b005b61093e611f88565b005b61094861210e565b6040518082815260200191505060405180910390f35b610966612136565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61099a61215c565b6040518082815260200191505060405180910390f35b6109b8612162565b005b6109c261228f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6109f66122b5565b60405180821515815260200191505060405180910390f35b610a166122c8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a4a6122f1565b6040518082815260200191505060405180910390f35b610a686122f7565b6040518082815260200191505060405180910390f35b610a8661254a565b6040518082815260200191505060405180910390f35b610aa4612550565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b5c60048036036080811015610ae657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612576565b005b610b666128b1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b9a6128d7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610bce6128fd565b6040518082815260200191505060405180910390f35b610bec612903565b6040518082815260200191505060405180910390f35b610c0a6129ce565b005b610c4e60048036036020811015610c2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612a9a565b005b610c9260048036036020811015610c6657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ba1565b005b610c9c612cad565b6040518082815260200191505060405180910390f35b610d8860048036036040811015610cc857600080fd5b8101908080359060200190640100000000811115610ce557600080fd5b820183602082011115610cf757600080fd5b80359060200191846020830284011164010000000083111715610d1957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ed7565b005b610d92612ff6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610e0060048036036020811015610dd457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061301c565b005b610e0a613227565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610f0c60048036036040811015610e4c57600080fd5b8101908080359060200190640100000000811115610e6957600080fd5b820183602082011115610e7b57600080fd5b80359060200191846020830284011164010000000083111715610e9d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061324d565b005b610f1661336c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610f4a613392565b005b610f546136a0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600b5481565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611049576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6107d083106110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f7769746864726177616c2066656520746f6f206869676800000000000000000081525060200191505060405180910390fd5b8460098190555083600a819055508260078190555081600b8190555080600c819055505050505050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393f1a40b601354306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b15801561125f57600080fd5b505afa158015611273573d6000803e3d6000fd5b505050506040513d604081101561128957600080fd5b8101908080519060200190929190805190602001909291905050505090508091505090565b600c5481565b601a81815481106112c157fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611425576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156114b057600080fd5b505afa1580156114c4573d6000803e3d6000fd5b505050506040513d60208110156114da57600080fd5b81019080805190602001909291905050509050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e7060135461154184866138a390919063ffffffff16565b6040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561157e57600080fd5b505af1158015611592573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561161f57600080fd5b505afa158015611633573d6000803e3d6000fd5b505050506040513d602081101561164957600080fd5b8101908080519060200190929190505050905081811115611668578190505b6116706122c8565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614806116ad57506116ac611d21565b5b1561172657611721601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138ed9092919063ffffffff16565b6117d6565b60006117516006546117436007548561398f90919063ffffffff16565b613a1590919063ffffffff16565b90506117d4601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661178c83856138a390919063ffffffff16565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138ed9092919063ffffffff16565b505b5050565b600d5481565b60135481565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061188f5750601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b611909613a5f565b611911613b51565b6119196129ce565b565b601b818154811061192857fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61196033613e6f565b156119d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f216175746820436f6e747261637420486172766573740000000000000000000081525060200191505060405180910390fd5b6119dc33613e82565b565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a875750601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611af9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b611b01612162565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e6013546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b7857600080fd5b505af1158015611b8c573d6000803e3d6000fd5b50505050565b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601c8181548110611bc557fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b8181601e9190611d1c929190615b99565b505050565b60008060149054906101000a900460ff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d656140de565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e25576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f2c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b81601c9080519060200190611f42929190615c19565b5080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611f906140de565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600061213161211b6111ca565b612123612903565b6140e690919063ffffffff16565b905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061220b5750601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61227d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b61228561416e565b61228d614262565b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601460009054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60095481565b600080612302612cad565b90506000808211156124f257600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d06ca61f83601a6040518363ffffffff1660e01b8152600401808381526020018060200182810382528381815481526020019150805480156123df57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612395575b5050935050505060006040518083038186803b1580156123fe57600080fd5b505afa9250505080156124cc57506040513d6000823e3d601f19601f82011682018060405250602081101561243257600080fd5b810190808051604051939291908464010000000082111561245257600080fd5b8382019150602082018581111561246857600080fd5b825186602082028301116401000000008211171561248557600080fd5b8083526020830192505050908051906020019060200280838360005b838110156124bc5780820151818401526020810190506124a1565b5050505090500160405250505060015b6124d5576124f1565b806001825103815181106124e557fe5b60200260200101519150505b5b612543600854612535600954612527600854612519600d548861398f90919063ffffffff16565b613a1590919063ffffffff16565b61398f90919063ffffffff16565b613a1590919063ffffffff16565b9250505090565b60075481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612639576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f216175746820666f7220637573746f6d2074786e00000000000000000000000081525060200191505060405180910390fd5b612644848383614424565b60405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601d9060026126c1929190615ca3565b508173ffffffffffffffffffffffffffffffffffffffff166338ed1739826000601d306126f9610258426140e690919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200182810382528581815481526020019150805480156127b157602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612767575b50509650505050505050600060405180830381600087803b1580156127d557600080fd5b505af11580156127e9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561281357600080fd5b810190808051604051939291908464010000000082111561283357600080fd5b8382019150602082018581111561284957600080fd5b825186602082028301116401000000008211171561286657600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561289d578082015181840152602081019050612882565b505050509050016040525050505050505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561298e57600080fd5b505afa1580156129a2573d6000803e3d6000fd5b505050506040513d60208110156129b857600080fd5b8101908080519060200190929190505050905090565b600060149054906101000a900460ff1615612a51576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6000612a5b6111ca565b1480612a745750601460009054906101000a900460ff16155b15612a8657612a81614568565b612a98565b612a8e614568565b612a9733613e82565b5b565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612b5d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612ba96140de565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c69576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006060612d8a601e8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612d4a5780601f10612d1f57610100808354040283529160200191612d4a565b820191906000526020600020905b815481529060010190602001808311612d2d57829003601f168201915b50505050506040518060400160405280601181526020017f2875696e743235362c616464726573732900000000000000000000000000000081525061474d565b90506060612ea8600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360135430604051602401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604051602081830303815290604052906040518082805190602001908083835b60208310612e295780518252602082019150602081019050602083039250612e06565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614815565b9050808060200190516020811015612ebf57600080fd5b81019080805190602001909291905050509250505090565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f9a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b81601b9080519060200190612fb0929190615c19565b5080601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6130246140de565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146130e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561316a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615d866026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613310576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b81601a9080519060200190613326929190615c19565b5080601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613455576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e6013546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156134cc57600080fd5b505af11580156134e0573d6000803e3d6000fd5b505050506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561356f57600080fd5b505afa158015613583573d6000803e3d6000fd5b505050506040513d602081101561359957600080fd5b81019080805190602001909291905050509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561366157600080fd5b505af1158015613675573d6000803e3d6000fd5b505050506040513d602081101561368b57600080fd5b81019080805190602001909291905050505050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000811480613794575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561375757600080fd5b505afa15801561376b573d6000803e3d6000fd5b505050506040513d602081101561378157600080fd5b8101908080519060200190929190505050145b6137e9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180615e666036913960400191505060405180910390fd5b6138868363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614842565b505050565b606061389a8484600085614931565b90509392505050565b60006138e583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614ada565b905092915050565b61398a8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614842565b505050565b6000808314156139a25760009050613a0f565b60008284029050828482816139b357fe5b0414613a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180615df76021913960400191505060405180910390fd5b809150505b92915050565b6000613a5783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614b9a565b905092915050565b600060149054906101000a900460ff16613ae1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613b246140de565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b613be0600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b613c6f601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b613cdf600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b613d6e600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b613dde600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b613e6d600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b565b600080823b905060008111915050919050565b600060149054906101000a900460ff1615613f05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613fd757613f6333613e6f565b15613fd6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f216175746820436f6e747261637420486172766573740000000000000000000081525060200191505060405180910390fd5b5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb15860135460006040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561405757600080fd5b505af115801561406b573d6000803e3d6000fd5b50505050600061407961210e565b146140905761408781614c60565b61408f6151a8565b5b614098614568565b3373ffffffffffffffffffffffffffffffffffffffff167f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb560405160405180910390a250565b600033905090565b600080828401905083811015614164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600060149054906101000a900460ff16156141f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586142356140de565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b6142d2600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b614342601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b6143b2600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b614422600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b565b808373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156144aa57600080fd5b505afa1580156144be573d6000803e3d6000fd5b505050506040513d60208110156144d457600080fd5b81019080805190602001909291905050501015614563576145178260008573ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b614562827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8573ffffffffffffffffffffffffffffffffffffffff166136c69092919063ffffffff16565b5b505050565b600060149054906101000a900460ff16156145eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561467657600080fd5b505afa15801561468a573d6000803e3d6000fd5b505050506040513d60208110156146a057600080fd5b81019080805190602001909291905050509050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158601354836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561473257600080fd5b505af1158015614746573d6000803e3d6000fd5b5050505050565b606082826040516020018083805190602001908083835b602083106147875780518252602082019150602081019050602083039250614764565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106147d857805182526020820191506020810190506020830392506147b5565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905092915050565b606061483a8383604051806060016040528060258152602001615dd26025913961599e565b905092915050565b60606148a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661388b9092919063ffffffff16565b905060008151111561492c578080602001905160208110156148c557600080fd5b810190808051906020019092919050505061492b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615e3c602a913960400191505060405180910390fd5b5b505050565b60608247101561498c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180615dac6026913960400191505060405180910390fd5b61499585613e6f565b614a07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614a575780518252602082019150602081019050602083039250614a34565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614ab9576040519150601f19603f3d011682016040523d82523d6000602084013e614abe565b606091505b5091509150614ace828286615acd565b92505050949350505050565b6000838311158290614b87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614b4c578082015181840152602081019050614b31565b50505050905090810190601f168015614b795780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290614c46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614c0b578082015181840152602081019050614bf0565b50505050905090810190601f168015614c385780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581614c5257fe5b049050809150509392505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015614ceb57600080fd5b505afa158015614cff573d6000803e3d6000fd5b505050506040513d6020811015614d1557600080fd5b81019080805190602001909291905050509050601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601a30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015614e2557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311614ddb575b50509650505050505050600060405180830381600087803b158015614e4957600080fd5b505af1158015614e5d573d6000803e3d6000fd5b505050506000614f4f600854614f41600d54600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015614ef857600080fd5b505afa158015614f0c573d6000803e3d6000fd5b505050506040513d6020811015614f2257600080fd5b810190808051906020019092919050505061398f90919063ffffffff16565b613a1590919063ffffffff16565b90506000614f7c600854614f6e6009548561398f90919063ffffffff16565b613a1590919063ffffffff16565b9050614fcb8482600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138ed9092919063ffffffff16565b6000614ff6600854614fe8600b548661398f90919063ffffffff16565b613a1590919063ffffffff16565b9050615067601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138ed9092919063ffffffff16565b6000615092600854615084600a548761398f90919063ffffffff16565b613a1590919063ffffffff16565b9050615103601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138ed9092919063ffffffff16565b600061512e600854615120600c548861398f90919063ffffffff16565b613a1590919063ffffffff16565b905061519f601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166138ed9092919063ffffffff16565b50505050505050565b60006152816002600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561523857600080fd5b505afa15801561524c573d6000803e3d6000fd5b505050506040513d602081101561526257600080fd5b8101908080519060200190929190505050613a1590919063ffffffff16565b90506152d2600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683614424565b615321600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683614424565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146154d257601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601b30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561549557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161544b575b50509650505050505050600060405180830381600087803b1580156154b957600080fd5b505af11580156154cd573d6000803e3d6000fd5b505050505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461568357601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601c30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561564657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116155fc575b50509650505050505050600060405180830381600087803b15801561566a57600080fd5b505af115801561567e573d6000803e3d6000fd5b505050505b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561570e57600080fd5b505afa158015615722573d6000803e3d6000fd5b505050506040513d602081101561573857600080fd5b810190808051906020019092919050505090506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156157d657600080fd5b505afa1580156157ea573d6000803e3d6000fd5b505050506040513d602081101561580057600080fd5b81019080805190602001909291905050509050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8e33700600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858560018030426040518963ffffffff1660e01b8152600401808973ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200198505050505050505050606060405180830381600087803b15801561594757600080fd5b505af115801561595b573d6000803e3d6000fd5b505050506040513d606081101561597157600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050505050505050565b60606159a984613e6f565b6159fe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180615e186024913960400191505060405180910390fd5b600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b60208310615a4d5780518252602082019150602081019050602083039250615a2a565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114615aad576040519150601f19603f3d011682016040523d82523d6000602084013e615ab2565b606091505b5091509150615ac2828286615acd565b925050509392505050565b60608315615add57829050615b92565b600083511115615af05782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015615b57578082015181840152602081019050615b3c565b50505050905090810190601f168015615b845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615bda57803560ff1916838001178555615c08565b82800160010185558215615c08579182015b82811115615c07578235825591602001919060010190615bec565b5b509050615c159190615d2d565b5090565b828054828255906000526020600020908101928215615c92579160200282015b82811115615c915782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190615c39565b5b509050615c9f9190615d4a565b5090565b828054828255906000526020600020908101928215615d1c579160200282015b82811115615d1b5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190615cc3565b5b509050615d299190615d4a565b5090565b5b80821115615d46576000816000905550600101615d2e565b5090565b5b80821115615d8157600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101615d4b565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212209ed815ea75929d80bf6fc13ce29911cedabb2ad24da23a4bee4cd7d87640832964736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000871dd566ab3de61e5cc8fb16fee82595b17e9cc6000000000000000000000000000000000000000000000000000000000000003d0000000000000000000000009083ea3756bde6ee6f27a6e996806fbd37f6f0930000000000000000000000005cc61a78f164885776aa610fb0fe1257df78e59b00000000000000000000000016327e3fbdaca3bcf7e38f5af2599d2ddc33ae52000000000000000000000000379b1530133f75067018b536cb41ad816f6798e60000000000000000000000009231552938577abbf1587e9824079868f2f8f1490000000000000000000000009231552938577abbf1587e9824079868f2f8f1490000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000d70656e64696e6753706972697400000000000000000000000000000000000000

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.