Contract 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2

 
Txn Hash
Block
From
To
Value [Txn Fee]
0xf8aa91ac73cc87a62b679dcbc2f00ac25533ea3b24d19cf250ff80ae7ce737f719207872020-11-03 20:20:55115 days 57 mins ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0x8c5f266831465e19b8c67a109695098129e40a654211d6334505c9bd5ad76ff819195862020-11-03 19:20:52115 days 1 hr ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.00979138
0x9b18571212e1487a51ab51a429ff70ad477ba912c32f435d1d9b5c77fecd240619183822020-11-03 18:20:40115 days 2 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.01018416
0x776f9bb2416d1c7f5c7b50026e055b06f16d17a5b0defa88890814fe8bcced5319179052020-11-03 17:56:49115 days 3 hrs ago0xff938bd81c2671c28caf920d8015bad9fb816d59 IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0107276
0x0c6a96013eeb2319f898585ac04651eac9eccfb1baa6a7f6d1ddc793ce15ac7219171962020-11-03 17:21:22115 days 3 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xf1250c4a726463439ef319b0e5c5514fba2b671eac05ad96a1880581d04eca5319159922020-11-03 16:21:10115 days 4 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0111116
0xadbf512aaafc4b3a0c6a6767d36f0735d1d4d3ce16127fa29d81a925a551a46419147752020-11-03 15:20:19115 days 5 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0x09a7e28cc139575f85394af849114652780ac5be6db77b39cc5b394e595688a719135982020-11-03 14:21:28115 days 6 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0102116
0xd2233c47121b7b58e66ccbbb94a58973771055929ca2e17935397ed0c32fa91c19123932020-11-03 13:21:13115 days 7 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0x700b0782d28f6c66cd7daa5cee9d902d35f6f5d542ced914b252f11b5349dc1a19111802020-11-03 12:20:34115 days 8 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xeaa2a0cd943eaca9a9e834a9843ffdfad8a63e785deacae056511d5e540dfa8619099782020-11-03 11:20:28115 days 9 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xb0ab40e03339b0acee348e0301145d99898421564da51af70e4bc21506ac696019087832020-11-03 10:20:43115 days 10 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xa7c306e904b73ae5861a79e20a6869041d4c4d0e8ef75530c8cc3bd90d1908a319075812020-11-03 9:20:37115 days 11 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xaff9cad7e033a4e12498a7dad5e162b3e496c98cdabd62b9d17443c54d79491319063972020-11-03 8:21:25115 days 12 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xe07168bee7c82684790a4b141e9dd14bf9bb414bccf9fc8ee811e1276974234419051842020-11-03 7:20:46115 days 13 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0108116
0x52ed23dd92304726e140fd4efb5518a9487cf53e24aa8f1dda41b96aca08c29b19039812020-11-03 6:20:37115 days 14 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0102116
0xa9b23f64bca41cf201fd6289ff3d41091e4f40320ec5d45f2fcd5218ed6bf15f19027862020-11-03 5:20:52115 days 15 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xe531899c2def65a46ab120cbe3dc7de295f5729b53b07d6244ffdb40f905a33219015902020-11-03 4:21:04115 days 16 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0x7e354d2c7126a1bef16fff444fc9b53ec1473e7c3cc00ec7ddcf97b75b5b3aa519003962020-11-03 3:21:22115 days 17 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0x8354b76906399ab18ae426cc3ee656d16be25eb2da1f0609487d4cd45a00f4b118991892020-11-03 2:21:01115 days 18 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0108116
0x697d86186c2372fcdc0f7af88bbd3f45776afc9a1949e048900ed5db205a937618979952020-11-03 1:21:19115 days 19 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0102116
0x0777c82544e5e3fbcd88614c168ce901f295e38630cc85af4914a7d19ddac48918967872020-11-03 0:20:52115 days 20 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0xb5784ab7991d9a37a173f43a7b2a51c87f70d66e9b6ed5626588c2da596d70ea18955792020-11-02 23:20:28115 days 21 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0108116
0x174a33f86e5a4c7905131b12f106b3ecd55d7b2a1738d20a8ab2d348b672f49118943902020-11-02 22:21:01115 days 22 hrs ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.0104276
0x5932dc4585abd26f7c616e99000dbd3a4c6a4bb11e36fd6777886a1b3be9df8d18919922020-11-02 20:21:07116 days 56 mins ago0xd529b1894491a0a26b18939274ae8ede93e81dba IN  0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB0.00996816
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xf499d79ac73569220c91f4bd016f328e40f983f20 BNB
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: HOES Token0 BNB
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x217f23b0410b69c8461405866b4770764a3528e6fba3b83937494ee85753ab4b21258622020-11-10 23:19:07107 days 21 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xf499d79ac73569220c91f4bd016f328e40f983f20 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: HOES Token0 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x6cd94d3565da10568314697fd753c4431d1e0f0e3ea201eb7c6528e6c95b6f2f21207282020-11-10 19:02:25108 days 2 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xf499d79ac73569220c91f4bd016f328e40f983f20 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: HOES Token0 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xb752f0cb591ecfb1c5058a93e1332f066bf384730 BNB
0x9c0d2c34676149d5b887a7bb0d0fbd427da640d14f29eada8eeab4dbb5b776bb21160702020-11-10 15:09:31108 days 6 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
0x96bafdd24a201f0b7bf606c9e9e804469c1a0e7b3c3ca6d458b9f4168e44694f21095752020-11-10 9:43:16108 days 11 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 0xf499d79ac73569220c91f4bd016f328e40f983f20 BNB
0x96bafdd24a201f0b7bf606c9e9e804469c1a0e7b3c3ca6d458b9f4168e44694f21095752020-11-10 9:43:16108 days 11 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: HOES Token0 BNB
0x96bafdd24a201f0b7bf606c9e9e804469c1a0e7b3c3ca6d458b9f4168e44694f21095752020-11-10 9:43:16108 days 11 hrs ago 0x288014e8d55e3b53bcb017aff5eac42989ce8ba2 Traphouse: DRUGS Token0 BNB
0x96bafdd24a201f0b7bf606c9e9e804469c1a0e7b3c3ca6d458b9f4168e44694f21095752020-11-10 9:43:16108 days 11 hrs ago 0x49263a1ba199602a8ef327b34a1aae11a5fccaaf 0x288014e8d55e3b53bcb017aff5eac42989ce8ba20 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyHoes

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-10-30
*/

// 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/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: contracts/BIFI/interfaces/common/IUniswapRouter.sol


pragma solidity ^0.6.0;

interface IUniswapRouter {
    function swapExactTokensForTokens(uint, uint, address[] calldata, address, uint) external;
}

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


pragma solidity ^0.6.0;

interface IOriginalGangster {
    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);
}

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


pragma solidity ^0.6.0;

interface ISmartGangster {
    function deposit(uint256 _amount) external;
    function withdraw(uint256 _amount) external;
    function pendingReward(address _user) external view returns (uint256);
}

// File: contracts/BIFI/strategies/StrategyHoes.sol


pragma solidity ^0.6.0;








/**
 * @dev Implementation of a strategy to get yields from farming a HOES pool + base Drugs farming.
 *
 * The strategy simply deposits whatever Drugs it receives from the vault into the OriginalGangster getting Hoes in exchange.
 * This Hoes is then allocated into the configured pool (SmartGangster). Rewards generated by the SmartGangster can be harvested,
 * swapped for more Drugs, and deposited again for compound farming. Rewards from the OriginalGangster are also compounded.
 *
 * This strat is currently compatible with all Hoes pools.
 * The output token and its corresponding SmartGangster is configured with a constructor argument
 */

contract StrategyHoes {
    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 that the strategy maximizes. The same token that users deposit in the vault.
     * {hoes} - Intermediate token generated by staking Drugs in the OriginalGangster.
     * {output} - Token generated by staking hoes.
     */
    address constant public wbnb  = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
    address constant public drugs  = address(0xfD26889cd6454D8751562f1c0FcF88b18B46F7B7);
    address constant public hoes = address(0x8191113581cBfa3fcdC6B0d2e6F84753D4850080);
    address public output;

    /**
     * @dev Third Party Contracts:
     * {unirouter} - PancakeSwap unirouter
     * {originalGangster} - OriginalGangster contract. Stake Drugs, get Hoes.
     * {smartGangster} - SmartGangster contract. Stake Hoes, get {output} token.
     */
    address constant public unirouter = address(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F);
    address constant public originalGangster = address(0xb752f0cB591Ecfb1c5058a93e1332F066bf38473);
    address public smartGangster;

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

    /**
     * @dev Distribution of fees earned. This allocations relative to the % implemented on doSplit().
     * Current implementation separates 5% for fees.
     * {fee} - 4% goes to BIFI holders through the {rewards} pool.
     * {callfee} - 1% goes to whoever executes the harvest function as gas subsidy.
     * {withdrawalFee} - Fee taxed when a user withdraws funds. 10 === 0.1% fee.
     */
    uint constant public fee = 800;
    uint constant public callfee = 200;
    uint constant public maxfee = 1000;

    uint constant public withdrawalFee = 10;
    uint constant public withdrawalMax = 10000;

    /**
     * @dev Routes we take to swap tokens using PancakeSwap.
     * {outputToDrugsRoute} - Route we take to get from {output} into {drugs}.
     * {drugsToWbnbRoute} - Route we take to get from {drugs} into {wbnb}.
     */
    address[] public outputToDrugsRoute;
    address[] public drugsToWbnbRoute;

    /**
     * @dev Initializes the strategy with the token that it will look to maximize.
     */
    constructor(address _output, address _smartGangster, address _vault) public {
        output = _output;
        smartGangster = _smartGangster;
        vault = _vault;

        outputToDrugsRoute = [output, wbnb, drugs];
        drugsToWbnbRoute = [drugs, wbnb];

        IERC20(drugs).safeApprove(unirouter, uint(-1));
        IERC20(output).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 {drugs} in the OriginalGangster to receive {hoes}
     * It then deposits the received {hoes} in the SmartGangster to farm {output}.
     */
    function deposit() public {
        uint256 drugs_bal = IERC20(drugs).balanceOf(address(this));

        if (drugs_bal > 0) {
            IERC20(drugs).safeApprove(originalGangster, 0);
            IERC20(drugs).safeApprove(originalGangster, drugs_bal);
            IOriginalGangster(originalGangster).enterStaking(drugs_bal);

            uint256 hoes_bal = IERC20(hoes).balanceOf(address(this));
            IERC20(hoes).safeApprove(smartGangster, 0);
            IERC20(hoes).safeApprove(smartGangster, hoes_bal);
            ISmartGangster(smartGangster).deposit(hoes_bal);
        }
    }

    /**
     * @dev Withdraws funds and sends them back to the vault.
     * It withdraws {hoes} from the SmartGangster, the {hoes} is switched back to {drugs}.
     * The resulting {drugs} minus fees is returned to the vault.
     */
    function withdraw(uint256 _amount) external {
        require(msg.sender == vault, "!vault");

        uint256 drugs_bal = IERC20(drugs).balanceOf(address(this));

        if (drugs_bal < _amount) {   
            uint256 hoes_bal = IERC20(hoes).balanceOf(address(this));
            ISmartGangster(smartGangster).withdraw(_amount.sub(drugs_bal).sub(hoes_bal));
            
            hoes_bal = IERC20(hoes).balanceOf(address(this));
            if (hoes_bal > _amount) {
                hoes_bal = _amount;
            }

            IOriginalGangster(originalGangster).leaveStaking(hoes_bal);
            drugs_bal = IERC20(drugs).balanceOf(address(this));
        }

        if (drugs_bal > _amount) {
            drugs_bal = _amount;    
        }
        
        uint256 _fee = drugs_bal.mul(withdrawalFee).div(withdrawalMax);
        IERC20(drugs).safeTransfer(vault, drugs_bal.sub(_fee));
    }

    /**
     * @dev Core function of the strat, in charge of collecting and re-investing rewards.
     * 1. It claims rewards from the OriginalGangster & SmartGangster
     * 2. It swaps the {output} token for {drugs}
     * 3. It charges the system fee and sends it to BIFI stakers.
     * 4. It re-invests the remaining profits.
     */
    function harvest() public {
        require(!Address.isContract(msg.sender), "!contract");
        IOriginalGangster(originalGangster).leaveStaking(0);
        ISmartGangster(smartGangster).deposit(0);
        doswap();
        dosplit();
        deposit();
    }

    /**
     * @dev Swaps {output} for {drugs} using PancakeSwap.
     */
    function doswap() internal {
        uint256 toDrugs = IERC20(output).balanceOf(address(this));
        IUniswapRouter(unirouter).swapExactTokensForTokens(toDrugs, 0, outputToDrugsRoute, address(this), now.add(600));

        uint256 toWbnb = IERC20(drugs).balanceOf(address(this)).mul(5).div(100);
        IUniswapRouter(unirouter).swapExactTokensForTokens(toWbnb, 0, drugsToWbnbRoute, address(this), now.add(600));
    }

    /**
     * @dev Takes our 4% as system fees from the rewards. Takes out an extra 1% as
     * gas subsidy and pays it out to the function caller.
     */
    function dosplit() internal {
        uint256 _bal = IERC20(wbnb).balanceOf(address(this));
        uint256 _fee = _bal.mul(fee).div(maxfee);
        uint256 _callfee = _bal.mul(callfee).div(maxfee);
        IERC20(wbnb).safeTransfer(rewards, _fee);
        IERC20(wbnb).safeTransfer(msg.sender, _callfee);
    }

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

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

    /**
     * @dev It calculates how much {drugs} the strategy has allocated in the OriginalGangster
     */
    function balanceOfPool() public view returns (uint256) {
        (uint256 _amount, ) = IOriginalGangster(originalGangster).userInfo(0, address(this));
        return _amount;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_output","type":"address"},{"internalType":"address","name":"_smartGangster","type":"address"},{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfDrugs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callfee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drugs","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":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hoes","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxfee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"originalGangster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"output","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"outputToDrugsRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"smartGangster","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":"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":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawalMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001ce938038062001ce9833981810160405260608110156200003757600080fd5b508051602080830151604093840151600080546001600160a01b038087166001600160a01b03199283161792839055600180548287169084161790556002805482861693169290921790915586516060810188529116815273bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c9381019390935273fd26889cd6454d8751562f1c0fcf88b18b46f7b794830194909452919290620000d9906003908162000564565b506040805180820190915273fd26889cd6454d8751562f1c0fcf88b18b46f7b7815273bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c60208201526200012590600490600262000564565b506200016973fd26889cd6454d8751562f1c0fcf88b18b46f7b77305ff2b0db69458a0750badebc4f9e13add608c7f600019620001ad602090811b62000c2517901c565b600054620001a4906001600160a01b03167305ff2b0db69458a0750badebc4f9e13add608c7f600019620001ad602090811b62000c2517901c565b505050620005ef565b80158062000237575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200020757600080fd5b505afa1580156200021c573d6000803e3d6000fd5b505050506040513d60208110156200023357600080fd5b5051155b620002745760405162461bcd60e51b815260040180806020018281038252603681526020018062001cb36036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002cc918591620002d116565b505050565b60606200032d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200038d60201b62000d38179092919060201c565b805190915015620002cc578080602001905160208110156200034e57600080fd5b5051620002cc5760405162461bcd60e51b815260040180806020018281038252602a81526020018062001c89602a913960400191505060405180910390fd5b60606200039e8484600085620003a6565b949350505050565b6060620003b3856200055e565b62000405576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620004465780518252601f19909201916020918201910162000425565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620004aa576040519150601f19603f3d011682016040523d82523d6000602084013e620004af565b606091505b50915091508115620004c55791506200039e9050565b805115620004d65780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200052257818101518382015260200162000508565b50505050905090810190601f168015620005505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b151590565b828054828255906000526020600020908101928215620005bc579160200282015b82811115620005bc57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000585565b50620005ca929150620005ce565b5090565b5b80821115620005ca5780546001600160a01b0319168155600101620005cf565b61168a80620005ff6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80639ec5a894116100b8578063d5c1ff731161007c578063d5c1ff7314610236578063dba11a6d1461023e578063ddca3f4314610246578063de3047ba1461024e578063f20eaeb814610256578063fbfa77cf1461025e57610142565b80639ec5a8941461020e578063abb9392d14610216578063b34a166b1461021e578063c6a1dd8b14610226578063d0e30db01461022e57610142565b80634641257d1161010a5780634641257d146101c95780634e14f475146101d1578063523db94d146101ee578063722713f7146101f65780638bc7e8c4146101fe5780638d72647e1461020657610142565b80630532b23c14610147578063115880861461016b578063257ae0de146101855780632e1a7d4d1461018d5780633b3d6e2d146101ac575b600080fd5b61014f610266565b604080516001600160a01b039092168252519081900360200190f35b61017361027e565b60408051918252519081900360200190f35b61014f61030c565b6101aa600480360360208110156101a357600080fd5b5035610324565b005b61014f600480360360208110156101c257600080fd5b50356106cd565b6101aa6106f4565b61014f600480360360208110156101e757600080fd5b5035610820565b61014f61082d565b610173610845565b610173610865565b61014f61086a565b61014f610882565b61017361089a565b61014f610920565b61014f61092f565b6101aa610947565b610173610bf0565b610173610bf6565b610173610bfb565b610173610c01565b61014f610c07565b61014f610c16565b73b752f0cb591ecfb1c5058a93e1332f066bf3847381565b604080516393f1a40b60e01b815260006004820181905230602483015282519092839273b752f0cb591ecfb1c5058a93e1332f066bf38473926393f1a40b92604480840193919291829003018186803b1580156102da57600080fd5b505afa1580156102ee573d6000803e3d6000fd5b505050506040513d604081101561030457600080fd5b505191505090565b7305ff2b0db69458a0750badebc4f9e13add608c7f81565b6002546001600160a01b0316331461036c576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173fd26889cd6454d8751562f1c0fcf88b18b46f7b7916370a0823191602480820192602092909190829003018186803b1580156103c157600080fd5b505afa1580156103d5573d6000803e3d6000fd5b505050506040513d60208110156103eb57600080fd5b505190508181101561066b57604080516370a0823160e01b81523060048201529051600091738191113581cbfa3fcdc6b0d2e6f84753d4850080916370a0823191602480820192602092909190829003018186803b15801561044c57600080fd5b505afa158015610460573d6000803e3d6000fd5b505050506040513d602081101561047657600080fd5b50516001549091506001600160a01b0316632e1a7d4d6104a08361049a8787610d4f565b90610d4f565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156104d657600080fd5b505af11580156104ea573d6000803e3d6000fd5b5050604080516370a0823160e01b81523060048201529051738191113581cbfa3fcdc6b0d2e6f84753d485008093506370a0823192506024808301926020929190829003018186803b15801561053f57600080fd5b505afa158015610553573d6000803e3d6000fd5b505050506040513d602081101561056957600080fd5b50519050828111156105785750815b73b752f0cb591ecfb1c5058a93e1332f066bf384736001600160a01b0316631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156105d257600080fd5b505af11580156105e6573d6000803e3d6000fd5b5050604080516370a0823160e01b8152306004820152905173fd26889cd6454d8751562f1c0fcf88b18b46f7b793506370a0823192506024808301926020929190829003018186803b15801561063b57600080fd5b505afa15801561064f573d6000803e3d6000fd5b505050506040513d602081101561066557600080fd5b50519150505b818111156106765750805b600061068f61271061068984600a610d9a565b90610df3565b6002549091506106c8906001600160a01b03166106ac8484610d4f565b73fd26889cd6454d8751562f1c0fcf88b18b46f7b79190610e35565b505050565b600481815481106106da57fe5b6000918252602090912001546001600160a01b0316905081565b6106fd33610e87565b1561073b576040805162461bcd60e51b81526020600482015260096024820152680858dbdb9d1c9858dd60ba1b604482015290519081900360640190fd5b60408051631058d28160e01b8152600060048201819052915173b752f0cb591ecfb1c5058a93e1332f066bf3847392631058d281926024808201939182900301818387803b15801561078c57600080fd5b505af11580156107a0573d6000803e3d6000fd5b50506001546040805163b6b55f2560e01b815260006004820181905291516001600160a01b03909316945063b6b55f2593506024808201939182900301818387803b1580156107ee57600080fd5b505af1158015610802573d6000803e3d6000fd5b5050505061080e610e8d565b61081661115e565b61081e610947565b565b600381815481106106da57fe5b738191113581cbfa3fcdc6b0d2e6f84753d485008081565b600061086061085261027e565b61085a61089a565b9061125e565b905090565b600a81565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b73453d4ba9a2d594314df88564248497f7d74d6b2c81565b604080516370a0823160e01b8152306004820152905160009173fd26889cd6454d8751562f1c0fcf88b18b46f7b7916370a0823191602480820192602092909190829003018186803b1580156108ef57600080fd5b505afa158015610903573d6000803e3d6000fd5b505050506040513d602081101561091957600080fd5b5051905090565b6001546001600160a01b031681565b73fd26889cd6454d8751562f1c0fcf88b18b46f7b781565b604080516370a0823160e01b8152306004820152905160009173fd26889cd6454d8751562f1c0fcf88b18b46f7b7916370a0823191602480820192602092909190829003018186803b15801561099c57600080fd5b505afa1580156109b0573d6000803e3d6000fd5b505050506040513d60208110156109c657600080fd5b505190508015610bed57610a0473fd26889cd6454d8751562f1c0fcf88b18b46f7b773b752f0cb591ecfb1c5058a93e1332f066bf384736000610c25565b610a3773fd26889cd6454d8751562f1c0fcf88b18b46f7b773b752f0cb591ecfb1c5058a93e1332f066bf3847383610c25565b73b752f0cb591ecfb1c5058a93e1332f066bf384736001600160a01b03166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610a9157600080fd5b505af1158015610aa5573d6000803e3d6000fd5b5050604080516370a0823160e01b8152306004820152905160009350738191113581cbfa3fcdc6b0d2e6f84753d485008092506370a0823191602480820192602092909190829003018186803b158015610afe57600080fd5b505afa158015610b12573d6000803e3d6000fd5b505050506040513d6020811015610b2857600080fd5b5051600154909150610b5a90738191113581cbfa3fcdc6b0d2e6f84753d4850080906001600160a01b03166000610c25565b600154610b8690738191113581cbfa3fcdc6b0d2e6f84753d4850080906001600160a01b031683610c25565b6001546040805163b6b55f2560e01b81526004810184905290516001600160a01b039092169163b6b55f259160248082019260009290919082900301818387803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505b50565b61271081565b60c881565b61032081565b6103e881565b6000546001600160a01b031681565b6002546001600160a01b031681565b801580610cab575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610c7d57600080fd5b505afa158015610c91573d6000803e3d6000fd5b505050506040513d6020811015610ca757600080fd5b5051155b610ce65760405162461bcd60e51b815260040180806020018281038252603681526020018061161f6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526106c89084906112b8565b6060610d478484600085611369565b949350505050565b6000610d9183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611514565b90505b92915050565b600082610da957506000610d94565b82820282848281610db657fe5b0414610d915760405162461bcd60e51b81526004018080602001828103825260218152602001806115d46021913960400191505060405180910390fd5b6000610d9183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061156e565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106c89084906112b8565b3b151590565b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610ed957600080fd5b505afa158015610eed573d6000803e3d6000fd5b505050506040513d6020811015610f0357600080fd5b505190507305ff2b0db69458a0750badebc4f9e13add608c7f6338ed1739826000600330610f334261025861125e565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015610fb257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610f94575b50509650505050505050600060405180830381600087803b158015610fd657600080fd5b505af1158015610fea573d6000803e3d6000fd5b50505050600061108d6064610689600573fd26889cd6454d8751562f1c0fcf88b18b46f7b76001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561105b57600080fd5b505afa15801561106f573d6000803e3d6000fd5b505050506040513d602081101561108557600080fd5b505190610d9a565b90507305ff2b0db69458a0750badebc4f9e13add608c7f6338ed17398260006004306110bb4261025861125e565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561113a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161111c575b50509650505050505050600060405180830381600087803b158015610bd357600080fd5b604080516370a0823160e01b8152306004820152905160009173bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c916370a0823191602480820192602092909190829003018186803b1580156111b357600080fd5b505afa1580156111c7573d6000803e3d6000fd5b505050506040513d60208110156111dd57600080fd5b5051905060006111f56103e861068984610320610d9a565b9050600061120a6103e86106898560c8610d9a565b905061123f73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c73453d4ba9a2d594314df88564248497f7d74d6b2c84610e35565b6106c873bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c3383610e35565b600082820183811015610d91576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b606061130d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610d389092919063ffffffff16565b8051909150156106c85780806020019051602081101561132c57600080fd5b50516106c85760405162461bcd60e51b815260040180806020018281038252602a8152602001806115f5602a913960400191505060405180910390fd5b606061137485610e87565b6113c5576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106114045780518252601f1990920191602091820191016113e5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611466576040519150601f19603f3d011682016040523d82523d6000602084013e61146b565b606091505b5091509150811561147f579150610d479050565b80511561148f5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114d95781810151838201526020016114c1565b50505050905090810190601f1680156115065780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600081848411156115665760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114d95781810151838201526020016114c1565b505050900390565b600081836115bd5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114d95781810151838201526020016114c1565b5060008385816115c957fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212207efee1f3df2e87330545e0808aa154e61ff653eef7320b419c18700c55359e8d64736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000179983892ec36287f1f342443b671ba549762241000000000000000000000000f499d79ac73569220c91f4bd016f328e40f983f200000000000000000000000049263a1ba199602a8ef327b34a1aae11a5fccaaf

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000179983892ec36287f1f342443b671ba549762241000000000000000000000000f499d79ac73569220c91f4bd016f328e40f983f200000000000000000000000049263a1ba199602a8ef327b34a1aae11a5fccaaf

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000179983892ec36287f1f342443b671ba549762241
Arg [1] : 000000000000000000000000f499d79ac73569220c91f4bd016f328e40f983f2
Arg [2] : 00000000000000000000000049263a1ba199602a8ef327b34a1aae11a5fccaaf


Deployed ByteCode Sourcemap

31642:7596:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32775:94;;;:::i;:::-;;;;-1:-1:-1;;;;;32775:94:0;;;;;;;;;;;;;;39052:183;;;:::i;:::-;;;;;;;;;;;;;;;;32681:87;;;:::i;35840:929::-;;;;;;;;;;;;;;;;-1:-1:-1;35840:929:0;;:::i;:::-;;34136:33;;;;;;;;;;;;;;;;-1:-1:-1;34136:33:0;;:::i;37123:270::-;;;:::i;34094:35::-;;;;;;;;;;;;;;;;-1:-1:-1;34094:35:0;;:::i;32303:82::-;;;:::i;38590:131::-;;;:::i;33761:39::-;;;:::i;32122:83::-;;;:::i;33109:85::-;;;:::i;38811:120::-;;;:::i;32876:28::-;;;:::i;32212:84::-;;;:::i;34986:606::-;;;:::i;33807:42::-;;;:::i;33677:34::-;;;:::i;33640:30::-;;;:::i;33718:34::-;;;:::i;32392:21::-;;;:::i;33201:20::-;;;:::i;32775:94::-;32826:42;32775:94;:::o;39052:183::-;39140:62;;;-1:-1:-1;;;39140:62:0;;39098:7;39140:62;;;;;;39196:4;39140:62;;;;;;39098:7;;;;32826:42;;39140:44;;:62;;;;;;;;;;;;;32826:42;39140:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39140:62:0;;-1:-1:-1;;39052:183:0;:::o;32681:87::-;32725:42;32681:87;:::o;35840:929::-;35917:5;;-1:-1:-1;;;;;35917:5:0;35903:10;:19;35895:38;;;;;-1:-1:-1;;;35895:38:0;;;;;;;;;;;;-1:-1:-1;;;35895:38:0;;;;;;;;;;;;;;;35966;;;-1:-1:-1;;;35966:38:0;;35998:4;35966:38;;;;;;35946:17;;32253:42;;35966:23;;:38;;;;;;;;;;;;;;;32253:42;35966:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35966:38:0;;-1:-1:-1;36021:19:0;;;36017:510;;;36079:37;;;-1:-1:-1;;;36079:37:0;;36110:4;36079:37;;;;;;36060:16;;32342:42;;36079:22;;:37;;;;;;;;;;;;;;;32342:42;36079:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36079:37:0;36146:13;;36079:37;;-1:-1:-1;;;;;;36146:13:0;36131:38;36170:36;36079:37;36170:22;:7;36182:9;36170:11;:22::i;:::-;:26;;:36::i;:::-;36131:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36247:37:0;;;-1:-1:-1;;;36247:37:0;;36278:4;36247:37;;;;;;32342:42;;-1:-1:-1;36247:22:0;;-1:-1:-1;36247:37:0;;;;;;;;;;;;;;32342:42;36247:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36247:37:0;;-1:-1:-1;36303:18:0;;;36299:77;;;-1:-1:-1;36353:7:0;36299:77;32826:42;-1:-1:-1;;;;;36392:48:0;;36441:8;36392:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36477:38:0;;;-1:-1:-1;;;36477:38:0;;36509:4;36477:38;;;;;;32253:42;;-1:-1:-1;36477:23:0;;-1:-1:-1;36477:38:0;;;;;;;;;;;;;;32253:42;36477:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36477:38:0;;-1:-1:-1;;36017:510:0;36555:7;36543:9;:19;36539:75;;;-1:-1:-1;36591:7:0;36539:75;36634:12;36649:47;33844:5;36649:28;:9;33798:2;36649:13;:28::i;:::-;:32;;:47::i;:::-;36734:5;;36634:62;;-1:-1:-1;36707:54:0;;-1:-1:-1;;;;;36734:5:0;36741:19;:9;36634:62;36741:13;:19::i;:::-;32253:42;;36707:54;:26;:54::i;:::-;35840:929;;;:::o;34136:33::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34136:33:0;;-1:-1:-1;34136:33:0;:::o;37123:270::-;37169:30;37188:10;37169:18;:30::i;:::-;37168:31;37160:53;;;;;-1:-1:-1;;;37160:53:0;;;;;;;;;;;;-1:-1:-1;;;37160:53:0;;;;;;;;;;;;;;;37224:51;;;-1:-1:-1;;;37224:51:0;;37273:1;37224:51;;;;;;;;32826:42;;37224:48;;:51;;;;;;;;;;;37273:1;32826:42;37224:51;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37301:13:0;;37286:40;;;-1:-1:-1;;;37286:40:0;;37301:13;37286:40;;;;;;;;-1:-1:-1;;;;;37301:13:0;;;;-1:-1:-1;37286:37:0;;-1:-1:-1;37286:40:0;;;;;;;;;;;37301:13;;37286:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37337:8;:6;:8::i;:::-;37356:9;:7;:9::i;:::-;37376;:7;:9::i;:::-;37123:270::o;34094:35::-;;;;;;;;;;32303:82;32342:42;32303:82;:::o;38590:131::-;38632:7;38659:54;38697:15;:13;:15::i;:::-;38659:16;:14;:16::i;:::-;:37;;:54::i;:::-;38652:61;;38590:131;:::o;33761:39::-;33798:2;33761:39;:::o;32122:83::-;32162:42;32122:83;:::o;33109:85::-;33151:42;33109:85;:::o;38811:120::-;38885:38;;;-1:-1:-1;;;38885:38:0;;38917:4;38885:38;;;;;;38858:7;;32253:42;;38885:23;;:38;;;;;;;;;;;;;;;32253:42;38885:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38885:38:0;;-1:-1:-1;38811:120:0;:::o;32876:28::-;;;-1:-1:-1;;;;;32876:28:0;;:::o;32212:84::-;32253:42;32212:84;:::o;34986:606::-;35043:38;;;-1:-1:-1;;;35043:38:0;;35075:4;35043:38;;;;;;35023:17;;32253:42;;35043:23;;:38;;;;;;;;;;;;;;;32253:42;35043:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35043:38:0;;-1:-1:-1;35098:13:0;;35094:491;;35128:46;32253:42;32826;35172:1;35128:25;:46::i;:::-;35189:54;32253:42;32826;35233:9;35189:25;:54::i;:::-;32826:42;-1:-1:-1;;;;;35258:48:0;;35307:9;35258:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35353:37:0;;;-1:-1:-1;;;35353:37:0;;35384:4;35353:37;;;;;;35334:16;;-1:-1:-1;32342:42:0;;-1:-1:-1;35353:22:0;;:37;;;;;;;;;;;;;;;32342:42;35353:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35353:37:0;35430:13;;35353:37;;-1:-1:-1;35405:42:0;;32342;;-1:-1:-1;;;;;35430:13:0;;35405:24;:42::i;:::-;35487:13;;35462:49;;32342:42;;-1:-1:-1;;;;;35487:13:0;35502:8;35462:24;:49::i;:::-;35541:13;;35526:47;;;-1:-1:-1;;;35526:47:0;;;;;;;;;;-1:-1:-1;;;;;35541:13:0;;;;35526:37;;:47;;;;;35541:13;;35526:47;;;;;;;;35541:13;;35526:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35094:491;;34986:606;:::o;33807:42::-;33844:5;33807:42;:::o;33677:34::-;33708:3;33677:34;:::o;33640:30::-;33667:3;33640:30;:::o;33718:34::-;33748:4;33718:34;:::o;32392:21::-;;;-1:-1:-1;;;;;32392:21:0;;:::o;33201:20::-;;;-1:-1:-1;;;;;33201:20:0;;:::o;27525:622::-;27895:10;;;27894:62;;-1:-1:-1;27911:39:0;;;-1:-1:-1;;;27911:39:0;;27935:4;27911:39;;;;-1:-1:-1;;;;;27911:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27911:39:0;:44;27894:62;27886:152;;;;-1:-1:-1;;;27886:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28076:62;;;-1:-1:-1;;;;;28076:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28076:62:0;-1:-1:-1;;;28076:62:0;;;28049:90;;28069:5;;28049:19;:90::i;12844:196::-;12947:12;12979:53;13002:6;13010:4;13016:1;13019:12;12979:22;:53::i;:::-;12972:60;12844:196;-1:-1:-1;;;;12844:196:0:o;5166:136::-;5224:7;5251:43;5255:1;5258;5251:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;5244:50;;5166:136;;;;;:::o;6056:471::-;6114:7;6359:6;6355:47;;-1:-1:-1;6389:1:0;6382:8;;6355:47;6426:5;;;6430:1;6426;:5;:1;6450:5;;;;;:10;6442:56;;;;-1:-1:-1;;;6442:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7003:132;7061:7;7088:39;7092:1;7095;7088:39;;;;;;;;;;;;;;;;;:3;:39::i;26866:177::-;26976:58;;;-1:-1:-1;;;;;26976:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26976:58:0;-1:-1:-1;;;26976:58:0;;;26949:86;;26969:5;;26949:19;:86::i;9926:422::-;10293:20;10332:8;;;9926:422::o;37478:428::-;37516:15;37541:6;;37534:39;;;-1:-1:-1;;;37534:39:0;;37567:4;37534:39;;;;;;-1:-1:-1;;;;;37541:6:0;;;;37534:24;;:39;;;;;;;;;;;;;;;37541:6;37534:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37534:39:0;;-1:-1:-1;32725:42:0;37584:50;37534:39;37644:1;37647:18;37675:4;37682:12;:3;37690;37682:7;:12::i;:::-;37584:111;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37584:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37584:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37708:14;37725:54;37775:3;37725:45;37768:1;32253:42;-1:-1:-1;;;;;37725:23:0;;37757:4;37725:38;;;;;;;;;;;;;-1:-1:-1;;;;;37725:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37725:38:0;;:42;:45::i;:54::-;37708:71;-1:-1:-1;32725:42:0;37790:50;37708:71;37849:1;37852:16;37878:4;37885:12;:3;37893;37885:7;:12::i;:::-;37790:108;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37790:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37790:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38076:318;38130:37;;;-1:-1:-1;;;38130:37:0;;38161:4;38130:37;;;;;;38115:12;;32162:42;;38130:22;;:37;;;;;;;;;;;;;;;32162:42;38130:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38130:37:0;;-1:-1:-1;38178:12:0;38193:25;33748:4;38193:13;38130:37;33667:3;38193:8;:13::i;:25::-;38178:40;-1:-1:-1;38229:16:0;38248:29;33748:4;38248:17;:4;33708:3;38248:8;:17::i;:29::-;38229:48;-1:-1:-1;38288:40:0;32162:42;33151;38323:4;38288:25;:40::i;:::-;38339:47;32162:42;38365:10;38377:8;38339:25;:47::i;4702:181::-;4760:7;4792:5;;;4816:6;;;;4808:46;;;;;-1:-1:-1;;;4808:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;29171:761;29595:23;29621:69;29649:4;29621:69;;;;;;;;;;;;;;;;;29629:5;-1:-1:-1;;;;;29621:27:0;;;:69;;;;;:::i;:::-;29705:17;;29595:95;;-1:-1:-1;29705:21:0;29701:224;;29847:10;29836:30;;;;;;;;;;;;;;;-1:-1:-1;29836:30:0;29828:85;;;;-1:-1:-1;;;29828:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14221:979;14351:12;14384:18;14395:6;14384:10;:18::i;:::-;14376:60;;;;;-1:-1:-1;;;14376:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14510:12;14524:23;14551:6;-1:-1:-1;;;;;14551:11:0;14571:8;14582:4;14551:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14551:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14509:78;;;;14602:7;14598:595;;;14633:10;-1:-1:-1;14626:17:0;;-1:-1:-1;14626:17:0;14598:595;14747:17;;:21;14743:439;;15010:10;15004:17;15071:15;15058:10;15054:2;15050:19;15043:44;14958:148;15153:12;15146:20;;-1:-1:-1;;;15146:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5605:192;5691:7;5727:12;5719:6;;;;5711:29;;;;-1:-1:-1;;;5711:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5763:5:0;;;5605:192::o;7631:278::-;7717:7;7752:12;7745:5;7737:28;;;;-1:-1:-1;;;7737:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7776:9;7792:1;7788;:5;;;;;;;7631:278;-1:-1:-1;;;;;7631:278:0:o

Swarm Source

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