Contract 0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f

Txn Hash
Block
From
To
Value [Txn Fee]
0x271aeed4592a6e2dd16192adda852cca293214f87c8fb3361a054e019cc64d6c101113282021-06-19 19:32:555 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08375576
0xf2044b385caa38dca3301509e3615d3bd23d8ad3523c3b632dbc1349096565af101096292021-06-19 19:02:4535 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08517176
0x850b86c164fb627501356752657dd979bc22514e4c37e8102cf9b7b1d0738522101069132021-06-19 18:17:441 hr 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0xce234ac4fd594d1f3179d1283f319373f5824d9fb0421a455cac787582a1a8ea101060032021-06-19 18:02:441 hr 35 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08471576
0x834f1c328306e14f090d294eadc140181b40e4109f4a1ef3d49db48a508f70b7101040692021-06-19 17:32:352 hrs 5 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.082414
0x1fa90b9cf7b566f1a7b2c885204aecd23472bf4f7add5f5cb9a871a1b993a8e6101031492021-06-19 17:17:342 hrs 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08289176
0xf026ccb7004d7989e9fb0c25517c8b0a38781d1b684db8ecd507bcb99fc3a1fb101022382021-06-19 17:02:522 hrs 35 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08375576
0x4aa96ed99ac40c0fb08f3cd93798e9e5474a5f7dd354d1d8314b15152f4a6970101003562021-06-19 16:33:353 hrs 4 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08375576
0x671b6352ff0208e72f425e7bcb471368ec8fcc7daeed66c6d826a13a8eb1effe100993212021-06-19 16:17:523 hrs 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08375576
0x145b7adcc21ba65ebf8e1e9ef6181b656fb9407907a25723cbc1589af8792007100981652021-06-19 16:02:443 hrs 35 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08517176
0x231b1eb8b9967d61cf618cee94775fa9443e15a4706ed6055fdce9a114acdc74100970402021-06-19 15:47:453 hrs 50 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08289176
0x7af5e0597a4856515326d2fd4cf9abdb6aba5c7dc9ed406ecb811e014d48abc7100958912021-06-19 15:32:454 hrs 5 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08375576
0x431a68a320dae6fc21ce92c1300d08c86e685975a2983ee8e07ad07f76007cf1100948192021-06-19 15:17:454 hrs 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08517176
0xe645a2b25a3517f72d717738d12cdc64d2b6a573eaec5728c02d3709d3ae0ead100937252021-06-19 15:02:444 hrs 35 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0xa2007d48e82f571bbae1d7dc8464f6bcfdbd3cb2586d57d5fd749d33427f8941100927282021-06-19 14:47:454 hrs 50 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0x81a45c2efada62e7fa2e7a3bc9baa428fff1361c1643b2c434a0c483cd3854d6100916932021-06-19 14:32:445 hrs 5 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0xd93e6209fec774f5c36e75e7928d90f092315f22fa0115c6f25e77e94ea2db39100906042021-06-19 14:17:435 hrs 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0x750cfedefdcf7bf08d86a522ddaab62dbd1e77127e8780b66a9fb060654ed7f0100894922021-06-19 14:02:465 hrs 35 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0x89ecb402719a22291b6d432da21f92d7ffc389bc00f57ce3815107574a0ab5eb100883292021-06-19 13:47:465 hrs 50 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0x715a18457bc890a9f56545169f8dfb22f831e3fe822230c35cf5d237103fe8aa100872842021-06-19 13:32:446 hrs 5 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08289176
0x0e8039f1512de1991ac29629bc831b5b94a0c65c76f0ce7a7bd39baf90bf822d100862582021-06-19 13:17:446 hrs 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08517176
0x984b1b677d84599587d4bec2f0618243b17d83cc583758906817bd12d0d52075100853042021-06-19 13:02:536 hrs 35 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08289176
0x7da829eadc3552dad6d84faac7f89c00b6a4e5b224b7ea6aae108c191326173d100843432021-06-19 12:48:046 hrs 50 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08517176
0x621245051488d685ffce657870aacbe2166ac7d00f177d2c9bfa1e80b5056980100833662021-06-19 12:32:447 hrs 5 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08363576
0xf62f3871492c936eab71516977983fba231d205e029a00d8e74684e49a27d16a100824462021-06-19 12:17:437 hrs 20 mins ago0xf58d534290ce9fc4ea639b8b9ee238fe83d2efa6 IN  0xb881ba1091b1683b3a86e4afdf5cdf8021e29e7f0 FTM0.08397176
[ 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 0xFbfE2a1CC0A08b3c1D1E78Dde870F066A7E7B4a0

Contract Name:
ReaperAutoCompoundLiquid

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 ReaperAutoCompoundLiquid 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(0x10b620b2dbAC4Faa7D7FFD71Da486f5D44cd86f9);
    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(0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506);
    address public masterChef = address(0x742474dAE70Fa2AB063aB786b1fBe5704e861a0c);
    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"}]

60806040527321be370d5312f44cb42ce377bc9b8a0cef1a4c83600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507310b620b2dbac4faa7d7ffd71da486f5d44cd86f9600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731b02da8cb0d097eb8d57a175b88c7d8b47997506600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073742474dae70fa2ab063ab786b1fbe5704e861a0c600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e8600a55612328600b55600a600c556101c2600d556040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600e9060026200023292919062001436565b503480156200024057600080fd5b506040516200542938038062005429833981810160405260808110156200026657600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620002a762000bcd60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff02191690831515021790555083600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600760146101000a81548160ff021916908360ff16021790555081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015620004a657600080fd5b505afa158015620004bb573d6000803e3d6000fd5b505050506040513d6020811015620004d257600080fd5b8101908080519060200190929190505050600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200058c57600080fd5b505afa158015620005a1573d6000803e3d6000fd5b505050506040513d6020811015620005b857600080fd5b8101908080519060200190929190505050600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156200074c576040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600f9060026200074592919062001436565b50620008de565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620008dd576040518060600160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600f906003620008db929190620014c5565b505b5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141562000a21576040518060400160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601090600262000a1a92919062001436565b5062000bb3565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000bb2576040518060600160405280600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601090600362000bb0929190620014c5565b505b5b62000bc362000bd560201b60201c565b5050505062001591565b600033905090565b62000c6b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000d01600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000d78600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000e0e600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000e85600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b62000f1b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662000f1d60201b6200221a179092919060201c565b565b600081148062000fef575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801562000fb057600080fd5b505afa15801562000fc5573d6000803e3d6000fd5b505050506040513d602081101562000fdc57600080fd5b8101908080519060200190929190505050145b62001046576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180620053f36036913960400191505060405180910390fd5b620010eb8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050620010f060201b60201c565b505050565b606062001159826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16620011ea60201b620023df179092919060201c565b9050600081511115620011e5578080602001905160208110156200117c57600080fd5b8101908080519060200190929190505050620011e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180620053c9602a913960400191505060405180910390fd5b5b505050565b60606200120184846000856200120a60201b60201c565b90509392505050565b60606200121d856200142360201b60201c565b62001290576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310620012e25780518252602082019150602081019050602083039250620012bd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462001346576040519150601f19603f3d011682016040523d82523d6000602084013e6200134b565b606091505b50915091508115620013625780925050506200141b565b600081511115620013765780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620013df578082015181840152602081019050620013c2565b50505050905090810190601f1680156200140d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b905060008111915050919050565b828054828255906000526020600020908101928215620014b2579160200282015b82811115620014b15782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019062001457565b5b509050620014c1919062001554565b5090565b82805482825590600052602060002090810192821562001541579160200282015b82811115620015405782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620014e6565b5b50905062001550919062001554565b5090565b5b808211156200158d57600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555060010162001555565b5090565b613e2880620015a16000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638456cb5911610125578063d0f2e818116100ad578063f4f45b461161007c578063f4f45b4614610730578063f7c618c114610764578063f88fb68914610798578063fb617787146107dc578063fbfa77cf146107e65761021c565b8063d0f2e81814610632578063d32b96041461068a578063d68e1302146106ce578063f2fde38b146106ec5761021c565b8063a0e47bf6116100f4578063a0e47bf61461059a578063bc063e1a146105ce578063c2351cdd146105ec578063cc32d1761461060a578063d0e30db0146106285761021c565b80638456cb591461050a578063877562b6146105145780638da5cb5b1461054857806390321e1a1461057c5761021c565b8063575a86b2116101a857806361d027b31161017757806361d027b3146103fc57806365108ea414610430578063715018a614610488578063722713f7146104925780637f51bb1f146104b05761021c565b8063575a86b21461031c57806359a9d23a146103505780635c975abb146103a85780635ee167c0146103c85761021c565b80633f4ba83a116101ef5780633f4ba83a146102ac578063452ed4f1146102b65780634641257d146102ea5780634700d305146102f45780634870dd9a146102fe5761021c565b806311588086146102215780631df4ccfc1461023f5780632e1a7d4d1461025d5780633e0dc34e1461028b575b600080fd5b61022961081a565b6040518082815260200191505060405180910390f35b61024761090e565b6040518082815260200191505060405180910390f35b6102896004803603602081101561027357600080fd5b8101908080359060200190929190505050610914565b005b610293610ce6565b604051808260ff16815260200191505060405180910390f35b6102b4610cf9565b005b6102be610ddb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102f2610e01565b005b6102fc611005565b005b610306611185565b6040518082815260200191505060405180910390f35b61032461118b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61037c6004803603602081101561036657600080fd5b81019080803590602001909291905050506111b1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103b06111ed565b60405180821515815260200191505060405180910390f35b6103d0611203565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610404611229565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61045c6004803603602081101561044657600080fd5b810190808035906020019092919050505061124f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049061128b565b005b61049a611411565b6040518082815260200191505060405180910390f35b6104f2600480360360208110156104c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611439565b60405180821515815260200191505060405180910390f35b61051261154d565b005b61051c611627565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61055061164d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610584611676565b6040518082815260200191505060405180910390f35b6105a261167c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d66116a2565b6040518082815260200191505060405180910390f35b6105f46116a8565b6040518082815260200191505060405180910390f35b610612611773565b6040518082815260200191505060405180910390f35b610630611779565b005b61065e6004803603602081101561064857600080fd5b8101908080359060200190929190505050611978565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106b6600480360360208110156106a057600080fd5b81019080803590602001909291905050506119b4565b60405180821515815260200191505060405180910390f35b6106d6611b3f565b6040518082815260200191505060405180910390f35b61072e6004803603602081101561070257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b45565b005b610738611d50565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61076c611d76565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107c4600480360360208110156107ae57600080fd5b8101908080359060200190929190505050611d9c565b60405180821515815260200191505060405180910390f35b6107e4611ed6565b005b6107ee6121f4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393f1a40b600760149054906101000a900460ff16306040518363ffffffff1660e01b8152600401808360ff1681526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b1580156108bf57600080fd5b505afa1580156108d3573d6000803e3d6000fd5b505050506040513d60408110156108e957600080fd5b8101908080519060200190929190805190602001909291905050505090508091505090565b600d5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a6257600080fd5b505afa158015610a76573d6000803e3d6000fd5b505050506040513d6020811015610a8c57600080fd5b8101908080519060200190929190505050905081811015610c2757600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600760149054906101000a900460ff16610b0884866123f790919063ffffffff16565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b158015610b4857600080fd5b505af1158015610b5c573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610be957600080fd5b505afa158015610bfd573d6000803e3d6000fd5b505050506040513d6020811015610c1357600080fd5b810190808051906020019092919050505090505b81811115610c33578190505b6000610c5e612710610c50600c548561244190919063ffffffff16565b6124c790919063ffffffff16565b9050610ce1600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610c9983856123f790919063ffffffff16565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125119092919063ffffffff16565b505050565b600760149054906101000a900460ff1681565b610d016125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610dc96125bb565b610dd16126ad565b610dd9611779565b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060149054906101000a900460ff1615610e84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b610e8d336129cb565b15610f00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f21636f6e7472616374000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600760149054906101000a900460ff1660006040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b158015610f9057600080fd5b505af1158015610fa4573d6000803e3d6000fd5b50505050610fb06129de565b610fb8612dff565b610fc0611779565b3373ffffffffffffffffffffffffffffffffffffffff167f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb560405160405180910390a2565b61100d6125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110d561154d565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663441a3e70600760149054906101000a900460ff1661112b61081a565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561116b57600080fd5b505af115801561117f573d6000803e3d6000fd5b50505050565b61271081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601081815481106111be57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060149054906101000a900460ff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e818154811061125c57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112936125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611353576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600061143461141e61081a565b6114266116a8565b61359290919063ffffffff16565b905090565b60006114436125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6115556125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611615576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61161d61361a565b61162561370e565b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6101f481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561173357600080fd5b505afa158015611747573d6000803e3d6000fd5b505050506040513d602081101561175d57600080fd5b8101908080519060200190929190505050905090565b600b5481565b600060149054906101000a900460ff16156117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561188757600080fd5b505afa15801561189b573d6000803e3d6000fd5b505050506040513d60208110156118b157600080fd5b81019080805190602001909291905050509050600081111561197557600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2bbb158600760149054906101000a900460ff16836040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561195c57600080fd5b505af1158015611970573d6000803e3d6000fd5b505050505b50565b600f818154811061198557fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006119be6125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a7e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6101f4821115611af6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f46656520546f6f2048696768000000000000000000000000000000000000000081525060200191505060405180910390fd5b81600d819055507f2e59d502792bca3d730c472cd3acfbc16d0f9fe6ce0cddbdf0f80830251dfaca600d546040518082815260200191505060405180910390a160019050919050565b600c5481565b611b4d6125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c0d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613d4c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611da66125b3565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e66576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81600a81905550611e84600a546127106123f790919063ffffffff16565b600b819055507f06a730aa61ec47f8cc95582be032daaf0ec4cb816c24b9c07b574ea41821048b600a54600b54604051808381526020018281526020019250505060405180910390a160019050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f217661756c74000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635312ea8e600760149054906101000a900460ff166040518263ffffffff1660e01b8152600401808260ff168152602001915050600060405180830381600087803b15801561202057600080fd5b505af1158015612034573d6000803e3d6000fd5b505050506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156120c357600080fd5b505afa1580156120d7573d6000803e3d6000fd5b505050506040513d60208110156120ed57600080fd5b81019080805190602001909291905050509050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156121b557600080fd5b505af11580156121c9573d6000803e3d6000fd5b505050506040513d60208110156121df57600080fd5b81019080805190602001909291905050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008114806122e8575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156122ab57600080fd5b505afa1580156122bf573d6000803e3d6000fd5b505050506040513d60208110156122d557600080fd5b8101908080519060200190929190505050145b61233d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180613dbd6036913960400191505060405180910390fd5b6123da8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506138d0565b505050565b60606123ee84846000856139bf565b90509392505050565b600061243983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613bc5565b905092915050565b60008083141561245457600090506124c1565b600082840290508284828161246557fe5b04146124bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613d726021913960400191505060405180910390fd5b809150505b92915050565b600061250983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613c85565b905092915050565b6125ae8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506138d0565b505050565b600033905090565b600060149054906101000a900460ff1661263d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126806125b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61273c600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6127cb600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b61283b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6128ca600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b61293a600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6129c9600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b565b600080823b905060008111915050919050565b6000612acc612710612abe600d54600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612a7557600080fd5b505afa158015612a89573d6000803e3d6000fd5b505050506040513d6020811015612a9f57600080fd5b810190808051906020019092919050505061244190919063ffffffff16565b6124c790919063ffffffff16565b9050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000600e30612b276102584261359290919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252858181548152602001915080548015612bdf57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612b95575b50509650505050505050600060405180830381600087803b158015612c0357600080fd5b505af1158015612c17573d6000803e3d6000fd5b505050506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612ca657600080fd5b505afa158015612cba573d6000803e3d6000fd5b505050506040513d6020811015612cd057600080fd5b810190808051906020019092919050505090506000612d0e612710612d00600a548561244190919063ffffffff16565b6124c790919063ffffffff16565b9050612d5d3382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125119092919063ffffffff16565b6000612d88612710612d7a600b548661244190919063ffffffff16565b6124c790919063ffffffff16565b9050612df9600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125119092919063ffffffff16565b50505050565b6000612ed760028060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612e8e57600080fd5b505afa158015612ea2573d6000803e3d6000fd5b505050506040513d6020811015612eb857600080fd5b81019080805190602001909291905050506124c790919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461309e57600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795826000600f30612fa96102584261359290919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561306157602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311613017575b50509650505050505050600060405180830381600087803b15801561308557600080fd5b505af1158015613099573d6000803e3d6000fd5b505050505b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461326357600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d79582600060103061316e6102584261359290919063ffffffff16565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818154815260200191508054801561322657602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190600101908083116131dc575b50509650505050505050600060405180830381600087803b15801561324a57600080fd5b505af115801561325e573d6000803e3d6000fd5b505050505b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156132ee57600080fd5b505afa158015613302573d6000803e3d6000fd5b505050506040513d602081101561331857600080fd5b810190808051906020019092919050505090506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156133b657600080fd5b505afa1580156133ca573d6000803e3d6000fd5b505050506040513d60208110156133e057600080fd5b81019080805190602001909291905050509050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8e33700600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585600180306134926102584261359290919063ffffffff16565b6040518963ffffffff1660e01b8152600401808973ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200198505050505050505050606060405180830381600087803b15801561353b57600080fd5b505af115801561354f573d6000803e3d6000fd5b505050506040513d606081101561356557600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050505050505050565b600080828401905083811015613610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600060149054906101000a900460ff161561369d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586136e16125b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61377e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6137ee600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b61385e600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b6138ce600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661221a9092919063ffffffff16565b565b6060613932826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123df9092919063ffffffff16565b90506000815111156139ba5780806020019051602081101561395357600080fd5b81019080805190602001909291905050506139b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613d93602a913960400191505060405180910390fd5b5b505050565b60606139ca856129cb565b613a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613a8c5780518252602082019150602081019050602083039250613a69565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613aee576040519150601f19603f3d011682016040523d82523d6000602084013e613af3565b606091505b50915091508115613b08578092505050613bbd565b600081511115613b1b5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b82578082015181840152602081019050613b67565b50505050905090810190601f168015613baf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b6000838311158290613c72576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613c37578082015181840152602081019050613c1c565b50505050905090810190601f168015613c645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290613d31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613cf6578082015181840152602081019050613cdb565b50505050905090810190601f168015613d235780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581613d3d57fe5b04905080915050939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ac11a841d2b77b8a5a8a0eb5ac3af7d69499221a5f35882a83b9267f131efed564736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000280abc0d9727f4de3a46ca9cf93c16b4a9c127d100000000000000000000000000000000000000000000000000000000000000000000000000000000000000003168676e310a3dc426379108d277e0ba861dbad30000000000000000000000000e7c5313e9bb80b654734d9b7ab1fb01468dee3b

Deployed ByteCode Sourcemap

37898:11657:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46872:176;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40442:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43176:587;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38993:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47966:118;;;:::i;:::-;;38546:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;44151:277;;;:::i;:::-;;47636:128;;;:::i;:::-;;40516:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38907:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;41040:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33278:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38574:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;39197;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40927:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2693:148;;;:::i;:::-;;46428:115;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49414:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47821:86;;;:::i;:::-;;38604:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2051:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40337:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38822:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40475:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46634:122;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40370:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;42748:220;;;:::i;:::-;;40995:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48841:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;40407:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2996:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38379:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;38459:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49178:228;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47245:271;;;:::i;:::-;;39227:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46872:176;46918:7;46939:15;46972:10;;;;;;;;;;;46960:32;;;46993:6;;;;;;;;;;;47009:4;46960:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46938:77;;;47033:7;47026:14;;;46872:176;:::o;40442:26::-;;;;:::o;43176:587::-;43253:5;;;;;;;;;;;43239:19;;:10;:19;;;43231:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43282:15;43307:6;;;;;;;;;;;43300:24;;;43333:4;43300:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43282:57;;43366:7;43356;:17;43352:176;;;43402:10;;;;;;;;;;;43390:32;;;43423:6;;;;;;;;;;;43431:20;43443:7;43431;:11;;:20;;;;:::i;:::-;43390:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43484:6;;;;;;;;;;;43477:24;;;43510:4;43477:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43467:49;;43352:176;43554:7;43544;:17;43540:67;;;43588:7;43578:17;;43540:67;43617:19;43639:45;40556:5;43639:24;43651:11;;43639:7;:11;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;43617:67;;43695:60;43723:5;;;;;;;;;;;43730:24;43742:11;43730:7;:11;;:24;;;;:::i;:::-;43702:6;;;;;;;;;;;43695:27;;;;:60;;;;;:::i;:::-;43176:587;;;:::o;38993:19::-;;;;;;;;;;;;;:::o;47966:118::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48015:10:::1;:8;:10::i;:::-;48038:16;:14;:16::i;:::-;48067:9;:7;:9::i;:::-;47966:118::o:0;38546:21::-;;;;;;;;;;;;;:::o;44151:277::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44213:30:::1;44232:10;44213:18;:30::i;:::-;44212:31;44204:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;44280:10;;;;;;;;;;;44268:31;;;44300:6;;;;;;;;;;;44308:1;44268:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44321:12;:10;:12::i;:::-;44344:14;:12;:14::i;:::-;44369:9;:7;:9::i;:::-;44409:10;44396:24;;;;;;;;;;;;44151:277::o:0;47636:128::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47681:7:::1;:5;:7::i;:::-;47711:10;;;;;;;;;;;47699:32;;;47732:6;;;;;;;;;;;47740:15;:13;:15::i;:::-;47699:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47636:128::o:0;40516:45::-;40556:5;40516:45;:::o;38907:79::-;;;;;;;;;;;;;:::o;41040:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33278:78::-;33317:4;33341:7;;;;;;;;;;;33334:14;;33278:78;:::o;38574:23::-;;;;;;;;;;;;;:::o;39197:::-;;;;;;;;;;;;;:::o;40927: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;46428:115::-;46470:7;46497:38;46519:15;:13;:15::i;:::-;46497:17;:15;:17::i;:::-;:21;;:38;;;;:::i;:::-;46490:45;;46428:115;:::o;49414:138::-;49487:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49513:11:::1;49502:8;;:22;;;;;;;;;;;;;;;;;;49540:4;49533:11;;49414:138:::0;;;:::o;47821:86::-;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47864:8:::1;:6;:8::i;:::-;47881:18;:16;:18::i;:::-;47821:86::o:0;38604:23::-;;;;;;;;;;;;;:::o;2051:79::-;2089:7;2116:6;;;;;;;;;;;2109:13;;2051:79;:::o;40337:26::-;;;;:::o;38822:78::-;;;;;;;;;;;;;:::o;40475:34::-;40506:3;40475:34;:::o;46634:122::-;46682:7;46716:6;;;;;;;;;;;46709:24;;;46742:4;46709:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46702:46;;46634:122;:::o;40370:30::-;;;;:::o;42748:220::-;33596:7;;;;;;;;;;;33595:8;33587:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42799:15:::1;42824:6;;;;;;;;;;;42817:24;;;42850:4;42817:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;42799:57;;42883:1;42873:7;:11;42869:92;;;42913:10;;;;;;;;;;;42901:31;;;42933:6;;;;;;;;;;;42941:7;42901:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;42869:92;33635:1;42748:220::o:0;40995:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48841:224::-;48909:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40506:3:::1;48932:9;:20;;48924:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;48989:9;48978:8;:20;;;;49012:25;49028:8;;49012:25;;;;;;;;;;;;;;;;;;49053:4;49046:11;;48841:224:::0;;;:::o;40407: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;38379:73::-;;;;;;;;;;;;;:::o;38459:80::-;;;;;;;;;;;;;:::o;49178:228::-;49244:4;2273:12;:10;:12::i;:::-;2263:22;;:6;;;;;;;;;;:22;;;2255:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49269:8:::1;49259:7;:18;;;;49300:28;49320:7;;40556:5;49300:19;;:28;;;;:::i;:::-;49286:11;:42;;;;49342:36;49357:7;;49366:11;;49342:36;;;;;;;;;;;;;;;;;;;;;;;;49394:4;49387:11;;49178:228:::0;;;:::o;47245:271::-;47310:5;;;;;;;;;;;47296:19;;:10;:19;;;47288:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47351:10;;;;;;;;;;;47339:41;;;47381:6;;;;;;;;;;;47339:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47401:15;47426:6;;;;;;;;;;;47419:24;;;47452:4;47419:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47401:57;;47476:6;;;;;;;;;;;47469:23;;;47493:5;;;;;;;;;;;47500:7;47469:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47245:271;:::o;39227: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;48092:407::-;48138:51;48165:10;;;;;;;;;;;48185:2;48145:6;;;;;;;;;;;48138:26;;;;:51;;;;;:::i;:::-;48200:55;48232:9;;;;;;;;;;;48251:2;48207:11;;;;;;;;;;;48200:31;;;;:55;;;;;:::i;:::-;48268:42;48297:9;;;;;;;;;;;48308:1;48275:8;;;;;;;;;;;48268:28;;;;:42;;;;;:::i;:::-;48321:52;48350:9;;;;;;;;;;;48369:2;48328:8;;;;;;;;;;;48321:28;;;;:52;;;;;:::i;:::-;48386:42;48415:9;;;;;;;;;;;48426:1;48393:8;;;;;;;;;;;48386:28;;;;:42;;;;;:::i;:::-;48439:52;48468:9;;;;;;;;;;;48487:2;48446:8;;;;;;;;;;;48439:28;;;;:52;;;;;:::i;:::-;48092:407::o;12195:422::-;12255:4;12463:12;12574:7;12562:20;12554:28;;12608:1;12601:4;:8;12594:15;;;12195:422;;;:::o;44609:665::-;44651:14;44668:79;40556:5;44668:58;44717:8;;44675:11;;;;;;;;;;;44668:29;;;44706:4;44668:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:48;;:58;;;;:::i;:::-;:62;;:79;;;;:::i;:::-;44651:96;;44776:9;;;;;;;;;;;44758:82;;;44841:6;44849:1;44852:22;44884:4;44891:12;44899:3;44891;:7;;:12;;;;:::i;:::-;44758:146;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44917:15;44942:4;;;;;;;;;;;44935:22;;;44966:4;44935:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44917:55;;44985:21;45009:41;40556:5;45009:20;45021:7;;45009;:11;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;44985:65;;45061:52;45087:10;45099:13;45068:4;;;;;;;;;;;45061:25;;;;:52;;;;;:::i;:::-;45126:26;45155:45;40556:5;45155:24;45167:11;;45155:7;:11;;:24;;;;:::i;:::-;:28;;:45;;;;:::i;:::-;45126:74;;45211:55;45237:8;;;;;;;;;;;45247:18;45218:4;;;;;;;;;;;45211:25;;;;:55;;;;;:::i;:::-;44609:665;;;;:::o;45387:834::-;45431:23;45457:51;45506:1;45464:11;;;;;;;;;;;45457:29;;;45495:4;45457:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:48;;:51;;;;:::i;:::-;45431:77;;45537:11;;;;;;;;;;;45525:23;;:8;;;;;;;;;;;:23;;;45521:210;;45583:9;;;;;;;;;;;45565:82;;;45648:15;45665:1;45668:21;45699:4;45706:12;45714:3;45706;:7;;:12;;;;:::i;:::-;45565:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45521:210;45759:11;;;;;;;;;;;45747:23;;:8;;;;;;;;;;;:23;;;45743:210;;45805:9;;;;;;;;;;;45787:82;;;45870:15;45887:1;45890:21;45921:4;45928:12;45936:3;45928;:7;;:12;;;;:::i;:::-;45787:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45743:210;45963:14;45987:8;;;;;;;;;;;45980:26;;;46015:4;45980:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45963:58;;46032:14;46056:8;;;;;;;;;;;46049:26;;;46084:4;46049:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46032:58;;46119:9;;;;;;;;;;;46101:41;;;46143:8;;;;;;;;;;;46153;;;;;;;;;;;46163:6;46171;46179:1;46182;46193:4;46200:12;46208:3;46200;:7;;:12;;;;:::i;:::-;46101:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45387: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;48507:259::-;48555:41;48582:10;;;;;;;;;;;48594:1;48562:6;;;;;;;;;;;48555:26;;;;:41;;;;;:::i;:::-;48607:45;48639:9;;;;;;;;;;;48650:1;48614:11;;;;;;;;;;;48607:31;;;;:45;;;;;:::i;:::-;48663:42;48692:9;;;;;;;;;;;48703:1;48670:8;;;;;;;;;;;48663:28;;;;:42;;;;;:::i;:::-;48716;48745:9;;;;;;;;;;;48756:1;48723:8;;;;;;;;;;;48716:28;;;;:42;;;;;:::i;:::-;48507: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://ac11a841d2b77b8a5a8a0eb5ac3af7d69499221a5f35882a83b9267f131efed5
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.