Contract 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xaa2bd4c11f0034a435e60698cad661661941adb64c9ffbf5fac0d477641c4bd625783982020-11-26 17:00:3692 days 5 hrs ago0xc362fa359031a081d21cb9d57c29e055fecbcb06 IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0005993
0x54e9a242ccd8042f854d229a9031f40c1fb3ca186eed7be090ef4ddae2bc848f25783742020-11-26 16:59:2492 days 5 hrs ago0xc362fa359031a081d21cb9d57c29e055fecbcb06 IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.00059988
0xcabe1b883272327ccc3e74001f3a1c5c7db05522937ea15086dd51e5e297f6ff24648532020-11-22 18:11:0796 days 4 hrs ago0xc362fa359031a081d21cb9d57c29e055fecbcb06 IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.00100056
0x4b6651442abfa64bc420b311e26a132ade53d018b52ea5585f667edf9237bc4624647472020-11-22 18:05:4996 days 4 hrs ago0xc362fa359031a081d21cb9d57c29e055fecbcb06 IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0133611
0x434f87e8fbb524df3b93a64670eb50b3a21f5087d1493b6983010283f0967b7024506472020-11-22 6:20:4296 days 16 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0133611
0x1c963132110162133a9b44216d296bafabde7a808a2a39989c5c03452c0e6b8124434542020-11-22 0:21:0396 days 22 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0xe23440f9345413e8ceb2dcc6970162ec6cb17924bdf099c1d4c386e835892c9f24362432020-11-21 18:20:3097 days 4 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0130907
0x262a312966e4588d864b8f559d769d0110d1ab83cb2f86581ed25ddee8bb7b5324290792020-11-21 12:21:0397 days 10 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0x138995d375c5b1fe88b9aa55771a0ce5ebabc45fb931628a68c8e13119f9d36f24218862020-11-21 6:21:0397 days 16 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0133611
0x13062fb89e74d72e7e724116ef4e07a81efe10f0920054422abf979710af0a8224146922020-11-21 0:20:2697 days 22 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0130907
0x3f1ce3aa63f1e51ca1d8acde621fe5f20bf103f3a35371e87fbc12b04d80980b24074912020-11-20 18:20:2398 days 4 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0xd156a01711310a39e3d7cf759f4850dfa9766be5b52b9ce09120384e47d9920924002932020-11-20 12:20:2198 days 10 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0x05372107a80a61101e0696428812dc435fea9f4e44046e3d110cb7120a39c13023931122020-11-20 6:21:1798 days 16 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0130907
0xb9e3852cd365f9e0c616bbdf024d641dc9d2ef40a3ce2df6c7d35438cba8a39a23859382020-11-20 0:20:5198 days 22 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0x1f35871992b933705445ae9cd4b5d00d5604e295503e70216df0e2bb83b4887d23787372020-11-19 18:20:4899 days 4 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0x3ba4d61e8dba4d42bd3a84ecec800c38d408e6ac710638cb0aa19ce821a9b88e23715532020-11-19 12:21:0099 days 10 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01314074
0x42c86ecadb7f57ce205ac41c3aa9d211330228b36e8f23d99a6e7ba33f01018c23643542020-11-19 6:20:4699 days 16 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01335892
0x62b1ed571f5a26bfa91b0bbc894a5793f975c90854018dfe780f550a3393419923571892020-11-19 0:20:3399 days 22 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0128747
0x7615cdf398bd33d708b99f4e250327a588aee2c678c49df6ccf77dcd78685efb23499972020-11-18 18:20:51100 days 4 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.0130907
0xf3e4550dfceb5717a7a72c8fdced29b18facd48e341c2f904d3658800228dcdc23475972020-11-18 16:20:51100 days 6 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01308634
0x88de83fbea7650b829974a21c3bccb77288664eba3af3f2cd80ecde452ddc7bd23451922020-11-18 14:20:36100 days 8 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01308634
0xc99f717c1455e78a15acbe836e86c967c8a3cf8c0b5d35ef3a5bcb6f84c43f3c23427962020-11-18 12:20:48100 days 10 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01308634
0x1d265d03abed13ab2934d61cd8d98d7b8911c72b7fc73a6a07be8649be86089723404142020-11-18 10:20:30100 days 12 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01287034
0xdd309d82686e846ddc92fda1c3e4fcb0112959ecfd612c67dcb0e0e5b505a45723380152020-11-18 8:20:33100 days 14 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01287034
0x7e96aaf9cdc96cce3847a15151822c0ff3ced038a760348007d05c6238c53e4223356252020-11-18 6:21:03100 days 16 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB0.01287034
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x62c857ae71ad9ab671ca4f278ec28d89accf1bb2 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x0a4f41ffe0e5c8b09f47d3ae2f1c70fd58cfc2d36b065d7b3c4d85b1f723c5f025783942020-11-26 17:00:2492 days 5 hrs ago 0x62c857ae71ad9ab671ca4f278ec28d89accf1bb2 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x62c857ae71ad9ab671ca4f278ec28d89accf1bb2 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x9f220721da2be26db430b0235d1cb3f4f2a9ef0baf743f579e76c81988bd3d4925783832020-11-26 16:59:5192 days 5 hrs ago 0x62c857ae71ad9ab671ca4f278ec28d89accf1bb2 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB
0xfad08edecb9ac69f793e64c9294fe2515a4fca5ab18be920d4ab5c4ccb905c8a25306702020-11-25 1:08:4293 days 21 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0xfad08edecb9ac69f793e64c9294fe2515a4fca5ab18be920d4ab5c4ccb905c8a25306702020-11-25 1:08:4293 days 21 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0xfad08edecb9ac69f793e64c9294fe2515a4fca5ab18be920d4ab5c4ccb905c8a25306702020-11-25 1:08:4293 days 21 hrs ago 0x62c857ae71ad9ab671ca4f278ec28d89accf1bb2 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB
0xfad08edecb9ac69f793e64c9294fe2515a4fca5ab18be920d4ab5c4ccb905c8a25306702020-11-25 1:08:4293 days 21 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0xfad08edecb9ac69f793e64c9294fe2515a4fca5ab18be920d4ab5c4ccb905c8a25306702020-11-25 1:08:4293 days 21 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0xfad08edecb9ac69f793e64c9294fe2515a4fca5ab18be920d4ab5c4ccb905c8a25306702020-11-25 1:08:4293 days 21 hrs ago 0x62c857ae71ad9ab671ca4f278ec28d89accf1bb2 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee182750 BNB
0x2035e9c9e62c1e634bb3241c8a96134bce60cab120362202f71d3a00bc916fa825110062020-11-24 8:43:2694 days 13 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
0x2035e9c9e62c1e634bb3241c8a96134bce60cab120362202f71d3a00bc916fa825110062020-11-24 8:43:2694 days 13 hrs ago 0x8b8dd9f9d3d22b19036e4a12637ed0c09ee18275 0xdfb193940e1317f38e91568fdb05efe18ee4a3c70 BNB
[ Download CSV Export 
Loading

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

Contract Name:
StrategyThugsLP

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2020-11-18
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol


pragma solidity ^0.6.0;

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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


pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;





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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;


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

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

    bool private _paused;

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

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

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

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

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

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

// File: contracts/BIFI/interfaces/common/IWBNB.sol


pragma solidity ^0.6.0;

interface IWBNB {
    function deposit() external payable;
    function withdraw(uint wad) external;
}

// File: contracts/BIFI/interfaces/thugs/IThugswapRouter.sol


pragma solidity ^0.6.0;

interface IThugswapRouter {
    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 addLiquidityBNB(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountBNBMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountBNB, 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 removeLiquidityBNB(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountBNBMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountBNB);

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

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

// File: contracts/BIFI/interfaces/thugs/IThugswapPair.sol


pragma solidity ^0.6.0;

interface IThugswapPair {
    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/thugs/IOriginalGangster.sol


pragma solidity ^0.6.0;

interface IOriginalGangster {
    function deposit(uint256 _pid, uint256 _amount) external;
    function withdraw(uint256 _pid, uint256 _amount) external;
    function enterStaking(uint256 _amount) external;
    function leaveStaking(uint256 _amount) external;
    function pendingDrugs(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/Thugs/StrategyThugsLP.sol


pragma solidity ^0.6.0;











/**
 * @dev Implementation of a strategy to get yields from farming LP Pools in StreetSwap.
 * 
 * This strat is currently compatible with all LP pools.
 */
contract StrategyThugsLP is Ownable, Pausable {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    /**
     * @dev Tokens Used:
     * {wbnb} - Required for liquidity routing when doing swaps.
     * {drugs} - Token generated by staking our funds. In this case it's the DRUGS token.
     * {bifi} - BeefyFinance token, used to send funds to the treasury.
     * {lpPair} - Token that the strategy maximizes. The same token that users deposit in the vault.
     * {lpToken0, lpToken1} - Tokens that the strategy maximizes. IThugswapPair tokens
     */
    address constant public wbnb = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
    address constant public drugs = address(0xfD26889cd6454D8751562f1c0FcF88b18B46F7B7);
    address constant public bifi = address(0xCa3F508B8e4Dd382eE878A314789373D80A5190A);
    address public lpPair;
    address public lpToken0;
    address public lpToken1;

    /**
     * @dev Third Party Contracts:
     * {unirouter} - Thugswap unirouter
     * {gangster} - OriginalGangster contract
     * {poolId} - OriginalGangster pool id
     */
    address constant public unirouter  = address(0x3bc677674df90A9e5D741f28f6CA303357D0E4Ec);
    address constant public gangster = address(0xb752f0cB591Ecfb1c5058a93e1332F066bf38473);
    uint8 public poolId;

    /**
     * @dev Beefy Contracts:
     * {rewards} - Reward pool where the strategy fee earnings will go.
     * {treasury} - Address of the BeefyFinance treasury
     * {vault} - Address of the vault that controls the strategy's funds.
     */
    address constant public rewards  = address(0x453D4Ba9a2D594314DF88564248497F7D74d6b2C);
    address constant public treasury = address(0x4A32De8c248533C28904b24B4cFCFE18E9F2ad01);
    address public vault;

    /**
     * @dev Distribution of fees earned. This allocations relative to the % implemented on chargeFees().
     * Current implementation separates 6% for fees.
     *
     * {REWARDS_FEE} - 4% goes to BIFI holders through the {rewards} pool.
     * {CALL_FEE} - 0.5% goes to whoever executes the harvest function as gas subsidy.
     * {TREASURY_FEE} - 1.5% goes to the treasury.
     * {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 REWARDS_FEE  = 667;
    uint constant public CALL_FEE     = 83;
    uint constant public TREASURY_FEE = 250;
    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 Thugswap.
     * {drugsToWbnbRoute} - Route we take to get from {drugs} into {wbnb}.
     * {wbnbToBifiRoute} - Route we take to get from {wbnb} into {bifi}.
     * {drugsToLp0Route} - Route we take to get from {drugs} into {lpToken0}.
     * {drugsToLp1Route} - Route we take to get from {drugs} into {lpToken1}.
     */
    address[] public drugsToWbnbRoute = [drugs, wbnb];
    address[] public wbnbToBifiRoute = [wbnb, bifi];
    address[] public drugsToLp0Route;
    address[] public drugsToLp1Route;

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

        if (lpToken0 == wbnb) {
            drugsToLp0Route = [drugs, wbnb];
        } else if (lpToken0 != drugs) {
            drugsToLp0Route = [drugs, wbnb, lpToken0];
        }

        if (lpToken1 == wbnb) {
            drugsToLp1Route = [drugs, wbnb];
        } else {
            drugsToLp1Route = [drugs, wbnb, lpToken1];
        }

        IERC20(drugs).safeApprove(unirouter, uint(-1));
        IERC20(wbnb).safeApprove(unirouter, uint(-1));

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

        IERC20(lpToken1).safeApprove(unirouter, 0);
        IERC20(lpToken1).safeApprove(unirouter, 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 OriginalGangster to farm {drugs}
     */
    function deposit() public whenNotPaused {
        uint256 pairBal = IERC20(lpPair).balanceOf(address(this));

        if (pairBal > 0) {
            IERC20(lpPair).safeApprove(gangster, 0);
            IERC20(lpPair).safeApprove(gangster, pairBal);
            IOriginalGangster(gangster).deposit(poolId, pairBal);
        }
    }

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

        if (pairBal > _amount) {
            pairBal = _amount;    
        }
        
        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 OriginalGangster.
     * 2. It charges the system fees to simplify the split.
     * 3. It swaps the {drugs} 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");
        IOriginalGangster(gangster).deposit(poolId, 0);
        chargeFees();
        addLiquidity();
        deposit();
    }

    /**
     * @dev Takes out 6% as system fees from the rewards. 
     * 0.5% -> Call Fee
     * 1.5% -> Treasury fee
     * 4.0% -> BIFI Holders
     */
    function chargeFees() internal {
        uint256 toWbnb = IERC20(drugs).balanceOf(address(this)).mul(6).div(100);
        IThugswapRouter(unirouter).swapExactTokensForTokens(toWbnb, 0, drugsToWbnbRoute, address(this), now.add(600));
        
        uint256 wbnbBal = IERC20(wbnb).balanceOf(address(this));

        uint256 callFee = wbnbBal.mul(CALL_FEE).div(MAX_FEE);
        IERC20(wbnb).safeTransfer(msg.sender, callFee);

        uint256 treasuryHalf = wbnbBal.mul(TREASURY_FEE).div(MAX_FEE).div(2);
        IERC20(wbnb).safeTransfer(treasury, treasuryHalf);
        IThugswapRouter(unirouter).swapExactTokensForTokens(treasuryHalf, 0, wbnbToBifiRoute, treasury, now.add(600));

        uint256 rewardsFee = wbnbBal.mul(REWARDS_FEE).div(MAX_FEE);
        IERC20(wbnb).safeTransfer(rewards, rewardsFee);
    }

    /**
     * @dev Swaps {drugs} for {lpToken0}, {lpToken1} & {wbnb} using ThugSwap.
     */
    function addLiquidity() internal {   
        uint256 toLpToken1 = IERC20(drugs).balanceOf(address(this)).div(2);
        IThugswapRouter(unirouter).swapExactTokensForTokens(toLpToken1, 0, drugsToLp1Route, address(this), now.add(600));

        if (lpToken0 != drugs) {
            uint256 toLpToken0 = IERC20(drugs).balanceOf(address(this));
            IThugswapRouter(unirouter).swapExactTokensForTokens(toLpToken0, 0, drugsToLp0Route, address(this), now.add(600));
        }

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

    /**
     * @dev Function to calculate the total underlaying {lpPair} held by the strat.
     * It takes into account both the funds in hand, as the funds allocated in the OriginalGangster.
     */
    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 OriginalGangster
     */
    function balanceOfPool() public view returns (uint256) {
        (uint256 _amount, ) = IOriginalGangster(gangster).userInfo(poolId, address(this));
        return _amount;
    }

    /**
     * @dev Pauses deposits. Withdraws all funds from the OriginalGangster, leaving rewards behind
     */
    function panic() external onlyOwner {
        _pause();
        IOriginalGangster(gangster).emergencyWithdraw(poolId);
    }

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

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

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":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":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARDS_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_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":"bifi","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drugs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"drugsToLp0Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"drugsToLp1Route","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"drugsToWbnbRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gangster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wbnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wbnbToBifiRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260008051602062002c7d833981519152608090815260008051602062002c5d83398151915260a0526200003c90600590600262000925565b506040805180820190915260008051602062002c5d833981519152815273ca3f508b8e4dd382ee878a314789373d80a5190a60208201526200008390600690600262000925565b503480156200009157600080fd5b5060405162002d1d38038062002d1d83398181016040526060811015620000b757600080fd5b50805160208201516040909201519091906000620000d46200056a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055600180546001600160a01b0319166001600160a01b03858116919091179182905560408051630dfe168160e01b815290519290911691630dfe168191600480820192602092909190829003018186803b1580156200018857600080fd5b505afa1580156200019d573d6000803e3d6000fd5b505050506040513d6020811015620001b457600080fd5b5051600280546001600160a01b0319166001600160a01b039283161790556001546040805163d21220a760e01b81529051919092169163d21220a7916004808301926020929190829003018186803b1580156200021057600080fd5b505afa15801562000225573d6000803e3d6000fd5b505050506040513d60208110156200023c57600080fd5b5051600380546001600160a01b03199081166001600160a01b039384161760ff60a01b1916600160a01b60ff871602179091556004805490911683831617905560025460008051602062002c5d83398151915291161415620002e0576040805180820190915260008051602062002c7d833981519152815260008051602062002c5d8339815191526020820152620002d990600790600262000925565b5062000358565b6002546001600160a01b031660008051602062002c7d8339815191521462000358576040805160608101825260008051602062002c7d833981519152815260008051602062002c5d83398151915260208201526002546001600160a01b0316918101919091526200035690600790600362000925565b505b6003546001600160a01b031660008051602062002c5d8339815191521415620003c3576040805180820190915260008051602062002c7d833981519152815260008051602062002c5d8339815191526020820152620003bc90600890600262000925565b5062000419565b6040805160608101825260008051602062002c7d833981519152815260008051602062002c5d8339815191526020820152600380546001600160a01b03169282019290925262000417916008919062000925565b505b6200045260008051602062002c7d83398151915260008051602062002cc78339815191526000196200056e602090811b62000ef717901c565b6200048b60008051602062002c5d83398151915260008051602062002cc78339815191526000196200056e602090811b62000ef717901c565b600254620004c0906001600160a01b031660008051602062002cc783398151915260006200056e602090811b62000ef717901c565b600254620004f6906001600160a01b031660008051602062002cc78339815191526000196200056e602090811b62000ef717901c565b6003546200052b906001600160a01b031660008051602062002cc783398151915260006200056e602090811b62000ef717901c565b60035462000561906001600160a01b031660008051602062002cc78339815191526000196200056e602090811b62000ef717901c565b505050620009b0565b3390565b801580620005f8575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620005c857600080fd5b505afa158015620005dd573d6000803e3d6000fd5b505050506040513d6020811015620005f457600080fd5b5051155b620006355760405162461bcd60e51b815260040180806020018281038252603681526020018062002ce76036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200068d9185916200069216565b505050565b6060620006ee826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200074e60201b6200100a179092919060201c565b8051909150156200068d578080602001905160208110156200070f57600080fd5b50516200068d5760405162461bcd60e51b815260040180806020018281038252602a81526020018062002c9d602a913960400191505060405180910390fd5b60606200075f848460008562000767565b949350505050565b606062000774856200091f565b620007c6576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620008075780518252601f199092019160209182019101620007e6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200086b576040519150601f19603f3d011682016040523d82523d6000602084013e62000870565b606091505b50915091508115620008865791506200075f9050565b805115620008975780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620008e3578181015183820152602001620008c9565b50505050905090810190601f168015620009115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b151590565b8280548282559060005260206000209081019282156200097d579160200282015b828111156200097d57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000946565b506200098b9291506200098f565b5090565b5b808211156200098b5780546001600160a01b031916815560010162000990565b61229d80620009c06000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063722713f711610125578063a5d33ed5116100ad578063c6a1dd8b1161007c578063c6a1dd8b146103b4578063d0e30db0146103bc578063f2fde38b146103c4578063f8b75ae7146103ea578063fbfa77cf1461040757610211565b8063a5d33ed51461037f578063af31431214610387578063bc063e1a146103a4578063c2351cdd146103ac57610211565b80638d72647e116100f45780638d72647e146103425780638da5cb5b1461034a578063951d6d20146103525780639aaafe781461035a5780639ec5a8941461037757610211565b8063722713f7146103225780638456cb591461032a578063877562b6146103325780638ce1a4831461033a57610211565b80634458020b116101a857806354518b1a1161017757806354518b1a146102e65780635c975abb146102ee5780635ee167c01461030a57806361d027b314610312578063715018a61461031a57610211565b80634458020b146102c6578063452ed4f1146102ce5780634641257d146102d65780634700d305146102de57610211565b80633bf39de5116101e45780633bf39de5146102905780633e0dc34e146102985780633e38da26146102b65780633f4ba83a146102be57610211565b80631158808614610216578063257ae0de146102305780632e1a7d4d146102545780633b3d6e2d14610273575b600080fd5b61021e61040f565b60408051918252519081900360200190f35b6102386104a7565b604080516001600160a01b039092168252519081900360200190f35b6102716004803603602081101561026a57600080fd5b50356104bf565b005b6102386004803603602081101561028957600080fd5b50356106e6565b61021e61070d565b6102a0610713565b6040805160ff9092168252519081900360200190f35b610238610723565b61027161073b565b61023861079d565b6102386107b5565b6102716107c4565b6102716108f2565b61021e6109ca565b6102f66109d0565b604080519115158252519081900360200190f35b6102386109e0565b6102386109ef565b610271610a07565b61021e610aa9565b610271610ac9565b610238610b29565b61021e610b38565b610238610b3d565b610238610b55565b61021e610b64565b6102386004803603602081101561037057600080fd5b5035610b69565b610238610b76565b61021e610b8e565b6102386004803603602081101561039d57600080fd5b5035610b93565b61021e610ba0565b61021e610ba6565b610238610c22565b610271610c3a565b610271600480360360208110156103da57600080fd5b50356001600160a01b0316610de3565b6102386004803603602081101561040057600080fd5b5035610edb565b610238610ee8565b600354604080516393f1a40b60e01b8152600160a01b90920460ff1660048301523060248301528051600092839273b752f0cb591ecfb1c5058a93e1332f066bf38473926393f1a40b926044808201939291829003018186803b15801561047557600080fd5b505afa158015610489573d6000803e3d6000fd5b505050506040513d604081101561049f57600080fd5b505191505090565b733bc677674df90a9e5d741f28f6ca303357d0e4ec81565b6004546001600160a01b03163314610507576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561055257600080fd5b505afa158015610566573d6000803e3d6000fd5b505050506040513d602081101561057c57600080fd5b505190508181101561068d5760035473b752f0cb591ecfb1c5058a93e1332f066bf384739063441a3e7090600160a01b900460ff166105bb8585611021565b6040518363ffffffff1660e01b8152600401808360ff16815260200182815260200192505050600060405180830381600087803b1580156105fb57600080fd5b505af115801561060f573d6000803e3d6000fd5b5050600154604080516370a0823160e01b815230600482015290516001600160a01b0390921693506370a082319250602480820192602092909190829003018186803b15801561065e57600080fd5b505afa158015610672573d6000803e3d6000fd5b505050506040513d602081101561068857600080fd5b505190505b818111156106985750805b60006106b16127106106ab84600a61106c565b906110c5565b6004549091506106e1906001600160a01b03166106ce8484611021565b6001546001600160a01b03169190611107565b505050565b600581815481106106f357fe5b6000918252602090912001546001600160a01b0316905081565b61029b81565b600354600160a01b900460ff1681565b73b752f0cb591ecfb1c5058a93e1332f066bf3847381565b610743611159565b6000546001600160a01b03908116911614610793576040805162461bcd60e51b815260206004820181905260248201526000805160206121e8833981519152604482015290519081900360640190fd5b61079b61115d565b565b73ca3f508b8e4dd382ee878a314789373d80a5190a81565b6001546001600160a01b031681565b600054600160a01b900460ff1615610816576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61081f33611205565b1561085d576040805162461bcd60e51b81526020600482015260096024820152680858dbdb9d1c9858dd60ba1b604482015290519081900360640190fd5b60035460408051631c57762b60e31b8152600160a01b90920460ff166004830152600060248301819052905173b752f0cb591ecfb1c5058a93e1332f066bf384739263e2bbb15892604480830193919282900301818387803b1580156108c257600080fd5b505af11580156108d6573d6000803e3d6000fd5b505050506108e261120b565b6108ea611740565b61079b610c3a565b6108fa611159565b6000546001600160a01b0390811691161461094a576040805162461bcd60e51b815260206004820181905260248201526000805160206121e8833981519152604482015290519081900360640190fd5b610952611d9d565b60035460408051632989754760e11b8152600160a01b90920460ff1660048301525173b752f0cb591ecfb1c5058a93e1332f066bf3847391635312ea8e91602480830192600092919082900301818387803b1580156109b057600080fd5b505af11580156109c4573d6000803e3d6000fd5b50505050565b61271081565b600054600160a01b900460ff1690565b6002546001600160a01b031681565b734a32de8c248533c28904b24b4cfcfe18e9f2ad0181565b610a0f611159565b6000546001600160a01b03908116911614610a5f576040805162461bcd60e51b815260206004820181905260248201526000805160206121e8833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610ac4610ab661040f565b610abe610ba6565b90611e2b565b905090565b610ad1611159565b6000546001600160a01b03908116911614610b21576040805162461bcd60e51b815260206004820181905260248201526000805160206121e8833981519152604482015290519081900360640190fd5b61079b611d9d565b6003546001600160a01b031681565b60fa81565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b6000546001600160a01b031690565b605381565b600881815481106106f357fe5b73453d4ba9a2d594314df88564248497f7d74d6b2c81565b600a81565b600681815481106106f357fe5b6103e881565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610bf157600080fd5b505afa158015610c05573d6000803e3d6000fd5b505050506040513d6020811015610c1b57600080fd5b5051905090565b73fd26889cd6454d8751562f1c0fcf88b18b46f7b781565b600054600160a01b900460ff1615610c8c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610cd757600080fd5b505afa158015610ceb573d6000803e3d6000fd5b505050506040513d6020811015610d0157600080fd5b505190508015610de057600154610d37906001600160a01b031673b752f0cb591ecfb1c5058a93e1332f066bf384736000610ef7565b600154610d62906001600160a01b031673b752f0cb591ecfb1c5058a93e1332f066bf3847383610ef7565b60035460408051631c57762b60e31b8152600160a01b90920460ff166004830152602482018390525173b752f0cb591ecfb1c5058a93e1332f066bf384739163e2bbb15891604480830192600092919082900301818387803b158015610dc757600080fd5b505af1158015610ddb573d6000803e3d6000fd5b505050505b50565b610deb611159565b6000546001600160a01b03908116911614610e3b576040805162461bcd60e51b815260206004820181905260248201526000805160206121e8833981519152604482015290519081900360640190fd5b6001600160a01b038116610e805760405162461bcd60e51b81526004018080602001828103825260268152602001806121a16026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600781815481106106f357fe5b6004546001600160a01b031681565b801580610f7d575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610f4f57600080fd5b505afa158015610f63573d6000803e3d6000fd5b505050506040513d6020811015610f7957600080fd5b5051155b610fb85760405162461bcd60e51b81526004018080602001828103825260368152602001806122326036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526106e1908490611e85565b60606110198484600085611f36565b949350505050565b600061106383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120e1565b90505b92915050565b60008261107b57506000611066565b8282028284828161108857fe5b04146110635760405162461bcd60e51b81526004018080602001828103825260218152602001806121c76021913960400191505060405180910390fd5b600061106383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061213b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106e1908490611e85565b3390565b600054600160a01b900460ff166111b2576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6111e8611159565b604080516001600160a01b039092168252519081900360200190a1565b3b151590565b60006112aa60646106ab600673fd26889cd6454d8751562f1c0fcf88b18b46f7b76001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561127857600080fd5b505afa15801561128c573d6000803e3d6000fd5b505050506040513d60208110156112a257600080fd5b50519061106c565b9050733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed17398260006005306112d842610258611e2b565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561135757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611339575b50509650505050505050600060405180830381600087803b15801561137b57600080fd5b505af115801561138f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156113b857600080fd5b8101908080516040519392919084600160201b8211156113d757600080fd5b9083019060208201858111156113ec57600080fd5b82518660208202830111600160201b8211171561140857600080fd5b82525081516020918201928201910280838360005b8381101561143557818101518382015260200161141d565b505050509190910160408181526370a0823160e01b8252306004830152516000965073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c95506370a08231945060248083019450602093509091829003018186803b15801561149657600080fd5b505afa1580156114aa573d6000803e3d6000fd5b505050506040513d60208110156114c057600080fd5b5051905060006114d76103e86106ab84605361106c565b90506114f873bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c3383611107565b600061150e60026106ab6103e8818760fa61106c565b905061154373bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c734a32de8c248533c28904b24b4cfcfe18e9f2ad0183611107565b733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed17398260006006734a32de8c248533c28904b24b4cfcfe18e9f2ad0161158342610258611e2b565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561160257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115e4575b50509650505050505050600060405180830381600087803b15801561162657600080fd5b505af115801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561166357600080fd5b8101908080516040519392919084600160201b82111561168257600080fd5b90830190602082018581111561169757600080fd5b82518660208202830111600160201b821117156116b357600080fd5b82525081516020918201928201910280838360005b838110156116e05781810151838201526020016116c8565b5050505090500160405250505050600061170b6103e86106ab61029b8761106c90919063ffffffff16565b9050610ddb73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c73453d4ba9a2d594314df88564248497f7d74d6b2c83611107565b60006117da600273fd26889cd6454d8751562f1c0fcf88b18b46f7b76001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156117a857600080fd5b505afa1580156117bc573d6000803e3d6000fd5b505050506040513d60208110156117d257600080fd5b5051906110c5565b9050733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed173982600060083061180842610258611e2b565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561188757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611869575b50509650505050505050600060405180830381600087803b1580156118ab57600080fd5b505af11580156118bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156118e857600080fd5b8101908080516040519392919084600160201b82111561190757600080fd5b90830190602082018581111561191c57600080fd5b82518660208202830111600160201b8211171561193857600080fd5b82525081516020918201928201910280838360005b8381101561196557818101518382015260200161194d565b505050509190910160405250506002546001600160a01b031673fd26889cd6454d8751562f1c0fcf88b18b46f7b7149250611bb991505057604080516370a0823160e01b8152306004820152905160009173fd26889cd6454d8751562f1c0fcf88b18b46f7b7916370a0823191602480820192602092909190829003018186803b1580156119f257600080fd5b505afa158015611a06573d6000803e3d6000fd5b505050506040513d6020811015611a1c57600080fd5b50519050733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed1739826000600730611a4c42610258611e2b565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611acb57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611aad575b50509650505050505050600060405180830381600087803b158015611aef57600080fd5b505af1158015611b03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611b2c57600080fd5b8101908080516040519392919084600160201b821115611b4b57600080fd5b908301906020820185811115611b6057600080fd5b82518660208202830111600160201b82111715611b7c57600080fd5b82525081516020918201928201910280838360005b83811015611ba9578181015183820152602001611b91565b5050505090500160405250505050505b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611c0457600080fd5b505afa158015611c18573d6000803e3d6000fd5b505050506040513d6020811015611c2e57600080fd5b5051600354604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611c8157600080fd5b505afa158015611c95573d6000803e3d6000fd5b505050506040513d6020811015611cab57600080fd5b5051600254600354919250733bc677674df90a9e5d741f28f6ca303357d0e4ec9163e8e33700916001600160a01b039081169116858560018030611cf142610258611e2b565b6040518963ffffffff1660e01b815260040180896001600160a01b03168152602001886001600160a01b03168152602001878152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200198505050505050505050606060405180830381600087803b158015611d7357600080fd5b505af1158015611d87573d6000803e3d6000fd5b505050506040513d6060811015610ddb57600080fd5b600054600160a01b900460ff1615611def576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111e8611159565b600082820183811015611063576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060611eda826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661100a9092919063ffffffff16565b8051909150156106e157808060200190516020811015611ef957600080fd5b50516106e15760405162461bcd60e51b815260040180806020018281038252602a815260200180612208602a913960400191505060405180910390fd5b6060611f4185611205565b611f92576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611fd15780518252601f199092019160209182019101611fb2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612033576040519150601f19603f3d011682016040523d82523d6000602084013e612038565b606091505b5091509150811561204c5791506110199050565b80511561205c5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120a657818101518382015260200161208e565b50505050905090810190601f1680156120d35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600081848411156121335760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156120a657818101518382015260200161208e565b505050900390565b6000818361218a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156120a657818101518382015260200161208e565b50600083858161219657fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ba14a69a0f70e67f6c12e3d8b3a5eb1cd0e6337f7f76d6de352c14ce7b33252e64736f6c634300060c0033000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000fd26889cd6454d8751562f1c0fcf88b18b46f7b75361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565640000000000000000000000003bc677674df90a9e5d741f28f6ca303357d0e4ec5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000009354cab0f1083135439b23aa6c364329e578f39a0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000938922808d98d6a9b130aedaff9f263c8c1830ca

Deployed ByteCode Sourcemap

39931:9610:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48859:180;;;:::i;:::-;;;;;;;;;;;;;;;;41092:88;;;:::i;:::-;;;;-1:-1:-1;;;;;41092:88:0;;;;;;;;;;;;;;45102:614;;;;;;;;;;;;;;;;-1:-1:-1;45102:614:0;;:::i;:::-;;43089:49;;;;;;;;;;;;;;;;-1:-1:-1;43089:49:0;;:::i;42419:39::-;;;:::i;41280:19::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41187:86;;;:::i;49471:67::-;;;:::i;40727:82::-;;;:::i;40816:21::-;;;:::i;46102:239::-;;;:::i;49165:127::-;;;:::i;42652:43::-;;;:::i;33330:78::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;40844:23;;;:::i;41655:86::-;;;:::i;2745:148::-;;;:::i;48409:115::-;;;:::i;49349:63::-;;;:::i;40874:23::-;;;:::i;42510:39::-;;;:::i;40548:82::-;;;:::i;2103:79::-;;;:::i;42465:38::-;;;:::i;43238:32::-;;;;;;;;;;;;;;;;-1:-1:-1;43238:32:0;;:::i;41562:86::-;;;:::i;42605:40::-;;;:::i;43145:47::-;;;;;;;;;;;;;;;;-1:-1:-1;43145:47:0;;:::i;42556:40::-;;;:::i;48615:122::-;;;:::i;40637:83::-;;;:::i;44550:338::-;;;:::i;3048:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3048:244:0;-1:-1:-1;;;;;3048:244:0;;:::i;43199:32::-;;;;;;;;;;;;;;;;-1:-1:-1;43199:32:0;;:::i;41748:20::-;;;:::i;48859:180::-;48984:6;;48947:59;;;-1:-1:-1;;;48947:59:0;;-1:-1:-1;;;48984:6:0;;;;;48947:59;;;;49000:4;48947:59;;;;;;-1:-1:-1;;;;41230:42:0;;48947:36;;:59;;;;;;;;;;;;41230:42;48947:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48947:59:0;;-1:-1:-1;;48859:180:0;:::o;41092:88::-;41137:42;41092:88;:::o;45102:614::-;45179:5;;-1:-1:-1;;;;;45179:5:0;45165:10;:19;45157:38;;;;;-1:-1:-1;;;45157:38:0;;;;;;;;;;;;-1:-1:-1;;;45157:38:0;;;;;;;;;;;;;;;45233:6;;45226:39;;;-1:-1:-1;;;45226:39:0;;45259:4;45226:39;;;;;;45208:15;;-1:-1:-1;;;;;45233:6:0;;45226:24;;:39;;;;;;;;;;;;;;45233:6;45226:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45226:39:0;;-1:-1:-1;45282:17:0;;;45278:183;;;45356:6;;41230:42;;45319:36;;-1:-1:-1;;;45356:6:0;;;;45364:20;:7;45376;45364:11;:20::i;:::-;45319:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45417:6:0;;45410:39;;;-1:-1:-1;;;45410:39:0;;45443:4;45410:39;;;;;;-1:-1:-1;;;;;45417:6:0;;;;-1:-1:-1;45410:24:0;;-1:-1:-1;45410:39:0;;;;;;;;;;;;;;;45417:6;45410:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45410:39:0;;-1:-1:-1;45278:183:0;45487:7;45477;:17;45473:71;;;-1:-1:-1;45521:7:0;45473:71;45564:21;45588:47;42690:5;45588:27;:7;42643:2;45588:11;:27::i;:::-;:31;;:47::i;:::-;45674:5;;45564:71;;-1:-1:-1;45646:62:0;;-1:-1:-1;;;;;45674:5:0;45681:26;:7;45564:71;45681:11;:26::i;:::-;45653:6;;-1:-1:-1;;;;;45653:6:0;;45646:62;:27;:62::i;:::-;45102:614;;;:::o;43089:49::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43089:49:0;;-1:-1:-1;43089:49:0;:::o;42419:39::-;42455:3;42419:39;:::o;41280:19::-;;;-1:-1:-1;;;41280:19:0;;;;;:::o;41187:86::-;41230:42;41187:86;:::o;49471:67::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;49520:10:::1;:8;:10::i;:::-;49471:67::o:0;40727:82::-;40766:42;40727:82;:::o;40816:21::-;;;-1:-1:-1;;;;;40816:21:0;;:::o;46102:239::-;33648:7;;-1:-1:-1;;;33648:7:0;;;;33647:8;33639:37;;;;;-1:-1:-1;;;33639:37:0;;;;;;;;;;;;-1:-1:-1;;;33639:37:0;;;;;;;;;;;;;;;46164:30:::1;46183:10;46164:18;:30::i;:::-;46163:31;46155:53;;;::::0;;-1:-1:-1;;;46155:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46155:53:0;;;;;;;;;;;;;::::1;;46255:6;::::0;46219:46:::1;::::0;;-1:-1:-1;;;46219:46:0;;-1:-1:-1;;;46255:6:0;;::::1;;;46219:46;::::0;::::1;::::0;-1:-1:-1;46219:46:0;;;;;;;;41230:42:::1;::::0;46219:35:::1;::::0;:46;;;;;-1:-1:-1;;46219:46:0;;;;;-1:-1:-1;41230:42:0;46219:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46276:12;:10;:12::i;:::-;46299:14;:12;:14::i;:::-;46324:9;:7;:9::i;49165:127::-:0;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;49212:8:::1;:6;:8::i;:::-;49277:6;::::0;49231:53:::1;::::0;;-1:-1:-1;;;49231:53:0;;-1:-1:-1;;;49277:6:0;;::::1;;;49231:53;::::0;::::1;::::0;;41230:42:::1;::::0;49231:45:::1;::::0;:53;;;;;-1:-1:-1;;49231:53:0;;;;;;;-1:-1:-1;41230:42:0;49231:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;49165:127::o:0;42652:43::-;42690:5;42652:43;:::o;33330:78::-;33369:4;33393:7;-1:-1:-1;;;33393:7:0;;;;;33330:78::o;40844:23::-;;;-1:-1:-1;;;;;40844:23:0;;:::o;41655:86::-;41698:42;41655:86;:::o;2745:148::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;2852:1:::1;2836:6:::0;;2815:40:::1;::::0;-1:-1:-1;;;;;2836:6:0;;::::1;::::0;2815:40:::1;::::0;2852:1;;2815:40:::1;2883:1;2866:19:::0;;-1:-1:-1;;;;;;2866:19:0::1;::::0;;2745:148::o;48409:115::-;48451:7;48478:38;48500:15;:13;:15::i;:::-;48478:17;:15;:17::i;:::-;:21;;:38::i;:::-;48471:45;;48409:115;:::o;49349:63::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;49396:8:::1;:6;:8::i;40874:23::-:0;;;-1:-1:-1;;;;;40874:23:0;;:::o;42510:39::-;42546:3;42510:39;:::o;40548:82::-;40587:42;40548:82;:::o;2103:79::-;2141:7;2168:6;-1:-1:-1;;;;;2168:6:0;2103:79;:::o;42465:38::-;42501:2;42465:38;:::o;43238:32::-;;;;;;;;;;41562:86;41605:42;41562:86;:::o;42605:40::-;42643:2;42605:40;:::o;43145:47::-;;;;;;;;;;42556:40;42592:4;42556:40;:::o;48615:122::-;48697:6;;48690:39;;;-1:-1:-1;;;48690:39:0;;48723:4;48690:39;;;;;;48663:7;;-1:-1:-1;;;;;48697:6:0;;48690:24;;:39;;;;;;;;;;;;;;48697:6;48690:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48690:39:0;;-1:-1:-1;48615:122:0;:::o;40637:83::-;40677:42;40637:83;:::o;44550:338::-;33648:7;;-1:-1:-1;;;33648:7:0;;;;33647:8;33639:37;;;;;-1:-1:-1;;;33639:37:0;;;;;;;;;;;;-1:-1:-1;;;33639:37:0;;;;;;;;;;;;;;;44626:6:::1;::::0;44619:39:::1;::::0;;-1:-1:-1;;;44619:39:0;;44652:4:::1;44619:39;::::0;::::1;::::0;;;44601:15:::1;::::0;-1:-1:-1;;;;;44626:6:0::1;::::0;44619:24:::1;::::0;:39;;;;;::::1;::::0;;;;;;;;44626:6;44619:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;44619:39:0;;-1:-1:-1;44675:11:0;;44671:210:::1;;44710:6;::::0;44703:39:::1;::::0;-1:-1:-1;;;;;44710:6:0::1;41230:42;44740:1;44703:26;:39::i;:::-;44764:6;::::0;44757:45:::1;::::0;-1:-1:-1;;;;;44764:6:0::1;41230:42;44794:7:::0;44757:26:::1;:45::i;:::-;44853:6;::::0;44817:52:::1;::::0;;-1:-1:-1;;;44817:52:0;;-1:-1:-1;;;44853:6:0;;::::1;;;44817:52;::::0;::::1;::::0;;;;;;;;41230:42:::1;::::0;44817:35:::1;::::0;:52;;;;;-1:-1:-1;;44817:52:0;;;;;;;-1:-1:-1;41230:42:0;44817:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;44671:210;33687:1;44550:338::o:0;3048:244::-;2325:12;:10;:12::i;:::-;2315:6;;-1:-1:-1;;;;;2315:6:0;;;:22;;;2307:67;;;;;-1:-1:-1;;;2307:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2307:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3137:22:0;::::1;3129:73;;;;-1:-1:-1::0;;;3129:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3239:6;::::0;;3218:38:::1;::::0;-1:-1:-1;;;;;3218:38:0;;::::1;::::0;3239:6;::::1;::::0;3218:38:::1;::::0;::::1;3267:6;:17:::0;;-1:-1:-1;;;;;;3267:17:0::1;-1:-1:-1::0;;;;;3267:17:0;;;::::1;::::0;;;::::1;::::0;;3048:244::o;43199:32::-;;;;;;;;;;41748:20;;;-1:-1:-1;;;;;41748:20:0;;:::o;29846:622::-;30216:10;;;30215:62;;-1:-1:-1;30232:39:0;;;-1:-1:-1;;;30232:39:0;;30256:4;30232:39;;;;-1:-1:-1;;;;;30232:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30232:39:0;:44;30215:62;30207:152;;;;-1:-1:-1;;;30207:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30397:62;;;-1:-1:-1;;;;;30397:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30397:62:0;-1:-1:-1;;;30397:62:0;;;30370:90;;30390:5;;30370:19;:90::i;15165:196::-;15268:12;15300:53;15323:6;15331:4;15337:1;15340:12;15300:22;:53::i;:::-;15293:60;15165:196;-1:-1:-1;;;;15165:196:0:o;7487:136::-;7545:7;7572:43;7576:1;7579;7572:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7565:50;;7487:136;;;;;:::o;8377:471::-;8435:7;8680:6;8676:47;;-1:-1:-1;8710:1:0;8703:8;;8676:47;8747:5;;;8751:1;8747;:5;:1;8771:5;;;;;:10;8763:56;;;;-1:-1:-1;;;8763:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9324:132;9382:7;9409:39;9413:1;9416;9409:39;;;;;;;;;;;;;;;;;:3;:39::i;29187:177::-;29297:58;;;-1:-1:-1;;;;;29297:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29297:58:0;-1:-1:-1;;;29297:58:0;;;29270:86;;29290:5;;29270:19;:86::i;657:106::-;745:10;657:106;:::o;34379:120::-;33924:7;;-1:-1:-1;;;33924:7:0;;;;33916:40;;;;;-1:-1:-1;;;33916:40:0;;;;;;;;;;;;-1:-1:-1;;;33916:40:0;;;;;;;;;;;;;;;34448:5:::1;34438:15:::0;;-1:-1:-1;;;;34438:15:0::1;::::0;;34469:22:::1;34478:12;:10;:12::i;:::-;34469:22;::::0;;-1:-1:-1;;;;;34469:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;34379:120::o:0;12247:422::-;12614:20;12653:8;;;12247:422::o;46510:828::-;46552:14;46569:54;46619:3;46569:45;46612:1;40677:42;-1:-1:-1;;;;;46569:23:0;;46601:4;46569:38;;;;;;;;;;;;;-1:-1:-1;;;;;46569:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46569:38:0;;:42;:45::i;:54::-;46552:71;-1:-1:-1;41137:42:0;46634:51;46552:71;46694:1;46697:16;46723:4;46730:12;:3;46738;46730:7;:12::i;:::-;46634:109;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46634:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46634:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46634:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;46634:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;46634:109:0;;;;;;;;;;;;-1:-1:-1;46634:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;46634:109:0;;;;;;;;-1:-1:-1;;;46782:37:0;;46813:4;46782:37;;;;;46764:15;;-1:-1:-1;40587:42:0;;-1:-1:-1;46782:22:0;;-1:-1:-1;46782:37:0;;;;;-1:-1:-1;46782:37:0;;-1:-1:-1;46782:37:0;;;;;;;40587:42;46782:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46782:37:0;;-1:-1:-1;46832:15:0;46850:34;42592:4;46850:21;46782:37;42501:2;46850:11;:21::i;:34::-;46832:52;-1:-1:-1;46895:46:0;40587:42;46921:10;46832:52;46895:25;:46::i;:::-;46954:20;46977:45;47020:1;46977:38;42592:4;46977:38;:7;42546:3;46977:11;:25::i;:45::-;46954:68;-1:-1:-1;47033:49:0;40587:42;41698;46954:68;47033:25;:49::i;:::-;41137:42;47093:51;47145:12;47159:1;47162:15;41698:42;47189:12;:3;47197;47189:7;:12::i;:::-;47093:109;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47093:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47093:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47093:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47093:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47093:109:0;;;;;;;;;;;;-1:-1:-1;47093:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47215:18;47236:37;42592:4;47236:24;42455:3;47236:7;:11;;:24;;;;:::i;:37::-;47215:58;-1:-1:-1;47284:46:0;40587:42;41605;47215:58;47284:25;:46::i;47443:753::-;47490:18;47511:45;47554:1;40677:42;-1:-1:-1;;;;;47511:23:0;;47543:4;47511:38;;;;;;;;;;;;;-1:-1:-1;;;;;47511:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47511:38:0;;:42;:45::i;:::-;47490:66;-1:-1:-1;41137:42:0;47567:51;47490:66;47631:1;47634:15;47659:4;47666:12;:3;47674;47666:7;:12::i;:::-;47567:112;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47567:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47567:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47567:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47567:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47567:112:0;;;;;;;;;;;;-1:-1:-1;47567:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;47567:112:0;;;;;;-1:-1:-1;;47696:8:0;;-1:-1:-1;;;;;47696:8:0;40677:42;47696:17;;-1:-1:-1;47692:236:0;;-1:-1:-1;;47692:236:0;47751:38;;;-1:-1:-1;;;47751:38:0;;47783:4;47751:38;;;;;;47730:18;;40677:42;;47751:23;;:38;;;;;;;;;;;;;;;40677:42;47751:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47751:38:0;;-1:-1:-1;41137:42:0;47804:51;47751:38;47868:1;47871:15;47896:4;47903:12;:3;47911;47903:7;:12::i;:::-;47804:112;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47804:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47804:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47804:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47804:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47804:112:0;;;;;;;;;;;;-1:-1:-1;47804:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47692:236;;47964:8;;47957:41;;;-1:-1:-1;;;47957:41:0;;47992:4;47957:41;;;;;;47940:14;;-1:-1:-1;;;;;47964:8:0;;47957:26;;:41;;;;;;;;;;;;;;47964:8;47957:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47957:41:0;48033:8;;48026:41;;;-1:-1:-1;;;48026:41:0;;48061:4;48026:41;;;;;;47957;;-1:-1:-1;48009:14:0;;-1:-1:-1;;;;;48033:8:0;;;;48026:26;;:41;;;;;47957;;48026;;;;;;;;48033:8;48026:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48026:41:0;48118:8;;48128;;48026:41;;-1:-1:-1;41137:42:0;;48078:39;;-1:-1:-1;;;;;48118:8:0;;;;48128;48138:6;48026:41;48118:8;;48168:4;48175:12;:3;48183;48175:7;:12::i;:::-;48078:110;;;;;;;;;;;;;-1:-1:-1;;;;;48078:110:0;;;;;;-1:-1:-1;;;;;48078:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48078:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34120:118;33648:7;;-1:-1:-1;;;33648:7:0;;;;33647:8;33639:37;;;;;-1:-1:-1;;;33639:37:0;;;;;;;;;;;;-1:-1:-1;;;33639:37:0;;;;;;;;;;;;;;;34180:7:::1;:14:::0;;-1:-1:-1;;;;34180:14:0::1;-1:-1:-1::0;;;34180:14:0::1;::::0;;34210:20:::1;34217:12;:10;:12::i;7023:181::-:0;7081:7;7113:5;;;7137:6;;;;7129:46;;;;;-1:-1:-1;;;7129:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;31492:761;31916:23;31942:69;31970:4;31942:69;;;;;;;;;;;;;;;;;31950:5;-1:-1:-1;;;;;31942:27:0;;;:69;;;;;:::i;:::-;32026:17;;31916:95;;-1:-1:-1;32026:21:0;32022:224;;32168:10;32157:30;;;;;;;;;;;;;;;-1:-1:-1;32157:30:0;32149:85;;;;-1:-1:-1;;;32149:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16542:979;16672:12;16705:18;16716:6;16705:10;:18::i;:::-;16697:60;;;;;-1:-1:-1;;;16697:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16831:12;16845:23;16872:6;-1:-1:-1;;;;;16872:11:0;16892:8;16903:4;16872:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16872:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16830:78;;;;16923:7;16919:595;;;16954:10;-1:-1:-1;16947:17:0;;-1:-1:-1;16947:17:0;16919:595;17068:17;;:21;17064:439;;17331:10;17325:17;17392:15;17379:10;17375:2;17371:19;17364:44;17279:148;17474:12;17467:20;;-1:-1:-1;;;17467:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7926:192;8012:7;8048:12;8040:6;;;;8032:29;;;;-1:-1:-1;;;8032:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8084:5:0;;;7926:192::o;9952:278::-;10038:7;10073:12;10066:5;10058:28;;;;-1:-1:-1;;;10058:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10097:9;10113:1;10109;:5;;;;;;;9952:278;-1:-1:-1;;;;;9952:278:0:o

Swarm Source

ipfs://ba14a69a0f70e67f6c12e3d8b3a5eb1cd0e6337f7f76d6de352c14ce7b33252e
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.