Contract 0x5eF5994fA33FF4eB6c82d51ee1DC145c546065Bd

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x1f0329688a44e022e5ef3b1db160977afedcc0fa72e1fd9ca7d335e5a87214d484496022021-06-20 2:54:5211 mins ago0x3101dbb2749ee481ed9f858c89ac30beee7aa40e IN  HyperJump: ALLOY Token0 BNB0.00029429
0x70e4c90efc7fb740253d47b569fa521c8933c72b7fa43fe8bd98f20fcb2763b584485892021-06-20 2:04:131 hr 1 min ago0x2214799087712cff95364111b936bdc1fcfad2be IN  HyperJump: ALLOY Token0 BNB0.000222145
0x8d3f5ebff0f32dd2a899ea0067f6e4d7a5fb1115ca2a566794d3763d3c5f56a384484372021-06-20 1:56:371 hr 9 mins ago0xb7dcf5ff195c2efd603a73d6e39295e03359e57c IN  HyperJump: ALLOY Token0 BNB0.000222145
0xb087f61d346cda1d920e3af882dab1140003d6a2274723ad6dfd50fdf9beeac184484132021-06-20 1:55:251 hr 10 mins ago0xd95012f210e124bb847001dd4c1aa9423acd14ab IN  HyperJump: ALLOY Token0 BNB0.000222145
0x28407d58442a314897cb31c0f00ea7ba4e76a42cdcab4bd8825c6320c9f1bd9984481682021-06-20 1:43:101 hr 22 mins ago0xd95012f210e124bb847001dd4c1aa9423acd14ab IN  HyperJump: ALLOY Token0 BNB0.000222145
0x528b6408a244b1692aaa30790656d4cea0babc9139d96540eaa5c2201612179984478062021-06-20 1:25:041 hr 40 mins ago0x1bc03d29fe64185f68711b9c985bde47234acf41 IN  HyperJump: ALLOY Token0 BNB0.000147145
0xb10081c69eabcbb2ed18fa9f5624dabf110a132143a8d973415dbbcf9bf3757984472982021-06-20 0:59:402 hrs 6 mins ago0xdf074f7d8829173c0ef8bc4b94a845e3c8073a58 IN  HyperJump: ALLOY Token0 BNB0.000266574
0x918df67623169301307ab26336a09f1f6a1d24e205df966c10569ed94292d84b84469892021-06-20 0:44:132 hrs 21 mins ago0xe9f7c9b6c706a01876fd6ac9d81701cb7b8da863 IN  HyperJump: ALLOY Token0 BNB0.000222145
0x853a3c0bc45052a319c2beb9e1c6d1891f9b778e353f30aed7f579e61ab8142084467282021-06-20 0:31:102 hrs 34 mins ago0xd37dabe2ccca72166f41c236b91ca36494fe5919 IN  HyperJump: ALLOY Token0 BNB0.000222145
0x58a84a467056de07deada2bb116a8731b11ffcdef1ef8effae8934e486b09bd484460962021-06-19 23:59:343 hrs 6 mins ago0xcb3ca2c9d9d8196a5ed86103e050c7bcce85c05b IN  HyperJump: ALLOY Token0 BNB0.000222145
0x6917787c7f110090638e34e5a63c644b4e6d84c8a606a4cfe1717e1f2a95b60284456882021-06-19 23:39:013 hrs 26 mins ago0xa453a737f527baa5443e8d276d16a3886ffffc2c IN  HyperJump: ALLOY Token0 BNB0.000222145
0x0fdcbf502757606cc6bbc4d091d7090b63aa78c97cbfd2e90a4a299169dd905e84453132021-06-19 23:20:163 hrs 45 mins ago0xce482ea55066f812e75d3d70a4d4242a04aa02d1 IN  HyperJump: ALLOY Token0 BNB0.000266574
0x31d727f441d364e0498ce2b3b642b161740f98ab145409b52f0492559a34c08684451162021-06-19 23:10:253 hrs 55 mins ago0x4c646366cb7de120ef8dceb903f08ea612835d7c IN  HyperJump: ALLOY Token0 BNB0.000222145
0xd340ebeae1d733ed9ac25c7aeac700c65f98a7e54619908707ac72f96785ad8a84450702021-06-19 23:08:073 hrs 57 mins ago0xc910dfc7c06b766113c7a0b6b3ee67ab0bed18a7 IN  HyperJump: ALLOY Token0 BNB0.000222145
0x06b145658857b63f1271c6908dfc353ec7b83109c3e2111377c5acc5482b754484449682021-06-19 23:03:014 hrs 2 mins ago0x6a79df6a3bbfc90ca3078b97deb2efa061f99057 IN  HyperJump: ALLOY Token0 BNB0.000222145
0x207caa85381f23a72c2ea95eee4e1a3d606ab89ebe931e542f918f3bb375ed7784449402021-06-19 23:01:374 hrs 4 mins ago0xd319f112bf73eae5e3cf06bf8d4076cc5f8b1cd5 IN  HyperJump: ALLOY Token0 BNB0.000222145
0x5eedc6c9328f98b33c48b94025ad841af22cb4a80d1df66c496685f50e5d20a284449162021-06-19 23:00:254 hrs 5 mins ago0xe0ea9e465453e475b25c414dc52597b83848b1de IN  HyperJump: ALLOY Token0 BNB0.000222145
0x71a412738f22852c1c3a0a8c8aeddf67632ddf9ab6e9da434c00cf210fbe78b684447082021-06-19 22:50:014 hrs 15 mins ago0xa453a737f527baa5443e8d276d16a3886ffffc2c IN  HyperJump: ALLOY Token0 BNB0.000222145
0x3b5d38e5455d82aaaaaa47283042298a9d25bfb7c08c71675d2a1cc2a93651ba84445442021-06-19 22:41:494 hrs 24 mins ago0x608cc9b9457e521a3f50e6f192388fb5427adf6f IN  HyperJump: ALLOY Token0 BNB0.000126145
0x0ca607663a6a76f5fb09b52bed21af30bec6b220d7f51449e85f1b483fb7757984445172021-06-19 22:40:284 hrs 25 mins ago0xdd226e394780c6f03d4225fd18406a517081d730 IN  HyperJump: ALLOY Token0 BNB0.000147145
0xe684277c06ea7a0264e47bae431935e7f9880695ab43263687498b24877c3e5b84443542021-06-19 22:32:194 hrs 33 mins ago0x2f7e3b210720de3ff4440e0f36ee6b7b489a1348 IN  HyperJump: ALLOY Token0 BNB0.000222145
0xf2c63094f850497e0601b86ff081c5dd1ca51167e9213d1cd3f8f3c7ceb143b584443122021-06-19 22:30:134 hrs 35 mins ago0xd319f112bf73eae5e3cf06bf8d4076cc5f8b1cd5 IN  HyperJump: ALLOY Token0 BNB0.000222145
0x1352815e889402203bd5a346548afda879811aa2bb8745af84669e25d1965eae84442392021-06-19 22:26:344 hrs 39 mins ago0x608cc9b9457e521a3f50e6f192388fb5427adf6f IN  HyperJump: ALLOY Token0 BNB0.000222145
0x405f605fcaee8d97f917157131cbdfcde83aa59286de3f769a8915250ca01a7084441402021-06-19 22:21:374 hrs 44 mins ago0xa453a737f527baa5443e8d276d16a3886ffffc2c IN  HyperJump: ALLOY Token0 BNB0.000222085
0x662905822f0d6c45813950707de1794572e7b85a47a9b774383926aeb6cd281b84438792021-06-19 22:08:344 hrs 57 mins ago0xbc563d37439c87be6c04806440346ca5f570d2c4 IN  HyperJump: ALLOY Token0 BNB0.000105745
[ Download CSV Export 

OVERVIEW

ALLOY is the yield farming token of the HyperJump Ecosystem that allows users to not only stake using MECHs for more ALLOY but also for other partner tokens on the farm at the very same time. ALLOY is constantly being purchased and burned out of existence.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3646ea71945dd18183cb9618067cf6277a4b6d261b34ec5bec8a34ddc45b73c454713352021-03-07 11:59:42104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0x3646ea71945dd18183cb9618067cf6277a4b6d261b34ec5bec8a34ddc45b73c454713352021-03-07 11:59:42104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0x3646ea71945dd18183cb9618067cf6277a4b6d261b34ec5bec8a34ddc45b73c454713352021-03-07 11:59:42104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x3646ea71945dd18183cb9618067cf6277a4b6d261b34ec5bec8a34ddc45b73c454713352021-03-07 11:59:42104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x88fe33dbc0f874e25d85c43ccb27cae300be1a420891be9d83710875582d83ff54713312021-03-07 11:59:30104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xff587a209ac92f0d518c160109a0e81ab529b4f32ea0337456ec4709b537bfff54713312021-03-07 11:59:30104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xff587a209ac92f0d518c160109a0e81ab529b4f32ea0337456ec4709b537bfff54713312021-03-07 11:59:30104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0xff587a209ac92f0d518c160109a0e81ab529b4f32ea0337456ec4709b537bfff54713312021-03-07 11:59:30104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0xff587a209ac92f0d518c160109a0e81ab529b4f32ea0337456ec4709b537bfff54713312021-03-07 11:59:30104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xff587a209ac92f0d518c160109a0e81ab529b4f32ea0337456ec4709b537bfff54713312021-03-07 11:59:30104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xff587a209ac92f0d518c160109a0e81ab529b4f32ea0337456ec4709b537bfff54713312021-03-07 11:59:30104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x6ee685e01c84658fd482551fdf064f3c970d737bb899232358965d42e014b7d854713202021-03-07 11:58:57104 days 15 hrs ago 0xf0696e201d20b553792ac2578429b791625308a0 HyperJump: ALLOY Token0 BNB
0x6ee685e01c84658fd482551fdf064f3c970d737bb899232358965d42e014b7d854713202021-03-07 11:58:57104 days 15 hrs ago StreetSwap: Router HyperJump: ALLOY Token0 BNB
0xdb4af4e59e22813899ccd1b515464c9e752273ac5050d41aab3ad3cbfc5e593954713182021-03-07 11:58:51104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xdb4af4e59e22813899ccd1b515464c9e752273ac5050d41aab3ad3cbfc5e593954713182021-03-07 11:58:51104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0xdb4af4e59e22813899ccd1b515464c9e752273ac5050d41aab3ad3cbfc5e593954713182021-03-07 11:58:51104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0xdb4af4e59e22813899ccd1b515464c9e752273ac5050d41aab3ad3cbfc5e593954713182021-03-07 11:58:51104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xdb4af4e59e22813899ccd1b515464c9e752273ac5050d41aab3ad3cbfc5e593954713182021-03-07 11:58:51104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0xdb4af4e59e22813899ccd1b515464c9e752273ac5050d41aab3ad3cbfc5e593954713182021-03-07 11:58:51104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x71a52ac5b5bef0b32f8182a627a0bf2afe3216bfa95e1f58374b5d9693f2289754713162021-03-07 11:58:45104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x71a52ac5b5bef0b32f8182a627a0bf2afe3216bfa95e1f58374b5d9693f2289754713162021-03-07 11:58:45104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0x71a52ac5b5bef0b32f8182a627a0bf2afe3216bfa95e1f58374b5d9693f2289754713162021-03-07 11:58:45104 days 15 hrs ago HyperJump: MECHS Token HyperJump: ALLOY Token0 BNB
0x71a52ac5b5bef0b32f8182a627a0bf2afe3216bfa95e1f58374b5d9693f2289754713162021-03-07 11:58:45104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x71a52ac5b5bef0b32f8182a627a0bf2afe3216bfa95e1f58374b5d9693f2289754713162021-03-07 11:58:45104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
0x71a52ac5b5bef0b32f8182a627a0bf2afe3216bfa95e1f58374b5d9693f2289754713162021-03-07 11:58:45104 days 15 hrs ago 0x4f1818ff649498a2441ae1ad29ccf55a8e1c6250 HyperJump: ALLOY Token0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HyperAlloy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-04
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.4.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;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}


pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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);
}


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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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);
            }
        }
    }
}


pragma solidity ^0.6.0;




/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: 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(IBEP20 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, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}


pragma solidity >=0.4.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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


pragma solidity >=0.4.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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


pragma solidity >=0.4.0;






/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    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 bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {BEP20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'BEP20: 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 {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public 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 {BEP20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        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 {
        require(sender != address(0), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: 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 {
        require(account != address(0), 'BEP20: mint to the zero address');

        _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 {
        require(account != address(0), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount, 'BEP20: 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 is 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 {
        require(owner != address(0), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: approve to the zero address');

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

// File: contracts/HyperAlloy.sol

pragma solidity 0.6.12;


contract HyperAlloy is BEP20('HyperAlloy', 'ALLOY') {
    // burn counter
    uint256 private _burnTotal;

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner.
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    // burn logic
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
        _burnTotal = _burnTotal.add(amount);
    }

    // interactive burn logic
    function burnFrom(address account, uint256 amount) public {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(
            amount,
            'BEP20: burn amount exceeds allowance'
        );

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
        _burnTotal = _burnTotal.add(amount);
    }

    // view total burnt alloy
    function totalAlloyBurned() public view returns (uint256) {
        return _burnTotal;
    }
}

// File: contracts/HyperMechs.sol

pragma solidity 0.6.12;



contract HyperMechs is BEP20('HyperMechs', 'MECHS') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (HyperCity).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    function burn(address _from ,uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
    }

    // HyperAlloy
    HyperAlloy public alloy;

    constructor(
        HyperAlloy _alloy
    ) public {
        alloy = _alloy;
    }

    // Safe alloy transfer function, just in case if rounding error causes pool to not have enough DRUGs.
    function safeAlloyTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 alloyBal = alloy.balanceOf(address(this));
        if (_amount > alloyBal) {
            alloy.transfer(_to, alloyBal);
        } else {
            alloy.transfer(_to, _amount);
        }
    }
}

// File: contracts/DrugsToken.sol

pragma solidity 0.6.12;


// Drugs
contract DrugsTokenV2 is BEP20('DrugsV2', 'DRUGS') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (OriginalGangster).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
    // burn logic
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }
    // interactive burn logic
    function burnFrom(address account, uint256 amount) public {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(
            amount,
            'BEP20: burn amount exceeds allowance'
        );

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: contracts/GunsToken.sol

pragma solidity 0.6.12;


// Get Dem Gats
contract GunsToken is BEP20('GunsToken', 'GUNS') {
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
    
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }
    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(
            amount,
            'BEP20: burn amount exceeds allowance'
        );

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

// File: contracts/GangEast.sol

pragma solidity 0.6.12;



contract GangEast is BEP20('East Side Gangsters', 'EAST') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (GunDistributor).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    // The DRUGS TOKEN!
    GunsToken public guns;

    constructor(
        GunsToken _guns
    ) public {
        guns = _guns;
    }

    // burn from sender
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    // interactive burn
    function burnFrom(address account, uint256 amount) public {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(
            amount,
            'BEP20: burn amount exceeds allowance'
        );

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }

    // Safe guns transfer function
    function safeGunsTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 gunsBal = guns.balanceOf(address(this));
        if (_amount > gunsBal) {
            guns.transfer(_to, gunsBal);
        } else {
            guns.transfer(_to, _amount);
        }
    }

}

// File: contracts/GangWest.sol

pragma solidity 0.6.12;



contract GangWest is BEP20('West Side Gangsters', 'WEST') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (GunDistributor).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    // The DRUGS TOKEN!
    GunsToken public guns;

    constructor(
        GunsToken _guns
    ) public {
        guns = _guns;
    }

    // burns from sender
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    // interactive burn
    function burnFrom(address account, uint256 amount) public {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(
            amount,
            'BEP20: burn amount exceeds allowance'
        );

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}

// File: contracts/HyperCity.sol

pragma solidity 0.6.12;











contract HyperCity is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;     // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of DRUGs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accAlloyPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accAlloyPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. DRUGs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that DRUGs distribution occurs.
        uint256 accAlloyPerShare; // Accumulated DRUGs per share, times 1e12. See below.
    }

    // Hyper Tokens
    HyperAlloy public alloy;
    HyperMechs public mechs;
    // Old Tokens
    DrugsTokenV2 public drugs;
    GunsToken public guns;
    // Gangs
    GangEast public east;
    GangWest public west;
    
    // farm parameters
    address public devAddr;
    address public lpFeeAddr;
    uint256 public alloyPerBlock;
    uint256 public BONUS_MULTIPLIER = 1;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation poitns. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when ALLOY mining starts.
    uint256 public startBlock;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);

    constructor(
        HyperAlloy _alloy,
        HyperMechs _mechs,
        DrugsTokenV2 _drugs,
        GunsToken _guns,
        GangEast _east,
        GangWest _west,
        address _devAddr,
        address _lpFeeAddr,
        uint256 _alloyPerBlock,
        uint256 _startBlock
    ) public {
        alloy = _alloy;
        mechs = _mechs;
        drugs = _drugs;
        guns = _guns;
        east = _east;
        west = _west;
        devAddr = _devAddr;
        lpFeeAddr = _lpFeeAddr;
        alloyPerBlock = _alloyPerBlock;
        startBlock = _startBlock;

        // staking pool
        poolInfo.push(PoolInfo({
            lpToken: _alloy,
            allocPoint: 1000,
            lastRewardBlock: startBlock,
            accAlloyPerShare: 0
        }));

        totalAllocPoint = 1000;

    }

    function updateMultiplier(uint256 multiplierNumber) public onlyOwner {
        BONUS_MULTIPLIER = multiplierNumber;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IBEP20 _lpToken, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accAlloyPerShare: 0
        }));
        updateStakingPool();
    }

    // Update the given pool's ALLOY allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        uint256 prevAllocPoint = poolInfo[_pid].allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
        if (prevAllocPoint != _allocPoint) {
            updateStakingPool();
        }
    }

    function updateStakingPool() internal {
        uint256 length = poolInfo.length;
        uint256 points = 0;
        for (uint256 pid = 1; pid < length; ++pid) {
            points = points.add(poolInfo[pid].allocPoint);
        }
        if (points != 0) {
            points = points.div(4);
            totalAllocPoint = totalAllocPoint.sub(poolInfo[0].allocPoint).add(points);
            poolInfo[0].allocPoint = points;
        }
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    // View function to see pending DRUGs on frontend.
    function pendingAlloy(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accAlloyPerShare = pool.accAlloyPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 alloyReward = multiplier.mul(alloyPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accAlloyPerShare = accAlloyPerShare.add(alloyReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accAlloyPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }


    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 alloyReward = multiplier.mul(alloyPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        alloy.mint(devAddr, alloyReward.div(10));
        alloy.mint(address(mechs), alloyReward);
        pool.accAlloyPerShare = pool.accAlloyPerShare.add(alloyReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to HyperCity for ALLOY allocation.
    function deposit(uint256 _pid, uint256 _amount) public {

        require (_pid != 0, 'deposit ALLOY by staking');

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accAlloyPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeAlloyTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            uint256 lpFee = _amount.div(100);
            uint256 afterFee = _amount.sub(lpFee);
            pool.lpToken.safeTransferFrom(address(msg.sender), address(lpFeeAddr), lpFee);
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), afterFee);
            user.amount = user.amount.add(afterFee);

            user.rewardDebt = user.amount.mul(pool.accAlloyPerShare).div(1e12);
            emit Deposit(msg.sender, _pid, afterFee);
        } else {
            user.rewardDebt = user.amount.mul(pool.accAlloyPerShare).div(1e12);
            emit Deposit(msg.sender, _pid, _amount);
        }
    }

    // Withdraw LP tokens from HyperCity.
    function withdraw(uint256 _pid, uint256 _amount) public {

        require (_pid != 0, 'withdraw ALLOY by unstaking');
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");

        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accAlloyPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeAlloyTransfer(msg.sender, pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accAlloyPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Exchange Drugs for Alloy
    function smeltDrugs(uint256 _amount) public {
        require(drugs.balanceOf(address(msg.sender)) >= _amount, 'not enough stash');
        require (_amount > 9, 'Enter a higher amount.');
        drugs.burnFrom(address(msg.sender), _amount);
        uint256 amountAfterRatio = _amount.div(10);
        alloy.mint(msg.sender, amountAfterRatio);
    }

    // Exchange Guns for Alloy
    function smeltGuns(uint256 _amount) public {
        require(guns.balanceOf(address(msg.sender)) >= _amount, 'not enough firepower');
        require (_amount > 9, 'Enter a higher amount.');
        guns.burnFrom(address(msg.sender), _amount);
        uint256 amountAfterRatio = _amount.div(10);
        alloy.mint(msg.sender, amountAfterRatio);
    }

    // Exchange East for Alloy
    function smeltEast(uint256 _amount) public {
        require(east.balanceOf(address(msg.sender)) >= _amount, 'not enough east');
        require (_amount > 9, 'Enter a higher amount.');
        east.burnFrom(address(msg.sender), _amount);
        uint256 amountAfterRatio = _amount.div(10);
        alloy.mint(msg.sender, amountAfterRatio);
    }

    // Exchange West for Alloy
    function smeltWest(uint256 _amount) public {
        require(west.balanceOf(address(msg.sender)) >= _amount, 'not enough west');
        require (_amount > 9, 'Enter a higher amount.');
        west.burnFrom(address(msg.sender), _amount);
        uint256 amountAfterRatio = _amount.div(10);
        alloy.mint(msg.sender, amountAfterRatio);
    }

    // Stake ALLOY tokens to HyperCity
    function enterMechs(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        updatePool(0);
        uint256 amountAfterRatio = _amount.div(5);
        uint256 sanitized = amountAfterRatio.mul(5);

        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accAlloyPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeAlloyTransfer(msg.sender, pending);
            }
        }
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), sanitized);
            user.amount = user.amount.add(sanitized);
        }
        user.rewardDebt = user.amount.mul(pool.accAlloyPerShare).div(1e12);
        
        mechs.mint(msg.sender, amountAfterRatio);
        emit Deposit(msg.sender, 0, sanitized);
    }

    // Withdraw ALLOY tokens from STAKING.
    function leaveMechs(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        require(user.amount >= _amount.mul(5), "you don't have enough mechs");
        updatePool(0);
        uint256 pending = user.amount.mul(pool.accAlloyPerShare).div(1e12).sub(user.rewardDebt);
        uint256 amountAfterRatio = _amount.mul(5);
        if(pending > 0) {
            safeAlloyTransfer(msg.sender, pending);
        }
        if(_amount > 0) {
            user.amount = user.amount.sub(amountAfterRatio);
            pool.lpToken.safeTransfer(address(msg.sender), amountAfterRatio);
        }
        user.rewardDebt = user.amount.mul(pool.accAlloyPerShare).div(1e12);
        
        mechs.burn(msg.sender, _amount);
        emit Withdraw(msg.sender, 0, amountAfterRatio);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        require (_pid != 0, "Use leaveMechs");
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

    // Safe alloy transfer function, just in case if rounding error causes pool to not have enough DRUGs.
    function safeAlloyTransfer(address _to, uint256 _amount) internal {
        mechs.safeAlloyTransfer(_to, _amount);
    }

    // Update dev address
    function dev(address _devAddr) public onlyOwner {
        devAddr = _devAddr;
    }
    // Update LP Fee Address
    function lpFeeAddress(address _lpFeeAddr) public onlyOwner {
        lpFeeAddr = _lpFeeAddr;
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAlloyBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600a8152602001694879706572416c6c6f7960b01b81525060405180604001604052806005815260200164414c4c4f5960d81b815250600062000065620000f060201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000c4906004906020850190620000f4565b508051620000da906005906020840190620000f4565b50506006805460ff191660121790555062000190565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200013757805160ff191683800117855562000167565b8280016001018555821562000167579182015b82811115620001675782518255916020019190600101906200014a565b506200017592915062000179565b5090565b5b808211156200017557600081556001016200017a565b6111d580620001a06000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806371b47ec8116100cd578063a0712d6811610081578063a9059cbb11610066578063a9059cbb146103f2578063dd62ed3e1461041e578063f2fde38b1461044c5761016c565b8063a0712d68146103a9578063a457c2d7146103c65761016c565b8063893d20e8116100b2578063893d20e8146103755780638da5cb5b1461039957806395d89b41146103a15761016c565b806371b47ec81461034157806379cc6790146103495761016c565b8063395093511161012457806342966c681161010957806342966c68146102f657806370a0823114610313578063715018a6146103395761016c565b8063395093511461029c57806340c10f19146102c85761016c565b806318160ddd1161015557806318160ddd1461022e57806323b872dd14610248578063313ce5671461027e5761016c565b806306fdde0314610171578063095ea7b3146101ee575b600080fd5b610179610472565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b357818101518382015260200161019b565b50505050905090810190601f1680156101e05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021a6004803603604081101561020457600080fd5b506001600160a01b038135169060200135610508565b604080519115158252519081900360200190f35b610236610525565b60408051918252519081900360200190f35b61021a6004803603606081101561025e57600080fd5b506001600160a01b0381358116916020810135909116906040013561052b565b6102866105b2565b6040805160ff9092168252519081900360200190f35b61021a600480360360408110156102b257600080fd5b506001600160a01b0381351690602001356105bb565b6102f4600480360360408110156102de57600080fd5b506001600160a01b038135169060200135610609565b005b6102f46004803603602081101561030c57600080fd5b5035610681565b6102366004803603602081101561032957600080fd5b50356001600160a01b03166106a5565b6102f46106c0565b610236610781565b6102f46004803603604081101561035f57600080fd5b506001600160a01b038135169060200135610787565b61037d6107f1565b604080516001600160a01b039092168252519081900360200190f35b61037d610800565b61017961080f565b61021a600480360360208110156103bf57600080fd5b5035610870565b61021a600480360360408110156103dc57600080fd5b506001600160a01b0381351690602001356108f5565b61021a6004803603604081101561040857600080fd5b506001600160a01b03813516906020013561095d565b6102366004803603604081101561043457600080fd5b506001600160a01b0381358116916020013516610971565b6102f46004803603602081101561046257600080fd5b50356001600160a01b031661099c565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104fe5780601f106104d3576101008083540402835291602001916104fe565b820191906000526020600020905b8154815290600101906020018083116104e157829003601f168201915b5050505050905090565b600061051c610515610a12565b8484610a16565b50600192915050565b60035490565b6000610538848484610b02565b6105a884610544610a12565b6105a385604051806060016040528060288152602001611081602891396001600160a01b038a16600090815260026020526040812090610582610a12565b6001600160a01b031681526020810191909152604001600020549190610c54565b610a16565b5060019392505050565b60065460ff1690565b600061051c6105c8610a12565b846105a385600260006105d9610a12565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ceb565b610611610a12565b6000546001600160a01b03908116911614610673576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61067d8282610d4c565b5050565b61069261068c610a12565b82610e32565b60075461069f9082610ceb565b60075550565b6001600160a01b031660009081526001602052604090205490565b6106c8610a12565b6000546001600160a01b0390811691161461072a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b60075490565b60006107be8260405180606001604052806024815260200161115a602491396107b7866107b2610a12565b610971565b9190610c54565b90506107d2836107cc610a12565b83610a16565b6107dc8383610e32565b6007546107e99083610ceb565b600755505050565b60006107fb610800565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104fe5780601f106104d3576101008083540402835291602001916104fe565b600061087a610a12565b6000546001600160a01b039081169116146108dc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6108ed6108e7610a12565b83610d4c565b506001919050565b600061051c610902610a12565b846105a3856040518060600160405280602581526020016110f2602591396002600061092c610a12565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610c54565b600061051c61096a610a12565b8484610b02565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6109a4610a12565b6000546001600160a01b03908116911614610a06576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610a0f81610f22565b50565b3390565b6001600160a01b038316610a5b5760405162461bcd60e51b81526004018080602001828103825260248152602001806110376024913960400191505060405180910390fd5b6001600160a01b038216610aa05760405162461bcd60e51b815260040180806020018281038252602281526020018061117e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610b475760405162461bcd60e51b81526004018080602001828103825260258152602001806110126025913960400191505060405180910390fd5b6001600160a01b038216610b8c5760405162461bcd60e51b81526004018080602001828103825260238152602001806110cf6023913960400191505060405180910390fd5b610bc9816040518060600160405280602681526020016110a9602691396001600160a01b0386166000908152600160205260409020549190610c54565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610bf89082610ceb565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ce35760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ca8578181015183820152602001610c90565b50505050905090810190601f168015610cd55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d45576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610da7576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610db49082610ceb565b6003556001600160a01b038216600090815260016020526040902054610dda9082610ceb565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610e775760405162461bcd60e51b81526004018080602001828103825260218152602001806111176021913960400191505060405180910390fd5b610eb481604051806060016040528060228152602001611138602291396001600160a01b0385166000908152600160205260409020549190610c54565b6001600160a01b038316600090815260016020526040902055600354610eda9082610fcf565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038116610f675760405162461bcd60e51b815260040180806020018281038252602681526020018061105b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000610d4583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c5456fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f206164647265737342455032303a206275726e20616d6f756e7420657863656564732062616c616e636542455032303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636542455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220b0989de52c04101baccc185133449f20db5352f713da41be3f7215207a3a53d364736f6c634300060c0033

Deployed ByteCode Sourcemap

33182:1000:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25270:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26757:161;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26757:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;25746:100;;;:::i;:::-;;;;;;;;;;;;;;;;27389:397;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27389:397:0;;;;;;;;;;;;;;;;;:::i;25429:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28194:210;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28194:210:0;;;;;;;;:::i;33382:99::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33382:99:0;;;;;;;;:::i;:::-;;33508:129;;;;;;;;;;;;;;;;-1:-1:-1;33508:129:0;;:::i;25908:119::-;;;;;;;;;;;;;;;;-1:-1:-1;25908:119:0;-1:-1:-1;;;;;25908:119:0;;:::i;22231:140::-;;;:::i;34085:94::-;;;:::i;33676:370::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33676:370:0;;;;;;;;:::i;25113:94::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25113:94:0;;;;;;;;;;;;;;21589:79;;;:::i;25586:96::-;;;:::i;29435:130::-;;;;;;;;;;;;;;;;-1:-1:-1;29435:130:0;;:::i;28906:311::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28906:311:0;;;;;;;;:::i;26239:167::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26239:167:0;;;;;;;;:::i;26468:143::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26468:143:0;;;;;;;;;;:::i;22526:109::-;;;;;;;;;;;;;;;;-1:-1:-1;22526:109:0;-1:-1:-1;;;;;22526:109:0;;:::i;25270:92::-;25349:5;25342:12;;;;;;;;-1:-1:-1;;25342:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25316:13;;25342:12;;25349:5;;25342:12;;25349:5;25342:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25270:92;:::o;26757:161::-;26832:4;26849:39;26858:12;:10;:12::i;:::-;26872:7;26881:6;26849:8;:39::i;:::-;-1:-1:-1;26906:4:0;26757:161;;;;:::o;25746:100::-;25826:12;;25746:100;:::o;27389:397::-;27521:4;27538:36;27548:6;27556:9;27567:6;27538:9;:36::i;:::-;27585:171;27608:6;27629:12;:10;:12::i;:::-;27656:89;27694:6;27656:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27656:19:0;;;;;;:11;:19;;;;;;27676:12;:10;:12::i;:::-;-1:-1:-1;;;;;27656:33:0;;;;;;;;;;;;-1:-1:-1;27656:33:0;;;:89;:37;:89::i;:::-;27585:8;:171::i;:::-;-1:-1:-1;27774:4:0;27389:397;;;;;:::o;25429:92::-;25504:9;;;;25429:92;:::o;28194:210::-;28274:4;28291:83;28300:12;:10;:12::i;:::-;28314:7;28323:50;28362:10;28323:11;:25;28335:12;:10;:12::i;:::-;-1:-1:-1;;;;;28323:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;28323:25:0;;;:34;;;;;;;;;;;:38;:50::i;33382:99::-;21811:12;:10;:12::i;:::-;21801:6;;-1:-1:-1;;;;;21801:6:0;;;:22;;;21793:67;;;;;-1:-1:-1;;;21793:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33454:19:::1;33460:3;33465:7;33454:5;:19::i;:::-;33382:99:::0;;:::o;33508:129::-;33556:27;33562:12;:10;:12::i;:::-;33576:6;33556:5;:27::i;:::-;33607:10;;:22;;33622:6;33607:14;:22::i;:::-;33594:10;:35;-1:-1:-1;33508:129:0:o;25908:119::-;-1:-1:-1;;;;;26001:18:0;25974:7;26001:18;;;:9;:18;;;;;;;25908:119::o;22231:140::-;21811:12;:10;:12::i;:::-;21801:6;;-1:-1:-1;;;;;21801:6:0;;;:22;;;21793:67;;;;;-1:-1:-1;;;21793:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22330:1:::1;22314:6:::0;;22293:40:::1;::::0;-1:-1:-1;;;;;22314:6:0;;::::1;::::0;22293:40:::1;::::0;22330:1;;22293:40:::1;22361:1;22344:19:::0;;-1:-1:-1;;22344:19:0::1;::::0;;22231:140::o;34085:94::-;34161:10;;34085:94;:::o;33676:370::-;33745:26;33774:121;33825:6;33774:121;;;;;;;;;;;;;;;;;:32;33784:7;33793:12;:10;:12::i;:::-;33774:9;:32::i;:::-;:36;:121;:36;:121::i;:::-;33745:150;;33908:51;33917:7;33926:12;:10;:12::i;:::-;33940:18;33908:8;:51::i;:::-;33970:22;33976:7;33985:6;33970:5;:22::i;:::-;34016:10;;:22;;34031:6;34016:14;:22::i;:::-;34003:10;:35;-1:-1:-1;;;33676:370:0:o;25113:94::-;25165:7;25192;:5;:7::i;:::-;25185:14;;25113:94;:::o;21589:79::-;21627:7;21654:6;-1:-1:-1;;;;;21654:6:0;21589:79;:::o;25586:96::-;25667:7;25660:14;;;;;;;;-1:-1:-1;;25660:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25634:13;;25660:14;;25667:7;;25660:14;;25667:7;25660:14;;;;;;;;;;;;;;;;;;;;;;;;29435:130;29491:4;21811:12;:10;:12::i;:::-;21801:6;;-1:-1:-1;;;;;21801:6:0;;;:22;;;21793:67;;;;;-1:-1:-1;;;21793:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29508:27:::1;29514:12;:10;:12::i;:::-;29528:6;29508:5;:27::i;:::-;-1:-1:-1::0;29553:4:0::1;29435:130:::0;;;:::o;28906:311::-;28991:4;29008:179;29031:12;:10;:12::i;:::-;29058:7;29080:96;29119:15;29080:96;;;;;;;;;;;;;;;;;:11;:25;29092:12;:10;:12::i;:::-;-1:-1:-1;;;;;29080:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29080:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;26239:167::-;26317:4;26334:42;26344:12;:10;:12::i;:::-;26358:9;26369:6;26334:9;:42::i;26468:143::-;-1:-1:-1;;;;;26576:18:0;;;26549:7;26576:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;26468:143::o;22526:109::-;21811:12;:10;:12::i;:::-;21801:6;;-1:-1:-1;;;;;21801:6:0;;;:22;;;21793:67;;;;;-1:-1:-1;;;21793:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22599:28:::1;22618:8;22599:18;:28::i;:::-;22526:109:::0;:::o;20212:98::-;20292:10;20212:98;:::o;32269:372::-;-1:-1:-1;;;;;32397:19:0;;32389:68;;;;-1:-1:-1;;;32389:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32476:21:0;;32468:68;;;;-1:-1:-1;;;32468:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32549:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;32601:32;;;;;;;;;;;;;;;;;32269:372;;;:::o;30055:505::-;-1:-1:-1;;;;;30187:20:0;;30179:70;;;;-1:-1:-1;;;30179:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30268:23:0;;30260:71;;;;-1:-1:-1;;;30260:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30364;30386:6;30364:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30364:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;30344:17:0;;;;;;;:9;:17;;;;;;:91;;;;30469:20;;;;;;;:32;;30494:6;30469:24;:32::i;:::-;-1:-1:-1;;;;;30446:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;30517:35;;;;;;;30446:20;;30517:35;;;;;;;;;;;;;30055:505;;;:::o;1806:226::-;1926:7;1962:12;1954:6;;;;1946:29;;;;-1:-1:-1;;;1946:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1998:5:0;;;1806:226::o;903:181::-;961:7;993:5;;;1017:6;;;;1009:46;;;;;-1:-1:-1;;;1009:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1075:1;903:181;-1:-1:-1;;;903:181:0:o;30841:308::-;-1:-1:-1;;;;;30917:21:0;;30909:65;;;;;-1:-1:-1;;;30909:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31002:12;;:24;;31019:6;31002:16;:24::i;:::-;30987:12;:39;-1:-1:-1;;;;;31058:18:0;;;;;;:9;:18;;;;;;:30;;31081:6;31058:22;:30::i;:::-;-1:-1:-1;;;;;31037:18:0;;;;;;:9;:18;;;;;;;;:51;;;;31104:37;;;;;;;31037:18;;;;31104:37;;;;;;;;;;30841:308;;:::o;31481:348::-;-1:-1:-1;;;;;31557:21:0;;31549:67;;;;-1:-1:-1;;;31549:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31650:68;31673:6;31650:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31650:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;31629:18:0;;;;;;:9;:18;;;;;:89;31744:12;;:24;;31761:6;31744:16;:24::i;:::-;31729:12;:39;31784:37;;;;;;;;31810:1;;-1:-1:-1;;;;;31784:37:0;;;;;;;;;;;;31481:348;;:::o;22741:229::-;-1:-1:-1;;;;;22815:22:0;;22807:73;;;;-1:-1:-1;;;22807:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22917:6;;;22896:38;;-1:-1:-1;;;;;22896:38:0;;;;22917:6;;;22896:38;;;22945:6;:17;;-1:-1:-1;;22945:17:0;-1:-1:-1;;;;;22945:17:0;;;;;;;;;;22741:229::o;1367:136::-;1425:7;1452:43;1456:1;1459;1452:43;;;;;;;;;;;;;;;;;:3;:43::i

Swarm Source

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