Contract 0x615f3a0c551b2a33ee26b987daec8721ad8db987

Contract Overview

Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x8fd4fcc3b8823da9b0d1e551a5a40e430753ad6e0bd2c7eaa793619aaa43556c101043992021-06-19 17:37:259 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08321304
0x50f5a12091782ae6a3f141c192ae7d5ba0f375bf118760bbd435a123a2e81598101043002021-06-19 17:35:5810 mins ago0xb2d4c33c02690d1c47bfa60a43cba410757a87db IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.03343315
0x34f46329b9b2014e77cc0ede5269c55b774d73741366fa22af0fb51bbf8706ae101034372021-06-19 17:22:1324 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08395704
0x0340cb47cdca0442bd70909c818cfd2102885e07505cc3230fa2967e794abc04101015932021-06-19 16:52:2454 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08395704
0x62ebac670c7b32f2a0d9cf7a0acbcff4ad12b26dbfafc9a7443399889ff4887e101005962021-06-19 16:37:131 hr 9 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08321304
0x6cce420e8ccc7d4f9feb5684d1e7ec6bf359080436fa678f79c267fe579a089c101003842021-06-19 16:34:111 hr 12 mins ago0x3c7b7cb7516a594de3a29c3553c296feadb725f2 IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.03200095
0x6f02cd69204c54a722e6fc2990e9389ff3f23cf051c5df387f3a347f91260116101003382021-06-19 16:33:181 hr 13 mins ago0x72af970456dca189e86c20801477eabbf6962747 IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.03200095
0xd0c60eec4751d74822d9f2e34f47ff23537f3ef5711190a13c2878c154c22f57101003022021-06-19 16:32:311 hr 14 mins ago0xb2d4c33c02690d1c47bfa60a43cba410757a87db IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.03343315
0x72ff61384754126319341874eb984e3fa34c37fb2e592418f2e6ed716b529e24100996532021-06-19 16:22:351 hr 24 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08395704
0xf970c59057b38cf9b50ee0037167c64e84b8bc23909f68cadd11c387de5adb21100995852021-06-19 16:21:371 hr 25 mins ago0x8d370441ea6b13d2f0e42c67b652b682c6fae663 IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.03247315
0x67f58c1ec2b4bd47bd79db55d8942913308809a1e5280841996128a122b8520b100985602021-06-19 16:07:331 hr 39 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08321304
0x3f36943f149a5c53355764c159ec03d354042bc47f94a662b125a3c44904d6d0100973912021-06-19 15:52:231 hr 54 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08549304
0xe12a915c89f8d5e7f87852bd17b94adcd5fc735e6c16678633ef231a3233ad89100962512021-06-19 15:37:242 hrs 9 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08321304
0x2eb3520bad55fe0ce5d2c57881061eb63ca623f2cd6b1d36edc685681b532d57100951522021-06-19 15:22:262 hrs 24 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08407704
0x44069e267d16eedf7e6614162bfd9f4e4d12efdc027232ee38d7d7da3a1501f6100940502021-06-19 15:07:232 hrs 39 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08407704
0x05afab2a63e9b1b0c9db4a79dc5bf445a508045c3ae1e55e7ac068e908535d0a100930132021-06-19 14:52:212 hrs 54 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08407704
0xc5fd313e94a7a341c2014bbc8c5d5f7444062f8d24bb4bc86bf97b70f2edff23100920182021-06-19 14:37:233 hrs 9 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08407704
0x9ac45e9230c0e43c4b819b8d11bf476c1d968546536455d60780def473baedd2100909332021-06-19 14:22:243 hrs 24 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08407704
0x24ec7dc264f180b6e2236273260bfdbb39726bb760d40affab5cfd2f3d1ddf97100898502021-06-19 14:07:243 hrs 39 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08549304
0x57c9eca77312714ea34a273fdfd7f8498fa6f9eb46672b6cc4c0f5a51749cd99100887012021-06-19 13:52:243 hrs 54 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08395704
0x6b1f5eb1de42d07d82092537474f1b3e68094125405b4d08400d01b730c49fa4100875972021-06-19 13:37:224 hrs 9 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08321304
0x2edcb8334880bab8f5587b2d5100153a943250c300304f581f7ed76cc7ff721f100865672021-06-19 13:22:344 hrs 24 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08407704
0x42265e0664ad97242ac7e3023465474f09ee926918a1d5ae6f2bdb6888101064100855892021-06-19 13:07:234 hrs 39 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08549304
0xeae264bb9e6ff8583611677ee445711fb94c8b9a65bf45d1fbd7b3a84ed851ee100846432021-06-19 12:52:324 hrs 54 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08321304
0xce547b40257341297234dff2030bceca4c0e7052f71cd60d8049022d4825fb2a100836722021-06-19 12:37:235 hrs 9 mins ago0x33d6cb7e91c62dd6980f16d61e0cfae082cabfca IN  0x615f3a0c551b2a33ee26b987daec8721ad8db9870 FTM0.08549304
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x60e63c1ae57ca40976fcf597d86d734141f34b5e

Contract Name:
ReaperAutoCompoundWaka

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-05-25
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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


pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;





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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;


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

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

    bool private _paused;

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

pragma solidity ^0.6.0;

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

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

    /**
     * @dev Third Party Contracts:
     * {uniRouter} - the uniRouter for target DEX
     * {masterChef} - masterChef contract
     * {poolId} - masterChef pool id
     */
    address public uniRouter = address(0x7B17021FcB7Bc888641dC3bEdfEd3734fCaf2c87);
    address public masterChef = address(0xaEF349E1736b8A4B1B243A369106293c3a0b9D09);
    uint8 public poolId;

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

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

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

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

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

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

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

        if (lpToken0 == wftm) {
            rewardTokenToLp0Route = [rewardToken, wftm];
        } else if (lpToken0 != rewardToken) {
            rewardTokenToLp0Route = [rewardToken, wftm, lpToken0];
        }

        if (lpToken1 == wftm) {
            rewardTokenToLp1Route = [rewardToken, wftm];
        } else if (lpToken1 != rewardToken) {
            rewardTokenToLp1Route = [rewardToken, wftm, lpToken1];
        }

        giveAllowances();
    }

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

        if (pairBal > 0) {
            IMasterChef(masterChef).deposit(poolId, pairBal);
        }
    }

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

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

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

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


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

        emit StratHarvest(msg.sender);
    }

    /**
     * @dev Takes out fees from the rewards. Set by constructor
     * callFeeToUser is set as a percentage of the fee,
     * as is treasuryFeeToVault
     */
    function chargeFees() internal {
        uint256 toWftm = IERC20(rewardToken).balanceOf(address(this)).mul(totalFee).div(PERCENT_DIVISOR);
        IUniswapRouterETH(uniRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(toWftm, 0, rewardTokenToWftmRoute, address(this), now.add(600));

        uint256 wftmBal = IERC20(wftm).balanceOf(address(this));

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

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

    /**
     * @dev Swaps {rewardToken} for {lpToken0}, {lpToken1} & {wftm} using SpookySwap.
     */
    function addLiquidity() internal {
        uint256 rewardTokenHalf = IERC20(rewardToken).balanceOf(address(this)).div(2);

        if (lpToken0 != rewardToken) {
            IUniswapRouterETH(uniRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(rewardTokenHalf, 0, rewardTokenToLp0Route, address(this), now.add(600));
        }

        if (lpToken1 != rewardToken) {
            IUniswapRouterETH(uniRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(rewardTokenHalf, 0, rewardTokenToLp1Route, address(this), now.add(600));
        }
        uint256 lp0Bal = IERC20(lpToken0).balanceOf(address(this));
        uint256 lp1Bal = IERC20(lpToken1).balanceOf(address(this));
        IUniswapRouterETH(uniRouter).addLiquidity(lpToken0, lpToken1, lp0Bal, lp1Bal, 1, 1, address(this), now.add(600));
    }

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

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

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

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

        IMasterChef(masterChef).emergencyWithdraw(poolId);

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

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

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

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

        giveAllowances();

        deposit();
    }

    function giveAllowances() internal {
        IERC20(lpPair).safeApprove(masterChef, uint256(-1));
        IERC20(rewardToken).safeApprove(uniRouter, uint256(-1));

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

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

    function removeAllowances() internal {
        IERC20(lpPair).safeApprove(masterChef, 0);
        IERC20(rewardToken).safeApprove(uniRouter, 0);
        IERC20(lpToken0).safeApprove(uniRouter, 0);
        IERC20(lpToken1).safeApprove(uniRouter, 0);
    }

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

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

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lpPair","type":"address"},{"internalType":"uint8","name":"_poolId","type":"uint8"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newCallFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTreasuryFee","type":"uint256"}],"name":"CallFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"TotalFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENT_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfLpPair","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolId","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokenToLp0Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokenToLp1Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokenToWftmRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"securityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"updateCallFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalFee","type":"uint256"}],"name":"updateTotalFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasury","type":"address"}],"name":"updateTreasury","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527321be370d5312f44cb42ce377bc9b8a0cef1a4c83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f61ccde1d4bb76ced1daa9d4c429cca83022b08b600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737b17021fcb7bc888641dc3bedfed3734fcaf2c87600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073aef349e1736b8a4b1b243a369106293c3a0b9d09600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e8600a55612328600b55600a600c556101c2600d556040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600e9060026200023292919062001436565b503480156200024057600080fd5b506040516200542938038062005429833981810160405260808110156200026657600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620002a762000bcd60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff02191690831515021790555083600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600760146101000a81548160ff021916908360ff16021790555081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015620004a657600080fd5b505afa158015620004bb573d6000803e3d6000fd5b505050506040513d6020811015620004d257600080fd5b8101908080519060200190929190505050600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200058c57600080fd5b505afa158015620005a1573d6000803e3d6000fd5b505050506040513d6020811015620005b857600080fd5b8101908080519060200190929190505050600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156200074c576040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600f9060026200074592919062001436565b50620008de565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620008dd576040518060600160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600f906003620008db929190620014c5565b505b5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141562000a21576040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601090600262000a1a92919062001436565b5062000bb3565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000bb2576040518060600160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601090600362000bb0929190620014c5565b505b5b62000bc362000bd560201b60201c565b5050505062001591565b600033905090565b62000c6b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000d01600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000d78600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000e0e600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000e85600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000f1b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b565b600081148062000fef575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801562000fb057600080fd5b505afa15801562000fc5573d6000803e3d6000fd5b505050506040513d602081101562000fdc57600080fd5b8101908080519060200190929190505050145b62001046576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180620053f36036913960400191505060405180910390fd5b620010eb8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050620010f060201b60201c565b505050565b606062001159826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16620011ea60201b620023df179092919060201c565b9050600081511115620011e5578080602001905160208110156200117c57600080fd5b8101908080519060200190929190505050620011e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180620053c9602a913960400191505060405180910390fd5b5b505050565b60606200120184846000856200120a60201b60201c565b90509392505050565b60606200121d856200142360201b60201c565b62001290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310620012e25780518252602082019150602081019050602083039250620012bd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462001346576040519150601f19603f3d011682016040523d82523d6000602084013e6200134b565b606091505b50915091508115620013625780925050506200141b565b600081511115620013765780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620013df578082015181840152602081019050620013c2565b50505050905090810190601f1680156200140d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b828054828255906000526020600020908101928215620014b2579160200282015b82811115620014b15782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062001457565b5b509050620014c1919062001554565b5090565b82805482825590600052602060002090810192821562001541579160200282015b82811115620015405782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620014e6565b5b50905062001550919062001554565b5090565b5b808211156200158d57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010162001555565b5090565b613e2880620015a16000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638456cb5911610125578063d0f2e818116100ad578063f4f45b461161007c578063f4f45b4614610730578063f7c618c114610764578063f88fb68914610798578063fb617787146107dc578063fbfa77cf146107e65761021c565b8063d0f2e81814610632578063d32b96041461068a578063d68e1302146106ce578063f2fde38b146106ec5761021c565b8063a0e47bf6116100f4578063a0e47bf61461059a578063bc063e1a146105ce578063c2351cdd146105ec578063cc32d1761461060a578063d0e30db0146106285761021c565b80638456cb591461050a578063877562b6146105145780638da5cb5b1461054857806390321e1a1461057c5761021c565b8063575a86b2116101a857806361d027b31161017757806361d027b3146103fc57806365108ea414610430578063715018a614610488578063722713f7146104925780637f51bb1f146104b05761021c565b8063575a86b21461031c57806359a9d23a146103505780635c975abb146103a85780635ee167c0146103c85761021c565b80633f4ba83a116101ef5780633f4ba83a146102ac578063452ed4f1146102b65780634641257d146102ea5780634700d305146102f45780634870dd9a146102fe5761021c565b806311588086146102215780631df4ccfc1461023f5780632e1a7d4d1461025d5780633e0dc34e1461028b575b600080fd5b61022961081a565b6040518082815260200191505060405180910390f35b61024761090e565b6040518082815260200191505060405180910390f35b6102896004803603602081101561027357600080fd5b8101908080359060200190929190505050610914565b005b610293610ce6565b604051808260ff16815260200191505060405180910390f35b6102b4610cf9565b005b6102be610ddb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102f2610e01565b005b6102fc611005565b005b610306611185565b6040518082815260200191505060405180910390f35b61032461118b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61037c6004803603602081101561036657600080fd5b81019080803590602001909291905050506111b1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103b06111ed565b60405180821515815260200191505060405180910390f35b6103d0611203565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610404611229565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61045c6004803603602081101561044657600080fd5b810190808035906020019092919050505061124f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049061128b565b005b61049a611411565b6040518082815260200191505060405180910390f35b6104f2600480360360208110156104c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611439565b60405180821515815260200191505060405180910390f35b61051261154d565b005b61051c611627565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055061164d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610584611676565b6040518082815260200191505060405180910390f35b6105a261167c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d66116a2565b6040518082815260200191505060405180910390f35b6105f46116a8565b6040518082815260200191505060405180910390f35b610612611773565b6040518082815260200191505060405180910390f35b610630611779565b005b61065e6004803603602081101561064857600080fd5b8101908080359060200190929190505050611978565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106b6600480360360208110156106a057600080fd5b81019080803590602001909291905050506119b4565b60405180821515815260200191505060405180910390f35b6106d6611b3f565b6040518082815260200191505060405180910390f35b61072e6004803603602081101561070257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b45565b005b610738611d50565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61076c611d76565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107c4600480360360208110156107ae57600080fd5b8101908080359060200190929190505050611d9c565b60405180821515815260200191505060405180910390f35b6107e4611ed6565b005b6107ee6121f4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393f1a40b600760149054906101000a900460ff16306040518363ffffffff1660e01b8152600401808360ff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b1580156108bf57600080fd5b505afa1580156108d3573d6000803e3d6000fd5b505050506040513d60408110156108e957600080fd5b8101908080519060200190929190805190602001909291905050505090508091505090565b600d5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a6257600080fd5b505afa158015610a76573d6000803e3d6000fd5b505050506040513d6020811015610a8c57600080fd5b8101908080519060200190929190505050905081811015610c2757600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600760149054906101000a900460ff16610b0884866123f790919063ffffffff16565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b158015610b4857600080fd5b505af1158015610b5c573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610be957600080fd5b505afa158015610bfd573d6000803e3d6000fd5b505050506040513d6020811015610c1357600080fd5b810190808051906020019092919050505090505b81811115610c33578190505b6000610c5e612710610c50600c548561244190919063ffffffff16565b6124c790919063ffffffff16565b9050610ce1600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610c9983856123f790919063ffffffff16565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125119092919063ffffffff16565b505050565b600760149054906101000a900460ff1681565b610d016125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610dc96125bb565b610dd16126ad565b610dd9611779565b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060149054906101000a900460ff1615610e84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b610e8d336129cb565b15610f00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f21636f6e7472616374000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600760149054906101000a900460ff1660006040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b158015610f9057600080fd5b505af1158015610fa4573d6000803e3d6000fd5b50505050610fb06129de565b610fb8612dff565b610fc0611779565b3373ffffffffffffffffffffffffffffffffffffffff167f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb560405160405180910390a2565b61100d6125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110d561154d565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600760149054906101000a900460ff1661112b61081a565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561116b57600080fd5b505af115801561117f573d6000803e3d6000fd5b50505050565b61271081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601081815481106111be57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e818154811061125c57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112936125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611353576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600061143461141e61081a565b6114266116a8565b61359290919063ffffffff16565b905090565b60006114436125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6115556125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611615576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61161d61361a565b61162561370e565b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101f481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561173357600080fd5b505afa158015611747573d6000803e3d6000fd5b505050506040513d602081101561175d57600080fd5b8101908080519060200190929190505050905090565b600b5481565b600060149054906101000a900460ff16156117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561188757600080fd5b505afa15801561189b573d6000803e3d6000fd5b505050506040513d60208110156118b157600080fd5b81019080805190602001909291905050509050600081111561197557600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600760149054906101000a900460ff16836040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561195c57600080fd5b505af1158015611970573d6000803e3d6000fd5b505050505b50565b600f818154811061198557fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006119be6125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a7e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101f4821115611af6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f46656520546f6f2048696768000000000000000000000000000000000000000081525060200191505060405180910390fd5b81600d819055507f2e59d502792bca3d730c472cd3acfbc16d0f9fe6ce0cddbdf0f80830251dfaca600d546040518082815260200191505060405180910390a160019050919050565b600c5481565b611b4d6125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613d4c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611da66125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600a81905550611e84600a546127106123f790919063ffffffff16565b600b819055507f06a730aa61ec47f8cc95582be032daaf0ec4cb816c24b9c07b574ea41821048b600a54600b54604051808381526020018281526020019250505060405180910390a160019050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e600760149054906101000a900460ff166040518263ffffffff1660e01b8152600401808260ff168152602001915050600060405180830381600087803b15801561202057600080fd5b505af1158015612034573d6000803e3d6000fd5b505050506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156120c357600080fd5b505afa1580156120d7573d6000803e3d6000fd5b505050506040513d60208110156120ed57600080fd5b81019080805190602001909291905050509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156121b557600080fd5b505af11580156121c9573d6000803e3d6000fd5b505050506040513d60208110156121df57600080fd5b81019080805190602001909291905050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008114806122e8575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156122ab57600080fd5b505afa1580156122bf573d6000803e3d6000fd5b505050506040513d60208110156122d557600080fd5b8101908080519060200190929190505050145b61233d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180613dbd6036913960400191505060405180910390fd5b6123da8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506138d0565b505050565b60606123ee84846000856139bf565b90509392505050565b600061243983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613bc5565b905092915050565b60008083141561245457600090506124c1565b600082840290508284828161246557fe5b04146124bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613d726021913960400191505060405180910390fd5b809150505b92915050565b600061250983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613c85565b905092915050565b6125ae8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506138d0565b505050565b600033905090565b600060149054906101000a900460ff1661263d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126806125b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61273c600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6127cb600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b61283b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6128ca600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b61293a600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6129c9600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b565b600080823b905060008111915050919050565b6000612acc612710612abe600d54600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612a7557600080fd5b505afa158015612a89573d6000803e3d6000fd5b505050506040513d6020811015612a9f57600080fd5b810190808051906020019092919050505061244190919063ffffffff16565b6124c790919063ffffffff16565b9050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000600e30612b276102584261359290919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015612bdf57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612b95575b50509650505050505050600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612ca657600080fd5b505afa158015612cba573d6000803e3d6000fd5b505050506040513d6020811015612cd057600080fd5b810190808051906020019092919050505090506000612d0e612710612d00600a548561244190919063ffffffff16565b6124c790919063ffffffff16565b9050612d5d3382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125119092919063ffffffff16565b6000612d88612710612d7a600b548661244190919063ffffffff16565b6124c790919063ffffffff16565b9050612df9600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125119092919063ffffffff16565b50505050565b6000612ed760028060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612e8e57600080fd5b505afa158015612ea2573d6000803e3d6000fd5b505050506040513d6020811015612eb857600080fd5b81019080805190602001909291905050506124c790919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461309e57600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000600f30612fa96102584261359290919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561306157602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311613017575b50509650505050505050600060405180830381600087803b15801561308557600080fd5b505af1158015613099573d6000803e3d6000fd5b505050505b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461326357600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79582600060103061316e6102584261359290919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561322657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116131dc575b50509650505050505050600060405180830381600087803b15801561324a57600080fd5b505af115801561325e573d6000803e3d6000fd5b505050505b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156132ee57600080fd5b505afa158015613302573d6000803e3d6000fd5b505050506040513d602081101561331857600080fd5b810190808051906020019092919050505090506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156133b657600080fd5b505afa1580156133ca573d6000803e3d6000fd5b505050506040513d60208110156133e057600080fd5b81019080805190602001909291905050509050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8e33700600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585600180306134926102584261359290919063ffffffff16565b6040518963ffffffff1660e01b8152600401808973ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200198505050505050505050606060405180830381600087803b15801561353b57600080fd5b505af115801561354f573d6000803e3d6000fd5b505050506040513d606081101561356557600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050505050505050565b600080828401905083811015613610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600060149054906101000a900460ff161561369d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586136e16125b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61377e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6137ee600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b61385e600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6138ce600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b565b6060613932826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123df9092919063ffffffff16565b90506000815111156139ba5780806020019051602081101561395357600080fd5b81019080805190602001909291905050506139b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613d93602a913960400191505060405180910390fd5b5b505050565b60606139ca856129cb565b613a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613a8c5780518252602082019150602081019050602083039250613a69565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613aee576040519150601f19603f3d011682016040523d82523d6000602084013e613af3565b606091505b50915091508115613b08578092505050613bbd565b600081511115613b1b5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b82578082015181840152602081019050613b67565b50505050905090810190601f168015613baf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b6000838311158290613c72576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c37578082015181840152602081019050613c1c565b50505050905090810190601f168015613c645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290613d31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613cf6578082015181840152602081019050613cdb565b50505050905090810190601f168015613d235780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613d3d57fe5b04905080915050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220534e6d08bad1f1668e35579e6e06c5bb8df9c3d17168dcfbc06824d936c9a11c64736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000696885e9581bd33ee9877bd8750ddda65381ff0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fde23461662a23bc753b9f2739b42410701d0640000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b

Deployed ByteCode Sourcemap

37898:11655:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46870:176;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40440:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43174:587;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38991:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47964:118;;;:::i;:::-;;38544:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;44149:277;;;:::i;:::-;;47634:128;;;:::i;:::-;;40514:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38905:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41038:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33278:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38572:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;39195;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40925:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2693:148;;;:::i;:::-;;46426:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49412:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47819:86;;;:::i;:::-;;38602:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2051:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40335:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38820:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40473:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46632:122;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40368:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42746:220;;;:::i;:::-;;40993:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48839:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40405:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2996:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38377:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38457:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49176:228;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47243:271;;;:::i;:::-;;39225:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46870:176;46916:7;46937:15;46970:10;;;;;;;;;;;46958:32;;;46991:6;;;;;;;;;;;47007:4;46958:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46936:77;;;47031:7;47024:14;;;46870:176;:::o;40440:26::-;;;;:::o;43174:587::-;43251:5;;;;;;;;;;;43237:19;;:10;:19;;;43229:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43280:15;43305:6;;;;;;;;;;;43298:24;;;43331:4;43298:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43280:57;;43364:7;43354;:17;43350:176;;;43400:10;;;;;;;;;;;43388:32;;;43421:6;;;;;;;;;;;43429:20;43441:7;43429;:11;;:20;;;;:::i;:::-;43388:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43482:6;;;;;;;;;;;43475:24;;;43508:4;43475:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43465:49;;43350:176;43552:7;43542;:17;43538:67;;;43586:7;43576:17;;43538:67;43615:19;43637:45;40554:5;43637:24;43649:11;;43637:7;:11;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;43615:67;;43693:60;43721:5;;;;;;;;;;;43728:24;43740:11;43728:7;:11;;:24;;;;:::i;:::-;43700:6;;;;;;;;;;;43693:27;;;;:60;;;;;:::i;:::-;43174:587;;;:::o;38991:19::-;;;;;;;;;;;;;:::o;47964:118::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48013:10:::1;:8;:10::i;:::-;48036:16;:14;:16::i;:::-;48065:9;:7;:9::i;:::-;47964:118::o:0;38544:21::-;;;;;;;;;;;;;:::o;44149:277::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44211:30:::1;44230:10;44211:18;:30::i;:::-;44210:31;44202:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;44278:10;;;;;;;;;;;44266:31;;;44298:6;;;;;;;;;;;44306:1;44266:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44319:12;:10;:12::i;:::-;44342:14;:12;:14::i;:::-;44367:9;:7;:9::i;:::-;44407:10;44394:24;;;;;;;;;;;;44149:277::o:0;47634:128::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47679:7:::1;:5;:7::i;:::-;47709:10;;;;;;;;;;;47697:32;;;47730:6;;;;;;;;;;;47738:15;:13;:15::i;:::-;47697:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47634:128::o:0;40514:45::-;40554:5;40514:45;:::o;38905:79::-;;;;;;;;;;;;;:::o;41038:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33278:78::-;33317:4;33341:7;;;;;;;;;;;33334:14;;33278:78;:::o;38572:23::-;;;;;;;;;;;;;:::o;39195:::-;;;;;;;;;;;;;:::o;40925:61::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2693:148::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2800:1:::1;2763:40;;2784:6;::::0;::::1;;;;;;;;2763:40;;;;;;;;;;;;2831:1;2814:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2693:148::o:0;46426:115::-;46468:7;46495:38;46517:15;:13;:15::i;:::-;46495:17;:15;:17::i;:::-;:21;;:38;;;;:::i;:::-;46488:45;;46426:115;:::o;49412:138::-;49485:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49511:11:::1;49500:8;;:22;;;;;;;;;;;;;;;;;;49538:4;49531:11;;49412:138:::0;;;:::o;47819:86::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47862:8:::1;:6;:8::i;:::-;47879:18;:16;:18::i;:::-;47819:86::o:0;38602:23::-;;;;;;;;;;;;;:::o;2051:79::-;2089:7;2116:6;;;;;;;;;;;2109:13;;2051:79;:::o;40335:26::-;;;;:::o;38820:78::-;;;;;;;;;;;;;:::o;40473:34::-;40504:3;40473:34;:::o;46632:122::-;46680:7;46714:6;;;;;;;;;;;46707:24;;;46740:4;46707:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46700:46;;46632:122;:::o;40368:30::-;;;;:::o;42746:220::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42797:15:::1;42822:6;;;;;;;;;;;42815:24;;;42848:4;42815:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;42797:57;;42881:1;42871:7;:11;42867:92;;;42911:10;;;;;;;;;;;42899:31;;;42931:6;;;;;;;;;;;42939:7;42899:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;42867:92;33635:1;42746:220::o:0;40993:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48839:224::-;48907:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40504:3:::1;48930:9;:20;;48922:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;48987:9;48976:8;:20;;;;49010:25;49026:8;;49010:25;;;;;;;;;;;;;;;;;;49051:4;49044:11;;48839:224:::0;;;:::o;40405:28::-;;;;:::o;2996:244::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3105:1:::1;3085:22;;:8;:22;;;;3077:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3195:8;3166:38;;3187:6;::::0;::::1;;;;;;;;3166:38;;;;;;;;;;;;3224:8;3215:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2996:244:::0;:::o;38377:73::-;;;;;;;;;;;;;:::o;38457:80::-;;;;;;;;;;;;;:::o;49176:228::-;49242:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49267:8:::1;49257:7;:18;;;;49298:28;49318:7;;40554:5;49298:19;;:28;;;;:::i;:::-;49284:11;:42;;;;49340:36;49355:7;;49364:11;;49340:36;;;;;;;;;;;;;;;;;;;;;;;;49392:4;49385:11;;49176:228:::0;;;:::o;47243:271::-;47308:5;;;;;;;;;;;47294:19;;:10;:19;;;47286:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47349:10;;;;;;;;;;;47337:41;;;47379:6;;;;;;;;;;;47337:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47399:15;47424:6;;;;;;;;;;;47417:24;;;47450:4;47417:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47399:57;;47474:6;;;;;;;;;;;47467:23;;;47491:5;;;;;;;;;;;47498:7;47467:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47243:271;:::o;39225:20::-;;;;;;;;;;;;;:::o;29794:622::-;30173:1;30164:5;:10;30163:62;;;;30223:1;30180:5;:15;;;30204:4;30211:7;30180:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;30163:62;30155:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30318:90;30338:5;30368:22;;;30392:7;30401:5;30345:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30318:19;:90::i;:::-;29794:622;;;:::o;15113:196::-;15216:12;15248:53;15271:6;15279:4;15285:1;15288:12;15248:22;:53::i;:::-;15241:60;;15113:196;;;;;:::o;7435:136::-;7493:7;7520:43;7524:1;7527;7520:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7513:50;;7435:136;;;;:::o;8325:471::-;8383:7;8633:1;8628;:6;8624:47;;;8658:1;8651:8;;;;8624:47;8683:9;8699:1;8695;:5;8683:17;;8728:1;8723;8719;:5;;;;;;:10;8711:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8787:1;8780:8;;;8325:471;;;;;:::o;9272:132::-;9330:7;9357:39;9361:1;9364;9357:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;9350:46;;9272:132;;;;:::o;29135:177::-;29218:86;29238:5;29268:23;;;29293:2;29297:5;29245:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29218:19;:86::i;:::-;29135:177;;;:::o;605:106::-;658:15;693:10;686:17;;605:106;:::o;34327:120::-;33872:7;;;;;;;;;;;33864:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34396:5:::1;34386:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;34417:22;34426:12;:10;:12::i;:::-;34417:22;;;;;;;;;;;;;;;;;;;;34327:120::o:0;48090:407::-;48136:51;48163:10;;;;;;;;;;;48183:2;48143:6;;;;;;;;;;;48136:26;;;;:51;;;;;:::i;:::-;48198:55;48230:9;;;;;;;;;;;48249:2;48205:11;;;;;;;;;;;48198:31;;;;:55;;;;;:::i;:::-;48266:42;48295:9;;;;;;;;;;;48306:1;48273:8;;;;;;;;;;;48266:28;;;;:42;;;;;:::i;:::-;48319:52;48348:9;;;;;;;;;;;48367:2;48326:8;;;;;;;;;;;48319:28;;;;:52;;;;;:::i;:::-;48384:42;48413:9;;;;;;;;;;;48424:1;48391:8;;;;;;;;;;;48384:28;;;;:42;;;;;:::i;:::-;48437:52;48466:9;;;;;;;;;;;48485:2;48444:8;;;;;;;;;;;48437:28;;;;:52;;;;;:::i;:::-;48090:407::o;12195:422::-;12255:4;12463:12;12574:7;12562:20;12554:28;;12608:1;12601:4;:8;12594:15;;;12195:422;;;:::o;44607:665::-;44649:14;44666:79;40554:5;44666:58;44715:8;;44673:11;;;;;;;;;;;44666:29;;;44704:4;44666:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:48;;:58;;;;:::i;:::-;:62;;:79;;;;:::i;:::-;44649:96;;44774:9;;;;;;;;;;;44756:82;;;44839:6;44847:1;44850:22;44882:4;44889:12;44897:3;44889;:7;;:12;;;;:::i;:::-;44756:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44915:15;44940:4;;;;;;;;;;;44933:22;;;44964:4;44933:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44915:55;;44983:21;45007:41;40554:5;45007:20;45019:7;;45007;:11;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;44983:65;;45059:52;45085:10;45097:13;45066:4;;;;;;;;;;;45059:25;;;;:52;;;;;:::i;:::-;45124:26;45153:45;40554:5;45153:24;45165:11;;45153:7;:11;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;45124:74;;45209:55;45235:8;;;;;;;;;;;45245:18;45216:4;;;;;;;;;;;45209:25;;;;:55;;;;;:::i;:::-;44607:665;;;;:::o;45385:834::-;45429:23;45455:51;45504:1;45462:11;;;;;;;;;;;45455:29;;;45493:4;45455:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:48;;:51;;;;:::i;:::-;45429:77;;45535:11;;;;;;;;;;;45523:23;;:8;;;;;;;;;;;:23;;;45519:210;;45581:9;;;;;;;;;;;45563:82;;;45646:15;45663:1;45666:21;45697:4;45704:12;45712:3;45704;:7;;:12;;;;:::i;:::-;45563:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45519:210;45757:11;;;;;;;;;;;45745:23;;:8;;;;;;;;;;;:23;;;45741:210;;45803:9;;;;;;;;;;;45785:82;;;45868:15;45885:1;45888:21;45919:4;45926:12;45934:3;45926;:7;;:12;;;;:::i;:::-;45785:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45741:210;45961:14;45985:8;;;;;;;;;;;45978:26;;;46013:4;45978:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45961:58;;46030:14;46054:8;;;;;;;;;;;46047:26;;;46082:4;46047:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46030:58;;46117:9;;;;;;;;;;;46099:41;;;46141:8;;;;;;;;;;;46151;;;;;;;;;;;46161:6;46169;46177:1;46180;46191:4;46198:12;46206:3;46198;:7;;:12;;;;:::i;:::-;46099:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45385:834;;;:::o;6971:181::-;7029:7;7049:9;7065:1;7061;:5;7049:17;;7090:1;7085;:6;;7077:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7143:1;7136:8;;;6971:181;;;;:::o;34068:118::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34138:4:::1;34128:7;;:14;;;;;;;;;;;;;;;;;;34158:20;34165:12;:10;:12::i;:::-;34158:20;;;;;;;;;;;;;;;;;;;;34068:118::o:0;48505:259::-;48553:41;48580:10;;;;;;;;;;;48592:1;48560:6;;;;;;;;;;;48553:26;;;;:41;;;;;:::i;:::-;48605:45;48637:9;;;;;;;;;;;48648:1;48612:11;;;;;;;;;;;48605:31;;;;:45;;;;;:::i;:::-;48661:42;48690:9;;;;;;;;;;;48701:1;48668:8;;;;;;;;;;;48661:28;;;;:42;;;;;:::i;:::-;48714;48743:9;;;;;;;;;;;48754:1;48721:8;;;;;;;;;;;48714:28;;;;:42;;;;;:::i;:::-;48505:259::o;31440:761::-;31864:23;31890:69;31918:4;31890:69;;;;;;;;;;;;;;;;;31898:5;31890:27;;;;:69;;;;;:::i;:::-;31864:95;;31994:1;31974:10;:17;:21;31970:224;;;32116:10;32105:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32097:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31970:224;31440:761;;;:::o;16490:979::-;16620:12;16653:18;16664:6;16653:10;:18::i;:::-;16645:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16779:12;16793:23;16820:6;:11;;16840:8;16851:4;16820:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16778:78;;;;16871:7;16867:595;;;16902:10;16895:17;;;;;;16867:595;17036:1;17016:10;:17;:21;17012:439;;;17279:10;17273:17;17340:15;17327:10;17323:2;17319:19;17312:44;17227:148;17422:12;17415:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16490:979;;;;;;;:::o;7874:192::-;7960:7;7993:1;7988;:6;;7996:12;7980:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8020:9;8036:1;8032;:5;8020:17;;8057:1;8050:8;;;7874:192;;;;;:::o;9900:278::-;9986:7;10018:1;10014;:5;10021:12;10006:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10045:9;10061:1;10057;:5;;;;;;10045:17;;10169:1;10162:8;;;9900:278;;;;;:::o

Swarm Source

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