Contract 0x3692dda1962cc9e7528cb2633082e0e366694fda 1

Contract Overview

Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xbe05732e9669e4aa559d865fe72625d8e875f8790e1555e51ae223954963b6cc131982352021-07-28 23:55:2146 secs ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.149538931673
0xd7df9b58107765fa3253e9a7458904bcd4eaae6b297d870c9ba8d66fa386aafb131973742021-07-28 23:40:3715 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.061888597754
0xee29acf7225fb83ae1e4113b5363b0599e637366743d25586fcc453c91cea6db131964282021-07-28 23:25:2230 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.125273255835
0x8fc81ef8fc0bce503838f372cd627e80ec9f139398817cb68e5fa2fa84cabc94131954202021-07-28 23:10:3545 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.122219862457
0xe572c04a69ad0b0b78c514004c1e4827197024f744128cd818639d61b3d5eb0d131943132021-07-28 22:55:211 hr ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.12050709961
0x5fff0460b3bb20efca44d9606ac111c81ce39cd95c2d524d2bb13d07a28c0fb0131932142021-07-28 22:40:331 hr 15 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.122224633385
0xf9bfe72d96d507a7625b6b83f78136ed73a7782e9a0ca124daaea1b584f9c0e7131921012021-07-28 22:25:291 hr 30 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.120502328682
0xac6da865818cea0db93f0c0f502bcdaaa2f857f8382a6a09a9b9e78b2bb431ca131912442021-07-28 22:13:091 hr 42 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.125621692548
0x6d50155b27af3c4d7ce27d07e5116396f6e43515aee0a0679c592b5b3667838b131910552021-07-28 22:10:211 hr 45 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.136723481002
0x13d1e2292ecc6ea53b160beca31b7c48ea2f70e1d327be58f3c1d20f60dcb05e131899842021-07-28 21:55:372 hrs ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.122219862457
0x047202e4ea38e07dc1e18ae01967f2e81dbd6ce4a9a2ddc086925ab98c790e5f131890422021-07-28 21:43:062 hrs 13 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.125273255835
0x381a7eeaaffef530afec408ab5b84f99b0e1a72e08cd60d057663cc290db8791131888482021-07-28 21:40:212 hrs 15 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.139108944578
0xb34f624e1048954def5b924f67ddd9f75bced09c5c73a2634e7802c6c52b8534131877402021-07-28 21:25:212 hrs 30 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.12050709961
0xacd1f6d9bc98d46e675099c0e51286933e8582f8b2e5171776104189ef7281e0131866542021-07-28 21:10:262 hrs 45 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.125278026762
0x0741f7107ed929e3162ca867479750cebd16c5c61f50338063d686b742748ec5131856742021-07-28 20:55:203 hrs ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.0462990749
0x3690cfd4bc155953160ee4e258e74c08d6058134a119fd206e999b3f7b14211c131847842021-07-28 20:40:203 hrs 15 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.188581370064
0x8a131ea46e4df62018e10d1154f78c698014e0b174df3f4eeefa5bd3bde4c79e131838652021-07-28 20:25:413 hrs 30 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.109865160417
0xbfddf364a2009349bc3e7664d5e8988953f2085c8dc06e49dbbbb35d3f475501131831112021-07-28 20:13:243 hrs 42 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.090065985317
0xe8afe40c169da7f3881cbf9fb80804297b2725d739a71137606b46d5516019c7131830782021-07-28 20:12:553 hrs 43 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.097889891911
0xec23d3a52d58f078d9abe59838c3a7a0fb6383925aae9295343e1249fc6c277e131829092021-07-28 20:10:203 hrs 45 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.097891372131
0xa8cc90d3730ad2ae4aef79e5e1b4f3b45c9c5fe983ac6d56b1ef0b21decebf97131819772021-07-28 19:55:234 hrs ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.124417785133
0x466f5dfc4900a775619fd656d98a7732ae8ff81d90431ca6a8c051a77149ecde131810462021-07-28 19:40:344 hrs 15 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.0475665372
0xf4ae435d8c6c55da628961180a7105f2689bfad738999dc248f819e38c3bc0bc131801562021-07-28 19:25:204 hrs 30 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.06830685752
0xb717cd53b35e5dcb91851efc3f13fcb3083d142f60662b322983828c19767ea5131792182021-07-28 19:10:194 hrs 45 mins ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.06215672
0xa1ac5c6a0dc1f188b94779accbd19ce4235f8610332f40455e4ae6e618ca115e131783222021-07-28 18:55:585 hrs ago0x7a92995709b484135d7ec8f40d1d7b9eff22d56a IN  0x3692dda1962cc9e7528cb2633082e0e366694fda0 FTM0.055076485103
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x947bc6b170845c02cb327238fd767d228aafeb6877e0f4a03df30ff1fc230abe56487412021-05-08 8:37:5381 days 15 hrs ago HyperJump: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

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

Contract Name:
StrategyHyperLP

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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 <0.8.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.
 */
abstract 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 virtual 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 <0.8.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 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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/token/ERC20/ERC20.sol

pragma solidity >=0.6.0 <0.8.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;

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

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 virtual {
        _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/utils/Address.sol

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.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 <0.8.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.
 */
abstract 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 virtual 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());
    }
}

// File: contracts/BIFI/interfaces/hyperftm/IHyperswapRouter.sol

pragma solidity ^0.6.0;

interface IHyperswapRouter {
    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 addLiquidityFTM(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountFTMMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountFTM, 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 removeLiquidityFTM(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountFTMMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountFTM);

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

    function swapExactFTMForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    
    function swapExactTokensForFTM(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
}

// File: contracts/BIFI/interfaces/hyperftm/IHyperswapPair.sol

pragma solidity ^0.6.0;

interface IHyperswapPair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: contracts/BIFI/interfaces/hyperftm/IHyperPlanet.sol

pragma solidity ^0.6.0;

interface IHyperPlanet {
    function deposit(uint256 _pid, uint256 _amount) external;
    function withdraw(uint256 _pid, uint256 _amount) external;
    function enterMechs(uint256 _amount) external;
    function leaveMechs(uint256 _amount) external;
    function pendingOrillium(uint256 _pid, address _user) external view returns (uint256);
    function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256);
    function emergencyWithdraw(uint256 _pid) external;
}

// File: contracts/BIFI/strategies/HyperJump-FTM/StrategyHyperLP.sol

pragma solidity ^0.6.0;










/**
 * @dev Implementation of a strategy to get yields from farming LP Pools in HyperSwap.
 * 
 * This strat is currently compatible with all LP pools.
 */
contract StrategyHyperLP 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.
     * {ori} - Token generated by staking our funds. In this case it's the ALLOY token.
     * {hypr} - HyperBurn token, used to send funds to dao.
     * {lpPair} - Token that the strategy maximizes. The same token that users deposit in the vault.
     * {lpToken0, lpToken1} - Tokens that the strategy maximizes. IHyperswapPair tokens
     */
    address constant public wftm = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83);
    address constant public ori = address(0x0575f8738EFdA7F512e3654F277C77e80C7d2725);
    address constant public hypr = address(0xbc2451AaD349b6B43FD05F4F0cC327F8A6bcA2d4);
    address public lpPair;
    address public lpToken0;
    address public lpToken1;

    /**
     * @dev Third Party Contracts:
     * {hyperrouter} - Selected hyperrouter configured through constructor
     * {hyperplanet} - HyperPlanet contract
     * {poolId} - HyperPlanet pool id
     */
    address constant public hyperrouter = address(0x53c153a0df7E050BbEFbb70eE9632061f12795fB);
    address constant public hyperplanet = address(0x90Df158ff7c31aD1d81ddDb1D8ab9d0eCBCeDa20);
    uint8 public poolId;

    /**
     * @dev Hyper Contracts:
     * {hyperdao} - Reward pool where the strategy fee earnings will go.
     * {vault} - Address of the vault that controls the strategy's funds.
     */
    address constant public hyperdao = address(0x62f4deb9895a95276b03E38ABea8b0B315e8C3c1);
    address public vault;

    /**
     * @dev Distribution of fees earned. This allocations relative to the % implemented on chargeFees().
     * Current implementation separates 4% for fees.
     *
     * {CALL_FEE} - 0.5% goes to whoever executes the harvest function as gas subsidy.
     * {HYPER_FEE} - 1.5% goes to the hyper dao.
     * {MAX_FEE} - Aux const used to safely calc the correct amounts.
     *
     * {WITHDRAWAL_FEE} - Fee taxed when a user withdraws funds. 10 === 0.1% fee.
     * {WITHDRAWAL_MAX} - Aux const used to safely calc the correct amounts.
     */
    uint constant public CALL_FEE     = 125;
    uint constant public HYPER_FEE    = 875;
    uint constant public MAX_FEE      = 1000;

    uint constant public WITHDRAWAL_FEE = 10;
    uint constant public WITHDRAWAL_MAX = 10000;

    /**
     * @dev Routes we take to swap tokens using Hyperswap.
     * {oriToWftmRoute} - Route we take to get from {ori} into {wftm}.
     * {wftmToBifiRoute} - Route we take to get from {wftm} into {hypr}.
     * {oriToLp0Route} - Route we take to get from {ori} into {lpToken0}.
     * {oriToLp1Route} - Route we take to get from {ori} into {lpToken1}.
     */
    address[] public oriToWftmRoute = [ori, wftm];
    address[] public wftmToHyprRoute = [wftm, hypr];
    address[] public oriToLp0Route;
    address[] public oriToLp1Route;

    /**
     * @dev Event that is fired each time someone harvests the strat.
     */
    event StratHarvest(address indexed harvester);

    /**
     * @dev Initializes the strategy with the token to maximize.
     */
    constructor(address _lpPair, uint8 _poolId, address _vault) public {
        lpPair = _lpPair;
        lpToken0 = IHyperswapPair(lpPair).token0();
        lpToken1 = IHyperswapPair(lpPair).token1();
        poolId = _poolId;
        vault = _vault;

        if (lpToken0 == wftm) {
            oriToLp0Route = [ori, wftm];
        } else if (lpToken0 != ori) {
            oriToLp0Route = [ori, wftm, lpToken0];
        }

        if (lpToken1 == wftm) {
            oriToLp1Route = [ori, wftm];
        } else if (lpToken1 != ori) {
            oriToLp1Route = [ori, wftm, lpToken1];
        }

        IERC20(lpPair).safeApprove(hyperplanet, uint(-1));
        IERC20(ori).safeApprove(hyperrouter, uint(-1));
        IERC20(wftm).safeApprove(hyperrouter, uint(-1));

        IERC20(lpToken0).safeApprove(hyperrouter, 0);
        IERC20(lpToken0).safeApprove(hyperrouter, uint(-1));

        IERC20(lpToken1).safeApprove(hyperrouter, 0);
        IERC20(lpToken1).safeApprove(hyperrouter, uint(-1));
    }

    /**
     * @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 HyperPlanet to farm {ori}
     */
    function deposit() public whenNotPaused {
        uint256 pairBal = IERC20(lpPair).balanceOf(address(this));

        if (pairBal > 0) {
            IHyperPlanet(hyperplanet).deposit(poolId, pairBal);
        }
    }

    /**
     * @dev Withdraws funds and sents them back to the vault.
     * It withdraws {lpPair} from the HyperPlanet.
     * 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) {   
            IHyperPlanet(hyperplanet).withdraw(poolId, _amount.sub(pairBal));
            pairBal = IERC20(lpPair).balanceOf(address(this));
        }

        if (pairBal > _amount) {
            pairBal = _amount;    
        }
        
        if (tx.origin == owner() || paused()) {
            IERC20(lpPair).safeTransfer(vault, pairBal);
        } else {
            uint256 withdrawalFee = pairBal.mul(WITHDRAWAL_FEE).div(WITHDRAWAL_MAX);
            IERC20(lpPair).safeTransfer(vault, pairBal.sub(withdrawalFee));
        }
    }

    /**
     * @dev Core function of the strat, in charge of collecting and re-investing rewards.
     * 1. It claims rewards from the HyperPlanet.
     * 2. It charges the system fees to simplify the split.
     * 3. It swaps the {ori} 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");
        IHyperPlanet(hyperplanet).deposit(poolId, 0);
        chargeFees();
        addLiquidity();
        deposit();

        emit StratHarvest(msg.sender);
    }

    /**
     * @dev Takes out 6% as system fees from the rewards. 
     * 1.0% -> Call Fee
     * 1.0% -> Treasury fee
     * 4.0% -> BIFI Holders
     */
    function chargeFees() internal {
        uint256 toWftm = IERC20(ori).balanceOf(address(this)).mul(4).div(100);
        IHyperswapRouter(hyperrouter).swapExactTokensForTokens(toWftm, 0, oriToWftmRoute, address(this), now.add(600));
        
        uint256 wftmBal = IERC20(wftm).balanceOf(address(this));

        uint256 callFee = wftmBal.mul(CALL_FEE).div(MAX_FEE);
        IERC20(wftm).safeTransfer(msg.sender, callFee);
        
        uint256 hyperFee = wftmBal.mul(HYPER_FEE).div(MAX_FEE);
        IHyperswapRouter(hyperrouter).swapExactTokensForTokens(hyperFee, 0, wftmToHyprRoute, hyperdao, now.add(600));
    }

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

        if (lpToken0 != ori) {
            IHyperswapRouter(hyperrouter).swapExactTokensForTokens(oriHalf, 0, oriToLp0Route, address(this), now.add(600));
        }

        if (lpToken1 != ori) {
            IHyperswapRouter(hyperrouter).swapExactTokensForTokens(oriHalf, 0, oriToLp1Route, address(this), now.add(600));
        }

        uint256 lp0Bal = IERC20(lpToken0).balanceOf(address(this));
        uint256 lp1Bal = IERC20(lpToken1).balanceOf(address(this));
        IHyperswapRouter(hyperrouter).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 HyperPlanet.
     */
    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 HyperPlanet
     */
    function balanceOfPool() public view returns (uint256) {
        (uint256 _amount, ) = IHyperPlanet(hyperplanet).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");
        
        IHyperPlanet(hyperplanet).emergencyWithdraw(poolId);

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

    /**
     * @dev Pauses deposits. Withdraws all funds from the HyperPlanet, leaving rewards behind
     */
    function panic() public onlyOwner {
        pause();
        IHyperPlanet(hyperplanet).emergencyWithdraw(poolId);
    }

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

        IERC20(lpPair).safeApprove(hyperplanet, 0);
        IERC20(ori).safeApprove(hyperrouter, 0);
        IERC20(wftm).safeApprove(hyperrouter, 0);
        IERC20(lpToken0).safeApprove(hyperrouter, 0);
        IERC20(lpToken1).safeApprove(hyperrouter, 0);
    }

    /**
     * @dev Unpauses the strat.
     */
    function unpause() external onlyOwner {
        _unpause();
        
        IERC20(lpPair).safeApprove(hyperplanet, uint(-1));
        IERC20(ori).safeApprove(hyperrouter, uint(-1));
        IERC20(wftm).safeApprove(hyperrouter, uint(-1));

        IERC20(lpToken0).safeApprove(hyperrouter, 0);
        IERC20(lpToken0).safeApprove(hyperrouter, uint(-1));

        IERC20(lpToken1).safeApprove(hyperrouter, 0);
        IERC20(lpToken1).safeApprove(hyperrouter, uint(-1));
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lpPair","type":"address"},{"internalType":"uint8","name":"_poolId","type":"uint8"},{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"StratHarvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HYPER_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hyperdao","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hyperplanet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hyperrouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hypr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ori","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oriToLp0Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oriToLp1Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oriToWftmRoute","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wftm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wftmToHyprRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600080516020620031478339815191526080908152600080516020620031ad83398151915260a0526200003c906005906002620009de565b5060408051808201909152600080516020620031ad833981519152815273bc2451aad349b6b43fd05f4f0cc327f8a6bca2d4602082015262000083906006906002620009de565b503480156200009157600080fd5b506040516200322d3803806200322d83398181016040526060811015620000b757600080fd5b50805160208201516040909201519091906000620000d4620005c7565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055600180546001600160a01b0319166001600160a01b03858116919091179182905560408051630dfe168160e01b815290519290911691630dfe168191600480820192602092909190829003018186803b1580156200018857600080fd5b505afa1580156200019d573d6000803e3d6000fd5b505050506040513d6020811015620001b457600080fd5b5051600280546001600160a01b0319166001600160a01b039283161790556001546040805163d21220a760e01b81529051919092169163d21220a7916004808301926020929190829003018186803b1580156200021057600080fd5b505afa15801562000225573d6000803e3d6000fd5b505050506040513d60208110156200023c57600080fd5b5051600380546001600160a01b03199081166001600160a01b039384161760ff60a01b1916600160a01b60ff8716021790915560048054909116838316179055600254600080516020620031ad83398151915291161415620002e05760408051808201909152600080516020620031478339815191528152600080516020620031ad8339815191526020820152620002d9906007906002620009de565b5062000358565b6002546001600160a01b03166000805160206200314783398151915214620003585760408051606081018252600080516020620031478339815191528152600080516020620031ad83398151915260208201526002546001600160a01b03169181019190915262000356906007906003620009de565b505b6003546001600160a01b0316600080516020620031ad8339815191521415620003c35760408051808201909152600080516020620031478339815191528152600080516020620031ad8339815191526020820152620003bc906008906002620009de565b506200043b565b6003546001600160a01b031660008051602062003147833981519152146200043b5760408051606081018252600080516020620031478339815191528152600080516020620031ad8339815191526020820152600380546001600160a01b031692820192909252620004399160089190620009de565b505b60015462000476906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda20600019620005cb602090811b620013cc17901c565b620004af6000805160206200314783398151915260008051602062003167833981519152600019620005cb602090811b620013cc17901c565b620004e8600080516020620031ad83398151915260008051602062003167833981519152600019620005cb602090811b620013cc17901c565b6002546200051d906001600160a01b0316600080516020620031678339815191526000620005cb602090811b620013cc17901c565b60025462000553906001600160a01b031660008051602062003167833981519152600019620005cb602090811b620013cc17901c565b60035462000588906001600160a01b0316600080516020620031678339815191526000620005cb602090811b620013cc17901c565b600354620005be906001600160a01b031660008051602062003167833981519152600019620005cb602090811b620013cc17901c565b50505062000a69565b3390565b80158062000655575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200062557600080fd5b505afa1580156200063a573d6000803e3d6000fd5b505050506040513d60208110156200065157600080fd5b5051155b620006925760405162461bcd60e51b8152600401808060200182810382526036815260200180620031f76036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620006ea918591620006ef16565b505050565b60606200074b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620007ab60201b62001526179092919060201c565b805190915015620006ea578080602001905160208110156200076c57600080fd5b5051620006ea5760405162461bcd60e51b815260040180806020018281038252602a815260200180620031cd602a913960400191505060405180910390fd5b6060620007bc8484600085620007c6565b90505b9392505050565b606082471015620008095760405162461bcd60e51b8152600401808060200182810382526026815260200180620031876026913960400191505060405180910390fd5b62000814856200092e565b62000866576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620008a75780518252601f19909201916020918201910162000886565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200090b576040519150601f19603f3d011682016040523d82523d6000602084013e62000910565b606091505b5090925090506200092382828662000934565b979650505050505050565b3b151590565b6060831562000945575081620007bf565b825115620009565782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620009a257818101518382015260200162000988565b50505050905090810190601f168015620009d05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b82805482825590600052602060002090810192821562000a36579160200282015b8281111562000a3657825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620009ff565b5062000a4492915062000a48565b5090565b5b8082111562000a445780546001600160a01b031916815560010162000a49565b6126ce8062000a796000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c80638456cb591161012a578063bc063e1a116100bd578063e4437bfc1161008c578063f4f45b4611610071578063f4f45b4614610404578063fb6177871461040c578063fbfa77cf1461041457610226565b8063e4437bfc146103d6578063f2fde38b146103de57610226565b8063bc063e1a146103b6578063c2351cdd146103be578063d0e30db0146103c6578063dc7e8d45146103ce57610226565b8063951d6d20116100f9578063951d6d2014610381578063a5d33ed514610389578063b3b420d314610391578063b69359e8146103ae57610226565b80638456cb591461034c578063877562b614610354578063897e38161461035c5780638da5cb5b1461037957610226565b80634641257d116101bd5780635ee167c01161018c578063722713f711610171578063722713f71461031f57806372a7d4651461032757806383f2cdcb1461034457610226565b80635ee167c01461030f578063715018a61461031757610226565b80634641257d146102db5780634700d305146102e357806354518b1a146102eb5780635c975abb146102f357610226565b80633e0dc34e116101f95780633e0dc34e146102a55780633f4ba83a146102c357806343c15124146102cb578063452ed4f1146102d357610226565b8063115880861461022b5780631703acd6146102455780632e1a7d4d1461027e578063355f6c961461029d575b600080fd5b61023361041c565b60408051918252519081900360200190f35b6102626004803603602081101561025b57600080fd5b50356104cd565b604080516001600160a01b039092168252519081900360200190f35b61029b6004803603602081101561029457600080fd5b50356104f4565b005b61026261076d565b6102ad610785565b6040805160ff9092168252519081900360200190f35b61029b610795565b61026261095c565b610262610974565b61029b610983565b61029b610aed565b610233610be1565b6102fb610be7565b604080519115158252519081900360200190f35b610262610bf7565b61029b610c06565b610233610cd1565b6102626004803603602081101561033d57600080fd5b5035610cf1565b610262610cfe565b61029b610d16565b610262610e7e565b6102626004803603602081101561037257600080fd5b5035610e8d565b610262610e9a565b610233610ea9565b610233610eae565b610262600480360360208110156103a757600080fd5b5035610eb3565b610262610ec0565b610233610ed8565b610233610ede565b61029b610f5a565b6102336110a7565b6102626110ad565b61029b600480360360208110156103f457600080fd5b50356001600160a01b03166110c5565b6102626111e6565b61029b6111fe565b6102626113bd565b600354604080517f93f1a40b000000000000000000000000000000000000000000000000000000008152600160a01b90920460ff166004830152306024830152805160009283927390df158ff7c31ad1d81dddb1d8ab9d0ecbceda20926393f1a40b926044808201939291829003018186803b15801561049b57600080fd5b505afa1580156104af573d6000803e3d6000fd5b505050506040513d60408110156104c557600080fd5b505191505090565b600881815481106104da57fe5b6000918252602090912001546001600160a01b0316905081565b6004546001600160a01b0316331461053c576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d60208110156105b157600080fd5b50519050818110156106c2576003547390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209063441a3e7090600160a01b900460ff166105f0858561153f565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b15801561063057600080fd5b505af1158015610644573d6000803e3d6000fd5b5050600154604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b15801561069357600080fd5b505afa1580156106a7573d6000803e3d6000fd5b505050506040513d60208110156106bd57600080fd5b505190505b818111156106cd5750805b6106d5610e9a565b6001600160a01b0316326001600160a01b031614806106f757506106f7610be7565b1561071e57600454600154610719916001600160a01b039182169116836115a1565b610769565b600061073761271061073184600a611608565b90611661565b600454909150610767906001600160a01b0316610754848461153f565b6001546001600160a01b031691906115a1565b505b5050565b730575f8738efda7f512e3654f277c77e80c7d272581565b600354600160a01b900460ff1681565b61079d6116c8565b6001600160a01b03166107ae610e9a565b6001600160a01b031614610809576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108116116cc565b60015461083e906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda206000196113cc565b610873730575f8738efda7f512e3654f277c77e80c7d27257353c153a0df7e050bbefbb70ee9632061f12795fb6000196113cc565b6108a87321be370d5312f44cb42ce377bc9b8a0cef1a4c837353c153a0df7e050bbefbb70ee9632061f12795fb6000196113cc565b6002546108d4906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb60006113cc565b600254610901906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000196113cc565b60035461092d906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb60006113cc565b60035461095a906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb6000196113cc565b565b7362f4deb9895a95276b03e38abea8b0b315e8c3c181565b6001546001600160a01b031681565b61098b610be7565b156109d0576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6109d933611778565b15610a2b576040805162461bcd60e51b815260206004820152600960248201527f21636f6e74726163740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60035460408051631c57762b60e31b8152600160a01b90920460ff16600483015260006024830181905290517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209263e2bbb15892604480830193919282900301818387803b158015610a9057600080fd5b505af1158015610aa4573d6000803e3d6000fd5b50505050610ab061177e565b610ab8611c36565b610ac0610f5a565b60405133907f577a37fdb49a88d66684922c6f913df5239b4f214b2b97c53ef8e3bbb2034cb590600090a2565b610af56116c8565b6001600160a01b0316610b06610e9a565b6001600160a01b031614610b61576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610b69610d16565b60035460408051632989754760e11b8152600160a01b90920460ff166004830152517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2091635312ea8e91602480830192600092919082900301818387803b158015610bc757600080fd5b505af1158015610bdb573d6000803e3d6000fd5b50505050565b61271081565b600054600160a01b900460ff1690565b6002546001600160a01b031681565b610c0e6116c8565b6001600160a01b0316610c1f610e9a565b6001600160a01b031614610c7a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000610cec610cde61041c565b610ce6610ede565b90612237565b905090565b600581815481106104da57fe5b7353c153a0df7e050bbefbb70ee9632061f12795fb81565b610d1e6116c8565b6001600160a01b0316610d2f610e9a565b6001600160a01b031614610d8a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610d92612291565b600154610dbe906001600160a01b03167390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2060006113cc565b610df2730575f8738efda7f512e3654f277c77e80c7d27257353c153a0df7e050bbefbb70ee9632061f12795fb60006113cc565b610e267321be370d5312f44cb42ce377bc9b8a0cef1a4c837353c153a0df7e050bbefbb70ee9632061f12795fb60006113cc565b600254610e52906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb60006113cc565b60035461095a906001600160a01b03167353c153a0df7e050bbefbb70ee9632061f12795fb60006113cc565b6003546001600160a01b031681565b600681815481106104da57fe5b6000546001600160a01b031690565b607d81565b600a81565b600781815481106104da57fe5b73bc2451aad349b6b43fd05f4f0cc327f8a6bca2d481565b6103e881565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f2957600080fd5b505afa158015610f3d573d6000803e3d6000fd5b505050506040513d6020811015610f5357600080fd5b5051905090565b610f62610be7565b15610fa7576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610ff257600080fd5b505afa158015611006573d6000803e3d6000fd5b505050506040513d602081101561101c57600080fd5b5051905080156110a45760035460408051631c57762b60e31b8152600160a01b90920460ff16600483015260248201839052517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda209163e2bbb15891604480830192600092919082900301818387803b15801561108b57600080fd5b505af115801561109f573d6000803e3d6000fd5b505050505b50565b61036b81565b7390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2081565b6110cd6116c8565b6001600160a01b03166110de610e9a565b6001600160a01b031614611139576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661117e5760405162461bcd60e51b81526004018080602001828103825260268152602001806125cc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b7321be370d5312f44cb42ce377bc9b8a0cef1a4c8381565b6004546001600160a01b03163314611246576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b60035460408051632989754760e11b8152600160a01b90920460ff166004830152517390df158ff7c31ad1d81dddb1d8ab9d0ecbceda2091635312ea8e91602480830192600092919082900301818387803b1580156112a457600080fd5b505af11580156112b8573d6000803e3d6000fd5b5050600154604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561130957600080fd5b505afa15801561131d573d6000803e3d6000fd5b505050506040513d602081101561133357600080fd5b5051600154600480546040805163a9059cbb60e01b81526001600160a01b039283169381019390935260248301859052519394509091169163a9059cbb916044808201926020929091908290030181600087803b15801561139357600080fd5b505af11580156113a7573d6000803e3d6000fd5b505050506040513d602081101561076757600080fd5b6004546001600160a01b031681565b80158061146b5750604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561143d57600080fd5b505afa158015611451573d6000803e3d6000fd5b505050506040513d602081101561146757600080fd5b5051155b6114a65760405162461bcd60e51b81526004018080602001828103825260368152602001806126636036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b30000000000000000000000000000000000000000000000000000000017905261076790849061231a565b606061153584846000856123cb565b90505b9392505050565b600082821115611596576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b17905261076790849061231a565b6000826116175750600061159b565b8282028284828161162457fe5b04146115385760405162461bcd60e51b81526004018080602001828103825260218152602001806126186021913960400191505060405180910390fd5b60008082116116b7576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816116c057fe5b049392505050565b3390565b6116d4610be7565b611725576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61175b6116c8565b604080516001600160a01b039092168252519081900360200190a1565b3b151590565b600061181d60646107316004730575f8738efda7f512e3654f277c77e80c7d27256001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156117eb57600080fd5b505afa1580156117ff573d6000803e3d6000fd5b505050506040513d602081101561181557600080fd5b505190611608565b90507353c153a0df7e050bbefbb70ee9632061f12795fb6338ed173982600060053061184b42610258612237565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b0316815260200183815260200182810382528581815481526020019150805480156118ca57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116118ac575b50509650505050505050600060405180830381600087803b1580156118ee57600080fd5b505af1158015611902573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561192b57600080fd5b810190808051604051939291908464010000000082111561194b57600080fd5b90830190602082018581111561196057600080fd5b825186602082028301116401000000008211171561197d57600080fd5b82525081516020918201928201910280838360005b838110156119aa578181015183820152602001611992565b505050509190910160408181526370a0823160e01b825230600483015251600096507321be370d5312f44cb42ce377bc9b8a0cef1a4c8395506370a08231945060248083019450602093509091829003018186803b158015611a0b57600080fd5b505afa158015611a1f573d6000803e3d6000fd5b505050506040513d6020811015611a3557600080fd5b505190506000611a4c6103e861073184607d611608565b9050611a6d7321be370d5312f44cb42ce377bc9b8a0cef1a4c8333836115a1565b6000611a816103e86107318561036b611608565b90507353c153a0df7e050bbefbb70ee9632061f12795fb6338ed173982600060067362f4deb9895a95276b03e38abea8b0b315e8c3c1611ac342610258612237565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611b4257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611b24575b50509650505050505050600060405180830381600087803b158015611b6657600080fd5b505af1158015611b7a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611ba357600080fd5b8101908080516040519392919084640100000000821115611bc357600080fd5b908301906020820185811115611bd857600080fd5b8251866020820283011164010000000082111715611bf557600080fd5b82525081516020918201928201910280838360005b83811015611c22578181015183820152602001611c0a565b505050509050016040525050505050505050565b6000611cd06002730575f8738efda7f512e3654f277c77e80c7d27256001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c9e57600080fd5b505afa158015611cb2573d6000803e3d6000fd5b505050506040513d6020811015611cc857600080fd5b505190611661565b6002549091506001600160a01b0316730575f8738efda7f512e3654f277c77e80c7d272514611e93577353c153a0df7e050bbefbb70ee9632061f12795fb6338ed1739826000600730611d2542610258612237565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611da457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611d86575b50509650505050505050600060405180830381600087803b158015611dc857600080fd5b505af1158015611ddc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611e0557600080fd5b8101908080516040519392919084640100000000821115611e2557600080fd5b908301906020820185811115611e3a57600080fd5b8251866020820283011164010000000082111715611e5757600080fd5b82525081516020918201928201910280838360005b83811015611e84578181015183820152602001611e6c565b50505050905001604052505050505b6003546001600160a01b0316730575f8738efda7f512e3654f277c77e80c7d272514612053577353c153a0df7e050bbefbb70ee9632061f12795fb6338ed1739826000600830611ee542610258612237565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611f6457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f46575b50509650505050505050600060405180830381600087803b158015611f8857600080fd5b505af1158015611f9c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611fc557600080fd5b8101908080516040519392919084640100000000821115611fe557600080fd5b908301906020820185811115611ffa57600080fd5b825186602082028301116401000000008211171561201757600080fd5b82525081516020918201928201910280838360005b8381101561204457818101518382015260200161202c565b50505050905001604052505050505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561209e57600080fd5b505afa1580156120b2573d6000803e3d6000fd5b505050506040513d60208110156120c857600080fd5b5051600354604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561211b57600080fd5b505afa15801561212f573d6000803e3d6000fd5b505050506040513d602081101561214557600080fd5b50516002546003549192507353c153a0df7e050bbefbb70ee9632061f12795fb9163e8e33700916001600160a01b03908116911685856001803061218b42610258612237565b6040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b15801561220d57600080fd5b505af1158015612221573d6000803e3d6000fd5b505050506040513d606081101561109f57600080fd5b600082820183811015611538576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b612299610be7565b156122de576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861175b6116c8565b606061236f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115269092919063ffffffff16565b8051909150156107675780806020019051602081101561238e57600080fd5b50516107675760405162461bcd60e51b815260040180806020018281038252602a815260200180612639602a913960400191505060405180910390fd5b60608247101561240c5760405162461bcd60e51b81526004018080602001828103825260268152602001806125f26026913960400191505060405180910390fd5b61241585611778565b612466576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106124a55780518252601f199092019160209182019101612486565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612507576040519150601f19603f3d011682016040523d82523d6000602084013e61250c565b606091505b509150915061251c828286612527565b979650505050505050565b60608315612536575081611538565b8251156125465782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612590578181015183820152602001612578565b50505050905090810190601f1680156125bd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220e2fcad7700fd4195bc8f4e04b74032fd28a41caf6cb122aba441578bea87120364736f6c634300060c00330000000000000000000000000575f8738efda7f512e3654f277c77e80c7d272500000000000000000000000053c153a0df7e050bbefbb70ee9632061f12795fb416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c835361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000000433305ae161d28ed1408d11581610339dfc9be400000000000000000000000000000000000000000000000000000000000000010000000000000000000000006c89fec29e95d187a35915bc18a942c4000a6fe9

Deployed ByteCode Sourcemap

43903:10512:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52578:178;;;:::i;:::-;;;;;;;;;;;;;;;;46937:30;;;;;;;;;;;;;;;;-1:-1:-1;46937:30:0;;:::i;:::-;;;;-1:-1:-1;;;;;46937:30:0;;;;;;;;;;;;;;48889:756;;;;;;;;;;;;;;;;-1:-1:-1;48889:756:0;;:::i;:::-;;44596:81;;;:::i;45269:19::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53922:490;;;:::i;45494:86::-;;;:::i;44773:21::-;;;:::i;50024:279::-;;;:::i;53357:122::-;;;:::i;46368:43::-;;;:::i;37486:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;44801:23;;;:::i;2779:148::-;;;:::i;52133:115::-;;;:::i;46794:45::-;;;;;;;;;;;;;;;;-1:-1:-1;46794:45:0;;:::i;45077:89::-;;;:::i;53536:327::-;;;:::i;44831:23::-;;;:::i;46846:47::-;;;;;;;;;;;;;;;;-1:-1:-1;46846:47:0;;:::i;2128:87::-;;;:::i;46180:39::-;;;:::i;46321:40::-;;;:::i;46900:30::-;;;;;;;;;;;;;;;;-1:-1:-1;46900:30:0;;:::i;44684:82::-;;;:::i;46272:40::-;;;:::i;52339:122::-;;;:::i;48458:222::-;;;:::i;46226:39::-;;;:::i;45173:89::-;;;:::i;3082:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3082:244:0;-1:-1:-1;;;;;3082:244:0;;:::i;44507:82::-;;;:::i;52955:281::-;;;:::i;45587:20::-;;;:::i;52578:178::-;52701:6;;52666:57;;;;;;-1:-1:-1;;;52701:6:0;;;;;52666:57;;;;52717:4;52666:57;;;;;;-1:-1:-1;;;;45219:42:0;;52666:34;;:57;;;;;;;;;;;;45219:42;52666:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52666:57:0;;-1:-1:-1;;52578:178:0;:::o;46937:30::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46937:30:0;;-1:-1:-1;46937:30:0;:::o;48889:756::-;48966:5;;-1:-1:-1;;;;;48966:5:0;48952:10;:19;48944:38;;;;;-1:-1:-1;;;48944:38:0;;;;;;;;;;;;-1:-1:-1;;;48944:38:0;;;;;;;;;;;;;;;49020:6;;49013:39;;;-1:-1:-1;;;49013:39:0;;49046:4;49013:39;;;;;;48995:15;;-1:-1:-1;;;;;49020:6:0;;49013:24;;:39;;;;;;;;;;;;;;49020:6;49013:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49013:39:0;;-1:-1:-1;49069:17:0;;;49065:181;;;49141:6;;45219:42;;49106:34;;-1:-1:-1;;;49141:6:0;;;;49149:20;:7;49161;49149:11;:20::i;:::-;49106:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49202:6:0;;49195:39;;;-1:-1:-1;;;49195:39:0;;49228:4;49195:39;;;;;;-1:-1:-1;;;;;49202:6:0;;;;-1:-1:-1;49195:24:0;;-1:-1:-1;49195:39:0;;;;;;;;;;;;;;;49202:6;49195:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49195:39:0;;-1:-1:-1;49065:181:0;49272:7;49262;:17;49258:71;;;-1:-1:-1;49306:7:0;49258:71;49366:7;:5;:7::i;:::-;-1:-1:-1;;;;;49353:20:0;:9;-1:-1:-1;;;;;49353:20:0;;:32;;;;49377:8;:6;:8::i;:::-;49349:289;;;49430:5;;;49409:6;49402:43;;-1:-1:-1;;;;;49409:6:0;;;;49430:5;49437:7;49402:27;:43::i;:::-;49349:289;;;49478:21;49502:47;46406:5;49502:27;:7;46359:2;49502:11;:27::i;:::-;:31;;:47::i;:::-;49592:5;;49478:71;;-1:-1:-1;49564:62:0;;-1:-1:-1;;;;;49592:5:0;49599:26;:7;49478:71;49599:11;:26::i;:::-;49571:6;;-1:-1:-1;;;;;49571:6:0;;49564:62;:27;:62::i;:::-;49349:289;;48889:756;;:::o;44596:81::-;44634:42;44596:81;:::o;45269:19::-;;;-1:-1:-1;;;45269:19:0;;;;;:::o;53922:490::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53971:10:::1;:8;:10::i;:::-;54009:6;::::0;54002:49:::1;::::0;-1:-1:-1;;;;;54009:6:0::1;45219:42;-1:-1:-1::0;;54002:26:0::1;:49::i;:::-;54062:46;44634:42;45123;-1:-1:-1::0;;54062:23:0::1;:46::i;:::-;54119:47;44546:42;45123;-1:-1:-1::0;;54119:24:0::1;:47::i;:::-;54186:8;::::0;54179:44:::1;::::0;-1:-1:-1;;;;;54186:8:0::1;45123:42;54221:1;54179:28;:44::i;:::-;54241:8;::::0;54234:51:::1;::::0;-1:-1:-1;;;;;54241:8:0::1;45123:42;-1:-1:-1::0;;54234:28:0::1;:51::i;:::-;54305:8;::::0;54298:44:::1;::::0;-1:-1:-1;;;;;54305:8:0::1;45123:42;54340:1;54298:28;:44::i;:::-;54360:8;::::0;54353:51:::1;::::0;-1:-1:-1;;;;;54360:8:0::1;45123:42;-1:-1:-1::0;;54353:28:0::1;:51::i;:::-;53922:490::o:0;45494:86::-;45537:42;45494:86;:::o;44773:21::-;;;-1:-1:-1;;;;;44773:21:0;;:::o;50024:279::-;37812:8;:6;:8::i;:::-;37811:9;37803:38;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;;;;50086:30:::1;50105:10;50086:18;:30::i;:::-;50085:31;50077:53;;;::::0;;-1:-1:-1;;;50077:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;50175:6;::::0;50141:44:::1;::::0;;-1:-1:-1;;;50141:44:0;;-1:-1:-1;;;50175:6:0;;::::1;;;50141:44;::::0;::::1;::::0;-1:-1:-1;50141:44:0;;;;;;;;45219:42:::1;::::0;50141:33:::1;::::0;:44;;;;;-1:-1:-1;;50141:44:0;;;;;-1:-1:-1;45219:42:0;50141:44;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;50196:12;:10;:12::i;:::-;50219:14;:12;:14::i;:::-;50244:9;:7;:9::i;:::-;50271:24;::::0;50284:10:::1;::::0;50271:24:::1;::::0;;;::::1;50024:279::o:0;53357:122::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53402:7:::1;:5;:7::i;:::-;53464:6;::::0;53420:51:::1;::::0;;-1:-1:-1;;;53420:51:0;;-1:-1:-1;;;53464:6:0;;::::1;;;53420:51;::::0;::::1;::::0;;45219:42:::1;::::0;53420:43:::1;::::0;:51;;;;;-1:-1:-1;;53420:51:0;;;;;;;-1:-1:-1;45219:42:0;53420:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53357:122::o:0;46368:43::-;46406:5;46368:43;:::o;37486:86::-;37533:4;37557:7;-1:-1:-1;;;37557:7:0;;;;;37486:86::o;44801:23::-;;;-1:-1:-1;;;;;44801:23:0;;:::o;2779:148::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2886:1:::1;2870:6:::0;;2849:40:::1;::::0;-1:-1:-1;;;;;2870:6:0;;::::1;::::0;2849:40:::1;::::0;2886:1;;2849:40:::1;2917:1;2900:19:::0;;-1:-1:-1;;2900:19:0::1;::::0;;2779:148::o;52133:115::-;52175:7;52202:38;52224:15;:13;:15::i;:::-;52202:17;:15;:17::i;:::-;:21;;:38::i;:::-;52195:45;;52133:115;:::o;46794:45::-;;;;;;;;;;45077:89;45123:42;45077:89;:::o;53536:327::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53581:8:::1;:6;:8::i;:::-;53609:6;::::0;53602:42:::1;::::0;-1:-1:-1;;;;;53609:6:0::1;45219:42;53642:1;53602:26;:42::i;:::-;53655:39;44634:42;45123;53692:1;53655:23;:39::i;:::-;53705:40;44546:42;45123;53743:1;53705:24;:40::i;:::-;53763:8;::::0;53756:44:::1;::::0;-1:-1:-1;;;;;53763:8:0::1;45123:42;53798:1;53756:28;:44::i;:::-;53818:8;::::0;53811:44:::1;::::0;-1:-1:-1;;;;;53818:8:0::1;45123:42;53853:1;53811:28;:44::i;44831:23::-:0;;;-1:-1:-1;;;;;44831:23:0;;:::o;46846:47::-;;;;;;;;;;2128:87;2174:7;2201:6;-1:-1:-1;;;;;2201:6:0;2128:87;:::o;46180:39::-;46216:3;46180:39;:::o;46321:40::-;46359:2;46321:40;:::o;46900:30::-;;;;;;;;;;44684:82;44723:42;44684:82;:::o;46272:40::-;46308:4;46272:40;:::o;52339:122::-;52421:6;;52414:39;;;-1:-1:-1;;;52414:39:0;;52447:4;52414:39;;;;;;52387:7;;-1:-1:-1;;;;;52421:6:0;;52414:24;;:39;;;;;;;;;;;;;;52421:6;52414:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52414:39:0;;-1:-1:-1;52339:122:0;:::o;48458:222::-;37812:8;:6;:8::i;:::-;37811:9;37803:38;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;;;;48534:6:::1;::::0;48527:39:::1;::::0;;-1:-1:-1;;;48527:39:0;;48560:4:::1;48527:39;::::0;::::1;::::0;;;48509:15:::1;::::0;-1:-1:-1;;;;;48534:6:0::1;::::0;48527:24:::1;::::0;:39;;;;;::::1;::::0;;;;;;;;48534:6;48527:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48527:39:0;;-1:-1:-1;48583:11:0;;48579:94:::1;;48645:6;::::0;48611:50:::1;::::0;;-1:-1:-1;;;48611:50:0;;-1:-1:-1;;;48645:6:0;;::::1;;;48611:50;::::0;::::1;::::0;;;;;;;;45219:42:::1;::::0;48611:33:::1;::::0;:50;;;;;-1:-1:-1;;48611:50:0;;;;;;;-1:-1:-1;45219:42:0;48611:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48579:94;37852:1;48458:222::o:0;46226:39::-;46262:3;46226:39;:::o;45173:89::-;45219:42;45173:89;:::o;3082:244::-;2359:12;:10;:12::i;:::-;-1:-1:-1;;;;;2348:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2348:23:0;;2340:68;;;;;-1:-1:-1;;;2340:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3171:22:0;::::1;3163:73;;;;-1:-1:-1::0;;;3163:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3273:6;::::0;;3252:38:::1;::::0;-1:-1:-1;;;;;3252:38:0;;::::1;::::0;3273:6;::::1;::::0;3252:38:::1;::::0;::::1;3301:6;:17:::0;;-1:-1:-1;;3301:17:0::1;-1:-1:-1::0;;;;;3301:17:0;;;::::1;::::0;;;::::1;::::0;;3082:244::o;44507:82::-;44546:42;44507:82;:::o;52955:281::-;53020:5;;-1:-1:-1;;;;;53020:5:0;53006:10;:19;52998:38;;;;;-1:-1:-1;;;52998:38:0;;;;;;;;;;;;-1:-1:-1;;;52998:38:0;;;;;;;;;;;;;;;53101:6;;53057:51;;;-1:-1:-1;;;53057:51:0;;-1:-1:-1;;;53101:6:0;;;;;53057:51;;;;;45219:42;;53057:43;;:51;;;;;-1:-1:-1;;53057:51:0;;;;;;;-1:-1:-1;45219:42:0;53057:51;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53146:6:0;;53139:39;;;-1:-1:-1;;;53139:39:0;;53172:4;53139:39;;;;;;53121:15;;-1:-1:-1;;;;;;53146:6:0;;;;-1:-1:-1;53139:24:0;;:39;;;;;;;;;;;;;;53146:6;53139:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53139:39:0;53196:6;;53213:5;;;53189:39;;;-1:-1:-1;;;53189:39:0;;-1:-1:-1;;;;;53213:5:0;;;53189:39;;;;;;;;;;;;;;53139;;-1:-1:-1;53196:6:0;;;;53189:23;;:39;;;;;53139;;53189;;;;;;;;53196:6;;53189:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45587:20;;;-1:-1:-1;;;;;45587:20:0;;:::o;33987:622::-;34357:10;;;34356:62;;-1:-1:-1;34373:39:0;;;;;;34397:4;34373:39;;;;-1:-1:-1;;;;;34373:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34373:39:0;:44;34356:62;34348:152;;;;-1:-1:-1;;;34348:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34538:62;;;-1:-1:-1;;;;;34538:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34561:22;34538:62;;;34511:90;;34531:5;;34511:19;:90::i;28325:195::-;28428:12;28460:52;28482:6;28490:4;28496:1;28499:12;28460:21;:52::i;:::-;28453:59;;28325:195;;;;;;:::o;9395:158::-;9453:7;9486:1;9481;:6;;9473:49;;;;;-1:-1:-1;;;9473:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9540:5:0;;;9395:158;;;;;:::o;33328:177::-;33438:58;;;-1:-1:-1;;;;;33438:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33438:58:0;;;33411:86;;33431:5;;33411:19;:86::i;9812:220::-;9870:7;9894:6;9890:20;;-1:-1:-1;9909:1:0;9902:8;;9890:20;9933:5;;;9937:1;9933;:5;:1;9957:5;;;;;:10;9949:56;;;;-1:-1:-1;;;9949:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10510:153;10568:7;10600:1;10596;:5;10588:44;;;;;-1:-1:-1;;;10588:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10654:1;10650;:5;;;;;;;10510:153;-1:-1:-1;;;10510:153:0:o;667:106::-;755:10;667:106;:::o;38545:120::-;38089:8;:6;:8::i;:::-;38081:41;;;;;-1:-1:-1;;;38081:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38614:5:::1;38604:15:::0;;-1:-1:-1;;;;38604:15:0::1;::::0;;38635:22:::1;38644:12;:10;:12::i;:::-;38635:22;::::0;;-1:-1:-1;;;;;38635:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;38545:120::o:0;25407:422::-;25774:20;25813:8;;;25407:422::o;50472:632::-;50514:14;50531:52;50579:3;50531:43;50572:1;44634:42;-1:-1:-1;;;;;50531:21:0;;50561:4;50531:36;;;;;;;;;;;;;-1:-1:-1;;;;;50531:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50531:36:0;;:40;:43::i;:52::-;50514:69;-1:-1:-1;45123:42:0;50594:54;50514:69;50657:1;50660:14;50684:4;50691:12;:3;50699;50691:7;:12::i;:::-;50594:110;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50594:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50594:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50594:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50594:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;50594:110:0;;;;;;;;-1:-1:-1;;;50743:37:0;;50774:4;50743:37;;;;;50725:15;;-1:-1:-1;44546:42:0;;-1:-1:-1;50743:22:0;;-1:-1:-1;50743:37:0;;;;;-1:-1:-1;50743:37:0;;-1:-1:-1;50743:37:0;;;;;;;44546:42;50743:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50743:37:0;;-1:-1:-1;50793:15:0;50811:34;46308:4;50811:21;50743:37;46216:3;50811:11;:21::i;:34::-;50793:52;-1:-1:-1;50856:46:0;44546:42;50882:10;50793:52;50856:25;:46::i;:::-;50923:16;50942:35;46308:4;50942:22;:7;46262:3;50942:11;:22::i;:35::-;50923:54;-1:-1:-1;45123:42:0;50988:54;50923;51053:1;51056:15;45537:42;51083:12;:3;51091;51083:7;:12::i;:::-;50988:108;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50988:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50988:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50988:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50988:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50472:632;;;;:::o;51207:718::-;51252:15;51270:43;51311:1;44634:42;-1:-1:-1;;;;;51270:21:0;;51300:4;51270:36;;;;;;;;;;;;;-1:-1:-1;;;;;51270:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51270:36:0;;:40;:43::i;:::-;51330:8;;51252:61;;-1:-1:-1;;;;;;51330:8:0;44634:42;51330:15;51326:158;;45123:42;51362:54;51417:7;51426:1;51429:13;51452:4;51459:12;:3;51467;51459:7;:12::i;:::-;51362:110;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51362:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51362:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51362:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51362:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51326:158;51500:8;;-1:-1:-1;;;;;51500:8:0;44634:42;51500:15;51496:158;;45123:42;51532:54;51587:7;51596:1;51599:13;51622:4;51629:12;:3;51637;51629:7;:12::i;:::-;51532:110;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51532:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51532:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51532:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51532:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51496:158;51690:8;;51683:41;;;-1:-1:-1;;;51683:41:0;;51718:4;51683:41;;;;;;51666:14;;-1:-1:-1;;;;;51690:8:0;;51683:26;;:41;;;;;;;;;;;;;;51690:8;51683:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51683:41:0;51759:8;;51752:41;;;-1:-1:-1;;;51752:41:0;;51787:4;51752:41;;;;;;51683;;-1:-1:-1;51735:14:0;;-1:-1:-1;;;;;51759:8:0;;;;51752:26;;:41;;;;;51683;;51752;;;;;;;;51759:8;51752:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51752:41:0;51847:8;;51857;;51752:41;;-1:-1:-1;45123:42:0;;51804;;-1:-1:-1;;;;;51847:8:0;;;;51857;51867:6;51752:41;51847:8;;51897:4;51904:12;:3;51912;51904:7;:12::i;:::-;51804:113;;;;;;;;;;;;;-1:-1:-1;;;;;51804:113:0;;;;;;-1:-1:-1;;;;;51804:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51804:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8933:179;8991:7;9023:5;;;9047:6;;;;9039:46;;;;;-1:-1:-1;;;9039:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;38286:118;37812:8;:6;:8::i;:::-;37811:9;37803:38;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;-1:-1:-1;;;37803:38:0;;;;;;;;;;;;;;;38346:7:::1;:14:::0;;-1:-1:-1;;;;38346:14:0::1;-1:-1:-1::0;;;38346:14:0::1;::::0;;38376:20:::1;38383:12;:10;:12::i;35633:761::-:0;36057:23;36083:69;36111:4;36083:69;;;;;;;;;;;;;;;;;36091:5;-1:-1:-1;;;;;36083:27:0;;;:69;;;;;:::i;:::-;36167:17;;36057:95;;-1:-1:-1;36167:21:0;36163:224;;36309:10;36298:30;;;;;;;;;;;;;;;-1:-1:-1;36298:30:0;36290:85;;;;-1:-1:-1;;;36290:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29377:530;29504:12;29562:5;29537:21;:30;;29529:81;;;;-1:-1:-1;;;29529:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29629:18;29640:6;29629:10;:18::i;:::-;29621:60;;;;;-1:-1:-1;;;29621:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29755:12;29769:23;29796:6;-1:-1:-1;;;;;29796:11:0;29816:5;29824:4;29796:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29796:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29754:75;;;;29847:52;29865:7;29874:10;29886:12;29847:17;:52::i;:::-;29840:59;29377:530;-1:-1:-1;;;;;;;29377:530:0:o;31917:742::-;32032:12;32061:7;32057:595;;;-1:-1:-1;32092:10:0;32085:17;;32057:595;32206:17;;:21;32202:439;;32469:10;32463:17;32530:15;32517:10;32513:2;32509:19;32502:44;32417:148;32612:12;32605:20;;-1:-1:-1;;;32605:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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