Contract 0x4e5f03f779700436341a4d5e08ca4130be5cda90

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x92256b54f51221473536a657cca361bc3087f53ff3549543f1d777e8ff11518cHarvest477901152022-09-26 12:35:441 min ago0x724c28471608c946345165e9eb7b80e8736ad9af IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00036361419
0x1c9011f1ddd3e637650773233d1ceec31016be71d20eb0bc5fe01e0c1e5ab688Harvest477901032022-09-26 12:35:331 min ago0xf0ab1a62b3ca931619d3108159f0c4010873702b IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00036599706
0x0bafc28c983d1d4340d7b2218fdbb2cc699243049ba2decab7008f00dcef8db6Harvest477899722022-09-26 12:33:173 mins ago0x724c28471608c946345165e9eb7b80e8736ad9af IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.0003773286
0x90fc7fcedf319379721b97b344d688b1598ac1fea1277e429ff5ed885551d628Harvest477898432022-09-26 12:30:566 mins ago0xa3c6c62cba6a4fd7b16062e7426c9a78a5790c7d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00039104964
0xbf5ca6ed44aef4ed3891a367aa51435b22cb41e74d49f475bc711aac92737195Harvest477897172022-09-26 12:28:398 mins ago0x68d1cfd127c9cf0de5375fdfb92713e0de72ee05 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00037389834
0x3674db1cdebfc2807b26d7a478dc386229decd51707f9861543d88491389ea0aHarvest477895932022-09-26 12:26:2610 mins ago0x797b7418dd299d2356d01d251b6805588f519a4d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00035674704
0xa71cec0280f28ae18b5aec6cda92e44de829aae3878cc4f4667b20ffac12d1b7Harvest477894702022-09-26 12:24:2312 mins ago0x797b7418dd299d2356d01d251b6805588f519a4d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00037046808
0xb37d98196ec9653bdfb88ab46710fe346981ce5932a1ea747e6eaf7a3865692fHarvest477893462022-09-26 12:22:1814 mins ago0xd968665350a0bb7d487aadba94d920d8890ee06f IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.000360207276
0x157a1495725b41f62deff0bc71650084b95550a2bb5b70e1405e8d5e6c0d37ffHarvest477892162022-09-26 12:19:5317 mins ago0x724c28471608c946345165e9eb7b80e8736ad9af IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.0003601773
0x3bb3b780c90c1966238caa7d3fa3fdc48b131b0593d64efdf141ec25e2dda317Harvest477890922022-09-26 12:17:5119 mins ago0x815e3af4e537658d40881516a276cb606ee975d8 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00034693464
0x6e349b0afefa801ab5c4a04f602f046b49fa546c7ff25dcb1b494fb9471eb945Harvest477889692022-09-26 12:15:4021 mins ago0x815e3af4e537658d40881516a276cb606ee975d8 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.000370982619
0xda49e21b8cfd9b0352cfbf81d26a90f31477bd204c38b5d46fe84743c7260c5dHarvest477888482022-09-26 12:13:4123 mins ago0x815e3af4e537658d40881516a276cb606ee975d8 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00036703782
0xa9bbedf97986c6683ae1de831013893a110263e2e4a9eb2cd937f3545d8eccebHarvest477887262022-09-26 12:11:2725 mins ago0xa3c6c62cba6a4fd7b16062e7426c9a78a5790c7d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00036360756
0xb23a683b7d1af34f2aa6b180e946c0309e849d6a60f9a0b8f7f807f7ae52b9b2Harvest477886052022-09-26 12:09:1327 mins ago0x797b7418dd299d2356d01d251b6805588f519a4d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00037389834
0xb8b5931a183190690515367a24e89169e616c0380fe2f5c973531f71d3ed794eHarvest477886022022-09-26 12:09:1027 mins ago0x0290009c77908568f53223efdeee3506cf27c6c4 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.000370994195
0x0d8e1fd72c99e298633276666767d7f51ca087ce80f673bd2df620158368a0a1Harvest477884692022-09-26 12:06:5730 mins ago0xa3c6c62cba6a4fd7b16062e7426c9a78a5790c7d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00037046808
0x4ab66e12c1637236d7b2f5f780d3dc65618519190a166edeb8ffb5633445c6e1Harvest477883432022-09-26 12:04:5032 mins ago0x68d1cfd127c9cf0de5375fdfb92713e0de72ee05 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00038418912
0x4d01075c486b036d74fa2da99c6d4c3005b0c0af47c9800b54213d3f3da5c9b8Harvest477882152022-09-26 12:02:3534 mins ago0x724c28471608c946345165e9eb7b80e8736ad9af IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00038418912
0x203a89d700626ff82a78d467bfd8607d0a20ac7e81d7ec3a9073935f1e30ebf9Harvest477880902022-09-26 11:59:4737 mins ago0x815e3af4e537658d40881516a276cb606ee975d8 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00036360756
0xcd407e171c89403380f4bd5c782f659ee79785fc5efaf666bf367b63c1878e2bHarvest477879672022-09-26 11:56:4140 mins ago0x797b7418dd299d2356d01d251b6805588f519a4d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00035694237
0x54bfacc483c230b72d2da710849849d2ffc51111192ff3c6eb1e6315d4b68982Harvest477878452022-09-26 11:53:5743 mins ago0x797b7418dd299d2356d01d251b6805588f519a4d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.000378186165
0xbd8f66d6b714fbc7dcfcaea879bb75a8efe38d3684445472a15198357accbc25Harvest477877202022-09-26 11:50:4846 mins ago0x797b7418dd299d2356d01d251b6805588f519a4d IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.000371286783
0xf7f0999a7ff68a90ad65ad68b0d3741e56c1d0865cec7dc23a8ec1d7cb0cf086Harvest477875962022-09-26 11:47:3049 mins ago0x815e3af4e537658d40881516a276cb606ee975d8 IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00041506146
0x11a8f2f3c159f3775cfadec8d862593684e0f635fc3a931e4fe8551dfe978d20Harvest477874532022-09-26 11:44:1552 mins ago0x724c28471608c946345165e9eb7b80e8736ad9af IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.00038075886
0x6fa26a779933855397711dd65cf52a63c18a95d4ca00f51de2977692a6e91918Harvest477873252022-09-26 11:42:0454 mins ago0x657439ed989b0ec28a09b592fda8c61ebd434b6a IN  0x4e5f03f779700436341a4d5e08ca4130be5cda900 FTM0.000368579322
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x7b861447bdb34e5e6e8ad2b1b394ed0abf455294df1d27324453072987f0ce7a261616622021-12-27 4:57:51273 days 7 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 0xcE6FF62582b10b60532E861578064Ba65A9cDb0A

Contract Name:
SingleAssetStrategy

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 : SingleAssetStrategy.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 {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

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

    bool private _paused;

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

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

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

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

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

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

pragma solidity >=0.6.0 <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 removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) 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 swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

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

pragma solidity ^0.6.12;

contract SingleAssetStrategy is Ownable, Pausable {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

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

    // Third party contracts
    address public unirouter;
    address public masterchef;
    address sellRouter;
    address liquidityRouter;

    // Grim addresses
    address public harvester = address(0xb8924595019aFB894150a9C7CBEc3362999b9f94);
    address public strategist;
    address public grimFeeRecipient;
    address public insuranceFund;
    address public sentinel;
    address public vault; 
   
    // Numbers
    uint256 public poolId;
    
    // Routes
    address[] public wantToWrappedRoute;
    address[] public outputToWrappedRoute;
    address[] public wrappedToWantRoute;
    address[] public outputToWantRoute;
    address[] customPath;

    // Controller 
    bool public harvestOnDeposit;

    string pendingRewardsFunctionName;

    // 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
     
    constructor(
        address _want,
        uint256 _poolId,
        address _masterChef,
        address _output,
        address _unirouter,
        address _sentinel,
        address _grimFeeRecipient,
        address _insuranceFund,
        address _sellRouter,
        string memory _pendingFunctionName
        )
        public {

        strategist = msg.sender;

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

        wantToWrappedRoute = [want, wrapped];
        wrappedToWantRoute = [wrapped, want];
        outputToWantRoute = [output, wrapped, want];
        outputToWrappedRoute = [output, wrapped];

        harvestOnDeposit = true;

        pendingRewardsFunctionName = _pendingFunctionName;
        
        giveAllowances();
    }

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

        if (wantBal > 0) {
            IMasterChef(masterchef).deposit(poolId, wantBal);
        }
    }

    /** @dev Sets the router contract this strategy will use to execute 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 It withdraws want tokens from the MasterChef and sends it to the vault. The contract owner doesn't pay withdrawal fees. */
    function withdraw(uint256 _amount) external {
        require (msg.sender == vault, "!vault");

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

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

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

        if (tx.origin == owner()) {
            IERC20(want).safeTransfer(vault, wantBal); 
        } else {
            uint256 withdrawalFeeAmount = wantBal.mul(WITHDRAW_FEE).div(WITHDRAWAL_MAX);
            IERC20(want).safeTransfer(vault, wantBal.sub(withdrawalFeeAmount));
        }
    }
  
    /** @dev Function that protects the strategy contract of single stake assets from reward leak exploitation */
    function beforeDeposit() external virtual {
        uint256 wantBal = IERC20(want).balanceOf(address(this));
        IMasterChef(masterchef).deposit(poolId, wantBal);

        if (harvestOnDeposit) {
            require(msg.sender == vault, "!vault");
            _harvest(tx.origin);
        }
    }

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

    /** @dev The harvest function converts, compounds rewards, charges fees, and pays harvest fee reward */
    function _harvest(address caller) internal whenNotPaused {
        require (!Address.isContract(msg.sender) || msg.sender == vault, "Contract harvest");
        IMasterChef(masterchef).deposit(poolId, 0);
        uint256 outputBal = IERC20(output).balanceOf(address(this));
        if (outputBal > 0) {
            chargeFees(caller);
            addLiquidity(); 
        } else {
            if (outputBal > 0){
                chargeFees(caller);
            }
        }
        deposit();
    }

    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 reward;
        if (output != wrapped) {
            uint256[] memory amountsOut = IUniswapRouter(unirouter).getAmountsOut(outputBal, outputToWrappedRoute);
            reward = amountsOut[amountsOut.length - 1].mul(PLATFORM_FEE).div(MAX_FEE).mul(CALL_FEE).div(MAX_FEE);
        } else {
            reward = outputBal.mul(PLATFORM_FEE).div(MAX_FEE).mul(CALL_FEE).div(MAX_FEE);
        }
        
        return reward;
    }

    /** @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 Sets the vault, according to the strategy contract */
    function setVault(address _vault) external onlyOwner {
        vault = _vault;
    }

    /** @dev Swaps are made if necessary, taking wrapped FTM converted by chargeFees() and converting to the deposited token {want} */
    function addLiquidity() internal {
        uint256 wrappedBal = IERC20(wrapped).balanceOf(address(this));

        approveTxnIfNeeded(wrapped, unirouter, wrappedBal);
        // Makes sure the strategy doesn't try to swap for same token
        if (want != wrapped){
            IUniswapRouter(unirouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(wrappedBal, 0, wrappedToWantRoute, address(this), now.add(600));
        }
    }

    /** @dev Sets the swap route of the strategy contract after deployment in the event of liquidity issues */
    function setWrappedToWantRoute(address[] memory _route, address router) external {
        require (msg.sender == strategist, "!auth");

        wantToWrappedRoute = _route;
        liquidityRouter = router;

        IERC20(wrapped).safeApprove(liquidityRouter, uint(0));
        IERC20(wrapped).safeApprove(liquidityRouter, uint(-1));
    }

    /** @dev Sets if harvest on deposit is active */
    function setHarvestOnDeposit(bool _harvestOnDeposit) external {
        require (msg.sender == strategist, "!auth");
        harvestOnDeposit = _harvestOnDeposit;
    }
  
    /** @dev Fees are charged and sent to respective accounts/contracts.  During the process all output is converted to wrapped FTM {wrapped} */
    function chargeFees(address _caller) internal {                   
        uint256 toWrapped = IERC20(output).balanceOf(address(this));
        IUniswapRouter(sellRouter).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);
    }

    function _chargeFees(address _caller) internal {                   
        uint256 toWrapped = IERC20(output).balanceOf(address(this)).mul(PLATFORM_FEE).div(MAX_FEE);
        IUniswapRouter(sellRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(toWrapped, 0, outputToWrappedRoute, address(this), now);

        uint256 wrappedBal = IERC20(wrapped).balanceOf(address(this));
                                                
        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 Public function to view the balance of want tokens held in the strategy contract added to the amount staked from the strategy contract */
    function balanceOf() public view returns (uint256) {
        return balanceOfWant().add(balanceOfPool());
    }

    /** @dev Calculates how many want tokens are held by the strategy contract */
    function balanceOfWant() public view returns (uint256) {
        return IERC20(want).balanceOf(address(this));
    }

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

    /** @dev Function that has to be called as part of strat migration. It sends all the available funds back to the */ 
    function retireStrat() external onlyOwner {
        IMasterChef(masterchef).emergencyWithdraw(poolId);

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

    /** @dev Pauses deposits. Withdraws all funds from the MasterChef, leaving rewards behind */
    function panic() external {
        require(msg.sender == strategist || msg.sender == sentinel, "!auth");
        pause();
        IMasterChef(masterchef).emergencyWithdraw(poolId);
    }

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

        IERC20(want).safeApprove(unirouter, 0);
        IERC20(wrapped).safeApprove(unirouter, 0);
        IERC20(want).safeApprove(masterchef, 0);
    }

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

        IERC20(want).safeApprove(unirouter, uint(-1));
        IERC20(wrapped).safeApprove(unirouter, uint(-1));
        IERC20(want).safeApprove(masterchef, uint(-1));
    }

    /** @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 {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 Internal function that approves transactions (if needed) prior to a transaction being made */
    function approveTxnIfNeeded(address _token, address _unirouter, uint256 _amount) internal {
        if (IERC20(_token).allowance(address(this), _unirouter) < _amount){
            IERC20(_token).safeApprove(_unirouter, uint256(0));
            IERC20(_token).safeApprove(_unirouter, uint256(-1));
        }
    }
    
    /** @dev Gives allowances to tokens to respective spenders */
    function giveAllowances() internal {
        IERC20(output).safeApprove(unirouter, uint(0));
        IERC20(output).safeApprove(unirouter, uint(-1));
        
        IERC20(output).safeApprove(sellRouter, uint(0));
        IERC20(output).safeApprove(sellRouter, uint(-1));

        IERC20(wrapped).safeApprove(unirouter, uint(0));        
        IERC20(wrapped).safeApprove(unirouter, uint(-1));
        
        IERC20(want).safeApprove(masterchef, uint(0));
        IERC20(want).safeApprove(masterchef, uint(-1));
    }

    /** @dev Sets the fee amounts, modular.  Maximum fee amount of 5% */
    function setFees(uint256 newCallFee, uint256 newStratFee, uint256 newWithdrawFee, uint256 newFeeBatchAmount, uint256 newInsuranceFee) external onlyOwner {
        require (newWithdrawFee <= 2000, "withdraw fee too high");
        CALL_FEE = newCallFee;
        STRATEGIST_FEE = newStratFee;
        WITHDRAW_FEE = newWithdrawFee;
        FEE_BATCH = newFeeBatchAmount;
        INSURANCE_FEE = newInsuranceFee;
    }
}

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":"address","name":"_sellRouter","type":"address"},{"internalType":"string","name":"_pendingFunctionName","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":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":[{"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":"outputToWantRoute","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":"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":"newInsuranceFee","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":"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":"setWrappedToWantRoute","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":"","type":"uint256"}],"name":"wantToWrappedRoute","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":"wrappedToWantRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040527321be370d5312f44cb42ce377bc9b8a0cef1a4c83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b8924595019afb894150a9c7cbec3362999b9f94600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620186a060165560646017556103e860185560646019556064601a556102ee601b556032601c556028601d55348015620000e757600080fd5b5060405162006b4938038062006b4983398181016040526101408110156200010e57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805160405193929190846401000000008211156200018957600080fd5b83820191506020820185811115620001a057600080fd5b8251866001820283011164010000000082111715620001be57600080fd5b8083526020830192505050908051906020019080838360005b83811015620001f4578082015181840152602081019050620001d7565b50505050905090810190601f168015620002225780820380516001836020036101000a031916815260200191505b5060405250505060006200023b620008fb60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff02191690831515021790555033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555089600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555088600e8190555087600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600f90600262000606929190620012cb565b506040518060400160405280600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506011906002620006ca929190620012cb565b506040518060600160405280600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506012906003620007e29291906200135a565b506040518060400160405280600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506010906002620008a6929190620012cb565b506001601460006101000a81548160ff0219169083151502179055508060159080519060200190620008da929190620013e9565b50620008eb6200090360201b60201c565b50505050505050505050620014cc565b600033905090565b6200097a600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000a10600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000a87600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000b1d600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000b94600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000c2a600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000ca1600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b62000d37600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000d3960201b6200391e179092919060201c565b565b600081148062000e0b575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801562000dcc57600080fd5b505afa15801562000de1573d6000803e3d6000fd5b505050506040513d602081101562000df857600080fd5b8101908080519060200190929190505050145b62000e62576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018062006b136036913960400191505060405180910390fd5b62000f078363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505062000f0c60201b60201c565b505050565b606062000f75826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166200100660201b62003ae3179092919060201c565b9050600081511115620010015780806020019051602081101562000f9857600080fd5b810190808051906020019092919050505062001000576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062006ae9602a913960400191505060405180910390fd5b5b505050565b60606200101d84846000856200102660201b60201c565b90509392505050565b60608247101562001083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018062006ac36026913960400191505060405180910390fd5b6200109485620011e660201b60201c565b62001107576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831062001159578051825260208201915060208101905060208303925062001134565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620011bd576040519150601f19603f3d011682016040523d82523d6000602084013e620011c2565b606091505b5091509150620011da828286620011f960201b60201c565b92505050949350505050565b600080823b905060008111915050919050565b606083156200120b57829050620012c4565b6000835111156200121f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620012885780820151818401526020810190506200126b565b50505050905090810190601f168015620012b65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b82805482825590600052602060002090810192821562001347579160200282015b82811115620013465782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620012ec565b5b50905062001356919062001470565b5090565b828054828255906000526020600020908101928215620013d6579160200282015b82811115620013d55782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200137b565b5b509050620013e5919062001470565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200142c57805160ff19168380011785556200145d565b828001600101855582156200145d579182015b828111156200145c5782518255916020019190600101906200143f565b5b5090506200146c9190620014ad565b5090565b5b80821115620014a957600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010162001471565b5090565b5b80821115620014c8576000816000905550600101620014ae565b5090565b6155e780620014dc6000396000f3fe608060405234801561001057600080fd5b50600436106102d65760003560e01c8063722713f711610182578063bc063e1a116100e9578063e7a7250a116100a2578063f58c251c1161007c578063f58c251c14610bdc578063fb1db27814610c10578063fb61778714610c44578063fbfa77cf14610c4e576102d6565b8063e7a7250a14610b46578063f20eaeb814610b64578063f2fde38b14610b98576102d6565b8063bc063e1a14610a20578063c1a3d44c14610a3e578063d0e30db014610a5c578063d2969d0114610a66578063d92f3d7314610aaa578063dd93d6b314610aee576102d6565b80638da5cb5b1161013b5780638da5cb5b146108d0578063951d6d201461090457806397fd323d146109225780639bff5ddb14610940578063a97a32961461095e578063b7902303146109ec576102d6565b8063722713f71461075e578063743b7c631461077c5780637d38ca65146107b05780638456cb59146107ce5780638500bf9d146107d85780638912cb8b146108b0576102d6565b80633e0dc34e1161024157806354518b1a116101fa5780635c975abb116101d45780635c975abb14610698578063640420e9146106b85780636817031b14610710578063715018a614610754576102d6565b806354518b1a146105f7578063573fef0a1461061557806359e791381461061f576102d6565b80633e0dc34e146105535780633f4ba83a146105715780634641257d1461057b5780634700d305146105855780634bdaeac11461058f57806350e70d48146105c3576102d6565b80631f1fcd51116102935780631f1fcd51146104135780631fe4a686146104475780632183cde91461047b578063257ae0de146104d35780632e1a7d4d1461050757806334fbc9a114610535576102d6565b8063025e30b0146102db57806304a66b48146102f95780630e8fbb5a1461034f578063115880861461037f5780631573b5771461039d5780631d172127146103bb575b600080fd5b6102e3610c82565b6040518082815260200191505060405180910390f35b61034d600480360360a081101561030f57600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190505050610c88565b005b61037d6004803603602081101561036557600080fd5b81019080803515159060200190929190505050610df2565b005b610387610ed2565b6040518082815260200191505060405180910390f35b6103a5610fb6565b6040518082815260200191505060405180910390f35b6103e7600480360360208110156103d157600080fd5b8101908080359060200190929190505050610fbc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61041b610ff8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61044f61101e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a76004803603602081101561049157600080fd5b8101908080359060200190929190505050611044565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104db611080565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105336004803603602081101561051d57600080fd5b81019080803590602001909291905050506110a6565b005b61053d611518565b6040518082815260200191505060405180910390f35b61055b61151e565b6040518082815260200191505060405180910390f35b610579611524565b005b6105836117f6565b005b61058d61187d565b005b610597611a31565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105cb611a57565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105ff611a7d565b6040518082815260200191505060405180910390f35b61061d611a83565b005b6106966004803603602081101561063557600080fd5b810190808035906020019064010000000081111561065257600080fd5b82018360208201111561066457600080fd5b8035906020019184600183028401116401000000008311171561068657600080fd5b9091929391929390505050611cc7565b005b6106a0611da0565b60405180821515815260200191505060405180910390f35b6106e4600480360360208110156106ce57600080fd5b8101908080359060200190929190505050611db6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107526004803603602081101561072657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611df2565b005b61075c611efe565b005b610766612084565b6040518082815260200191505060405180910390f35b6107846120ac565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107b86120d2565b6040518082815260200191505060405180910390f35b6107d66120d8565b005b6108ae600480360360408110156107ee57600080fd5b810190808035906020019064010000000081111561080b57600080fd5b82018360208201111561081d57600080fd5b8035906020019184602083028401116401000000008311171561083f57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061234d565b005b6108b861256b565b60405180821515815260200191505060405180910390f35b6108d861257e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61090c6125a7565b6040518082815260200191505060405180910390f35b61092a6125ad565b6040518082815260200191505060405180910390f35b6109486128c8565b6040518082815260200191505060405180910390f35b6109ea6004803603608081101561097457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506128ce565b005b6109f4612c09565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a28612c2f565b6040518082815260200191505060405180910390f35b610a46612c35565b6040518082815260200191505060405180910390f35b610a64612d00565b005b610aa860048036036020811015610a7c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612eef565b005b610aec60048036036020811015610ac057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ff6565b005b610b1a60048036036020811015610b0457600080fd5b8101908080359060200190929190505050613102565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b4e61313e565b6040518082815260200191505060405180910390f35b610b6c613368565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610bda60048036036020811015610bae57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061338e565b005b610be4613599565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610c186135bf565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610c4c6135e5565b005b610c566138f8565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b601b5481565b610c90613afb565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6107d0831115610dc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f77697468647261772066656520746f6f2068696768000000000000000000000081525060200191505060405180910390fd5b8460198190555083601a819055508260178190555081601b8190555080601c819055505050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eb5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393f1a40b600e54306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b158015610f6757600080fd5b505afa158015610f7b573d6000803e3d6000fd5b505050506040513d6040811015610f9157600080fd5b8101908080519060200190929190805190602001909291905050505090508091505090565b601c5481565b60108181548110610fc957fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6011818154811061105157fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611169576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156111f457600080fd5b505afa158015611208573d6000803e3d6000fd5b505050506040513d602081101561121e57600080fd5b81019080805190602001909291905050509050818110156113a957600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600e5461128d8486613b0390919063ffffffff16565b6040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b1580156112ca57600080fd5b505af11580156112de573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561136b57600080fd5b505afa15801561137f573d6000803e3d6000fd5b505050506040513d602081101561139557600080fd5b810190808051906020019092919050505090505b818111156113b5578190505b6113bd61257e565b73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614156114645761145f600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613b4d9092919063ffffffff16565b611514565b600061148f60165461148160175485613bef90919063ffffffff16565b613c7590919063ffffffff16565b9050611512600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166114ca8385613b0390919063ffffffff16565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613b4d9092919063ffffffff16565b505b5050565b601d5481565b600e5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806115cd5750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61163f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b611647613cbf565b6116d6600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b611765600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b6117f4600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b565b6117ff33613db1565b15611872576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f436f6e747261637420686172766573740000000000000000000000000000000081525060200191505060405180910390fd5b61187b33613dc4565b565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119265750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611998576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6119a06120d8565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e600e546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611a1757600080fd5b505af1158015611a2b573d6000803e3d6000fd5b50505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60165481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611b0e57600080fd5b505afa158015611b22573d6000803e3d6000fd5b505050506040513d6020811015611b3857600080fd5b81019080805190602001909291905050509050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600e54836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015611bca57600080fd5b505af1158015611bde573d6000803e3d6000fd5b50505050601460009054906101000a900460ff1615611cc457600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611cba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b611cc332613dc4565b5b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b818160159190611d9b9291906152af565b505050565b60008060149054906101000a900460ff16905090565b600f8181548110611dc357fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611dfa613afb565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611eba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611f06613afb565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fc6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60006120a7612091610ed2565b612099612c35565b6140ba90919063ffffffff16565b905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601a5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121815750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6121fb614142565b61226b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b6122db600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b61234b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612410576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b81600f908051906020019061242692919061532f565b5080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506124d8600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b612567600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b5050565b601460009054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60195481565b6000806125b861313e565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461286c576060600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d06ca61f8460106040518363ffffffff1660e01b81526004018083815260200180602001828103825283818154815260200191508054801561270657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116126bc575b5050935050505060006040518083038186803b15801561272557600080fd5b505afa158015612739573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561276357600080fd5b810190808051604051939291908464010000000082111561278357600080fd5b8382019150602082018581111561279957600080fd5b82518660208202830111640100000000821117156127b657600080fd5b8083526020830192505050908051906020019060200280838360005b838110156127ed5780820151818401526020810190506127d2565b50505050905001604052505050905061286460185461285660195461284860185461283a601d548860018a51038151811061282457fe5b6020026020010151613bef90919063ffffffff16565b613c7590919063ffffffff16565b613bef90919063ffffffff16565b613c7590919063ffffffff16565b9150506128c0565b6128bd6018546128af6019546128a1601854612893601d5489613bef90919063ffffffff16565b613c7590919063ffffffff16565b613bef90919063ffffffff16565b613c7590919063ffffffff16565b90505b809250505090565b60175481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612991576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f216175746820666f7220637573746f6d2074786e00000000000000000000000081525060200191505060405180910390fd5b61299c848383614236565b60405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506013906002612a199291906153b9565b508173ffffffffffffffffffffffffffffffffffffffff166338ed1739826000601330612a51610258426140ba90919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015612b0957602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612abf575b50509650505050505050600060405180830381600087803b158015612b2d57600080fd5b505af1158015612b41573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015612b6b57600080fd5b8101908080516040519392919084640100000000821115612b8b57600080fd5b83820191506020820185811115612ba157600080fd5b8251866020820283011164010000000082111715612bbe57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612bf5578082015181840152602081019050612bda565b505050509050016040525050505050505050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60185481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612cc057600080fd5b505afa158015612cd4573d6000803e3d6000fd5b505050506040513d6020811015612cea57600080fd5b8101908080519060200190929190505050905090565b600060149054906101000a900460ff1615612d83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612e0e57600080fd5b505afa158015612e22573d6000803e3d6000fd5b505050506040513d6020811015612e3857600080fd5b810190808051906020019092919050505090506000811115612eec57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600e54836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015612ed357600080fd5b505af1158015612ee7573d6000803e3d6000fd5b505050505b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612fb2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216175746800000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612ffe613afb565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146130be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6012818154811061310f57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000606061321b60158054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156131db5780601f106131b0576101008083540402835291602001916131db565b820191906000526020600020905b8154815290600101906020018083116131be57829003601f168201915b50505050506040518060400160405280601181526020017f2875696e743235362c616464726573732900000000000000000000000000000081525061437a565b90506060613339600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600e5430604051602401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604051602081830303815290604052906040518082805190602001908083835b602083106132ba5780518252602082019150602081019050602083039250613297565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614442565b905080806020019051602081101561335057600080fd5b81019080805190602001909291905050509250505090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b613396613afb565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614613456576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156134dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061549c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6135ed613afb565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146136ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e600e546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561372457600080fd5b505af1158015613738573d6000803e3d6000fd5b505050506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156137c757600080fd5b505afa1580156137db573d6000803e3d6000fd5b505050506040513d60208110156137f157600080fd5b81019080805190602001909291905050509050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156138b957600080fd5b505af11580156138cd573d6000803e3d6000fd5b505050506040513d60208110156138e357600080fd5b81019080805190602001909291905050505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008114806139ec575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156139af57600080fd5b505afa1580156139c3573d6000803e3d6000fd5b505050506040513d60208110156139d957600080fd5b8101908080519060200190929190505050145b613a41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061557c6036913960400191505060405180910390fd5b613ade8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061446f565b505050565b6060613af2848460008561455e565b90509392505050565b600033905090565b6000613b4583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614707565b905092915050565b613bea8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061446f565b505050565b600080831415613c025760009050613c6f565b6000828402905082848281613c1357fe5b0414613c6a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061550d6021913960400191505060405180910390fd5b809150505b92915050565b6000613cb783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506147c7565b905092915050565b600060149054906101000a900460ff16613d41576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613d84613afb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600080823b905060008111915050919050565b600060149054906101000a900460ff1615613e47576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b613e5033613db1565b1580613ea95750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b613f1b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f436f6e747261637420686172766573740000000000000000000000000000000081525060200191505060405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600e5460006040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015613f9b57600080fd5b505af1158015613faf573d6000803e3d6000fd5b505050506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561403e57600080fd5b505afa158015614052573d6000803e3d6000fd5b505050506040513d602081101561406857600080fd5b81019080805190602001909291905050509050600081111561409a5761408d8261488d565b614095614dd5565b6140ae565b60008111156140ad576140ac8261488d565b5b5b6140b6612d00565b5050565b600080828401905083811015614138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600060149054906101000a900460ff16156141c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258614209613afb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b808373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156142bc57600080fd5b505afa1580156142d0573d6000803e3d6000fd5b505050506040513d60208110156142e657600080fd5b81019080805190602001909291905050501015614375576143298260008573ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b614374827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8573ffffffffffffffffffffffffffffffffffffffff1661391e9092919063ffffffff16565b5b505050565b606082826040516020018083805190602001908083835b602083106143b45780518252602082019150602081019050602083039250614391565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b6020831061440557805182526020820191506020810190506020830392506143e2565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052905092915050565b606061446783836040518060600160405280602581526020016154e8602591396150b4565b905092915050565b60606144d1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ae39092919063ffffffff16565b9050600081511115614559578080602001905160208110156144f257600080fd5b8101908080519060200190929190505050614558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615552602a913960400191505060405180910390fd5b5b505050565b6060824710156145b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806154c26026913960400191505060405180910390fd5b6145c285613db1565b614634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106146845780518252602082019150602081019050602083039250614661565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146146e6576040519150601f19603f3d011682016040523d82523d6000602084013e6146eb565b606091505b50915091506146fb8282866151e3565b92505050949350505050565b60008383111582906147b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561477957808201518184015260208101905061475e565b50505050905090810190601f1680156147a65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290614873576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561483857808201518184015260208101905061481d565b50505050905090810190601f1680156148655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161487f57fe5b049050809150509392505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561491857600080fd5b505afa15801561492c573d6000803e3d6000fd5b505050506040513d602081101561494257600080fd5b81019080805190602001909291905050509050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601030426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015614a5257602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311614a08575b50509650505050505050600060405180830381600087803b158015614a7657600080fd5b505af1158015614a8a573d6000803e3d6000fd5b505050506000614b7c601854614b6e601d54600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015614b2557600080fd5b505afa158015614b39573d6000803e3d6000fd5b505050506040513d6020811015614b4f57600080fd5b8101908080519060200190929190505050613bef90919063ffffffff16565b613c7590919063ffffffff16565b90506000614ba9601854614b9b60195485613bef90919063ffffffff16565b613c7590919063ffffffff16565b9050614bf88482600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613b4d9092919063ffffffff16565b6000614c23601854614c15601b5486613bef90919063ffffffff16565b613c7590919063ffffffff16565b9050614c94600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613b4d9092919063ffffffff16565b6000614cbf601854614cb1601a5487613bef90919063ffffffff16565b613c7590919063ffffffff16565b9050614d30600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613b4d9092919063ffffffff16565b6000614d5b601854614d4d601c5488613bef90919063ffffffff16565b613c7590919063ffffffff16565b9050614dcc600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613b4d9092919063ffffffff16565b50505050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015614e6057600080fd5b505afa158015614e74573d6000803e3d6000fd5b505050506040513d6020811015614e8a57600080fd5b81019080805190602001909291905050509050614eec600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683614236565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146150b157600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000601130614fbc610258426140ba90919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561507457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161502a575b50509650505050505050600060405180830381600087803b15801561509857600080fd5b505af11580156150ac573d6000803e3d6000fd5b505050505b50565b60606150bf84613db1565b615114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061552e6024913960400191505060405180910390fd5b600060608573ffffffffffffffffffffffffffffffffffffffff16856040518082805190602001908083835b602083106151635780518252602082019150602081019050602083039250615140565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146151c3576040519150601f19603f3d011682016040523d82523d6000602084013e6151c8565b606091505b50915091506151d88282866151e3565b925050509392505050565b606083156151f3578290506152a8565b6000835111156152065782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561526d578082015181840152602081019050615252565b50505050905090810190601f16801561529a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106152f057803560ff191683800117855561531e565b8280016001018555821561531e579182015b8281111561531d578235825591602001919060010190615302565b5b50905061532b9190615443565b5090565b8280548282559060005260206000209081019282156153a8579160200282015b828111156153a75782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061534f565b5b5090506153b59190615460565b5090565b828054828255906000526020600020908101928215615432579160200282015b828111156154315782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906153d9565b5b50905061543f9190615460565b5090565b5b8082111561545c576000816000905550600101615444565b5090565b5b8082111561549757600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101615461565b509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220bfad9dc6dd88b5f43782eece90fa5dafe5c1f40a34baa7d78c0a8563e27ef30264736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000117db78176c8ede4f12fcd29d85cd96b91a4cbbb0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000303c8a8960acdb9b8f1909a0861deb3a46b42919000000000000000000000000117db78176c8ede4f12fcd29d85cd96b91a4cbbb00000000000000000000000016327e3fbdaca3bcf7e38f5af2599d2ddc33ae52000000000000000000000000379b1530133f75067018b536cb41ad816f6798e60000000000000000000000009231552938577abbf1587e9824079868f2f8f1490000000000000000000000009231552938577abbf1587e9824079868f2f8f14900000000000000000000000016327e3fbdaca3bcf7e38f5af2599d2ddc33ae520000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000d70656e64696e6752454150455200000000000000000000000000000000000000

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.